@opencode/core 0.0.0-dev-19309 → 0.0.0-dev-19311
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{catalog-x24zbaxc.js → model-resolver-0aq3bv6p.js} +27 -27
- package/dist/chunks/{catalog-0hpxrkyb.js → model-resolver-0hpxrkyb.js} +2 -2
- package/dist/chunks/{catalog-g0mr4btt.js → model-resolver-0hxph87b.js} +5 -5
- package/dist/chunks/{catalog-5tfj1zwh.js → model-resolver-0jmjzee4.js} +17 -17
- package/dist/chunks/model-resolver-0mesazry.js +4 -0
- package/dist/chunks/{catalog-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{catalog-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{catalog-r441rk8t.js → model-resolver-0sawsjns.js} +18 -18
- package/dist/chunks/{catalog-82a5wx02.js → model-resolver-0v867qyd.js} +15 -15
- package/dist/chunks/{catalog-dkr6v1jj.js → model-resolver-13bj4jyc.js} +6 -6
- package/dist/chunks/{catalog-43ptgj31.js → model-resolver-19aya85j.js} +7 -7
- package/dist/chunks/{catalog-wr9en1my.js → model-resolver-1bs4t1p1.js} +41 -41
- package/dist/chunks/{catalog-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{catalog-b5n790m1.js → model-resolver-1mtcg6ar.js} +25 -25
- package/dist/chunks/{catalog-mp02gzc9.js → model-resolver-1r3p2k7g.js} +28 -28
- package/dist/chunks/{catalog-493f7437.js → model-resolver-21gmtf5s.js} +11 -11
- package/dist/chunks/{catalog-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{catalog-b5x3zw73.js → model-resolver-23n5nc7p.js} +9 -9
- package/dist/chunks/{catalog-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
- package/dist/chunks/model-resolver-27ajfczk.js +247 -0
- package/dist/chunks/{catalog-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{catalog-vyrd71eq.js → model-resolver-2ekhvkds.js} +11 -11
- package/dist/chunks/{catalog-1w9a9pv3.js → model-resolver-2f04pwep.js} +3 -3
- package/dist/chunks/{catalog-sx4z2wkx.js → model-resolver-2gp30egj.js} +4 -4
- package/dist/chunks/{catalog-ea4szbf4.js → model-resolver-2gvahrj6.js} +15 -15
- package/dist/chunks/{catalog-crn2g2j7.js → model-resolver-2rw3mzdd.js} +25 -25
- package/dist/chunks/{catalog-hfe15vta.js → model-resolver-2taagk0w.js} +27 -27
- package/dist/chunks/{catalog-ddt2bs9e.js → model-resolver-2vs2nh1n.js} +4 -4
- package/dist/chunks/{catalog-x36451fn.js → model-resolver-35m6n0h8.js} +9 -9
- package/dist/chunks/{catalog-4ck6zdkc.js → model-resolver-3d05yrhf.js} +20 -20
- package/dist/chunks/{catalog-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{catalog-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{catalog-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{catalog-vk7myt1t.js → model-resolver-3tkg1v6e.js} +22 -22
- package/dist/chunks/{catalog-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{catalog-83x6p9kd.js → model-resolver-3y2vzd8j.js} +1 -1
- package/dist/chunks/{catalog-e3t7z67s.js → model-resolver-423zw90g.js} +8 -8
- package/dist/chunks/{catalog-t8mcaem5.js → model-resolver-4am1wjpn.js} +1 -1
- package/dist/chunks/{catalog-2twcyph9.js → model-resolver-4f4xg237.js} +10 -10
- package/dist/chunks/{catalog-3mp8tw93.js → model-resolver-4mq91456.js} +2 -2
- package/dist/chunks/{catalog-c8kn0e1j.js → model-resolver-4sgjj86v.js} +12 -12
- package/dist/chunks/{catalog-yvmq8qxx.js → model-resolver-4sp1fpdf.js} +12 -12
- package/dist/chunks/{catalog-rkqame75.js → model-resolver-4tehx1tz.js} +24 -24
- package/dist/chunks/{catalog-hs0dft44.js → model-resolver-51k0a2ck.js} +42 -42
- package/dist/chunks/{catalog-4as1skcx.js → model-resolver-53kakmxw.js} +88 -88
- package/dist/chunks/{catalog-w2f3tag7.js → model-resolver-5a3e4t2e.js} +53 -53
- package/dist/chunks/{catalog-bpggscz5.js → model-resolver-5b8g7156.js} +22 -22
- package/dist/chunks/{catalog-a1bz86dw.js → model-resolver-5c4hm403.js} +3 -3
- package/dist/chunks/{catalog-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{catalog-6kdk6nqh.js → model-resolver-5gvs0vy6.js} +3 -3
- package/dist/chunks/{catalog-annfvqzd.js → model-resolver-5reahhcp.js} +62 -62
- package/dist/chunks/{catalog-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{catalog-dv1qgsyq.js → model-resolver-5xtgfte3.js} +8 -8
- package/dist/chunks/{catalog-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{catalog-277t2eea.js → model-resolver-6fb6cyfd.js} +17 -17
- package/dist/chunks/{catalog-19vf66h0.js → model-resolver-6hh8tjw2.js} +4 -4
- package/dist/chunks/{catalog-s3na88hc.js → model-resolver-6jt15jam.js} +16 -16
- package/dist/chunks/{catalog-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/model-resolver-6nbzjb56.js +462 -0
- package/dist/chunks/{catalog-sg6ndnsg.js → model-resolver-6tdy5psv.js} +24 -24
- package/dist/chunks/{catalog-en89ywvk.js → model-resolver-70rhfn1p.js} +19 -19
- package/dist/chunks/{catalog-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
- package/dist/chunks/{catalog-w834zwzr.js → model-resolver-76yzkxkp.js} +46 -46
- package/dist/chunks/{catalog-z4rzbvzf.js → model-resolver-7aa1cj5w.js} +9 -9
- package/dist/chunks/{catalog-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{catalog-0n9gyfew.js → model-resolver-7g1znek2.js} +4 -4
- package/dist/chunks/{catalog-0pcfrhz7.js → model-resolver-7hd0m9s1.js} +9 -9
- package/dist/chunks/{catalog-hjyq8txy.js → model-resolver-7htwxs73.js} +19 -19
- package/dist/chunks/{catalog-9yzgp4j1.js → model-resolver-7ptgkj9x.js} +30 -30
- package/dist/chunks/{catalog-avf8efec.js → model-resolver-7pvzsz6j.js} +46 -46
- package/dist/chunks/{catalog-7g3sek8k.js → model-resolver-7z7893y4.js} +9 -9
- package/dist/chunks/{catalog-ghk9cxjs.js → model-resolver-81rrwt6s.js} +6 -6
- package/dist/chunks/{catalog-bjfdh5sq.js → model-resolver-8485p8c8.js} +25 -25
- package/dist/chunks/{catalog-2t8xysc7.js → model-resolver-868qdqs3.js} +11 -11
- package/dist/chunks/{catalog-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{catalog-f20xgh69.js → model-resolver-8ns0hvns.js} +23 -23
- package/dist/chunks/{catalog-pdcqshfj.js → model-resolver-94mafesx.js} +29 -29
- package/dist/chunks/{catalog-trdmtmn1.js → model-resolver-96jy3nrs.js} +31 -31
- package/dist/chunks/{catalog-ynj9sc9b.js → model-resolver-983ft7s8.js} +7 -7
- package/dist/chunks/{catalog-pygrm44j.js → model-resolver-9cbpths4.js} +24 -24
- package/dist/chunks/{catalog-v01artfa.js → model-resolver-9t2yae5y.js} +16 -16
- package/dist/chunks/{catalog-887bxmqj.js → model-resolver-9wc31ee9.js} +9 -9
- package/dist/chunks/{catalog-nfj734wy.js → model-resolver-9yd8p6fr.js} +41 -41
- package/dist/chunks/{catalog-4h427kqb.js → model-resolver-a3nnj4kk.js} +51 -51
- package/dist/chunks/{catalog-gg87hdr1.js → model-resolver-a6y89zjg.js} +90 -90
- package/dist/chunks/{catalog-t41sh3fy.js → model-resolver-a71pjsc9.js} +12 -12
- package/dist/chunks/{catalog-wmhr3c7y.js → model-resolver-a9b9x376.js} +7 -7
- package/dist/chunks/{catalog-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{catalog-jfw7ranw.js → model-resolver-aaxaqk19.js} +4 -4
- package/dist/chunks/{catalog-8f447577.js → model-resolver-acsehg7c.js} +22 -22
- package/dist/chunks/{catalog-86vv7gh8.js → model-resolver-ajztzy0x.js} +9 -9
- package/dist/chunks/{catalog-v33xfvcj.js → model-resolver-awbdwcvp.js} +9 -9
- package/dist/chunks/{catalog-sv2dresp.js → model-resolver-ax70fxdt.js} +11 -11
- package/dist/chunks/{catalog-vtss28jw.js → model-resolver-b1ajx0g1.js} +7 -7
- package/dist/chunks/{catalog-ne6jr7py.js → model-resolver-b3xbanpc.js} +8 -8
- package/dist/chunks/{catalog-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{catalog-en74w496.js → model-resolver-bd9nqr2t.js} +5 -5
- package/dist/chunks/{catalog-sra9araw.js → model-resolver-bhj4y43k.js} +5 -5
- package/dist/chunks/{catalog-bv56xrks.js → model-resolver-bv56xrks.js} +2 -2
- package/dist/chunks/{catalog-kxfy9v2j.js → model-resolver-bzvjbgc5.js} +19 -19
- package/dist/chunks/{catalog-w7t7hmp4.js → model-resolver-bzzsz1b8.js} +11 -11
- package/dist/chunks/{catalog-51mnv1qp.js → model-resolver-c0qy3m8p.js} +15 -15
- package/dist/chunks/{catalog-c7ecgrk6.js → model-resolver-c1g6mvbq.js} +8 -8
- package/dist/chunks/{catalog-kqnty0aw.js → model-resolver-c5m6q3p0.js} +21 -21
- package/dist/chunks/{catalog-ncmz7v5j.js → model-resolver-c68b4qab.js} +10 -10
- package/dist/chunks/{catalog-k0nnq3t9.js → model-resolver-cdqe3acw.js} +6 -6
- package/dist/chunks/{catalog-cavm9het.js → model-resolver-cm6p1s29.js} +23 -23
- package/dist/chunks/{catalog-c64pkv7q.js → model-resolver-cmj3wvnf.js} +19 -19
- package/dist/chunks/{catalog-21s79zm0.js → model-resolver-cqnjb978.js} +22 -22
- package/dist/chunks/{catalog-3518rj0x.js → model-resolver-crvrtykq.js} +20 -20
- package/dist/chunks/{catalog-5nsrms9d.js → model-resolver-cz2fjc0t.js} +1 -1
- package/dist/chunks/{catalog-9hxjxzzj.js → model-resolver-d4bs6nh8.js} +35 -35
- package/dist/chunks/{catalog-jvgf59s5.js → model-resolver-d6axdhgm.js} +46 -46
- package/dist/chunks/{catalog-3yjx2qxr.js → model-resolver-daem90sq.js} +35 -35
- package/dist/chunks/{catalog-dfe8djrf.js → model-resolver-dfe8djrf.js} +1 -1
- package/dist/chunks/{catalog-gda9nas2.js → model-resolver-dj14fq5x.js} +15 -15
- package/dist/chunks/{catalog-8p4f9s12.js → model-resolver-dj2t23y0.js} +2 -2
- package/dist/chunks/{catalog-ssd64hap.js → model-resolver-dp2desqw.js} +24 -24
- package/dist/chunks/{catalog-e34b6n40.js → model-resolver-dy83786h.js} +26 -26
- package/dist/chunks/{catalog-g85prm42.js → model-resolver-dz4bsems.js} +8 -8
- package/dist/chunks/{catalog-s8d7rejh.js → model-resolver-eaj1djv9.js} +6 -6
- package/dist/chunks/{catalog-n41t07j9.js → model-resolver-eez3sah5.js} +28 -28
- package/dist/chunks/{catalog-sse12fwf.js → model-resolver-ek34y162.js} +8 -8
- package/dist/chunks/{catalog-3ypbmvbe.js → model-resolver-eqhsskwv.js} +4 -4
- package/dist/chunks/{catalog-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{catalog-3w2b2yj4.js → model-resolver-ez47arx5.js} +5 -5
- package/dist/chunks/{catalog-kk00bynn.js → model-resolver-f3ngv102.js} +21 -21
- package/dist/chunks/{catalog-3m0hcevc.js → model-resolver-fkjex2d7.js} +40 -40
- package/dist/chunks/{catalog-xycjtdwc.js → model-resolver-fkvyrnmv.js} +2 -2
- package/dist/chunks/{catalog-pv83a8g9.js → model-resolver-fnb1tm2q.js} +5 -5
- package/dist/chunks/{catalog-p17pfsmd.js → model-resolver-fs30ryqv.js} +25 -25
- package/dist/chunks/{catalog-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{catalog-shh6fz4q.js → model-resolver-fyymr9xg.js} +4 -4
- package/dist/chunks/{catalog-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{catalog-fe83msa9.js → model-resolver-gkjrds9h.js} +13 -13
- package/dist/chunks/{catalog-63ypb7gw.js → model-resolver-gmnw41t9.js} +24 -24
- package/dist/chunks/{catalog-qjq8d7da.js → model-resolver-gmykmxzz.js} +18 -18
- package/dist/chunks/{catalog-c0gpyqcs.js → model-resolver-gsv4ca8f.js} +43 -43
- package/dist/chunks/{catalog-ekxqnygj.js → model-resolver-gwgds8rz.js} +20 -20
- package/dist/chunks/{catalog-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
- package/dist/chunks/{catalog-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{catalog-gc7xqtvn.js → model-resolver-h7gdqzd6.js} +6 -6
- package/dist/chunks/{catalog-jhetwysa.js → model-resolver-h94x1q5y.js} +3 -3
- package/dist/chunks/{catalog-f828m53h.js → model-resolver-hdnk95c8.js} +2 -2
- package/dist/chunks/{catalog-4fq0az5r.js → model-resolver-hg29js9c.js} +5 -5
- package/dist/chunks/{catalog-hjt4xg1x.js → model-resolver-hjt4xg1x.js} +1 -1
- package/dist/chunks/{catalog-hccqy9de.js → model-resolver-hm085mrq.js} +25 -25
- package/dist/chunks/{catalog-mncc4vzv.js → model-resolver-hmyxjnbw.js} +15 -15
- package/dist/chunks/{catalog-1bbkgx8g.js → model-resolver-j028xdjb.js} +3 -3
- package/dist/chunks/{catalog-qqtwvk4z.js → model-resolver-j15mfg1p.js} +6 -6
- package/dist/chunks/{catalog-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{catalog-eks9y43h.js → model-resolver-j7wqg36k.js} +13 -13
- package/dist/chunks/{catalog-cpsw9aga.js → model-resolver-jdh6s7jq.js} +8 -8
- package/dist/chunks/{catalog-3p5n9sjf.js → model-resolver-jfcm55kc.js} +7 -7
- package/dist/chunks/{catalog-rpz3wezz.js → model-resolver-jh3mr9fx.js} +4 -4
- package/dist/chunks/{catalog-6mav0crw.js → model-resolver-jrec0msh.js} +33 -33
- package/dist/chunks/{catalog-jsckaant.js → model-resolver-jzhcgjv7.js} +13 -13
- package/dist/chunks/{catalog-p6sy7vrx.js → model-resolver-k3drw8gy.js} +11 -11
- package/dist/chunks/{catalog-jz7qjw6y.js → model-resolver-k7d0894y.js} +9 -9
- package/dist/chunks/{catalog-kcj2091p.js → model-resolver-k8aynvez.js} +10 -10
- package/dist/chunks/{catalog-0e1sw8g7.js → model-resolver-k8m05cxs.js} +18 -18
- package/dist/chunks/{catalog-3n15d110.js → model-resolver-kbm5ywhv.js} +35 -35
- package/dist/chunks/{catalog-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
- package/dist/chunks/{catalog-cfpkc3c9.js → model-resolver-m0jqrx5p.js} +2 -2
- package/dist/chunks/{catalog-c3d70zs9.js → model-resolver-m13kr8wx.js} +13 -13
- package/dist/chunks/{catalog-n2w5zf4y.js → model-resolver-m18gzt7g.js} +30 -30
- package/dist/chunks/{catalog-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{catalog-3tt1qkhr.js → model-resolver-ma48de29.js} +5 -5
- package/dist/chunks/{catalog-1ygqh575.js → model-resolver-mfqp6xfm.js} +6 -6
- package/dist/chunks/{catalog-mkcjrzeh.js → model-resolver-mkcjrzeh.js} +1 -1
- package/dist/chunks/{catalog-4rt9mjng.js → model-resolver-mym5xwza.js} +11 -11
- package/dist/chunks/{catalog-d3zdjdg4.js → model-resolver-n6aetzp4.js} +39 -39
- package/dist/chunks/{catalog-n68ab1tc.js → model-resolver-n7qdmp8m.js} +20 -20
- package/dist/chunks/{catalog-fq51289s.js → model-resolver-n93cvmfp.js} +32 -32
- package/dist/chunks/{catalog-styqsms2.js → model-resolver-n95h4grp.js} +17 -17
- package/dist/chunks/{catalog-m5ehmq0h.js → model-resolver-nmrsa8tb.js} +21 -21
- package/dist/chunks/{catalog-xrdn9kgh.js → model-resolver-np146xf0.js} +13 -13
- package/dist/chunks/{catalog-4sqgnae3.js → model-resolver-nzcr7xy5.js} +22 -22
- package/dist/chunks/{catalog-t89hfesc.js → model-resolver-nzwzy72p.js} +9 -9
- package/dist/chunks/{catalog-4xjg4q2t.js → model-resolver-p07p7dxg.js} +16 -16
- package/dist/chunks/{catalog-a8j8hhs2.js → model-resolver-p72z5xx6.js} +2 -2
- package/dist/chunks/{catalog-zxwpk2nb.js → model-resolver-p905rm1f.js} +1 -1
- package/dist/chunks/{catalog-88sz8qcd.js → model-resolver-paegk39x.js} +4 -4
- package/dist/chunks/{catalog-j935v87r.js → model-resolver-paphc93g.js} +2 -2
- package/dist/chunks/{catalog-h9v53t8b.js → model-resolver-pdc8edc9.js} +28 -28
- package/dist/chunks/{catalog-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{catalog-5mphm999.js → model-resolver-pk6gzyws.js} +24 -24
- package/dist/chunks/{catalog-w17639j7.js → model-resolver-pkmavskt.js} +4 -4
- package/dist/chunks/{catalog-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{catalog-96qecsp7.js → model-resolver-ptbz0kzz.js} +19 -19
- package/dist/chunks/{catalog-m2d0j7c0.js → model-resolver-px1hepbq.js} +9 -9
- package/dist/chunks/{catalog-324g3shg.js → model-resolver-q15ghr61.js} +15 -15
- package/dist/chunks/{catalog-0evts91x.js → model-resolver-q5bwphvd.js} +18 -18
- package/dist/chunks/{catalog-xn5rvdk3.js → model-resolver-qe26s0zb.js} +8 -8
- package/dist/chunks/{catalog-fcrkznn8.js → model-resolver-qgn6gcr1.js} +5 -5
- package/dist/chunks/{catalog-s7sd9pj0.js → model-resolver-qja371g1.js} +18 -18
- package/dist/chunks/{catalog-agqtpwbj.js → model-resolver-qnmw77rf.js} +5 -5
- package/dist/chunks/{catalog-gw93046e.js → model-resolver-qpp5wgcs.js} +10 -10
- package/dist/chunks/{catalog-509mfy7b.js → model-resolver-qpt5r044.js} +6 -6
- package/dist/chunks/{catalog-n71y3dbp.js → model-resolver-qqazqvjv.js} +11 -11
- package/dist/chunks/{catalog-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{catalog-m74w19w0.js → model-resolver-qvrt22yc.js} +168 -168
- package/dist/chunks/{catalog-fppsb3b5.js → model-resolver-qzt97rh9.js} +36 -36
- package/dist/chunks/{catalog-g07620wm.js → model-resolver-r1gq2p73.js} +26 -26
- package/dist/chunks/{catalog-c9whyjqe.js → model-resolver-r8er4w6q.js} +10 -10
- package/dist/chunks/model-resolver-rap9a73h.js +18 -0
- package/dist/chunks/{catalog-2j0cq4hw.js → model-resolver-rgst1ddg.js} +11 -11
- package/dist/chunks/{catalog-vzr1015d.js → model-resolver-rma5z0ck.js} +26 -26
- package/dist/chunks/{catalog-zeh9ct20.js → model-resolver-rq775frq.js} +2 -2
- package/dist/chunks/{catalog-nh5sasdk.js → model-resolver-rswbxkdz.js} +22 -22
- package/dist/chunks/{catalog-n4ejk7vt.js → model-resolver-rz8cg23q.js} +34 -34
- package/dist/chunks/{catalog-91brfrwq.js → model-resolver-rzr29mjv.js} +1 -1
- package/dist/chunks/{catalog-k52252t7.js → model-resolver-s9yxznb6.js} +4 -4
- package/dist/chunks/{catalog-kmzz9pas.js → model-resolver-sath0g0v.js} +15 -15
- package/dist/chunks/{catalog-xdh98823.js → model-resolver-sfzmaz10.js} +17 -17
- package/dist/chunks/{catalog-te5wzfm2.js → model-resolver-smayg48v.js} +33 -33
- package/dist/chunks/{catalog-4mkcvr19.js → model-resolver-snxhrb6z.js} +5 -5
- package/dist/chunks/{catalog-ezewvdhd.js → model-resolver-sz79wj9p.js} +11 -11
- package/dist/chunks/{catalog-6ck2t1rv.js → model-resolver-t0x5rdq8.js} +9 -9
- package/dist/chunks/{catalog-v4v7wqz2.js → model-resolver-t294w80x.js} +27 -27
- package/dist/chunks/{catalog-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{catalog-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{catalog-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{catalog-wdg8v3k8.js → model-resolver-tpqcq9ma.js} +32 -32
- package/dist/chunks/{catalog-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{catalog-0zgh7kk5.js → model-resolver-txf4gfjj.js} +61 -61
- package/dist/chunks/{catalog-bxphq6yf.js → model-resolver-v03cbedv.js} +37 -37
- package/dist/chunks/{catalog-4zbwj09h.js → model-resolver-v22jagvy.js} +11 -11
- package/dist/chunks/{catalog-v9nb272c.js → model-resolver-v28yx9rk.js} +6 -6
- package/dist/chunks/{catalog-8k4hkv5d.js → model-resolver-v2p4rfxw.js} +6 -6
- package/dist/chunks/{catalog-jv01nqvq.js → model-resolver-v5hpcsb0.js} +5 -5
- package/dist/chunks/{catalog-rxjrk2nw.js → model-resolver-v5p5jd5d.js} +16 -16
- package/dist/chunks/{catalog-ap7992nw.js → model-resolver-vazvxs3c.js} +12 -12
- package/dist/chunks/{catalog-cd3kn8g3.js → model-resolver-vd56qj1s.js} +11 -11
- package/dist/chunks/{catalog-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{catalog-dwgyz8t6.js → model-resolver-vj4a8mq6.js} +5 -5
- package/dist/chunks/{catalog-cye7csfb.js → model-resolver-vn05ks9g.js} +14 -14
- package/dist/chunks/{catalog-jt93vp5f.js → model-resolver-vs5zg3ka.js} +9 -9
- package/dist/chunks/{catalog-w6dsm74z.js → model-resolver-vxcpq89m.js} +13 -13
- package/dist/chunks/{catalog-mjncxbbh.js → model-resolver-vyqn3nqs.js} +6 -6
- package/dist/chunks/{catalog-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{catalog-rade8k7x.js → model-resolver-w0cebxam.js} +6 -6
- package/dist/chunks/{catalog-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{catalog-b3wkxfg9.js → model-resolver-w79zsp0s.js} +1 -1
- package/dist/chunks/{catalog-1wxb385z.js → model-resolver-wbqy31zn.js} +1 -1
- package/dist/chunks/{catalog-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{catalog-n37c4crj.js → model-resolver-wk5z6jzv.js} +9 -9
- package/dist/chunks/{catalog-3mfye48b.js → model-resolver-wtz344pq.js} +20 -20
- package/dist/chunks/{catalog-1nqyn2md.js → model-resolver-wzb930f5.js} +14 -14
- package/dist/chunks/{catalog-439dx3w9.js → model-resolver-x0e6qwje.js} +9 -9
- package/dist/chunks/{catalog-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{catalog-x43y2vfs.js → model-resolver-x43y2vfs.js} +2 -2
- package/dist/chunks/{catalog-yvz2amb9.js → model-resolver-xjvpf4s6.js} +8 -8
- package/dist/chunks/{catalog-j58tsep0.js → model-resolver-xmryvm6r.js} +18 -18
- package/dist/chunks/{catalog-9d82n428.js → model-resolver-xpbmavdy.js} +57 -57
- package/dist/chunks/{catalog-v1sz7r3a.js → model-resolver-xse2fbac.js} +16 -16
- package/dist/chunks/{catalog-qgxradse.js → model-resolver-xv77w4m4.js} +23 -23
- package/dist/chunks/{catalog-sgfkh1bp.js → model-resolver-xzjqnjyt.js} +4 -4
- package/dist/chunks/{catalog-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{catalog-j22ne1jm.js → model-resolver-y1rdatpn.js} +35 -35
- package/dist/chunks/{catalog-6tt5evqq.js → model-resolver-y31b318c.js} +4 -4
- package/dist/chunks/{catalog-2336b01z.js → model-resolver-y397pytd.js} +8 -8
- package/dist/chunks/{catalog-181agvn4.js → model-resolver-y6wtm4ga.js} +13 -13
- package/dist/chunks/{catalog-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
- package/dist/chunks/{catalog-qx9naz5h.js → model-resolver-y9ndmn06.js} +27 -27
- package/dist/chunks/{catalog-1acjjqhc.js → model-resolver-yp2x3t23.js} +4 -4
- package/dist/chunks/{catalog-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{catalog-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{catalog-85eqaws9.js → model-resolver-ys435pyz.js} +9 -9
- package/dist/chunks/{catalog-gv6a8nnw.js → model-resolver-yyb7tjpc.js} +2 -2
- package/dist/chunks/{catalog-6ymtcdfp.js → model-resolver-yyw6y8kf.js} +11 -11
- package/dist/chunks/{catalog-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{catalog-7nzmz6w9.js → model-resolver-z3bd92a5.js} +28 -28
- package/dist/chunks/{catalog-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
- package/dist/chunks/{catalog-takea01j.js → model-resolver-z6ccwhj9.js} +30 -30
- package/dist/chunks/model-resolver-z6nw9z3j.js +22 -0
- package/dist/chunks/{catalog-bfg6wmvt.js → model-resolver-z6qgwyj5.js} +6 -6
- package/dist/chunks/{catalog-bbjrxcfr.js → model-resolver-z7h0bx9a.js} +23 -23
- package/dist/chunks/{catalog-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{catalog-gt0cxfk7.js → model-resolver-zsjw64s0.js} +1 -1
- package/dist/chunks/{catalog-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +87 -87
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +352 -352
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +123 -123
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +84 -84
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/catalog-0kwcw7fy.js +0 -4
- package/dist/chunks/catalog-1ce0xttj.js +0 -247
- package/dist/chunks/catalog-4v7qdvcn.js +0 -18
- package/dist/chunks/catalog-7sh2c558.js +0 -462
- package/dist/chunks/catalog-atswkcm9.js +0 -22
- /package/dist/chunks/{catalog-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{catalog-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{catalog-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{catalog-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{catalog-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{catalog-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{catalog-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{catalog-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{catalog-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{catalog-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{catalog-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{catalog-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{catalog-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{catalog-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{catalog-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{catalog-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{catalog-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{catalog-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{catalog-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{catalog-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{catalog-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{catalog-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{catalog-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{catalog-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{catalog-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{catalog-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{catalog-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{catalog-a1tpkmh4.js → model-resolver-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{catalog-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{catalog-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{catalog-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{catalog-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{catalog-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{catalog-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{catalog-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{catalog-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{catalog-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{catalog-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{catalog-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{catalog-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{catalog-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{catalog-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{catalog-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{catalog-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{catalog-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{catalog-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{catalog-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{catalog-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{catalog-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{catalog-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{catalog-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{catalog-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{catalog-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{catalog-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{catalog-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{catalog-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{catalog-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{catalog-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{catalog-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{catalog-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{catalog-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{catalog-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{catalog-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{catalog-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{catalog-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{catalog-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{catalog-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{catalog-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{catalog-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{catalog-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{catalog-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{catalog-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{catalog-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{catalog-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{catalog-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{catalog-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{catalog-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{catalog-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{catalog-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{catalog-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{catalog-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{catalog-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{catalog-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{catalog-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{catalog-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{catalog-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{catalog-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{catalog-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{catalog-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{catalog-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{catalog-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make20,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node70,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node70 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node70, exports_driver };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./model-resolver-9t2yae5y.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./model-resolver-6fb6cyfd.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-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: () => Service22,
|
|
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 Service22 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service75;
|
|
53
|
+
const bus = yield* Service78;
|
|
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(Service16, 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));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
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 }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service22.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node26 = makeLocationNode({
|
|
165
|
+
service: Service22,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node80, node83]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service22, node26, exports_vcs };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./model-resolver-9t2yae5y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./model-resolver-4tehx1tz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error5
|
|
9
|
+
} from "./model-resolver-dp2desqw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./model-resolver-4sgjj86v.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-k7d0894y.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-eqhsskwv.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-v28yx9rk.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
|
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
54
|
var make8 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service78;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service44;
|
|
58
|
+
const toolOutput = yield* Service51;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make8 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./catalog-2t8xysc7.js";
|
|
5
|
-
import {
|
|
6
|
-
latestSequence2,
|
|
7
2
|
Service79,
|
|
8
3
|
node84
|
|
9
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-868qdqs3.js";
|
|
5
|
+
import {
|
|
6
|
+
latestSequence2,
|
|
7
|
+
Service78,
|
|
8
|
+
node83
|
|
9
|
+
} from "./model-resolver-9t2yae5y.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-vd56qj1s.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service72,
|
|
21
|
+
node77
|
|
22
|
+
} from "./model-resolver-7htwxs73.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service28,
|
|
25
|
+
node33
|
|
26
|
+
} from "./model-resolver-a6y89zjg.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
@@ -59,11 +59,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
61
|
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
62
|
-
const bus = yield*
|
|
62
|
+
const bus = yield* Service78;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service28;
|
|
65
|
+
const store = yield* Service72;
|
|
66
|
+
const db = (yield* Service79).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -150,7 +150,7 @@ Recent conversation:
|
|
|
150
150
|
var node12 = makeLocationNode({
|
|
151
151
|
service: Service9,
|
|
152
152
|
layer: layer6,
|
|
153
|
-
deps: [
|
|
153
|
+
deps: [node83, llmClient2, node33, node77, node84]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
156
|
export { Service9, isUntitled2, layer6, node12, exports_title };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./model-resolver-2taagk0w.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./model-resolver-2ekhvkds.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-xzjqnjyt.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service49
|
|
16
|
+
} from "./model-resolver-d6axdhgm.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin9
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin9 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service49;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin29 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID15.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID15.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -160,4 +160,4 @@ function decode(file, content) {
|
|
|
160
160
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
export {
|
|
163
|
+
export { Plugin9, exports_agent };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./catalog-2t8xysc7.js";
|
|
5
1
|
import {
|
|
6
2
|
Service79,
|
|
7
3
|
node84
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-868qdqs3.js";
|
|
5
|
+
import {
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./model-resolver-9t2yae5y.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event15,
|
|
24
|
+
ID: () => ID9,
|
|
25
|
+
Info: () => Info23,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service63,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node67
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID9 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event15 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info23 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID9,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service63 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service79).db;
|
|
55
|
+
const bus = yield* Service78;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info23({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service63.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info23({
|
|
80
|
+
id: ID9.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node67 = makeGlobalNode({ service: Service63, layer, deps: [node84, node83] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID9, OAuth3, Key3, Value2, Event15, Info23, Service63, node67, exports_credential };
|