@opencode/core 0.0.0-dev-20124 → 0.0.0-dev-20126
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 +77 -77
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +90 -90
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{model-resolver-0kg3x5km.js → file-mutation-08w54g8k.js} +13 -13
- package/dist/chunks/{model-resolver-sk2hk6tq.js → file-mutation-0996nyz8.js} +9 -9
- package/dist/chunks/{model-resolver-8p1ggxfh.js → file-mutation-0jg22twd.js} +18 -18
- package/dist/chunks/{model-resolver-mdggx82f.js → file-mutation-0nd9yvwt.js} +8 -8
- package/dist/chunks/{model-resolver-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-2kewd2va.js → file-mutation-0tmgye68.js} +9 -9
- package/dist/chunks/{model-resolver-87qhefk3.js → file-mutation-1813d5zh.js} +11 -11
- package/dist/chunks/{model-resolver-1acjjqhc.js → file-mutation-1acjjqhc.js} +1 -1
- package/dist/chunks/{model-resolver-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-gw5a5t0z.js → file-mutation-1n1tx8h8.js} +9 -9
- package/dist/chunks/{model-resolver-es2axtbg.js → file-mutation-1p2kvy81.js} +6 -6
- package/dist/chunks/{model-resolver-pm44etjj.js → file-mutation-1sedp1z2.js} +46 -46
- package/dist/chunks/{model-resolver-7c5c7hvy.js → file-mutation-21mj4bn4.js} +13 -13
- package/dist/chunks/{model-resolver-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-0jfh7z55.js → file-mutation-22y2m3bg.js} +41 -41
- package/dist/chunks/{model-resolver-6h73sxmp.js → file-mutation-2402vzrj.js} +5 -5
- package/dist/chunks/{model-resolver-2dznbxmy.js → file-mutation-248sfqkf.js} +12 -12
- package/dist/chunks/{model-resolver-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/file-mutation-2ab25d2y.js +26 -0
- package/dist/chunks/{model-resolver-sy26cvr2.js → file-mutation-2p8k3371.js} +8 -8
- package/dist/chunks/{model-resolver-56gdpj1q.js → file-mutation-33w4ejhs.js} +6 -6
- package/dist/chunks/{model-resolver-qq6mbj5a.js → file-mutation-36dfs4g1.js} +43 -43
- package/dist/chunks/{model-resolver-0ryd0fps.js → file-mutation-3bc8czyk.js} +5 -5
- package/dist/chunks/{model-resolver-6vra413r.js → file-mutation-3c7f6ssd.js} +12 -12
- package/dist/chunks/{model-resolver-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-9egj2258.js → file-mutation-3m353frz.js} +6 -6
- package/dist/chunks/{model-resolver-3vvy9r1q.js → file-mutation-3pdjw33a.js} +17 -17
- package/dist/chunks/{model-resolver-qcmdtp8c.js → file-mutation-3r6ehhfq.js} +11 -11
- package/dist/chunks/{model-resolver-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-qh8wc3pe.js → file-mutation-3t6g7wkp.js} +15 -15
- package/dist/chunks/{model-resolver-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-8z00fdkb.js → file-mutation-44h5tttr.js} +4 -4
- package/dist/chunks/{model-resolver-vsfsehjp.js → file-mutation-4cdew6sp.js} +16 -16
- package/dist/chunks/{model-resolver-4s2padma.js → file-mutation-4fpbqhmf.js} +9 -9
- package/dist/chunks/{model-resolver-emgtyv65.js → file-mutation-4hz2mmtn.js} +6 -6
- package/dist/chunks/{model-resolver-ft7xjps2.js → file-mutation-4jk0qxj4.js} +8 -8
- package/dist/chunks/{model-resolver-26mdse20.js → file-mutation-4n5421a4.js} +18 -18
- package/dist/chunks/{model-resolver-9018cb23.js → file-mutation-4tpa30t3.js} +31 -31
- package/dist/chunks/{model-resolver-t8916jym.js → file-mutation-4whvt6s6.js} +33 -33
- package/dist/chunks/{model-resolver-3pm9m3n0.js → file-mutation-4x86753r.js} +13 -13
- package/dist/chunks/{model-resolver-9amkr7ky.js → file-mutation-4zvwzfyb.js} +11 -11
- package/dist/chunks/{model-resolver-80rghvf4.js → file-mutation-54xs9e4z.js} +28 -28
- package/dist/chunks/file-mutation-54ytyew1.js +507 -0
- package/dist/chunks/{model-resolver-d23g84s9.js → file-mutation-55ayhf34.js} +15 -15
- package/dist/chunks/{model-resolver-d9s573fh.js → file-mutation-57ez7d0k.js} +2 -2
- package/dist/chunks/{model-resolver-1d64zjtd.js → file-mutation-5afv1qet.js} +12 -12
- package/dist/chunks/{model-resolver-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-sxvnd2nr.js → file-mutation-5h1gmvy4.js} +37 -37
- package/dist/chunks/{model-resolver-vtjxg7xx.js → file-mutation-5mf3y8mk.js} +22 -22
- package/dist/chunks/{model-resolver-72f6taeg.js → file-mutation-5ns2bjf8.js} +32 -32
- package/dist/chunks/{model-resolver-kmx0na6r.js → file-mutation-5qwkxp89.js} +4 -4
- package/dist/chunks/{model-resolver-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-yecfnvqz.js → file-mutation-688x7pqg.js} +17 -17
- package/dist/chunks/{model-resolver-40a4pq3k.js → file-mutation-68gs9314.js} +3 -3
- package/dist/chunks/{model-resolver-x8acjjg9.js → file-mutation-6d2d39e9.js} +28 -28
- package/dist/chunks/{model-resolver-s0ga44w9.js → file-mutation-6mfh7f1f.js} +3 -3
- package/dist/chunks/{model-resolver-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-sar4f7bt.js → file-mutation-6r966qhx.js} +20 -20
- package/dist/chunks/{model-resolver-9qkca2k4.js → file-mutation-6w51mpm2.js} +28 -28
- package/dist/chunks/{model-resolver-8n3bkser.js → file-mutation-6y91m51w.js} +16 -16
- package/dist/chunks/{model-resolver-kbq1152n.js → file-mutation-72rb9p64.js} +13 -13
- package/dist/chunks/{model-resolver-mvfsc1pv.js → file-mutation-73tb2d7t.js} +3 -3
- package/dist/chunks/{model-resolver-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-qgn6gcr1.js → file-mutation-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-resolver-vvb15rdk.js → file-mutation-7gzfq6z6.js} +11 -11
- package/dist/chunks/{model-resolver-bdqrk2vk.js → file-mutation-7w3s9kd0.js} +4 -4
- package/dist/chunks/{model-resolver-19518qm9.js → file-mutation-7x5j9h8t.js} +11 -11
- package/dist/chunks/{model-resolver-4bm5ja14.js → file-mutation-80scg3y3.js} +4 -4
- package/dist/chunks/{model-resolver-w0mbtrs6.js → file-mutation-8443f5nj.js} +11 -11
- package/dist/chunks/{model-resolver-bsf62bbk.js → file-mutation-8ag1zg7r.js} +13 -13
- package/dist/chunks/{model-resolver-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-fed82zpn.js → file-mutation-8e2atk35.js} +33 -33
- package/dist/chunks/{model-resolver-bkfeammj.js → file-mutation-8gh9a73j.js} +25 -25
- package/dist/chunks/{model-resolver-8kqr9rea.js → file-mutation-8jptg25a.js} +4 -4
- package/dist/chunks/{model-resolver-6pc27hjz.js → file-mutation-8sze2n9a.js} +2 -2
- package/dist/chunks/{model-resolver-4rqrtqc5.js → file-mutation-8trrbr72.js} +8 -8
- package/dist/chunks/{model-resolver-gfvb90ym.js → file-mutation-94ek1h2f.js} +2 -2
- package/dist/chunks/file-mutation-97gjng12.js +252 -0
- package/dist/chunks/{model-resolver-xhg1wmas.js → file-mutation-9ckhw4yx.js} +34 -34
- package/dist/chunks/{model-resolver-1g3fhskv.js → file-mutation-9jx8908j.js} +20 -20
- package/dist/chunks/{model-resolver-fh6ss5gb.js → file-mutation-9t03g7zr.js} +15 -15
- package/dist/chunks/{model-resolver-173t7wcz.js → file-mutation-9w1tyxn7.js} +8 -8
- package/dist/chunks/{model-resolver-1k3s6syq.js → file-mutation-a1szppz9.js} +3 -3
- package/dist/chunks/{model-resolver-vxhnyb9j.js → file-mutation-a3hc19rv.js} +48 -48
- package/dist/chunks/{model-resolver-fzft6rk9.js → file-mutation-a917t0md.js} +31 -31
- package/dist/chunks/{model-resolver-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-ak724xxd.js → file-mutation-ae1rh8jg.js} +30 -30
- package/dist/chunks/{model-resolver-dvt6vme3.js → file-mutation-agdwaq9x.js} +21 -21
- package/dist/chunks/{model-resolver-swhhnpja.js → file-mutation-b2p42515.js} +5 -5
- package/dist/chunks/{model-resolver-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-33vhehfz.js → file-mutation-b9jeenbt.js} +4 -4
- package/dist/chunks/{model-resolver-wfdevf9j.js → file-mutation-bxn4xr1t.js} +11 -11
- package/dist/chunks/file-mutation-by5v678g.js +18 -0
- package/dist/chunks/{model-resolver-tdghhcp4.js → file-mutation-cd6bm0sq.js} +9 -9
- package/dist/chunks/{model-resolver-z3mr859t.js → file-mutation-cjnmt50d.js} +10 -10
- package/dist/chunks/{model-resolver-54tcyq79.js → file-mutation-ckecvw8r.js} +2 -2
- package/dist/chunks/{model-resolver-bykc32a6.js → file-mutation-ckv2q7n9.js} +5 -5
- package/dist/chunks/{model-resolver-agd0d5z2.js → file-mutation-cs08gwkb.js} +29 -29
- package/dist/chunks/{model-resolver-qmqgtz8f.js → file-mutation-cwa6csj7.js} +9 -9
- package/dist/chunks/{model-resolver-r0pftj6c.js → file-mutation-d0rz62a2.js} +29 -29
- package/dist/chunks/{model-resolver-n7a0dxy8.js → file-mutation-dbw36xtc.js} +4 -4
- package/dist/chunks/{model-resolver-afcq0tqz.js → file-mutation-dh52qfvh.js} +28 -28
- package/dist/chunks/{model-resolver-4m9cw4aw.js → file-mutation-djgt5fnj.js} +11 -11
- package/dist/chunks/{model-resolver-cvnss5v6.js → file-mutation-dnzwjmsp.js} +26 -26
- package/dist/chunks/{model-resolver-k4nv4f3v.js → file-mutation-dqsr6cvb.js} +1 -1
- package/dist/chunks/{model-resolver-7x6bmn48.js → file-mutation-ds82e11p.js} +28 -28
- package/dist/chunks/{model-resolver-7efmbnhw.js → file-mutation-dsxey55j.js} +7 -7
- package/dist/chunks/{model-resolver-3fp3xcnb.js → file-mutation-e2artx0a.js} +11 -11
- package/dist/chunks/{model-resolver-g17wn8cw.js → file-mutation-e37h8kwf.js} +12 -12
- package/dist/chunks/{model-resolver-02nrjc1r.js → file-mutation-eaj1djv9.js} +4 -4
- package/dist/chunks/{model-resolver-ecfe7b91.js → file-mutation-ecfe7b91.js} +2 -2
- package/dist/chunks/{model-resolver-gn2hfjap.js → file-mutation-eeaf82dq.js} +8 -8
- package/dist/chunks/{model-resolver-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-bfd0r08e.js → file-mutation-en7c0xf8.js} +22 -22
- package/dist/chunks/{model-resolver-ar21n6zh.js → file-mutation-epa3bmw4.js} +15 -15
- package/dist/chunks/{model-resolver-q5v28ps9.js → file-mutation-er7g126a.js} +20 -20
- package/dist/chunks/{model-resolver-w8xrrrrv.js → file-mutation-ers6jmne.js} +1 -1
- package/dist/chunks/{model-resolver-x520n2qy.js → file-mutation-etcxff87.js} +42 -42
- package/dist/chunks/{model-resolver-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-4xbskmpe.js → file-mutation-evbgk2k8.js} +5 -5
- package/dist/chunks/{model-resolver-y3f947ba.js → file-mutation-f0dqn4g8.js} +55 -55
- package/dist/chunks/{model-resolver-yb0aafdb.js → file-mutation-f3vt2bxc.js} +41 -41
- package/dist/chunks/{model-resolver-mxmchy46.js → file-mutation-f5gy8qwh.js} +8 -8
- package/dist/chunks/{model-resolver-p49rk7zg.js → file-mutation-fhtpvx45.js} +6 -6
- package/dist/chunks/{model-resolver-7161yw90.js → file-mutation-fj10zqs3.js} +10 -10
- package/dist/chunks/{model-resolver-2f9f9n6j.js → file-mutation-fmp81qfg.js} +18 -18
- package/dist/chunks/{model-resolver-0v374yjc.js → file-mutation-fntxa7wr.js} +5 -5
- package/dist/chunks/{model-resolver-qmb29zc9.js → file-mutation-fxxdr4p9.js} +24 -24
- package/dist/chunks/{model-resolver-nrpdyjdp.js → file-mutation-g7n3fm64.js} +25 -25
- package/dist/chunks/{model-resolver-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-7p797550.js → file-mutation-gmjjhz4f.js} +6 -6
- package/dist/chunks/{model-resolver-9ssqh1pf.js → file-mutation-gr6t64sj.js} +51 -51
- package/dist/chunks/{model-resolver-yyb7tjpc.js → file-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-bt1446pf.js → file-mutation-gy8ga202.js} +26 -26
- package/dist/chunks/{model-resolver-569et0xs.js → file-mutation-h1yars53.js} +25 -25
- package/dist/chunks/{model-resolver-kfvedqw3.js → file-mutation-h2r7bbkd.js} +8 -8
- package/dist/chunks/{model-resolver-myb1y6vq.js → file-mutation-h2y3yhav.js} +43 -43
- package/dist/chunks/{model-resolver-6dr7817k.js → file-mutation-h32yg4c8.js} +19 -19
- package/dist/chunks/{model-resolver-58c90p9y.js → file-mutation-h53p64px.js} +2 -2
- package/dist/chunks/{model-resolver-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-8xxayhk6.js → file-mutation-h9bgfx4d.js} +24 -24
- package/dist/chunks/{model-resolver-zj1cah0a.js → file-mutation-hb5spttd.js} +29 -29
- package/dist/chunks/{model-resolver-27z1xvbk.js → file-mutation-hdy211xa.js} +18 -18
- package/dist/chunks/{model-resolver-yh08wsj3.js → file-mutation-hpx69k21.js} +11 -11
- package/dist/chunks/{model-resolver-778t764x.js → file-mutation-hr3q54ky.js} +35 -35
- package/dist/chunks/{model-resolver-z1dymymf.js → file-mutation-ht0r88e0.js} +17 -17
- package/dist/chunks/{model-resolver-hep603q0.js → file-mutation-hvmbg5dq.js} +9 -9
- package/dist/chunks/{model-resolver-04hnx7m6.js → file-mutation-hxg545me.js} +20 -20
- package/dist/chunks/{model-resolver-zytbb0rs.js → file-mutation-j4nwb9pe.js} +51 -51
- package/dist/chunks/{model-resolver-fhhby8rf.js → file-mutation-j5155tgc.js} +8 -8
- package/dist/chunks/{model-resolver-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-s8610hey.js → file-mutation-jca4demv.js} +2 -2
- package/dist/chunks/{model-resolver-vr7k8aqm.js → file-mutation-jgwpfrf8.js} +35 -35
- package/dist/chunks/{model-resolver-7bxnc6x6.js → file-mutation-jp0n41mz.js} +11 -11
- package/dist/chunks/{model-resolver-mv035zws.js → file-mutation-jrpt1xcd.js} +29 -29
- package/dist/chunks/{model-resolver-e8r9fk8v.js → file-mutation-jtx09q4b.js} +5 -5
- package/dist/chunks/{model-resolver-mjymc32g.js → file-mutation-jw80jp6b.js} +4 -4
- package/dist/chunks/{model-resolver-k3c624dm.js → file-mutation-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-vg07qq75.js → file-mutation-k7k78j8n.js} +6 -6
- package/dist/chunks/{model-resolver-csnfj2b0.js → file-mutation-k7v2hf9f.js} +32 -32
- package/dist/chunks/{model-resolver-jw8j7y7p.js → file-mutation-k8eg9jwz.js} +8 -8
- package/dist/chunks/{model-resolver-k9d40v1y.js → file-mutation-k9d40v1y.js} +1 -1
- package/dist/chunks/{model-resolver-y2r7qy0e.js → file-mutation-kbszyzqp.js} +13 -13
- package/dist/chunks/{model-resolver-w9m2hjqa.js → file-mutation-kg2qn9rr.js} +25 -25
- package/dist/chunks/{model-resolver-0mz149mz.js → file-mutation-khddj82n.js} +19 -19
- package/dist/chunks/{model-resolver-pb97dx7z.js → file-mutation-ksxdz0cj.js} +11 -11
- package/dist/chunks/{model-resolver-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-fg4tf8ta.js → file-mutation-mfa1dnmq.js} +13 -13
- package/dist/chunks/{model-resolver-j4amppr9.js → file-mutation-mjdddjem.js} +172 -172
- package/dist/chunks/{model-resolver-ss6wnmcn.js → file-mutation-mjsk7061.js} +14 -14
- package/dist/chunks/{model-resolver-kz7p30d5.js → file-mutation-mzga79vb.js} +9 -9
- package/dist/chunks/{model-resolver-156whzkq.js → file-mutation-n2ethy7h.js} +2 -2
- package/dist/chunks/{model-resolver-7d0nz2vs.js → file-mutation-nktykkx9.js} +20 -20
- package/dist/chunks/{model-resolver-ra46vd3y.js → file-mutation-nn73askr.js} +15 -15
- package/dist/chunks/{model-resolver-mvn2r3z4.js → file-mutation-nscznvay.js} +9 -9
- package/dist/chunks/{model-resolver-5jbstfnb.js → file-mutation-nz6ejssm.js} +24 -24
- package/dist/chunks/{model-resolver-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-hdhk3cs9.js → file-mutation-q0frpy02.js} +4 -4
- package/dist/chunks/{model-resolver-2f04pwep.js → file-mutation-q3t37ft6.js} +2 -2
- package/dist/chunks/{model-resolver-jb2d0ras.js → file-mutation-qawdn968.js} +26 -26
- package/dist/chunks/{model-resolver-s7d3q35h.js → file-mutation-qfbfp1v0.js} +4 -4
- package/dist/chunks/{model-resolver-dyhdt8jb.js → file-mutation-qkb8ch3h.js} +4 -4
- package/dist/chunks/{model-resolver-emmx8e90.js → file-mutation-qknka9dr.js} +20 -20
- package/dist/chunks/{model-resolver-3rf7mzjq.js → file-mutation-qnjd433t.js} +90 -90
- package/dist/chunks/{model-resolver-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-5e19p4dw.js → file-mutation-qte5z7bc.js} +5 -5
- package/dist/chunks/{model-resolver-fxnvxn2a.js → file-mutation-qw2jr3s2.js} +15 -15
- package/dist/chunks/{model-resolver-2j85j1qq.js → file-mutation-qx0wyz6f.js} +6 -6
- package/dist/chunks/{model-resolver-s5vxn3hm.js → file-mutation-r2qgc71p.js} +10 -10
- package/dist/chunks/{model-resolver-3y72t5s0.js → file-mutation-r4jpc7y8.js} +21 -21
- package/dist/chunks/{model-resolver-d6ggdbw1.js → file-mutation-r7hn1375.js} +14 -14
- package/dist/chunks/{model-resolver-b27vhd2z.js → file-mutation-ratrq7cm.js} +4 -4
- package/dist/chunks/{model-resolver-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-7kj39dgh.js → file-mutation-rr3c0cyq.js} +5 -5
- package/dist/chunks/{model-resolver-j9fve04j.js → file-mutation-rwd5573c.js} +7 -7
- package/dist/chunks/{model-resolver-2n8bv8kh.js → file-mutation-rwx7wstb.js} +3 -3
- package/dist/chunks/{model-resolver-63ctpfk7.js → file-mutation-s0hycazx.js} +23 -23
- package/dist/chunks/{model-resolver-v4hswpd3.js → file-mutation-s4q9yqp5.js} +74 -74
- package/dist/chunks/{model-resolver-jzn2qkj6.js → file-mutation-s7cavm8f.js} +7 -7
- package/dist/chunks/{model-resolver-qkdvh7fa.js → file-mutation-sb57s57d.js} +14 -14
- package/dist/chunks/{model-resolver-bfgskg5r.js → file-mutation-sd3a96zz.js} +21 -21
- package/dist/chunks/{model-resolver-d0k1g5nx.js → file-mutation-sd5f6jdk.js} +6 -6
- package/dist/chunks/{model-resolver-rgwzaj5r.js → file-mutation-sh6458vc.js} +30 -30
- package/dist/chunks/{model-resolver-sqy4ahhk.js → file-mutation-sqy4ahhk.js} +1 -1
- package/dist/chunks/{model-resolver-4xz89tjk.js → file-mutation-sra9araw.js} +5 -5
- package/dist/chunks/{model-resolver-cqg8v4c7.js → file-mutation-ss0awb04.js} +6 -6
- package/dist/chunks/{model-resolver-xwnzkdf1.js → file-mutation-st1j8ztb.js} +23 -23
- package/dist/chunks/{model-resolver-0ng4kf97.js → file-mutation-t1c0b4ed.js} +30 -30
- package/dist/chunks/{model-resolver-e8m9yhze.js → file-mutation-t2tp239d.js} +18 -18
- package/dist/chunks/{model-resolver-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-resolver-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-nna5qp8a.js → file-mutation-tfp9qs7d.js} +4 -4
- package/dist/chunks/{model-resolver-mztje66g.js → file-mutation-tjja5a9k.js} +26 -26
- package/dist/chunks/{model-resolver-cqxgg118.js → file-mutation-tprfwfyz.js} +22 -22
- package/dist/chunks/{model-resolver-cmwkp3r5.js → file-mutation-tpw6cwsb.js} +8 -8
- package/dist/chunks/{model-resolver-6yqr96vd.js → file-mutation-tq0nabwy.js} +38 -38
- package/dist/chunks/{model-resolver-rpg9c19m.js → file-mutation-ttqh24zm.js} +4 -4
- package/dist/chunks/{model-resolver-6zpb3hvq.js → file-mutation-tvedvvzn.js} +12 -12
- package/dist/chunks/{model-resolver-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-fqtvmpfq.js → file-mutation-tx9w5tca.js} +8 -8
- package/dist/chunks/{model-resolver-36qt8gf5.js → file-mutation-tzf2xzra.js} +17 -17
- package/dist/chunks/{model-resolver-0q26a2b3.js → file-mutation-v0t54ggg.js} +18 -18
- package/dist/chunks/{model-resolver-vfm0y0bg.js → file-mutation-v23j6r7v.js} +29 -29
- package/dist/chunks/{model-resolver-ptfyc8rg.js → file-mutation-v303bt05.js} +91 -91
- package/dist/chunks/{model-resolver-7d2a7xbs.js → file-mutation-v6ghzfeb.js} +5 -5
- package/dist/chunks/{model-resolver-p95nf0hr.js → file-mutation-v8fkb6at.js} +11 -11
- package/dist/chunks/{model-resolver-9hk60pt8.js → file-mutation-v9zq9qxn.js} +26 -26
- package/dist/chunks/{model-resolver-q2b1ymqp.js → file-mutation-ve4pfa0n.js} +4 -4
- package/dist/chunks/{model-resolver-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-qw3sg1b0.js → file-mutation-vkk8vd4a.js} +5 -5
- package/dist/chunks/{model-resolver-r94xmz3e.js → file-mutation-vy0eyd8e.js} +6 -6
- package/dist/chunks/{model-resolver-n97pwnhd.js → file-mutation-vy4zg7qh.js} +12 -12
- package/dist/chunks/{model-resolver-7ygvs13g.js → file-mutation-vz0rnvv0.js} +5 -5
- package/dist/chunks/{model-resolver-jygqzb3h.js → file-mutation-vz7d5c1g.js} +8 -8
- package/dist/chunks/{model-resolver-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-x0jpbkmn.js → file-mutation-w0wrcbs3.js} +19 -19
- package/dist/chunks/{model-resolver-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-b18rdbr5.js → file-mutation-w8kkwjfy.js} +15 -15
- package/dist/chunks/{model-resolver-kmaq4q5p.js → file-mutation-wavqdc1d.js} +28 -28
- package/dist/chunks/{model-resolver-psazpmmj.js → file-mutation-wd3x2cqz.js} +2 -2
- package/dist/chunks/{model-resolver-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-a48a702n.js → file-mutation-wn4wqpvw.js} +27 -27
- package/dist/chunks/{model-resolver-0gbss3fx.js → file-mutation-wngw2qw7.js} +25 -25
- package/dist/chunks/{model-resolver-pr8smg67.js → file-mutation-wpg3r5fy.js} +18 -18
- package/dist/chunks/{model-resolver-93kvt1p5.js → file-mutation-wq4mmp7m.js} +4 -4
- package/dist/chunks/{model-resolver-f3r70g5j.js → file-mutation-wyhm8gxt.js} +5 -5
- package/dist/chunks/{model-resolver-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-a3ykbbws.js → file-mutation-x22cg2sb.js} +17 -17
- package/dist/chunks/{model-resolver-j1k7yznt.js → file-mutation-x5793zcz.js} +46 -46
- package/dist/chunks/{model-resolver-qxjcrr5t.js → file-mutation-x8jha37b.js} +7 -7
- package/dist/chunks/{model-resolver-drwq78ky.js → file-mutation-xfkkasph.js} +4 -4
- package/dist/chunks/{model-resolver-xkntkrq7.js → file-mutation-xkntkrq7.js} +2 -2
- package/dist/chunks/{model-resolver-w5efcytb.js → file-mutation-xvjsxppn.js} +13 -13
- package/dist/chunks/{model-resolver-b62ps4b3.js → file-mutation-xwnmf787.js} +10 -10
- package/dist/chunks/{model-resolver-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-9gdecscc.js → file-mutation-y1y63myq.js} +11 -11
- package/dist/chunks/{model-resolver-dpkg50ah.js → file-mutation-y71avatq.js} +4 -4
- package/dist/chunks/{model-resolver-4qqzqwb9.js → file-mutation-y8z3vmm6.js} +5 -5
- package/dist/chunks/{model-resolver-79skyr14.js → file-mutation-yecq0v11.js} +11 -11
- package/dist/chunks/{model-resolver-49fmtcj3.js → file-mutation-yen1bsc2.js} +30 -30
- package/dist/chunks/{model-resolver-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → file-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-bjtzbw4r.js → file-mutation-z07pqspn.js} +3 -3
- package/dist/chunks/{model-resolver-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-9kbkhne8.js → file-mutation-z4vrctzg.js} +21 -21
- package/dist/chunks/{model-resolver-z63w68vq.js → file-mutation-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-8h519gpd.js → file-mutation-zbvb58e6.js} +8 -8
- package/dist/chunks/{model-resolver-0tdm3y21.js → file-mutation-zdngn9xm.js} +10 -10
- package/dist/chunks/{model-resolver-rq775frq.js → file-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-4p21y445.js → file-mutation-zf5bw61z.js} +11 -11
- package/dist/chunks/{model-resolver-chh4w0bc.js → file-mutation-zj5k55ky.js} +10 -10
- package/dist/chunks/{model-resolver-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-r5b1nhw7.js → file-mutation-zx7xtja6.js} +22 -22
- package/dist/chunks/{model-resolver-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-gzq5apsj.js → file-mutation-zy43x3f1.js} +4 -4
- package/dist/chunks/{model-resolver-b3825faf.js → file-mutation-zz4yapdm.js} +16 -16
- package/dist/chunks/{model-resolver-2gmwjqmv.js → file-mutation-zz9ajb7v.js} +19 -19
- 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 +79 -79
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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/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 +225 -225
- 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 +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- 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/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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- 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 +94 -94
- package/dist/model.js +102 -102
- package/dist/models-dev.js +95 -95
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- 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 +93 -93
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- 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/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- 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 +90 -90
- package/dist/reference/instructions.js +89 -89
- 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/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- 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 +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- 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 +231 -231
- 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 +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +125 -125
- package/dist/tool/plugin/edit.js +112 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +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/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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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/model-resolver-ht5y0zrb.js +0 -18
- package/dist/chunks/model-resolver-sn674wr2.js +0 -26
- package/dist/chunks/model-resolver-x8rsv9gq.js +0 -252
- package/dist/chunks/model-resolver-zg1ez3dq.js +0 -507
- /package/dist/chunks/{model-resolver-0mesazry.js → file-mutation-0mesazry.js} +0 -0
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → file-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info17,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info17 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info17, exports_permission };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-8443f5nj.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin23,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
16
|
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin23 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin42 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint6,
|
|
80
|
+
export { endpoint6, Plugin23, exports_firecrawl };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./file-mutation-4cdew6sp.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-h53p64px.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service68,
|
|
20
|
+
node72,
|
|
21
|
+
Event15
|
|
22
|
+
} from "./file-mutation-sh6458vc.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event13,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID8,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service65,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node69,
|
|
44
|
+
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event13 } from "@opencode/schema/model";
|
|
51
|
+
var ID8 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,13 +56,13 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info22 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service65 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
65
|
-
const bus = yield*
|
|
63
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service68;
|
|
65
|
+
const bus = yield* Service83;
|
|
66
66
|
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service65.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node69 = makeLocationNode({ service: Service65, layer, deps: [node72, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID9.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info22, Service65, node69, compatibility2, parse5, exports_model2, Event13 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-h53p64px.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-h53p64px.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service29,
|
|
19
|
+
node: () => node32
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service29 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service80;
|
|
29
|
-
return
|
|
29
|
+
return Service29.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make21({
|
|
32
32
|
key: Key4.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
52
|
+
make21({
|
|
53
53
|
key: Key4.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node32 = makeLocationNode({ service: Service29, layer, deps: [Global.node, node84] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service29, node32, exports_builtins };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-h53p64px.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service16
|
|
9
|
+
} from "./file-mutation-w8kkwjfy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./file-mutation-w0wrcbs3.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service5
|
|
27
|
+
} from "./file-mutation-3pdjw33a.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input7,
|
|
36
|
+
Plugin: () => Plugin9,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name7,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name7 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input7 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin9 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service5;
|
|
62
|
+
const access = yield* Service16;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name7,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input7,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin4 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent5 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name7, Input7, Plugin9, toModelContent5, exports_read };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./file-mutation-4cdew6sp.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
@@ -15,12 +15,12 @@ __export(exports_agent4, {
|
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
17
|
Event: () => Event19,
|
|
18
|
-
ID: () =>
|
|
18
|
+
ID: () => ID14,
|
|
19
19
|
Info: () => Info29,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service77,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node81
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -30,16 +30,16 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Event as Event19 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID14 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID14.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
37
|
var Info29 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service77 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID14.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service77.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID14.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID14.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID14, Name3, defaultID2, Color2, Info29, Service77, node81, exports_agent4, Event19 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-8443f5nj.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./file-mutation-8e2atk35.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-54xs9e4z.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-sh6458vc.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID9.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID10.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service70;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID10.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|