@opencode/core 0.0.0-dev-19839 → 0.0.0-dev-19843
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{worktree-yst3wyvc.js → model-resolver-05bpx1t2.js} +12 -12
- package/dist/chunks/{worktree-26k5bknw.js → model-resolver-06dxphr1.js} +4 -4
- package/dist/chunks/{worktree-6xwcf1a8.js → model-resolver-0m0tvs7x.js} +4 -4
- package/dist/chunks/{worktree-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-a2wwx1s9.js → model-resolver-0q9638wm.js} +23 -23
- package/dist/chunks/{worktree-hzq9ckfm.js → model-resolver-0v8afgdk.js} +18 -18
- package/dist/chunks/{worktree-zrbcx4wy.js → model-resolver-0wqmnehs.js} +21 -21
- package/dist/chunks/{worktree-8nxjb84w.js → model-resolver-0x7w7yjj.js} +87 -87
- package/dist/chunks/{worktree-xcc1re04.js → model-resolver-0xghfzx7.js} +9 -9
- package/dist/chunks/{worktree-jrra6jmc.js → model-resolver-115tzmsk.js} +6 -6
- package/dist/chunks/{worktree-b0dgvpy7.js → model-resolver-11dqjexa.js} +9 -9
- package/dist/chunks/{worktree-jdp0p5sy.js → model-resolver-133zv6hb.js} +1 -1
- package/dist/chunks/{worktree-m31hrvtp.js → model-resolver-13q063b0.js} +20 -20
- package/dist/chunks/{worktree-ha48bngf.js → model-resolver-16xb7hp4.js} +26 -26
- package/dist/chunks/{worktree-f2n192rq.js → model-resolver-1acjjqhc.js} +4 -4
- package/dist/chunks/{worktree-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-g5pg1z3v.js → model-resolver-1eqqj5b6.js} +24 -24
- package/dist/chunks/{worktree-135ds6rk.js → model-resolver-1fgfndcs.js} +12 -12
- package/dist/chunks/{worktree-2xx7cc67.js → model-resolver-1g07qj94.js} +35 -35
- package/dist/chunks/{worktree-a46v4e4v.js → model-resolver-1g7epwpd.js} +7 -7
- package/dist/chunks/{worktree-qk7sb3fs.js → model-resolver-1mqp8f91.js} +30 -30
- package/dist/chunks/{worktree-qz8rjx4n.js → model-resolver-1n6eeek5.js} +18 -18
- package/dist/chunks/{worktree-5fj6ztyw.js → model-resolver-1qr453ff.js} +86 -86
- package/dist/chunks/{worktree-h6366cww.js → model-resolver-1t9c4b87.js} +26 -26
- package/dist/chunks/{worktree-56gdpj1q.js → model-resolver-1ygqh575.js} +9 -9
- package/dist/chunks/{worktree-gm5vzmqr.js → model-resolver-21mj3dgx.js} +44 -44
- package/dist/chunks/{worktree-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
- package/dist/chunks/{worktree-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-26zmw6vg.js → model-resolver-2bkr1xer.js} +54 -54
- package/dist/chunks/{worktree-bjn91642.js → model-resolver-2evyaa68.js} +4 -4
- package/dist/chunks/{worktree-57ez7d0k.js → model-resolver-2fgn2we9.js} +9 -9
- package/dist/chunks/{worktree-zjhmce52.js → model-resolver-2h84f8r1.js} +1 -1
- package/dist/chunks/{worktree-rjn555ek.js → model-resolver-2r8ft4tw.js} +5 -5
- package/dist/chunks/{worktree-bhhhtnas.js → model-resolver-302aywek.js} +8 -8
- package/dist/chunks/{worktree-tx9w5tca.js → model-resolver-30846h32.js} +8 -8
- package/dist/chunks/{worktree-kh82he3q.js → model-resolver-330b90y3.js} +26 -26
- package/dist/chunks/{worktree-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-39xar9bx.js → model-resolver-3fxkvrnp.js} +15 -15
- package/dist/chunks/{worktree-05tvpv5w.js → model-resolver-3gjeg5xr.js} +12 -12
- package/dist/chunks/{worktree-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-7zs56f9j.js → model-resolver-3q1d0z61.js} +6 -6
- package/dist/chunks/{worktree-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-zab19jja.js → model-resolver-3syvqavp.js} +9 -9
- package/dist/chunks/{worktree-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-3cfzdc8e.js → model-resolver-3w0fmcng.js} +5 -5
- package/dist/chunks/{worktree-bdreqd6y.js → model-resolver-3w4ewrwk.js} +9 -9
- package/dist/chunks/{worktree-bpsvpgx8.js → model-resolver-3xxdkst7.js} +15 -15
- package/dist/chunks/{worktree-p6fzwed5.js → model-resolver-43ahs7k8.js} +3 -3
- package/dist/chunks/{worktree-9kpbfwfm.js → model-resolver-442kn1aa.js} +26 -26
- package/dist/chunks/{worktree-b0gk7qzq.js → model-resolver-47hapfj2.js} +20 -20
- package/dist/chunks/{worktree-75xv13tv.js → model-resolver-49r2655e.js} +8 -8
- package/dist/chunks/{worktree-ggfrbsvd.js → model-resolver-4d6kgwwt.js} +8 -8
- package/dist/chunks/{worktree-44h5tttr.js → model-resolver-4dgbcxzg.js} +4 -4
- package/dist/chunks/{worktree-d4cw493d.js → model-resolver-4rbr99e5.js} +4 -4
- package/dist/chunks/{worktree-qj8eh1ht.js → model-resolver-50mzsvk4.js} +4 -4
- package/dist/chunks/{worktree-ezy2bptn.js → model-resolver-5bdbc12f.js} +8 -8
- package/dist/chunks/{worktree-ntj434hm.js → model-resolver-5bvvre9n.js} +6 -6
- package/dist/chunks/{worktree-5c4hm403.js → model-resolver-5c4hm403.js} +3 -3
- package/dist/chunks/{worktree-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-qwyrfpbr.js → model-resolver-5ge5ntkv.js} +2 -2
- package/dist/chunks/{worktree-1j08d619.js → model-resolver-5h6w6v98.js} +21 -21
- package/dist/chunks/{worktree-2grvmngk.js → model-resolver-5hssebmz.js} +11 -11
- package/dist/chunks/{worktree-5g7dqg8p.js → model-resolver-5hxd3nfe.js} +5 -5
- package/dist/chunks/{worktree-7ge5j3yy.js → model-resolver-5qsdg0y7.js} +26 -26
- package/dist/chunks/{worktree-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-d96a640y.js → model-resolver-60as4dx3.js} +15 -15
- package/dist/chunks/{worktree-7hqt86v7.js → model-resolver-636gmhwa.js} +43 -43
- package/dist/chunks/{worktree-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{worktree-n0c6g085.js → model-resolver-6eqynsgf.js} +32 -32
- package/dist/chunks/{worktree-y9wbn93n.js → model-resolver-6fmyjk66.js} +21 -21
- package/dist/chunks/{worktree-bv5fntwv.js → model-resolver-6frsr8qs.js} +15 -15
- package/dist/chunks/{worktree-bwj0s2z3.js → model-resolver-6m8f443c.js} +5 -5
- package/dist/chunks/{worktree-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-m64xvjj1.js → model-resolver-70y17xeh.js} +5 -5
- package/dist/chunks/{worktree-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-2k8khapm.js → model-resolver-7dqw4kz8.js} +5 -5
- package/dist/chunks/{worktree-0njhf5dz.js → model-resolver-7hjq573z.js} +9 -9
- package/dist/chunks/{worktree-25cs5cen.js → model-resolver-7j2qha59.js} +8 -8
- package/dist/chunks/{worktree-d57x1pyx.js → model-resolver-821by267.js} +7 -7
- package/dist/chunks/{worktree-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-gwzmxzqv.js → model-resolver-8e6v1gzw.js} +16 -16
- package/dist/chunks/{worktree-8c28nkj2.js → model-resolver-8gw7hntm.js} +13 -13
- package/dist/chunks/{worktree-tz4n1mmd.js → model-resolver-8gxqpgph.js} +4 -4
- package/dist/chunks/{worktree-y9v5gkeq.js → model-resolver-8p8fqdjb.js} +4 -4
- package/dist/chunks/{worktree-ztf7grp6.js → model-resolver-8tcwmm4z.js} +10 -10
- package/dist/chunks/{worktree-rjh41bnw.js → model-resolver-985n0a3v.js} +6 -6
- package/dist/chunks/{worktree-4jq676mw.js → model-resolver-9ag5djza.js} +5 -5
- package/dist/chunks/{worktree-qsfdmrhc.js → model-resolver-9bzvwb7r.js} +9 -9
- package/dist/chunks/{worktree-br0tr5aq.js → model-resolver-9hn6k4tm.js} +8 -8
- package/dist/chunks/{worktree-v53ttaz3.js → model-resolver-9rjxcf4s.js} +9 -9
- package/dist/chunks/{worktree-r92bbbhx.js → model-resolver-a0858690.js} +8 -8
- package/dist/chunks/{worktree-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-8gyebbke.js → model-resolver-afjpdfdw.js} +9 -9
- package/dist/chunks/{worktree-8wvjpm5e.js → model-resolver-agym5kke.js} +43 -43
- package/dist/chunks/{worktree-4jf64xzc.js → model-resolver-ahhj99d2.js} +14 -14
- package/dist/chunks/{worktree-3wx5qy6d.js → model-resolver-atw7h3x9.js} +8 -8
- package/dist/chunks/{worktree-v4gw1aty.js → model-resolver-av47bmrc.js} +24 -24
- package/dist/chunks/{worktree-vmgq4x8b.js → model-resolver-b09hzw3k.js} +2 -2
- package/dist/chunks/{worktree-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-1gayks8f.js → model-resolver-b7rmz7dj.js} +18 -18
- package/dist/chunks/{worktree-ks6fp8g0.js → model-resolver-b7vycytf.js} +14 -14
- package/dist/chunks/{worktree-pyj9dmja.js → model-resolver-b9kdhzyq.js} +13 -13
- package/dist/chunks/{worktree-c71ge8jf.js → model-resolver-bg3244xz.js} +15 -15
- package/dist/chunks/{worktree-m55360kq.js → model-resolver-btxmggav.js} +48 -48
- package/dist/chunks/{worktree-b97cbvw3.js → model-resolver-bz85s9hh.js} +1 -1
- package/dist/chunks/{worktree-k06dajrc.js → model-resolver-c44r8hhs.js} +13 -13
- package/dist/chunks/{worktree-91xevwh1.js → model-resolver-c48cwedc.js} +5 -5
- package/dist/chunks/{worktree-zwnqbtaj.js → model-resolver-c4wqv7k3.js} +31 -31
- package/dist/chunks/{worktree-mrcbab82.js → model-resolver-cah21tc8.js} +6 -6
- package/dist/chunks/{worktree-7p8zv4r2.js → model-resolver-cavhxt7x.js} +26 -26
- package/dist/chunks/{worktree-8gr00jt2.js → model-resolver-cf1x67r7.js} +3 -3
- package/dist/chunks/{worktree-1jcctp8h.js → model-resolver-cf2zwr71.js} +19 -19
- package/dist/chunks/{worktree-pkwse4rj.js → model-resolver-cgm9r2q3.js} +10 -10
- package/dist/chunks/{worktree-qmqgtz8f.js → model-resolver-cwa6csj7.js} +9 -9
- package/dist/chunks/{worktree-hz84tk5e.js → model-resolver-cyhsea0k.js} +8 -8
- package/dist/chunks/{worktree-nea2jzm4.js → model-resolver-d4j0zdza.js} +16 -16
- package/dist/chunks/{worktree-hgcakkdy.js → model-resolver-d9bx1agn.js} +4 -4
- package/dist/chunks/{worktree-pg2axqyg.js → model-resolver-dcqzdpn7.js} +11 -11
- package/dist/chunks/{worktree-dj2t23y0.js → model-resolver-dj2t23y0.js} +2 -2
- package/dist/chunks/{worktree-ms96e6xa.js → model-resolver-dmsqs59m.js} +5 -5
- package/dist/chunks/{worktree-y71avatq.js → model-resolver-dpkg50ah.js} +4 -4
- package/dist/chunks/{worktree-3stbnqm0.js → model-resolver-e1q5pbg3.js} +38 -38
- package/dist/chunks/{worktree-vmwh049b.js → model-resolver-e5xpd6yj.js} +6 -6
- package/dist/chunks/{worktree-wbtxrwsd.js → model-resolver-e66w66e0.js} +16 -16
- package/dist/chunks/{worktree-97z8nx23.js → model-resolver-e9197vrp.js} +36 -36
- package/dist/chunks/{worktree-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-ynvr2dvc.js → model-resolver-ef861y8h.js} +23 -23
- package/dist/chunks/{worktree-twmrfj2d.js → model-resolver-efgaas88.js} +29 -29
- package/dist/chunks/{worktree-87dgkaj8.js → model-resolver-enwhvmwb.js} +10 -10
- package/dist/chunks/model-resolver-epegjq71.js +252 -0
- package/dist/chunks/{worktree-mvfsc1pv.js → model-resolver-eq1pz5kg.js} +3 -3
- package/dist/chunks/{worktree-erw5rpbs.js → model-resolver-erw5rpbs.js} +2 -2
- package/dist/chunks/{worktree-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-jfqbecxf.js → model-resolver-f0x0s4x5.js} +3 -3
- package/dist/chunks/{worktree-50x9syx5.js → model-resolver-f3r6a36m.js} +25 -25
- package/dist/chunks/{worktree-2tfmgkzg.js → model-resolver-fab8hzt3.js} +4 -4
- package/dist/chunks/{worktree-36385fv4.js → model-resolver-fgq6rdwq.js} +5 -5
- package/dist/chunks/{worktree-83gabncn.js → model-resolver-fjccm0sw.js} +24 -24
- package/dist/chunks/{worktree-rhn8bjdn.js → model-resolver-fnq9tzhn.js} +30 -30
- package/dist/chunks/{worktree-r98rf7en.js → model-resolver-fvh6y88j.js} +20 -20
- package/dist/chunks/{worktree-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-y31avz63.js → model-resolver-gchrb8vs.js} +5 -5
- package/dist/chunks/{worktree-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-fv3nz7za.js → model-resolver-gg802qrt.js} +9 -9
- package/dist/chunks/{worktree-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-mn85ck47.js → model-resolver-h5cj5dem.js} +29 -29
- package/dist/chunks/{worktree-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-hdnk95c8.js → model-resolver-hdnk95c8.js} +2 -2
- package/dist/chunks/model-resolver-ht5y0zrb.js +18 -0
- package/dist/chunks/{worktree-346kb89v.js → model-resolver-hw5aqd1g.js} +10 -10
- package/dist/chunks/{worktree-4m36v5dn.js → model-resolver-hyf7bjak.js} +24 -24
- package/dist/chunks/{worktree-9x09xbgz.js → model-resolver-hz1mhzfh.js} +3 -3
- package/dist/chunks/{worktree-cph6vb6s.js → model-resolver-hz39a88h.js} +23 -23
- package/dist/chunks/{worktree-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-kz2med77.js → model-resolver-jw14ppbh.js} +18 -18
- package/dist/chunks/{worktree-z0hmyh7c.js → model-resolver-k1c74kvt.js} +26 -26
- package/dist/chunks/{worktree-g057r8b7.js → model-resolver-k31ypr3h.js} +6 -6
- package/dist/chunks/{worktree-qge4gbge.js → model-resolver-k7822xv0.js} +11 -11
- package/dist/chunks/{worktree-mdjkd3ee.js → model-resolver-krawv8h4.js} +20 -20
- package/dist/chunks/{worktree-kv9x9mds.js → model-resolver-kwxm6asy.js} +4 -4
- package/dist/chunks/{worktree-m0jqrx5p.js → model-resolver-m0jqrx5p.js} +2 -2
- package/dist/chunks/{worktree-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-n32egdgz.js → model-resolver-mddgbemq.js} +26 -26
- package/dist/chunks/{worktree-89s1mcqs.js → model-resolver-n810d9f4.js} +10 -10
- package/dist/chunks/{worktree-bk738gev.js → model-resolver-n93j4s2c.js} +17 -17
- package/dist/chunks/{worktree-12xc1hc8.js → model-resolver-n9w42s1q.js} +9 -9
- package/dist/chunks/{worktree-3errd6sf.js → model-resolver-nbxdrwjw.js} +47 -47
- package/dist/chunks/{worktree-eex107wk.js → model-resolver-nbzsj80d.js} +8 -8
- package/dist/chunks/{worktree-a89emqe4.js → model-resolver-nc9v3jx5.js} +173 -173
- package/dist/chunks/{worktree-n4b7qefn.js → model-resolver-nf80skmj.js} +16 -16
- package/dist/chunks/{worktree-zhsyjq1s.js → model-resolver-nn97278r.js} +13 -13
- package/dist/chunks/{worktree-32kkc7q0.js → model-resolver-npba7pfw.js} +19 -19
- package/dist/chunks/{worktree-k3c624dm.js → model-resolver-nzks3jc8.js} +3 -3
- package/dist/chunks/{worktree-tbz0fdvh.js → model-resolver-p28j5sbe.js} +5 -5
- package/dist/chunks/{worktree-q0r1avd8.js → model-resolver-p7nftz6b.js} +36 -36
- package/dist/chunks/{worktree-d2aac7k2.js → model-resolver-pecb0brz.js} +5 -5
- package/dist/chunks/{worktree-2rr20z1w.js → model-resolver-pfzrvarp.js} +4 -4
- package/dist/chunks/{worktree-0w34kcyc.js → model-resolver-pga14111.js} +9 -9
- package/dist/chunks/{worktree-ybtbm60b.js → model-resolver-phqer4q0.js} +40 -40
- package/dist/chunks/{worktree-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-eq8dtg11.js → model-resolver-pnnqzn53.js} +8 -8
- package/dist/chunks/{worktree-heyyxcdn.js → model-resolver-ppte1p09.js} +23 -23
- package/dist/chunks/{worktree-ss2rtpw1.js → model-resolver-pqbcvpxd.js} +13 -13
- package/dist/chunks/{worktree-79rfjzgm.js → model-resolver-pyejz7ph.js} +15 -15
- package/dist/chunks/{worktree-gc3cjvmd.js → model-resolver-pz7a6r4w.js} +5 -5
- package/dist/chunks/{worktree-awavsj5m.js → model-resolver-q29b2gah.js} +3 -3
- package/dist/chunks/{worktree-nksn1ctm.js → model-resolver-qc51xf0a.js} +20 -20
- package/dist/chunks/{worktree-e8qyrgb1.js → model-resolver-qdbakdjh.js} +5 -5
- package/dist/chunks/{worktree-fhs97t90.js → model-resolver-qg0jgkcp.js} +9 -9
- package/dist/chunks/{worktree-sj0sw9zb.js → model-resolver-qn9jv2jm.js} +32 -32
- package/dist/chunks/{worktree-drwq78ky.js → model-resolver-qqeeq2t9.js} +7 -7
- package/dist/chunks/{worktree-n9nnv5bx.js → model-resolver-qqrtcnkc.js} +24 -24
- package/dist/chunks/{worktree-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-rdrgmjyp.js → model-resolver-qxfgkbem.js} +8 -8
- package/dist/chunks/{worktree-nbcy93d5.js → model-resolver-qxpavsr8.js} +68 -68
- package/dist/chunks/{worktree-0e4n6tbr.js → model-resolver-qye67he0.js} +15 -15
- package/dist/chunks/{worktree-t243pvw8.js → model-resolver-r04fb0ma.js} +12 -12
- package/dist/chunks/{worktree-5e1anv4t.js → model-resolver-r0tjgr50.js} +21 -21
- package/dist/chunks/{worktree-23pqda6t.js → model-resolver-r33ff4dw.js} +6 -6
- package/dist/chunks/{worktree-09r3zm1x.js → model-resolver-r841few8.js} +7 -7
- package/dist/chunks/{worktree-nrfrnn4g.js → model-resolver-r8v8adjt.js} +30 -30
- package/dist/chunks/{worktree-ddt58ebd.js → model-resolver-rayjs69j.js} +11 -11
- package/dist/chunks/{worktree-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-xpxqhtvz.js → model-resolver-rejt6bp0.js} +25 -25
- package/dist/chunks/{worktree-eaj1djv9.js → model-resolver-rhjbct0v.js} +8 -8
- package/dist/chunks/{worktree-awazhe6z.js → model-resolver-rjy92yfz.js} +15 -15
- package/dist/chunks/{worktree-2xb0rw2k.js → model-resolver-rk9t7fxt.js} +8 -8
- package/dist/chunks/{worktree-hj38q284.js → model-resolver-rq9sfwah.js} +22 -22
- package/dist/chunks/{worktree-wkfva7bh.js → model-resolver-rzd1prf9.js} +27 -27
- package/dist/chunks/{worktree-qvd2vpt5.js → model-resolver-rztfdspk.js} +23 -23
- package/dist/chunks/{worktree-ndqm9729.js → model-resolver-s2ebsh4k.js} +16 -16
- package/dist/chunks/{worktree-y5df08dr.js → model-resolver-scgm85f3.js} +12 -12
- package/dist/chunks/{worktree-7d0yyna9.js → model-resolver-smp5hqs3.js} +8 -8
- package/dist/chunks/{worktree-5k7h9vpf.js → model-resolver-sqnsaxnr.js} +23 -23
- package/dist/chunks/{worktree-nrvgxq91.js → model-resolver-srv6jbph.js} +4 -4
- package/dist/chunks/{worktree-t2866z93.js → model-resolver-ss4xmamw.js} +12 -12
- package/dist/chunks/{worktree-3spkf7qp.js → model-resolver-ssv7vh4d.js} +11 -11
- package/dist/chunks/{worktree-35zpw20s.js → model-resolver-t85xqwrf.js} +7 -7
- package/dist/chunks/{worktree-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/model-resolver-tjen3va7.js +492 -0
- package/dist/chunks/{worktree-hekpxy8z.js → model-resolver-tmvpfzkm.js} +5 -5
- package/dist/chunks/{worktree-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-jqtedxjm.js → model-resolver-v0y6s5p7.js} +42 -42
- package/dist/chunks/{worktree-0vr4ynh9.js → model-resolver-v27m40rm.js} +30 -30
- package/dist/chunks/{worktree-8tsdq50x.js → model-resolver-vbfgae2j.js} +4 -4
- package/dist/chunks/{worktree-0v53mg2y.js → model-resolver-ve4pfa0n.js} +4 -4
- package/dist/chunks/{worktree-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-ctf4v5qh.js → model-resolver-vjf65k2b.js} +11 -11
- package/dist/chunks/{worktree-mc3xbmaq.js → model-resolver-vstc3933.js} +18 -18
- package/dist/chunks/{worktree-p0w9t4nv.js → model-resolver-vvjdmnc6.js} +18 -18
- package/dist/chunks/{worktree-rq75yw12.js → model-resolver-vw3e9fxe.js} +6 -6
- package/dist/chunks/{worktree-dcvngtvp.js → model-resolver-vxkc1n72.js} +32 -32
- package/dist/chunks/{worktree-23sxaqwc.js → model-resolver-vyqn3nqs.js} +6 -6
- package/dist/chunks/{worktree-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-8e1xm2jx.js → model-resolver-w48fcq56.js} +15 -15
- package/dist/chunks/{worktree-780m7f13.js → model-resolver-w52zt19p.js} +27 -27
- package/dist/chunks/{worktree-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-pcvbzdg6.js → model-resolver-wk759sqm.js} +31 -31
- package/dist/chunks/{worktree-c9q1sp9w.js → model-resolver-wkn3809p.js} +10 -10
- package/dist/chunks/{worktree-pfgvbcn0.js → model-resolver-wqedn24d.js} +7 -7
- package/dist/chunks/{worktree-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-2h5p72nb.js → model-resolver-x4zwv76m.js} +4 -4
- package/dist/chunks/{worktree-xjd2fv1x.js → model-resolver-x5860ntt.js} +41 -41
- package/dist/chunks/{worktree-fmkkzw6c.js → model-resolver-x87aptrd.js} +12 -12
- package/dist/chunks/{worktree-a70mfejk.js → model-resolver-x9159bxd.js} +55 -55
- package/dist/chunks/{worktree-jhf3jymm.js → model-resolver-xcd0eash.js} +6 -6
- package/dist/chunks/{worktree-5nvfww89.js → model-resolver-xe6cmgbq.js} +9 -9
- package/dist/chunks/{worktree-jvmrmb3q.js → model-resolver-xgsfyewx.js} +4 -4
- package/dist/chunks/{worktree-cyq0b8sg.js → model-resolver-xkmv5agz.js} +17 -17
- package/dist/chunks/{worktree-ez0trfpj.js → model-resolver-xnyqt6gv.js} +9 -9
- package/dist/chunks/{worktree-0et686r7.js → model-resolver-xpax8x5w.js} +7 -7
- package/dist/chunks/{worktree-sej8f238.js → model-resolver-xs1r8498.js} +11 -11
- package/dist/chunks/{worktree-pv1q3n8t.js → model-resolver-xs8wfhd6.js} +12 -12
- package/dist/chunks/{worktree-hkchw422.js → model-resolver-xvw3exqc.js} +13 -13
- package/dist/chunks/{worktree-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-5cmxdwv8.js → model-resolver-y6f0p4jw.js} +3 -3
- package/dist/chunks/{worktree-vxrfxpxs.js → model-resolver-y8r1zn9y.js} +6 -6
- package/dist/chunks/{worktree-fp9dkyzv.js → model-resolver-ye6dhg8n.js} +30 -30
- package/dist/chunks/{worktree-e6hmchc5.js → model-resolver-yjptyezs.js} +5 -5
- package/dist/chunks/{worktree-g4ap4hkb.js → model-resolver-yndsq8dt.js} +38 -38
- package/dist/chunks/{worktree-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-nrqt53h4.js → model-resolver-yw50seq0.js} +26 -26
- package/dist/chunks/model-resolver-yzmdswv1.js +26 -0
- package/dist/chunks/{worktree-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-m3mk1ymc.js → model-resolver-z0f6wna2.js} +9 -9
- package/dist/chunks/{worktree-9qwzd11x.js → model-resolver-z491n86c.js} +3 -3
- package/dist/chunks/{worktree-ywrevtsf.js → model-resolver-z4fy0qdv.js} +16 -16
- package/dist/chunks/{worktree-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-smxfcp26.js → model-resolver-zccdra3h.js} +6 -6
- package/dist/chunks/{worktree-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-rrern9t5.js → model-resolver-zejyxjry.js} +37 -37
- package/dist/chunks/{worktree-knb7evpn.js → model-resolver-zqx8wcya.js} +4 -4
- package/dist/chunks/{worktree-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +101 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- 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 +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/worktree-1x11rq2a.js +0 -18
- package/dist/chunks/worktree-3ewahy0x.js +0 -252
- package/dist/chunks/worktree-hxjj1ytk.js +0 -492
- package/dist/chunks/worktree-td9rdqgs.js +0 -26
- /package/dist/chunks/{worktree-0mesazry.js → model-resolver-0mesazry.js} +0 -0
- /package/dist/chunks/{worktree-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-6eqynsgf.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info25
|
|
11
|
+
} from "./model-resolver-r8v8adjt.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID11.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info25.make({
|
|
122
|
+
...Info25.default(ID12.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID11.make(remote.id),
|
|
125
|
+
providerID: ID12.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./model-resolver-d4j0zdza.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./model-resolver-qqrtcnkc.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service20
|
|
16
|
+
} from "./model-resolver-b7rmz7dj.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-16xb7hp4.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service64
|
|
26
|
+
} from "./model-resolver-x9159bxd.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service17
|
|
29
|
+
} from "./model-resolver-jw14ppbh.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
@@ -37,9 +37,9 @@ __export(exports_grep, {
|
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
38
|
Input: () => Input3,
|
|
39
39
|
Output: () => Output3,
|
|
40
|
-
Plugin: () =>
|
|
40
|
+
Plugin: () => Plugin20,
|
|
41
41
|
name: () => name3,
|
|
42
|
-
toModelContent: () =>
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
@@ -66,7 +66,7 @@ var Input3 = Schema.Struct({
|
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
68
|
var Output3 = Schema.Array(Match2);
|
|
69
|
-
var
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,14 +83,14 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin20 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service61;
|
|
90
|
+
const ripgrep = yield* Service20;
|
|
91
|
+
const location = yield* Service77;
|
|
92
|
+
const access = yield* Service17;
|
|
93
|
+
const permission = yield* Service64;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
95
|
name: name3,
|
|
96
96
|
options: { codemode: false },
|
|
@@ -144,7 +144,7 @@ var Plugin3 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin3 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export { name3, Input3, Output3,
|
|
157
|
+
export { name3, Input3, Output3, toModelContent2, Plugin20, exports_grep };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make20,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make20(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-43ahs7k8.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: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info21,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service65,
|
|
21
|
+
node: () => node68
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, 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
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info21 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service65 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service83).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);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID9.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service65.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node68 = makeGlobalNode({ service: Service65, layer, deps: [node87] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID9, Info21, ListInput4, AddInput2, Service65, node68, exports_saved };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-y6f0p4jw.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-e5xpd6yj.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-fab8hzt3.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-06dxphr1.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-43ahs7k8.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Service82,
|
|
10
10
|
node86
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-xgsfyewx.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-y6f0p4jw.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-5c4hm403.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info8,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service50,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
48
|
+
layer: () => layer18,
|
|
49
|
+
list: () => list4,
|
|
50
50
|
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node52,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info8,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service50 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service83;
|
|
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info8.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer18 = Layer.effect(Service50, make16());
|
|
231
|
+
var node52 = makeGlobalNode({ service: Service50, layer: layer18, deps: [node87, node86] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service50, make16, layer18, node52, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-xgsfyewx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node79
|
|
8
|
+
} from "./model-resolver-yw50seq0.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service77,
|
|
12
|
+
node80
|
|
13
|
+
} from "./model-resolver-d4j0zdza.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service64,
|
|
16
|
+
node67
|
|
17
|
+
} from "./model-resolver-x9159bxd.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service63,
|
|
20
|
+
node66
|
|
21
|
+
} from "./model-resolver-bg3244xz.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/location-lifecycle.ts
|
|
27
27
|
var exports_location_lifecycle = {};
|
|
28
28
|
__export(exports_location_lifecycle, {
|
|
29
29
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
30
|
+
Service: () => Service21,
|
|
31
|
+
node: () => node23
|
|
32
32
|
});
|
|
33
33
|
import { Context, Effect, Layer } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
36
|
-
class
|
|
36
|
+
class Service21 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
38
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
39
39
|
const bus = yield* Service82;
|
|
40
|
-
const location = yield*
|
|
41
|
-
const permission = yield*
|
|
42
|
-
const forms = yield*
|
|
43
|
-
const rpc = yield*
|
|
40
|
+
const location = yield* Service77;
|
|
41
|
+
const permission = yield* Service64;
|
|
42
|
+
const forms = yield* Service76;
|
|
43
|
+
const rpc = yield* Service63;
|
|
44
44
|
let closed = false;
|
|
45
45
|
const shutdown = yield* Effect.cached(Effect.gen(function* () {
|
|
46
46
|
closed = true;
|
|
@@ -51,15 +51,15 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
51
51
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
52
52
|
});
|
|
53
53
|
}).pipe(Effect.uninterruptible));
|
|
54
|
-
return
|
|
54
|
+
return Service21.of({
|
|
55
55
|
isClosed: () => closed,
|
|
56
56
|
shutdown
|
|
57
57
|
});
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
60
|
-
service:
|
|
59
|
+
var node23 = makeLocationNode({
|
|
60
|
+
service: Service21,
|
|
61
61
|
layer,
|
|
62
|
-
deps: [node86,
|
|
62
|
+
deps: [node86, node80, node67, node79, node66]
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service21, node23, exports_location_lifecycle };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-rhjbct0v.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-x9159bxd.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service33,
|
|
13
|
+
node36
|
|
14
|
+
} from "./model-resolver-btxmggav.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
17
|
name13
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-f3r6a36m.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
24
|
+
var exports_instructions2 = {};
|
|
25
|
+
__export(exports_instructions2, {
|
|
26
|
+
McpInstructions: () => exports_instructions2,
|
|
27
|
+
Service: () => Service25,
|
|
28
|
+
layer: () => layer10,
|
|
29
|
+
node: () => node29
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,17 +62,17 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service25 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer10 = Layer.effect(Service25, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service33;
|
|
69
|
+
return Service25.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
75
|
-
key:
|
|
74
|
+
const source = (value) => make20({
|
|
75
|
+
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
78
78
|
render: {
|
|
@@ -100,6 +100,6 @@ var layer9 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node29 = makeLocationNode({ service: Service25, layer: layer10, deps: [node36] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service25, layer10, node29, exports_instructions2 };
|