@opencode/core 0.0.0-dev-19765 → 0.0.0-dev-19768
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 +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{model-resolver-sm965ndy.js → rpc-00x4qneg.js} +8 -8
- package/dist/chunks/{model-resolver-kcggd0et.js → rpc-03ya27h5.js} +22 -22
- package/dist/chunks/{model-resolver-v96vwnpg.js → rpc-06bvpamw.js} +37 -37
- package/dist/chunks/{model-resolver-26k5bknw.js → rpc-06dxphr1.js} +4 -4
- package/dist/chunks/{model-resolver-5sfs7bry.js → rpc-07b8vxfr.js} +15 -15
- package/dist/chunks/{model-resolver-btw9ee0c.js → rpc-0f2hvcp0.js} +3 -3
- package/dist/chunks/rpc-0mesazry.js +4 -0
- package/dist/chunks/{model-resolver-6xwap4d1.js → rpc-0n0jwsa4.js} +12 -12
- package/dist/chunks/{model-resolver-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-k2t9brnj.js → rpc-0pke5f7x.js} +3 -3
- package/dist/chunks/{model-resolver-0q0f95c6.js → rpc-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-82wf71gc.js → rpc-0xz2rdzt.js} +7 -7
- package/dist/chunks/{model-resolver-kmpyk7m7.js → rpc-19psw4kw.js} +35 -35
- package/dist/chunks/{model-resolver-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-keat3kjn.js → rpc-1e47xjzc.js} +4 -4
- package/dist/chunks/{model-resolver-r27n78xb.js → rpc-1hay94c8.js} +8 -8
- package/dist/chunks/{model-resolver-yr3tpaeb.js → rpc-1qstprnj.js} +11 -11
- package/dist/chunks/{model-resolver-92x003m3.js → rpc-1rtae4b3.js} +4 -4
- package/dist/chunks/{model-resolver-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-6h73sxmp.js → rpc-2402vzrj.js} +5 -5
- package/dist/chunks/{model-resolver-kb0crpaj.js → rpc-2a1gw4e3.js} +18 -18
- package/dist/chunks/{model-resolver-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-g100dm1t.js → rpc-2an2d3m2.js} +13 -13
- package/dist/chunks/{model-resolver-sgmbcbbb.js → rpc-2ckxww5x.js} +28 -28
- package/dist/chunks/{model-resolver-d27f62ns.js → rpc-2gx3p52k.js} +2 -2
- package/dist/chunks/{model-resolver-5xdpz9c5.js → rpc-30aq1584.js} +5 -5
- package/dist/chunks/{model-resolver-qs02hrtf.js → rpc-31qexks3.js} +8 -8
- package/dist/chunks/{model-resolver-33w4ejhs.js → rpc-33w4ejhs.js} +2 -2
- package/dist/chunks/{model-resolver-r5zby1m5.js → rpc-385gehc9.js} +22 -22
- package/dist/chunks/{model-resolver-n3shvtzh.js → rpc-3dwcw46t.js} +9 -9
- package/dist/chunks/{model-resolver-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-zm7wj8n5.js → rpc-3jqbcwss.js} +5 -5
- package/dist/chunks/{model-resolver-n4p75jwy.js → rpc-3pj53k19.js} +7 -7
- package/dist/chunks/{model-resolver-jy86jdgr.js → rpc-3qbarsqj.js} +3 -3
- package/dist/chunks/{model-resolver-y1bnvh01.js → rpc-3qqmmvpd.js} +5 -5
- package/dist/chunks/{model-resolver-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-fkjmw100.js → rpc-3tq5qxbk.js} +4 -4
- package/dist/chunks/{model-resolver-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-pxf1encz.js → rpc-40rf1k3m.js} +44 -44
- package/dist/chunks/{model-resolver-cvc17wee.js → rpc-41dhw66n.js} +11 -11
- package/dist/chunks/{model-resolver-k69qv5g3.js → rpc-41qxn9en.js} +11 -11
- package/dist/chunks/{model-resolver-x1xcpfha.js → rpc-441xk2wv.js} +15 -15
- package/dist/chunks/{model-resolver-zhmbkdqz.js → rpc-4e8qszek.js} +26 -26
- package/dist/chunks/{model-resolver-vp724954.js → rpc-4nc59ys8.js} +21 -21
- package/dist/chunks/{model-resolver-vafdc1fs.js → rpc-4qe7px6w.js} +12 -12
- package/dist/chunks/{model-resolver-vdc5ty7t.js → rpc-4qtnyxmw.js} +23 -23
- package/dist/chunks/{model-resolver-rw9wzhmw.js → rpc-4v96es07.js} +22 -22
- package/dist/chunks/{model-resolver-whjc79nc.js → rpc-51gh9mjg.js} +9 -9
- package/dist/chunks/{model-resolver-drwq78ky.js → rpc-57b9ws8p.js} +5 -5
- package/dist/chunks/{model-resolver-57ez7d0k.js → rpc-57ez7d0k.js} +2 -2
- package/dist/chunks/{model-resolver-y5k1jt8t.js → rpc-59430qn2.js} +26 -26
- package/dist/chunks/{model-resolver-5bqjzhep.js → rpc-5a2kpf64.js} +22 -22
- package/dist/chunks/{model-resolver-qxf9dtqj.js → rpc-5bwjhp8y.js} +13 -13
- package/dist/chunks/{model-resolver-vr5243nf.js → rpc-5d58ppw3.js} +8 -8
- package/dist/chunks/{model-resolver-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-wfde3x95.js → rpc-5nf8yzxg.js} +16 -16
- package/dist/chunks/{model-resolver-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-3sf2s9k9.js → rpc-5x7c2wf2.js} +36 -36
- package/dist/chunks/{model-resolver-1ajx6rf5.js → rpc-5xtgfte3.js} +8 -8
- package/dist/chunks/{model-resolver-ynnvn6b9.js → rpc-63b7dk7a.js} +13 -13
- package/dist/chunks/{model-resolver-f88gwaxn.js → rpc-661x4vhc.js} +15 -15
- package/dist/chunks/{model-resolver-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-pkttb123.js → rpc-67hqntb1.js} +21 -21
- package/dist/chunks/{model-resolver-h71w788e.js → rpc-6fatt4mk.js} +9 -9
- package/dist/chunks/{model-resolver-1pw3knqg.js → rpc-6hn9vftv.js} +97 -97
- package/dist/chunks/{model-resolver-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-484v57sd.js → rpc-6tfzq80j.js} +16 -16
- package/dist/chunks/rpc-6tr03act.js +478 -0
- package/dist/chunks/{model-resolver-w0b273fa.js → rpc-6xqrezwf.js} +23 -23
- package/dist/chunks/{model-resolver-km09h1rt.js → rpc-6ztcfs7p.js} +9 -9
- package/dist/chunks/{model-resolver-b1v5zkbk.js → rpc-717ghxt8.js} +13 -13
- package/dist/chunks/{model-resolver-73tb2d7t.js → rpc-73tb2d7t.js} +1 -1
- package/dist/chunks/{model-resolver-v2n4cb87.js → rpc-77xv8qnb.js} +25 -25
- package/dist/chunks/{model-resolver-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-ax2ahcq8.js → rpc-7empqehg.js} +31 -31
- package/dist/chunks/{model-resolver-310t7hsf.js → rpc-7g1b9e87.js} +182 -182
- package/dist/chunks/{model-resolver-mbhsxkjz.js → rpc-7gxx14q2.js} +26 -26
- package/dist/chunks/{model-resolver-17fma2k7.js → rpc-7w3s9kd0.js} +6 -6
- package/dist/chunks/{model-resolver-hak66h8f.js → rpc-7yts529q.js} +17 -17
- package/dist/chunks/{model-resolver-e029vvsz.js → rpc-8443f5nj.js} +11 -11
- package/dist/chunks/{model-resolver-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-bjeqesjn.js → rpc-8fr063mm.js} +6 -6
- package/dist/chunks/{model-resolver-paj0n6dn.js → rpc-8ngn4amj.js} +13 -13
- package/dist/chunks/{model-resolver-dj2t23y0.js → rpc-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-w9nng7hv.js → rpc-8q9myf25.js} +6 -6
- package/dist/chunks/{model-resolver-rwdk379s.js → rpc-8tsgd2r8.js} +4 -4
- package/dist/chunks/{model-resolver-nn1j8xnc.js → rpc-8v81ap7w.js} +5 -5
- package/dist/chunks/{model-resolver-g4yx06gn.js → rpc-8vw1s5ac.js} +31 -31
- package/dist/chunks/{model-resolver-nngqe6j4.js → rpc-90tmb45y.js} +13 -13
- package/dist/chunks/{model-resolver-cqjcs21s.js → rpc-97gjn119.js} +28 -28
- package/dist/chunks/{model-resolver-nf2b587t.js → rpc-9gdca3sp.js} +4 -4
- package/dist/chunks/{model-resolver-fv8x6qr6.js → rpc-9jdzzeg8.js} +11 -11
- package/dist/chunks/{model-resolver-ccfveryq.js → rpc-9mnvft0v.js} +5 -5
- package/dist/chunks/{model-resolver-5c4hm403.js → rpc-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-f1k0jycj.js → rpc-a2ek1kst.js} +14 -14
- package/dist/chunks/{model-resolver-jca4demv.js → rpc-a3r4dcrj.js} +2 -2
- package/dist/chunks/{model-resolver-4xyx6x5b.js → rpc-a9kshccq.js} +28 -28
- package/dist/chunks/{model-resolver-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-c27tsz6v.js → rpc-ajcq3rsy.js} +3 -3
- package/dist/chunks/{model-resolver-gf0x0cm7.js → rpc-azc3hc5h.js} +5 -5
- package/dist/chunks/{model-resolver-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-mj95satc.js → rpc-bk9n9jmm.js} +12 -12
- package/dist/chunks/{model-resolver-t9tj2qb4.js → rpc-by79b0xz.js} +9 -9
- package/dist/chunks/{model-resolver-b97cbvw3.js → rpc-bz85s9hh.js} +1 -1
- package/dist/chunks/{model-resolver-g444g17r.js → rpc-ccerenm9.js} +23 -23
- package/dist/chunks/{model-resolver-m0jqrx5p.js → rpc-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-zav06jzw.js → rpc-ckf8nxjz.js} +4 -4
- package/dist/chunks/{model-resolver-3m3a5rkz.js → rpc-cm2gcn74.js} +43 -43
- package/dist/chunks/{model-resolver-q5t0te5a.js → rpc-cpy6gm2a.js} +6 -6
- package/dist/chunks/{model-resolver-esqycg01.js → rpc-cw0rdypx.js} +3 -3
- package/dist/chunks/{model-resolver-s4k6rbz4.js → rpc-d1scngp8.js} +14 -14
- package/dist/chunks/rpc-d9rhtefz.js +252 -0
- package/dist/chunks/{model-resolver-y3fgkbp4.js → rpc-dapwe4r9.js} +31 -31
- package/dist/chunks/{model-resolver-1kdfkpz7.js → rpc-dd4gamh2.js} +12 -12
- package/dist/chunks/{model-resolver-ns5dg0kc.js → rpc-decdbwb1.js} +12 -12
- package/dist/chunks/{model-resolver-7pmagftx.js → rpc-dg8gsmcc.js} +18 -18
- package/dist/chunks/{model-resolver-2sejkfem.js → rpc-djszqvmq.js} +9 -9
- package/dist/chunks/{model-resolver-nytdp6jx.js → rpc-dpgzjw3q.js} +11 -11
- package/dist/chunks/{model-resolver-qd3b5f68.js → rpc-dvdg9bhy.js} +51 -51
- package/dist/chunks/{model-resolver-q1t5m84m.js → rpc-dw280mng.js} +22 -22
- package/dist/chunks/{model-resolver-zpgd1f5d.js → rpc-dz1g8w7a.js} +29 -29
- package/dist/chunks/{model-resolver-91qth17q.js → rpc-e0k1f92f.js} +23 -23
- package/dist/chunks/{model-resolver-85ebze8p.js → rpc-eadymk8b.js} +19 -19
- package/dist/chunks/{model-resolver-5k2jh76e.js → rpc-edh6544k.js} +42 -42
- package/dist/chunks/{model-resolver-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-yew810mr.js → rpc-ek5sz9e1.js} +10 -10
- package/dist/chunks/{model-resolver-y3q03scc.js → rpc-ep6z9mt6.js} +5 -5
- package/dist/chunks/{model-resolver-736bcg6q.js → rpc-epepptxw.js} +28 -28
- package/dist/chunks/{model-resolver-erw5rpbs.js → rpc-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-resolver-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-he53wa6d.js → rpc-eyrmmecm.js} +15 -15
- package/dist/chunks/{model-resolver-csj4vvs3.js → rpc-ezfr3s8z.js} +15 -15
- package/dist/chunks/{model-resolver-0k1dfe12.js → rpc-f535mys6.js} +1 -1
- package/dist/chunks/{model-resolver-hdnk95c8.js → rpc-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-qgn6gcr1.js → rpc-fcrkznn8.js} +5 -5
- package/dist/chunks/{model-resolver-1k45rzbh.js → rpc-fvr26rhy.js} +24 -24
- package/dist/chunks/{model-resolver-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-y9nxj4p3.js → rpc-fxwbeahb.js} +1 -1
- package/dist/chunks/{model-resolver-00gg1b3e.js → rpc-g3m59t07.js} +35 -35
- package/dist/chunks/{model-resolver-34326mmr.js → rpc-g5s1rrt4.js} +4 -4
- package/dist/chunks/{model-resolver-qqr60gfs.js → rpc-g6rzz18z.js} +9 -9
- package/dist/chunks/{model-resolver-c970e3h5.js → rpc-g6xkpydp.js} +33 -33
- package/dist/chunks/{model-resolver-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-xjtg51km.js → rpc-gebvexjm.js} +5 -5
- package/dist/chunks/{model-resolver-jn50qt18.js → rpc-gmjp8629.js} +24 -24
- package/dist/chunks/{model-resolver-bwxdk6mq.js → rpc-gnn011q2.js} +32 -32
- package/dist/chunks/{model-resolver-xfjax5kj.js → rpc-gqft2nrr.js} +6 -6
- package/dist/chunks/{model-resolver-bezhzanq.js → rpc-gr1f03ws.js} +9 -9
- package/dist/chunks/{model-resolver-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-mmftq8sy.js → rpc-gva4v50q.js} +7 -7
- package/dist/chunks/{model-resolver-h0w69axy.js → rpc-gyapv7tm.js} +20 -20
- package/dist/chunks/{model-resolver-44h5tttr.js → rpc-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-2tfmgkzg.js → rpc-hfdr1yjj.js} +4 -4
- package/dist/chunks/{model-resolver-m7s4xjns.js → rpc-hfkxt40j.js} +23 -23
- package/dist/chunks/{model-resolver-fsrt26q4.js → rpc-hg8tmwnc.js} +35 -35
- package/dist/chunks/{model-resolver-q4v73ct2.js → rpc-hq2ecabm.js} +27 -27
- package/dist/chunks/{model-resolver-g8wj080z.js → rpc-hqwen7m6.js} +3 -3
- package/dist/chunks/{model-resolver-g3q3rgxp.js → rpc-hs0k9zzv.js} +9 -9
- package/dist/chunks/{model-resolver-1r39s92t.js → rpc-hv3s9zhd.js} +36 -36
- package/dist/chunks/{model-resolver-ba2wr92e.js → rpc-hza46zh2.js} +61 -61
- package/dist/chunks/{model-resolver-yrs7mjrn.js → rpc-j13jypnt.js} +17 -17
- package/dist/chunks/{model-resolver-vfpfzq36.js → rpc-j23k1r36.js} +4 -4
- package/dist/chunks/{model-resolver-q7jc4hc3.js → rpc-j4vv2j34.js} +29 -29
- package/dist/chunks/{model-resolver-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-7y8hn1s8.js → rpc-j5e1h5hs.js} +15 -15
- package/dist/chunks/{model-resolver-kyenax63.js → rpc-j5tqr8d8.js} +4 -4
- package/dist/chunks/{model-resolver-ksn24y69.js → rpc-jb048psh.js} +5 -5
- package/dist/chunks/{model-resolver-90k1qenw.js → rpc-jddfrygf.js} +10 -10
- package/dist/chunks/{model-resolver-q3t37ft6.js → rpc-jexxy024.js} +3 -3
- package/dist/chunks/{model-resolver-sxz6gkc3.js → rpc-jfqtm2ew.js} +7 -7
- package/dist/chunks/{model-resolver-6c2x2cd4.js → rpc-jjdgzahf.js} +8 -8
- package/dist/chunks/{model-resolver-gkykxjyj.js → rpc-jjrn94s5.js} +11 -11
- package/dist/chunks/{model-resolver-hc62tks0.js → rpc-jn1kr1e6.js} +26 -26
- package/dist/chunks/rpc-jqh9b0xq.js +18 -0
- package/dist/chunks/{model-resolver-nn7cfy5h.js → rpc-jtx211qb.js} +15 -15
- package/dist/chunks/{model-resolver-bgxcxs0p.js → rpc-jv01nqvq.js} +5 -5
- package/dist/chunks/{model-resolver-j2rec9x8.js → rpc-jx9d81yp.js} +17 -17
- package/dist/chunks/{model-resolver-r7999wmh.js → rpc-jzbdx67q.js} +32 -32
- package/dist/chunks/{model-resolver-pnpak3cr.js → rpc-kd7h4dp8.js} +23 -23
- package/dist/chunks/{model-resolver-ph04hnrj.js → rpc-kfr15afm.js} +34 -34
- package/dist/chunks/{model-resolver-zpa21783.js → rpc-krct5xdr.js} +8 -8
- package/dist/chunks/{model-resolver-meja1nf7.js → rpc-kt4y0cem.js} +18 -18
- package/dist/chunks/{model-resolver-rk6ykxyv.js → rpc-kxsbrv8e.js} +30 -30
- package/dist/chunks/{model-resolver-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-hc4fnx3k.js → rpc-m9g140gf.js} +4 -4
- package/dist/chunks/{model-resolver-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-50mzsvk4.js → rpc-magykp64.js} +4 -4
- package/dist/chunks/{model-resolver-ssxq2qf8.js → rpc-mavm30sz.js} +17 -17
- package/dist/chunks/{model-resolver-kgt3w00r.js → rpc-mg7x2rv6.js} +22 -22
- package/dist/chunks/{model-resolver-3qgwcr55.js → rpc-mhvv609m.js} +15 -15
- package/dist/chunks/{model-resolver-6145a6ex.js → rpc-mqfnncbp.js} +19 -19
- package/dist/chunks/{model-resolver-jvkfksvk.js → rpc-mvzc9sxt.js} +31 -31
- package/dist/chunks/{model-resolver-9nsjpsnk.js → rpc-n5ne16bz.js} +23 -23
- package/dist/chunks/{model-resolver-kzc3h1h3.js → rpc-nb9p6b26.js} +4 -4
- package/dist/chunks/{model-resolver-n8mmjvp8.js → rpc-nhmc2t1k.js} +8 -8
- package/dist/chunks/{model-resolver-x8mcy56q.js → rpc-np07f3yb.js} +37 -37
- package/dist/chunks/{model-resolver-fybg9cv5.js → rpc-nx57ndsc.js} +11 -11
- package/dist/chunks/{model-resolver-nzks3jc8.js → rpc-nzks3jc8.js} +3 -3
- package/dist/chunks/{model-resolver-p28j5sbe.js → rpc-p28j5sbe.js} +2 -2
- package/dist/chunks/{model-resolver-jgttmm4a.js → rpc-p3p972wa.js} +5 -5
- package/dist/chunks/{model-resolver-gxzntdky.js → rpc-p5e71svx.js} +24 -24
- package/dist/chunks/{model-resolver-d55k6vmy.js → rpc-pbsjr92h.js} +24 -24
- package/dist/chunks/{model-resolver-qjg70d8f.js → rpc-pcsvgb1d.js} +66 -66
- package/dist/chunks/{model-resolver-kdg3wy8r.js → rpc-pjbbry3y.js} +54 -54
- package/dist/chunks/{model-resolver-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-q2b1ymqp.js → rpc-pmr4s4kc.js} +4 -4
- package/dist/chunks/{model-resolver-qg0jgkcp.js → rpc-pnv527nz.js} +9 -9
- package/dist/chunks/{model-resolver-vtt78d7a.js → rpc-pqek5mm2.js} +41 -41
- package/dist/chunks/{model-resolver-721hjktc.js → rpc-q107adn3.js} +22 -22
- package/dist/chunks/{model-resolver-sqg5arky.js → rpc-q16mtjj8.js} +6 -6
- package/dist/chunks/{model-resolver-0rfppqx1.js → rpc-q33zykbw.js} +17 -17
- package/dist/chunks/{model-resolver-mqsw6bz5.js → rpc-q61cgpyx.js} +17 -17
- package/dist/chunks/{model-resolver-v2amp0tf.js → rpc-qa6ap8y2.js} +10 -10
- package/dist/chunks/{model-resolver-90q3tcjv.js → rpc-qae5j9tx.js} +13 -13
- package/dist/chunks/{model-resolver-224r8vkv.js → rpc-qb73q4j5.js} +27 -27
- package/dist/chunks/{model-resolver-ckvjdfyb.js → rpc-qh0vj5b9.js} +5 -5
- package/dist/chunks/{model-resolver-9xjpjsxw.js → rpc-qktg6xag.js} +24 -24
- package/dist/chunks/{model-resolver-bm3m92rh.js → rpc-qrvxy8qx.js} +12 -12
- package/dist/chunks/{model-resolver-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-0rwgfah8.js → rpc-qtd9gqp3.js} +22 -22
- package/dist/chunks/{model-resolver-aj1am2a4.js → rpc-qv8k3wm0.js} +16 -16
- package/dist/chunks/{model-resolver-r8xr0va3.js → rpc-r8xr0va3.js} +1 -1
- package/dist/chunks/{model-resolver-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-g5yx0azb.js → rpc-rh2p6mtd.js} +92 -92
- package/dist/chunks/{model-resolver-swrhp9b1.js → rpc-rq70gna5.js} +21 -21
- package/dist/chunks/{model-resolver-nxhr90dq.js → rpc-rwwy1xdt.js} +42 -42
- package/dist/chunks/{model-resolver-e0a154fg.js → rpc-s4anq1bw.js} +6 -6
- package/dist/chunks/{model-resolver-bmygya3z.js → rpc-s57t15fh.js} +22 -22
- package/dist/chunks/{model-resolver-eaj1djv9.js → rpc-s8d7rejh.js} +6 -6
- package/dist/chunks/{model-resolver-nxhqveyz.js → rpc-s8zy8myc.js} +5 -5
- package/dist/chunks/{model-resolver-gf2sqppg.js → rpc-sg42avej.js} +3 -3
- package/dist/chunks/{model-resolver-thh4zv80.js → rpc-sgm8jqx6.js} +30 -30
- package/dist/chunks/{model-resolver-j3f2cck8.js → rpc-syp7yks4.js} +11 -11
- package/dist/chunks/{model-resolver-nfya0jhb.js → rpc-sypfrgdy.js} +29 -29
- package/dist/chunks/{model-resolver-jqaqchn6.js → rpc-t3d1g0ha.js} +46 -46
- package/dist/chunks/{model-resolver-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-166kng33.js → rpc-thjxzeng.js} +8 -8
- package/dist/chunks/{model-resolver-dj9sq318.js → rpc-tn0aqsam.js} +5 -5
- package/dist/chunks/{model-resolver-tvtrv512.js → rpc-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-g03mgfzw.js → rpc-v3ydn9tj.js} +3 -3
- package/dist/chunks/{model-resolver-91aeks9h.js → rpc-vatx7znk.js} +8 -8
- package/dist/chunks/{model-resolver-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-xvjcz7er.js → rpc-vgcdvw7k.js} +10 -10
- package/dist/chunks/{model-resolver-8fqzhg78.js → rpc-vk8r472f.js} +9 -9
- package/dist/chunks/{model-resolver-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-2r4wbs08.js → rpc-wf89y6c3.js} +11 -11
- package/dist/chunks/{model-resolver-6pb16yyj.js → rpc-wfz590pn.js} +9 -9
- package/dist/chunks/{model-resolver-evrfjeev.js → rpc-wmaj8b0d.js} +38 -38
- package/dist/chunks/{model-resolver-wr76dh16.js → rpc-ws473m72.js} +22 -22
- package/dist/chunks/{model-resolver-ze0b84e6.js → rpc-wxa7yx13.js} +10 -10
- package/dist/chunks/{model-resolver-emajncad.js → rpc-wyh7k2em.js} +11 -11
- package/dist/chunks/{model-resolver-ts79a8cx.js → rpc-wzqp383c.js} +11 -11
- package/dist/chunks/{model-resolver-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-za5w5jtx.js → rpc-x76psje3.js} +18 -18
- package/dist/chunks/{model-resolver-2sdqacf6.js → rpc-xjw2fkvc.js} +2 -2
- package/dist/chunks/{model-resolver-np9tbams.js → rpc-xtt9hgyv.js} +32 -32
- package/dist/chunks/{model-resolver-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-y71avatq.js → rpc-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-ebahhykd.js → rpc-yajvsn8f.js} +4 -4
- package/dist/chunks/{model-resolver-3ktbe3hf.js → rpc-ybhbtxjg.js} +6 -6
- package/dist/chunks/{model-resolver-eyx3sbbq.js → rpc-yk0m5prq.js} +4 -4
- package/dist/chunks/{model-resolver-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → rpc-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-k307gc3k.js → rpc-z5qf6xj2.js} +12 -12
- package/dist/chunks/{model-resolver-z63w68vq.js → rpc-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-x4d9s46j.js → rpc-zpb79gje.js} +25 -25
- package/dist/chunks/{model-resolver-xpj1128m.js → rpc-zpgjk8rp.js} +29 -29
- package/dist/chunks/{model-resolver-h5pwwdd2.js → rpc-zprjnq06.js} +11 -11
- package/dist/chunks/{model-resolver-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-22zy5p6a.js → rpc-zvxcd2m0.js} +47 -47
- package/dist/chunks/{model-resolver-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-hrfgvzx7.js → rpc-zz1fc49n.js} +57 -57
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- 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 +120 -120
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- 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 +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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 +73 -73
- 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 +220 -220
- 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 +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- 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 +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +101 -101
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +118 -118
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- 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 +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- 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 +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- 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 +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- 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 +12 -12
- 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 +3 -3
- 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 +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/model-resolver-1tm0r3ht.js +0 -4
- package/dist/chunks/model-resolver-1x11rq2a.js +0 -18
- package/dist/chunks/model-resolver-qdb30wdd.js +0 -252
- package/dist/chunks/model-resolver-xrwhq20c.js +0 -478
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → rpc-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → rpc-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./rpc-d1scngp8.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./rpc-t3d1g0ha.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service26
|
|
10
|
+
} from "./rpc-661x4vhc.js";
|
|
11
11
|
import {
|
|
12
12
|
make10
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-73tb2d7t.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin36
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin36 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service50;
|
|
37
|
+
const formatter = yield* Service26;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service74;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -74,4 +74,4 @@ var Plugin30 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin36, exports_formatter };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./rpc-5nf8yzxg.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-h6r3nrb9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./rpc-hv3s9zhd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./rpc-xtt9hgyv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service69
|
|
16
|
+
} from "./rpc-19psw4kw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./rpc-4qtnyxmw.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service69;
|
|
30
|
+
const bus = yield* Service77;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-cw0rdypx.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-77xv8qnb.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
CloudflareAIGatewayPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-8v81ap7w.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareWorkersAIPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-3qqmmvpd.js";
|
|
16
16
|
import {
|
|
17
17
|
CoherePlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-z0bkrqjs.js";
|
|
19
19
|
import {
|
|
20
20
|
DigitalOceanPlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-j13jypnt.js";
|
|
22
22
|
import {
|
|
23
23
|
DynamicProviderPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-vzcthcp8.js";
|
|
25
25
|
import {
|
|
26
26
|
GatewayPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-669tq793.js";
|
|
28
28
|
import {
|
|
29
29
|
GithubCopilotPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-gnn011q2.js";
|
|
31
31
|
import {
|
|
32
32
|
GitLabPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-yajvsn8f.js";
|
|
34
34
|
import {
|
|
35
35
|
GoogleVertexPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./rpc-gebvexjm.js";
|
|
37
37
|
import {
|
|
38
38
|
KiloPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./rpc-qg3g05ea.js";
|
|
40
40
|
import {
|
|
41
41
|
LLMGatewayPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./rpc-azc3hc5h.js";
|
|
43
43
|
import {
|
|
44
44
|
LMStudioPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./rpc-0xz2rdzt.js";
|
|
46
46
|
import {
|
|
47
47
|
ModalPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./rpc-mqfnncbp.js";
|
|
49
49
|
import {
|
|
50
50
|
NvidiaPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./rpc-24dcb14g.js";
|
|
52
52
|
import {
|
|
53
53
|
OllamaPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./rpc-jddfrygf.js";
|
|
55
55
|
import {
|
|
56
56
|
OpenAIPlugin3
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./rpc-q61cgpyx.js";
|
|
58
58
|
import {
|
|
59
59
|
SnowflakeCortexPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./rpc-eadymk8b.js";
|
|
61
61
|
import {
|
|
62
62
|
OpencodePlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./rpc-jx9d81yp.js";
|
|
64
64
|
import {
|
|
65
65
|
OpenRouterPlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./rpc-3qbarsqj.js";
|
|
67
67
|
import {
|
|
68
68
|
PerplexityPlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./rpc-veqvce7d.js";
|
|
70
70
|
import {
|
|
71
71
|
PoePlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./rpc-3jqbcwss.js";
|
|
73
73
|
import {
|
|
74
74
|
PromptCacheKeyPlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./rpc-hqwen7m6.js";
|
|
76
76
|
import {
|
|
77
77
|
SapAICorePlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./rpc-jb048psh.js";
|
|
79
79
|
import {
|
|
80
80
|
VercelPlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./rpc-fxwbeahb.js";
|
|
82
82
|
import {
|
|
83
83
|
VenicePlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./rpc-yrhqyw5v.js";
|
|
85
85
|
import {
|
|
86
86
|
VLLMPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./rpc-vgcdvw7k.js";
|
|
88
88
|
import {
|
|
89
89
|
XAIPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./rpc-nx57ndsc.js";
|
|
91
91
|
import {
|
|
92
92
|
ZenmuxPlugin2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./rpc-jjkms2e6.js";
|
|
94
94
|
|
|
95
95
|
// src/plugin/provider.ts
|
|
96
96
|
var ProviderPlugins2 = [
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service77,
|
|
4
|
+
node81
|
|
5
|
+
} from "./rpc-5nf8yzxg.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./rpc-qae5j9tx.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event20,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service73,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node77,
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service73 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event20 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service79;
|
|
81
|
+
const bus = yield* Service77;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event20.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service73.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event20.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event20.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node77 = makeGlobalNode({ service: Service73, layer, deps: [httpClient, node83, node81] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service73, Event20, inspect2, resolve4, node77, exports_wellknown };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-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: () => Plugin26,
|
|
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 Plugin26 = 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 Plugin25 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin26, exports_identity };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./rpc-qrvxy8qx.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service76;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make19 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./rpc-syp7yks4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./rpc-5nf8yzxg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./rpc-8q9myf25.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-ybhbtxjg.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service62
|
|
29
|
+
} from "./rpc-7yts529q.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service56
|
|
34
|
+
} from "./rpc-kxsbrv8e.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service54
|
|
37
|
+
} from "./rpc-pqek5mm2.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./rpc-qv8k3wm0.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./rpc-zpb79gje.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./rpc-vk8r472f.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./rpc-6ztcfs7p.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./rpc-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make13
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
67
|
-
const database = yield*
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
65
|
+
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service77;
|
|
67
|
+
const database = yield* Service80;
|
|
68
|
+
const store = yield* Service62;
|
|
69
|
+
const instances = yield* Service57;
|
|
70
|
+
const execution = yield* Service54;
|
|
71
|
+
const admission = yield* Service56;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError9({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -131,7 +131,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service57, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service57, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service57, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service57, instances), Effect.provideService(Service80, database), Effect.provideService(Service77, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service57, instances), Effect.provideService(Service77, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -322,4 +322,4 @@ ${error.message}`,
|
|
|
322
322
|
return { forSession };
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { make13, exports_session2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-8443f5nj.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service72
|
|
7
|
+
} from "./rpc-hv3s9zhd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-xtt9hgyv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID13
|
|
14
|
+
} from "./rpc-19psw4kw.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID13.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID14.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service72;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|