@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,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-2taagk0w.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-5reahhcp.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent2 = {};
|
|
15
|
+
__export(exports_agent2, {
|
|
16
|
+
AgentPlugin: () => exports_agent2,
|
|
17
|
+
Plugin: () => Plugin25
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin25 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin11 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID15.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID15.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin11 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID15.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID15.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID15.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin11 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin25, exports_agent2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80
|
|
3
|
-
} from "./catalog-2t8xysc7.js";
|
|
4
1
|
import {
|
|
5
2
|
Service79
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-868qdqs3.js";
|
|
4
|
+
import {
|
|
5
|
+
Service78
|
|
6
|
+
} from "./model-resolver-9t2yae5y.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./model-resolver-81rrwt6s.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service44
|
|
16
|
+
} from "./model-resolver-4tehx1tz.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-k7d0894y.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
46
|
-
const database = yield*
|
|
47
|
-
const bus = yield*
|
|
45
|
+
const instances = yield* Service42;
|
|
46
|
+
const database = yield* Service79;
|
|
47
|
+
const bus = yield* Service78;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service44;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service42;
|
|
78
|
+
const bus = yield* Service78;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service44;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./model-resolver-9t2yae5y.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event19,
|
|
18
|
+
ID: () => ID15,
|
|
19
|
+
Info: () => Info29,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service74,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node79
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event19 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID15 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID15.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info29 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service74 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service78;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info29.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID15.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service74.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID15.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID15.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node79 = makeLocationNode({ service: Service74, layer, deps: [node83, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID15, Name3, defaultID2, Color2, Info29, Service74, node79, exports_agent4, Event19 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service40,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service40 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service40, exports_runner };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./model-resolver-d6axdhgm.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin17
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin17 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service49;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
|
|
27
27
|
yield* ctx.catalog.transform((catalog) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin32 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin17, exports_policy };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./model-resolver-868qdqs3.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info28,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service73,
|
|
21
|
+
node: () => node78
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info28 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service73 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service79).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID14.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service73.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node78 = makeGlobalNode({ service: Service73, layer, deps: [node84] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID14, Info28, ListInput5, AddInput2, Service73, node78, exports_saved };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./catalog-2t8xysc7.js";
|
|
5
|
-
import {
|
|
6
|
-
reserveSequence2,
|
|
7
2
|
Service79,
|
|
8
3
|
node84
|
|
9
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-868qdqs3.js";
|
|
5
|
+
import {
|
|
6
|
+
reserveSequence2,
|
|
7
|
+
Service78,
|
|
8
|
+
node83
|
|
9
|
+
} from "./model-resolver-9t2yae5y.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-0hpxrkyb.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-dj2t23y0.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-5c4hm403.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-dy83786h.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./model-resolver-y31b318c.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./model-resolver-k8m05cxs.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./model-resolver-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node32
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -275,8 +275,8 @@ function projectIdle(db, event) {
|
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
277
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
278
|
-
const bus = yield*
|
|
279
|
-
const db = (yield*
|
|
278
|
+
const bus = yield* Service78;
|
|
279
|
+
const db = (yield* Service79).db;
|
|
280
280
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
281
281
|
const stored = yield* db.insert(SessionTable2).values({
|
|
282
282
|
id: event.data.sessionID,
|
|
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
455
455
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
456
456
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
457
457
|
}));
|
|
458
|
-
var
|
|
458
|
+
var node32 = makeGlobalNode({ name: "session-projector", layer, deps: [node83, node84] });
|
|
459
459
|
|
|
460
|
-
export { SessionAlreadyProjected2,
|
|
460
|
+
export { SessionAlreadyProjected2, node32, exports_projector };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service49
|
|
4
|
+
} from "./model-resolver-d6axdhgm.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin6 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service49;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin18 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin6, exports_websearch };
|