@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,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service66,
|
|
6
|
+
node70
|
|
7
|
+
} from "./rpc-rwwy1xdt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service27,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer11,
|
|
20
|
+
node: () => node30
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service27 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service66;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer10 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service27.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node30 = makeLocationNode({
|
|
69
|
+
service: Service27,
|
|
70
|
+
layer: layer11,
|
|
71
|
+
deps: [node70, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service27, layer11, node30, exports_generate };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./rpc-fvr26rhy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service25,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-717ghxt8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service26
|
|
11
|
+
} from "./rpc-661x4vhc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service61
|
|
14
|
+
} from "./rpc-zz1fc49n.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service24
|
|
17
|
+
} from "./rpc-2a1gw4e3.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
28
|
+
Input: () => Input6,
|
|
29
29
|
Output: () => Output6,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin7,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name6,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "write";
|
|
39
|
+
var Input6 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
@@ -48,24 +48,24 @@ var Output6 = Schema.Struct({
|
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin7 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service24;
|
|
56
|
+
const fileMutation = yield* Service25;
|
|
57
|
+
const environment = yield* Service52;
|
|
58
|
+
const formatter = yield* Service26;
|
|
59
|
+
const permission = yield* Service61;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name6,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
68
|
+
input: Input6,
|
|
69
69
|
output: Output6,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name6, Input6, Output6, toModelContent3, Plugin7, exports_write };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node81
|
|
4
|
+
} from "./rpc-5nf8yzxg.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service74,
|
|
12
|
+
node78
|
|
13
|
+
} from "./rpc-d1scngp8.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info5,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service23,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node26
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service23 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service74;
|
|
53
|
+
const bus = yield* Service77;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service23.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node26 = makeLocationNode({
|
|
168
|
+
service: Service23,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node78, node81]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service23, node26, exports_vcs };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-8443f5nj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./rpc-5nf8yzxg.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service72
|
|
11
|
+
} from "./rpc-hv3s9zhd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service70
|
|
16
|
+
} from "./rpc-xtt9hgyv.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./rpc-19psw4kw.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-8fr063mm.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service72;
|
|
57
|
+
const integrations = yield* Service70;
|
|
58
|
+
const bus = yield* Service77;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service64
|
|
4
|
+
} from "./rpc-p5e71svx.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service68
|
|
8
|
+
} from "./rpc-g3m59t07.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./rpc-t3d1g0ha.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-jexxy024.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service59
|
|
18
|
+
} from "./rpc-eyrmmecm.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service61
|
|
22
|
+
} from "./rpc-zz1fc49n.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service28
|
|
25
|
+
} from "./rpc-6hn9vftv.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./rpc-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make9
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./rpc-jjdgzahf.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./rpc-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input5,
|
|
40
|
+
Output: () => Output5,
|
|
41
|
+
Plugin: () => Plugin6,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description3,
|
|
44
|
+
name: () => name5
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name5 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input5 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input11 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output5 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description3 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin6 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
92
|
+
const sessions = yield* Service28;
|
|
93
|
+
const jobs = yield* Service59;
|
|
94
|
+
const agents = yield* Service64;
|
|
95
|
+
const config = yield* Service50;
|
|
96
|
+
const permission = yield* Service61;
|
|
97
|
+
const models = yield* Service68;
|
|
98
98
|
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin12 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description3,
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin12 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name5,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin12 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID10.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name5];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name5, Input5, Output5, description3, Plugin6, exports_subagent };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service74
|
|
13
|
+
} from "./rpc-d1scngp8.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-e0k1f92f.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin21,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin21 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service74;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin21, exports_git };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info15
|
|
6
|
+
} from "./rpc-magykp64.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info15)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|