@opencode/core 0.0.0-dev-19884 → 0.0.0-dev-19885
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{ripgrep-h47rfed7.js → app-014xdmgp.js} +24 -24
- package/dist/chunks/{ripgrep-5zv2xz0x.js → app-01s6r663.js} +15 -15
- package/dist/chunks/{ripgrep-qdcqwhjs.js → app-03matkmd.js} +17 -17
- package/dist/chunks/{ripgrep-jvdt4jv7.js → app-06r2eyqd.js} +6 -6
- package/dist/chunks/{ripgrep-47axers8.js → app-07can071.js} +12 -12
- package/dist/chunks/{ripgrep-t550f9t1.js → app-0gdmqesm.js} +4 -4
- package/dist/chunks/{ripgrep-p3jb5j7b.js → app-0hr54mt4.js} +33 -33
- package/dist/chunks/{ripgrep-eszpxc5c.js → app-0j8d1df6.js} +5 -5
- package/dist/chunks/{ripgrep-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-7c7tqtfq.js → app-0sa6p4t3.js} +11 -11
- package/dist/chunks/{ripgrep-g5xx7w73.js → app-0tv5m9zy.js} +15 -15
- package/dist/chunks/{ripgrep-bpcm8v83.js → app-11823ez3.js} +3 -3
- package/dist/chunks/{ripgrep-taxxp7qa.js → app-16rcg4y4.js} +26 -26
- package/dist/chunks/{ripgrep-bf0ztrs3.js → app-1a6p2twq.js} +4 -4
- package/dist/chunks/{ripgrep-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-hqh6p6yn.js → app-1s3za36d.js} +4 -4
- package/dist/chunks/{ripgrep-x8dfedm0.js → app-1wr3afwe.js} +1 -1
- package/dist/chunks/{ripgrep-cdawn80v.js → app-1zcc4bn4.js} +11 -11
- package/dist/chunks/{ripgrep-8q3y7ehd.js → app-20dk8r1s.js} +31 -31
- package/dist/chunks/{ripgrep-r83etpq8.js → app-20ycjnd3.js} +6 -6
- package/dist/chunks/{ripgrep-9xbg11md.js → app-20zx6c52.js} +22 -22
- package/dist/chunks/{ripgrep-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-bccb6npm.js → app-26ym7a2d.js} +4 -4
- package/dist/chunks/{ripgrep-29x78va6.js → app-29x78va6.js} +2 -2
- package/dist/chunks/{ripgrep-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-m3wcxb4h.js → app-2f21k4jq.js} +17 -17
- package/dist/chunks/{ripgrep-7pnjd3fd.js → app-2fvbvr4z.js} +12 -12
- package/dist/chunks/{ripgrep-5a6ex2zm.js → app-2hsx99jb.js} +34 -34
- package/dist/chunks/{ripgrep-7dqw4kz8.js → app-2k8khapm.js} +5 -5
- package/dist/chunks/{ripgrep-ena3twxc.js → app-2npqe2nd.js} +35 -35
- package/dist/chunks/{ripgrep-ryt7pzqc.js → app-2pjc63d4.js} +1 -1
- package/dist/chunks/{ripgrep-kk00bynn.js → app-2pnhn36q.js} +4 -4
- package/dist/chunks/{ripgrep-qd7cft6p.js → app-35w9qdzz.js} +9 -9
- package/dist/chunks/app-39c2k6vv.js +26 -0
- package/dist/chunks/{ripgrep-8s5tghjp.js → app-39dgwvb1.js} +24 -24
- package/dist/chunks/{ripgrep-0gaj4617.js → app-3b1q5j1v.js} +6 -6
- package/dist/chunks/{ripgrep-hc7vac20.js → app-3e6x224v.js} +12 -12
- package/dist/chunks/{ripgrep-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-dbxp2k0j.js → app-3m4ehbcm.js} +8 -8
- package/dist/chunks/{ripgrep-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-hyr91dj2.js → app-3vaynbq5.js} +1 -1
- package/dist/chunks/{ripgrep-p39gsrf5.js → app-44zmf7q8.js} +42 -42
- package/dist/chunks/{ripgrep-npm9gzvc.js → app-49yvn64x.js} +1 -1
- package/dist/chunks/{ripgrep-96y38d67.js → app-4d4f54qe.js} +40 -40
- package/dist/chunks/app-4v7qdvcn.js +18 -0
- package/dist/chunks/{ripgrep-1yv162eq.js → app-4y9pqhyv.js} +4 -4
- package/dist/chunks/{ripgrep-xyssbcjp.js → app-55y9qcck.js} +5 -5
- package/dist/chunks/{ripgrep-mfqp6xfm.js → app-56gdpj1q.js} +6 -6
- package/dist/chunks/{ripgrep-sgwh5nyn.js → app-57e9z27j.js} +8 -8
- package/dist/chunks/{ripgrep-57ez7d0k.js → app-57ez7d0k.js} +2 -2
- package/dist/chunks/{ripgrep-4pjcr2w6.js → app-57m20ys8.js} +3 -3
- package/dist/chunks/{ripgrep-5c4hm403.js → app-5c4hm403.js} +3 -3
- package/dist/chunks/{ripgrep-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-xb6f42dc.js → app-5mj83k5s.js} +14 -14
- package/dist/chunks/{ripgrep-q970vn6j.js → app-5nb2d01r.js} +2 -2
- package/dist/chunks/{ripgrep-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-xvyew5bh.js → app-5v8q48de.js} +29 -29
- package/dist/chunks/{ripgrep-777p5kr8.js → app-5vt9esmq.js} +23 -23
- package/dist/chunks/{ripgrep-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-qfpwt3wt.js → app-688dcwrg.js} +11 -11
- package/dist/chunks/{ripgrep-tgaz0dtb.js → app-68zcn1pn.js} +5 -5
- package/dist/chunks/{ripgrep-f4ysmyc6.js → app-6c2r5v8w.js} +4 -4
- package/dist/chunks/{ripgrep-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/{ripgrep-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-vfpvfcad.js → app-6nshdwd7.js} +32 -32
- package/dist/chunks/{ripgrep-nqjmnyjs.js → app-6r8xth9q.js} +11 -11
- package/dist/chunks/{ripgrep-595ycqh3.js → app-709xpvx9.js} +12 -12
- package/dist/chunks/{ripgrep-f8mhce1d.js → app-711sgqvm.js} +9 -9
- package/dist/chunks/{ripgrep-43h198y8.js → app-79mnhcfn.js} +8 -8
- package/dist/chunks/{ripgrep-f06c2dtw.js → app-7b4r5at6.js} +11 -11
- package/dist/chunks/{ripgrep-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-88fr6h4a.js → app-7ekr1ah4.js} +32 -32
- package/dist/chunks/{ripgrep-gc5ex385.js → app-7ghxp6dc.js} +11 -11
- package/dist/chunks/{ripgrep-d2aac7k2.js → app-7gvwkz6m.js} +5 -5
- package/dist/chunks/{ripgrep-08qs2p70.js → app-7hnsdr40.js} +26 -26
- package/dist/chunks/{ripgrep-zmgjwfd0.js → app-7hwc72pw.js} +40 -40
- package/dist/chunks/{ripgrep-ydzmr5w4.js → app-7ka5mwj0.js} +23 -23
- package/dist/chunks/{ripgrep-1nrdxkt6.js → app-7mvfcvez.js} +20 -20
- package/dist/chunks/{ripgrep-xz99hjyp.js → app-7vneq8n3.js} +10 -10
- package/dist/chunks/{ripgrep-6yvbrjax.js → app-7w8wfers.js} +22 -22
- package/dist/chunks/{ripgrep-a7q5ytqy.js → app-7x1nw6gz.js} +12 -12
- package/dist/chunks/{ripgrep-ad9f3vzh.js → app-876jnmkn.js} +22 -22
- package/dist/chunks/{ripgrep-3m25mxr5.js → app-88yxd0gw.js} +49 -49
- package/dist/chunks/{ripgrep-tcezcvh9.js → app-89znhe33.js} +4 -4
- package/dist/chunks/{ripgrep-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-60bahft7.js → app-8j10kyg7.js} +8 -8
- package/dist/chunks/{ripgrep-hvtp2efv.js → app-8kefq0e4.js} +16 -16
- package/dist/chunks/{ripgrep-jkka0c6f.js → app-8n69n882.js} +8 -8
- package/dist/chunks/{ripgrep-kh0v43c1.js → app-8trhq89n.js} +7 -7
- package/dist/chunks/{ripgrep-1ajx6rf5.js → app-8v6pyhej.js} +8 -8
- package/dist/chunks/{ripgrep-86cf9fw2.js → app-915nf07v.js} +9 -9
- package/dist/chunks/{ripgrep-wsfhs49f.js → app-9jn97mr4.js} +10 -10
- package/dist/chunks/{ripgrep-g5rgvkph.js → app-9n0txh3w.js} +30 -30
- package/dist/chunks/{ripgrep-dm8e8cqc.js → app-9pe371ph.js} +14 -14
- package/dist/chunks/{ripgrep-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-62cs28jb.js → app-abfe342y.js} +3 -3
- package/dist/chunks/{ripgrep-h3qh9gwx.js → app-aky1hhm0.js} +28 -28
- package/dist/chunks/{ripgrep-57z5z4v1.js → app-arndb05z.js} +8 -8
- package/dist/chunks/{ripgrep-dmpxpvyd.js → app-aswv42tr.js} +11 -11
- package/dist/chunks/{ripgrep-fm2qvscf.js → app-axtvtek4.js} +7 -7
- package/dist/chunks/{ripgrep-fg7qhaex.js → app-azynnvek.js} +48 -48
- package/dist/chunks/{ripgrep-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-tp9tgz8k.js → app-b6mrn51r.js} +6 -6
- package/dist/chunks/{ripgrep-xgw0etvz.js → app-bawrj3b9.js} +2 -2
- package/dist/chunks/{ripgrep-p82qgwm6.js → app-bd9kkww0.js} +18 -18
- package/dist/chunks/{ripgrep-pjedbq3k.js → app-bdqrk2vk.js} +4 -4
- package/dist/chunks/{ripgrep-5d771mpt.js → app-bdwsy2v9.js} +2 -2
- package/dist/chunks/{ripgrep-jmphe03k.js → app-bg2gq5qa.js} +4 -4
- package/dist/chunks/{ripgrep-hv6rh1ah.js → app-bvfp0cee.js} +25 -25
- package/dist/chunks/{ripgrep-9p41r4tx.js → app-bw1ynhc4.js} +25 -25
- package/dist/chunks/{ripgrep-j26cqbwq.js → app-c1ef6zpr.js} +3 -3
- package/dist/chunks/{ripgrep-eae6hk2f.js → app-c2k60acp.js} +14 -14
- package/dist/chunks/{ripgrep-p51w04et.js → app-c38jyzps.js} +8 -8
- package/dist/chunks/{ripgrep-npch8yde.js → app-ckqwygw2.js} +39 -39
- package/dist/chunks/{ripgrep-ps7p92m4.js → app-csxzn776.js} +16 -16
- package/dist/chunks/{ripgrep-fyvg84yx.js → app-cxgg6zzr.js} +12 -12
- package/dist/chunks/{ripgrep-zb5wqgkq.js → app-cz4gxkeh.js} +47 -47
- package/dist/chunks/{ripgrep-f2aqmkqm.js → app-d0kf8th3.js} +11 -11
- package/dist/chunks/{ripgrep-kkgwyedr.js → app-d0zj62h6.js} +16 -16
- package/dist/chunks/{ripgrep-h3g2mynz.js → app-d4awevab.js} +9 -9
- package/dist/chunks/{ripgrep-cwa6csj7.js → app-d4he2qe1.js} +9 -9
- package/dist/chunks/{ripgrep-c8br9twv.js → app-d78xx6qz.js} +20 -20
- package/dist/chunks/{ripgrep-yanrta8x.js → app-d7fy9tms.js} +31 -31
- package/dist/chunks/{ripgrep-p6r503wj.js → app-d883tjw7.js} +20 -20
- package/dist/chunks/{ripgrep-ap58tr72.js → app-d9ytdjw8.js} +22 -22
- package/dist/chunks/{ripgrep-t2az9yje.js → app-ddt2bs9e.js} +4 -4
- package/dist/chunks/{ripgrep-n91rd0qh.js → app-dgda83gr.js} +311 -311
- package/dist/chunks/{ripgrep-dj2t23y0.js → app-dj2t23y0.js} +2 -2
- package/dist/chunks/{ripgrep-bpagpxd9.js → app-dpfenvj7.js} +6 -6
- package/dist/chunks/{ripgrep-qqeeq2t9.js → app-drwq78ky.js} +7 -7
- package/dist/chunks/{ripgrep-pzz9wtjp.js → app-dsqt3g70.js} +4 -4
- package/dist/chunks/{ripgrep-jntbakwj.js → app-dw1nbz2e.js} +10 -10
- package/dist/chunks/{ripgrep-xyb0jyg8.js → app-e14sp09f.js} +9 -9
- package/dist/chunks/{ripgrep-4dgbcxzg.js → app-ebe9bak5.js} +4 -4
- package/dist/chunks/{ripgrep-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-erw5rpbs.js → app-erw5rpbs.js} +2 -2
- package/dist/chunks/{ripgrep-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-w9k11mtt.js → app-f5js084j.js} +7 -7
- package/dist/chunks/{ripgrep-ysddpjww.js → app-f6h44vt5.js} +6 -6
- package/dist/chunks/{ripgrep-9dsm0yy8.js → app-f8wvxc75.js} +9 -9
- package/dist/chunks/{ripgrep-mh050mx3.js → app-fab6kdz8.js} +21 -21
- package/dist/chunks/{ripgrep-tynr2gr2.js → app-fdaj3cxn.js} +29 -29
- package/dist/chunks/{ripgrep-2k97ax98.js → app-fpxm7379.js} +1 -1
- package/dist/chunks/{ripgrep-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-erbxqsgg.js → app-g2qchbvm.js} +15 -15
- package/dist/chunks/{ripgrep-g790jytp.js → app-g5zpxqd5.js} +47 -47
- package/dist/chunks/{ripgrep-enx68je3.js → app-g6ckadgp.js} +13 -13
- package/dist/chunks/{ripgrep-yh6dn83m.js → app-gcq2fxm3.js} +17 -17
- package/dist/chunks/{ripgrep-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-7ak0evkr.js → app-gfpj78pk.js} +4 -4
- package/dist/chunks/{ripgrep-77b9qh7g.js → app-gh58188p.js} +16 -16
- package/dist/chunks/{ripgrep-pmryb5d7.js → app-grfgd9mf.js} +25 -25
- package/dist/chunks/{ripgrep-t0w9tswa.js → app-gs5memm2.js} +9 -9
- package/dist/chunks/{ripgrep-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-pm5byaap.js → app-h2tx7zx9.js} +20 -20
- package/dist/chunks/{ripgrep-nyqx1cb3.js → app-h4z1mxff.js} +5 -5
- package/dist/chunks/{ripgrep-kv8tb5ny.js → app-h5gvbxth.js} +18 -18
- package/dist/chunks/{ripgrep-h6z8d5tn.js → app-h6jr292a.js} +4 -4
- package/dist/chunks/{ripgrep-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-p1nm93x7.js → app-hcz3zddy.js} +5 -5
- package/dist/chunks/{ripgrep-hdnk95c8.js → app-hdnk95c8.js} +2 -2
- package/dist/chunks/{ripgrep-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-tfzngn12.js → app-jewzahs7.js} +4 -4
- package/dist/chunks/{ripgrep-vspmzc2d.js → app-jnmfw45r.js} +11 -11
- package/dist/chunks/{ripgrep-wqkfmf7p.js → app-jw57wrad.js} +13 -13
- package/dist/chunks/{ripgrep-r51gqmb4.js → app-jzz4kwyh.js} +4 -4
- package/dist/chunks/{ripgrep-b7wj3gyt.js → app-k27386pf.js} +27 -27
- package/dist/chunks/{ripgrep-nzks3jc8.js → app-k3c624dm.js} +3 -3
- package/dist/chunks/{ripgrep-dbvccpaz.js → app-kca364mm.js} +8 -8
- package/dist/chunks/{ripgrep-7arsjac4.js → app-kfpfq9wx.js} +17 -17
- package/dist/chunks/{ripgrep-mmr7bq34.js → app-knb7evpn.js} +8 -8
- package/dist/chunks/{ripgrep-n8ha5vbr.js → app-kytjdcrv.js} +57 -57
- package/dist/chunks/{ripgrep-m0jqrx5p.js → app-m0jqrx5p.js} +2 -2
- package/dist/chunks/{ripgrep-jjs74g98.js → app-m2d0j7c0.js} +9 -9
- package/dist/chunks/{ripgrep-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-m6yarymk.js → app-m3pgw4q9.js} +22 -22
- package/dist/chunks/{ripgrep-kv9ap8w1.js → app-m85z7vph.js} +11 -11
- package/dist/chunks/{ripgrep-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-j75a2xa8.js → app-mm16ex40.js} +9 -9
- package/dist/chunks/{ripgrep-emqpgmd6.js → app-nk1wytkm.js} +30 -30
- package/dist/chunks/{ripgrep-wdkpcg2j.js → app-nm3p96rh.js} +25 -25
- package/dist/chunks/{ripgrep-vyrd71eq.js → app-nm6tfe9e.js} +8 -8
- package/dist/chunks/{ripgrep-p28j5sbe.js → app-p28j5sbe.js} +2 -2
- package/dist/chunks/{ripgrep-7h053g4f.js → app-p29sx5d2.js} +15 -15
- package/dist/chunks/{ripgrep-3mc0mxvn.js → app-p33jdkfk.js} +4 -4
- package/dist/chunks/{ripgrep-9ae44cfy.js → app-p7a39gy5.js} +6 -6
- package/dist/chunks/{ripgrep-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-0rrms05z.js → app-png4bzvj.js} +36 -36
- package/dist/chunks/{ripgrep-vzfyj1ka.js → app-pps41de9.js} +10 -10
- package/dist/chunks/{ripgrep-w8ee3ykt.js → app-ps5kdaeb.js} +28 -28
- package/dist/chunks/{ripgrep-02kg8zjk.js → app-psst68c8.js} +30 -30
- package/dist/chunks/{ripgrep-hv38ezqz.js → app-q4gtzsax.js} +31 -31
- package/dist/chunks/{ripgrep-80nc4spm.js → app-qbkt3cqr.js} +12 -12
- package/dist/chunks/{ripgrep-rvtvfpzy.js → app-qfdknrj4.js} +6 -6
- package/dist/chunks/{ripgrep-sh1v16f4.js → app-qmznc2j1.js} +28 -28
- package/dist/chunks/{ripgrep-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/app-qtvmxc8s.js +4 -0
- package/dist/chunks/{ripgrep-jegn5rpz.js → app-qzjq96ve.js} +46 -46
- package/dist/chunks/{ripgrep-73tb2d7t.js → app-r5x6zcsm.js} +3 -3
- package/dist/chunks/app-rb2dwyb3.js +252 -0
- package/dist/chunks/{ripgrep-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-szb7x5e7.js → app-rfdx9aph.js} +26 -26
- package/dist/chunks/{ripgrep-98cb2jh6.js → app-rfjpkbyr.js} +143 -143
- package/dist/chunks/{ripgrep-b5dg6b6d.js → app-rh2h7bz2.js} +21 -21
- package/dist/chunks/{ripgrep-fpnx24t4.js → app-rj6d5p5e.js} +3 -3
- package/dist/chunks/{ripgrep-0996nyz8.js → app-s1kvmffy.js} +9 -9
- package/dist/chunks/{ripgrep-s4enseaf.js → app-s4enseaf.js} +2 -2
- package/dist/chunks/{ripgrep-x9ayx9my.js → app-senw7f5q.js} +2 -2
- package/dist/chunks/{ripgrep-3zh0859w.js → app-sjgwehbe.js} +15 -15
- package/dist/chunks/{ripgrep-ranyrkk2.js → app-swk9pkgd.js} +11 -11
- package/dist/chunks/{ripgrep-b46t8qcq.js → app-t0b82sn3.js} +13 -13
- package/dist/chunks/{ripgrep-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-qrn1gxgv.js → app-tb5xxcc9.js} +79 -79
- package/dist/chunks/{ripgrep-tvmycyz8.js → app-tb9xm78q.js} +8 -8
- package/dist/chunks/{ripgrep-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-dw1q9xcc.js → app-tfxsda3f.js} +30 -30
- package/dist/chunks/{ripgrep-94zshge0.js → app-thph1k7c.js} +32 -32
- package/dist/chunks/{ripgrep-3cfzdc8e.js → app-tn0aqsam.js} +5 -5
- package/dist/chunks/{ripgrep-wws8y0j5.js → app-ttsb85y1.js} +7 -7
- package/dist/chunks/{ripgrep-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-00drppa2.js → app-v19j2x38.js} +8 -8
- package/dist/chunks/{ripgrep-m2cwgzsz.js → app-v62cs5sj.js} +18 -18
- package/dist/chunks/{ripgrep-n06c4v83.js → app-v6h6kk4n.js} +49 -49
- package/dist/chunks/{ripgrep-5jbzwjgm.js → app-v7ax49y9.js} +16 -16
- package/dist/chunks/{ripgrep-txwbxve6.js → app-va20k388.js} +14 -14
- package/dist/chunks/{ripgrep-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-j68eznfn.js → app-vmv0kd87.js} +3 -3
- package/dist/chunks/{ripgrep-y3kqwzhp.js → app-vwcr4tjx.js} +9 -9
- package/dist/chunks/{ripgrep-e34x8y7p.js → app-vy4zg7qh.js} +12 -12
- package/dist/chunks/{ripgrep-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-kw9xdzv2.js → app-w3jg838k.js} +9 -9
- package/dist/chunks/{ripgrep-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-mw03hhna.js → app-wa17x0f6.js} +23 -23
- package/dist/chunks/{ripgrep-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-v19709j4.js → app-wks3bq41.js} +35 -35
- package/dist/chunks/{ripgrep-rxcdjwh1.js → app-wpm2rk0p.js} +4 -4
- package/dist/chunks/{ripgrep-sdgam4xr.js → app-wq38yxfv.js} +1 -1
- package/dist/chunks/{ripgrep-a5ws9a8a.js → app-wt8910j7.js} +13 -13
- package/dist/chunks/{ripgrep-rqwcfhke.js → app-wx5y01fx.js} +11 -11
- package/dist/chunks/{ripgrep-3e38qjvr.js → app-wxtfr31w.js} +14 -14
- package/dist/chunks/{ripgrep-8jzekk46.js → app-wxyrkypr.js} +10 -10
- package/dist/chunks/{ripgrep-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-ztyn76tz.js → app-x2rmejqt.js} +13 -13
- package/dist/chunks/{ripgrep-yyaayjfj.js → app-x3qv8ryf.js} +72 -72
- package/dist/chunks/{ripgrep-fy1t25hs.js → app-x4e5jp7e.js} +8 -8
- package/dist/chunks/{ripgrep-terq9fxp.js → app-x8chr5sc.js} +18 -18
- package/dist/chunks/{ripgrep-jhewz3v4.js → app-x9qt50vx.js} +13 -13
- package/dist/chunks/{ripgrep-576taz8z.js → app-xapv5k3j.js} +32 -32
- package/dist/chunks/{ripgrep-7ye0eskq.js → app-xg9j3gxx.js} +3 -3
- package/dist/chunks/{ripgrep-wa8gayma.js → app-xgpvyysx.js} +89 -89
- package/dist/chunks/{ripgrep-mqc96y4z.js → app-xhpeghz7.js} +11 -11
- package/dist/chunks/{ripgrep-8p9yqp1g.js → app-y15xkh2n.js} +23 -23
- package/dist/chunks/{ripgrep-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-6pc7fx7t.js → app-y2nmavtm.js} +30 -30
- package/dist/chunks/{ripgrep-8wb0zfrh.js → app-y5xn5bba.js} +12 -12
- package/dist/chunks/{ripgrep-y71avatq.js → app-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-jbj27hk3.js → app-y76zn1vz.js} +3 -3
- package/dist/chunks/{ripgrep-9k4hstdt.js → app-y9p6qzzr.js} +44 -44
- package/dist/chunks/{ripgrep-bvvrmhe1.js → app-ybgh1m9m.js} +15 -15
- package/dist/chunks/{ripgrep-4p8111z8.js → app-yj47cjx3.js} +16 -16
- package/dist/chunks/{ripgrep-naw1myqz.js → app-ykf0jhfk.js} +20 -20
- package/dist/chunks/{ripgrep-f2n192rq.js → app-yp2x3t23.js} +4 -4
- package/dist/chunks/{ripgrep-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-tv5x03kr.js → app-yrhthkpk.js} +37 -37
- package/dist/chunks/{ripgrep-xrbsbc41.js → app-yrq83nnf.js} +14 -14
- package/dist/chunks/{ripgrep-pvwh1q8t.js → app-yxms1dgw.js} +27 -27
- package/dist/chunks/{ripgrep-hn3c4ey4.js → app-yy70n6y7.js} +24 -24
- package/dist/chunks/{ripgrep-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-bywg4f5n.js → app-z6p9zkzw.js} +28 -28
- package/dist/chunks/{ripgrep-y34kqq23.js → app-zc72yjq3.js} +19 -19
- package/dist/chunks/{ripgrep-4sra3427.js → app-zdb8sah8.js} +17 -17
- package/dist/chunks/{ripgrep-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-3wcxc2ne.js → app-zkmmppc2.js} +7 -7
- package/dist/chunks/{ripgrep-t0ac4kqt.js → app-zmnyjegj.js} +18 -18
- package/dist/chunks/{ripgrep-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-3mc3a2sf.js → app-zswdvhgs.js} +23 -23
- package/dist/chunks/{ripgrep-engkm2d6.js → app-zw4pk1bw.js} +5 -5
- package/dist/chunks/{ripgrep-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-762am0a2.js → app-zy4aaz3n.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- 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 +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +71 -71
- 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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +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 +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 +5 -5
- package/dist/plugin/optimize.js +4 -4
- 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 +93 -93
- 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 +347 -347
- 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 +4 -4
- 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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +96 -96
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +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 +149 -149
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +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 +96 -96
- package/dist/session/message-updater.js +2 -2
- 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 +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +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 +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- 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 +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +73 -73
- 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/ripgrep-1x11rq2a.js +0 -18
- package/dist/chunks/ripgrep-7bm43ve7.js +0 -252
- package/dist/chunks/ripgrep-cd7q2513.js +0 -26
- package/dist/chunks/ripgrep-h47he10w.js +0 -4
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e3qxr5gk.js → app-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-6r8xth9q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./app-csxzn776.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./app-6nshdwd7.js";
|
|
11
11
|
import {
|
|
12
12
|
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-bvfp0cee.js";
|
|
15
15
|
import {
|
|
16
16
|
ID11
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-5v8q48de.js";
|
|
18
18
|
import {
|
|
19
19
|
ID10,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-y2nmavtm.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service79;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./app-vy4zg7qh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service77,
|
|
13
|
+
node81
|
|
14
|
+
} from "./app-yrq83nnf.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service46,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node48,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service46 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service77;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node48 = makeLocationNode({
|
|
144
|
+
service: Service46,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node81]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service46, Service46.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service74, Service74.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service46, node48, noopLayer3, exports_snapshot2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./app-v6h6kk4n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./app-fdaj3cxn.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin31
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service61;
|
|
26
|
+
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin6 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin31, exports_compaction };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info19,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info19 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info19, exports_mcp5 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./app-azynnvek.js";
|
|
4
4
|
import {
|
|
5
5
|
ID3,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service31
|
|
10
|
+
} from "./app-d883tjw7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input3,
|
|
19
|
+
Output: () => Output3,
|
|
20
|
+
Plugin: () => Plugin4,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name3,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name3 = "skill";
|
|
30
|
+
var Input3 = Schema.Struct({
|
|
31
31
|
id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin4 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service31;
|
|
51
|
+
const permission = yield* Service53;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name3,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input3,
|
|
57
|
+
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name3,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin47 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name3, Input3, Output3, description2, toModelOutput2, Plugin4, exports_skill };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node87
|
|
4
|
+
} from "./app-jnmfw45r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./app-csxzn776.js";
|
|
9
|
+
import {
|
|
10
|
+
Service40,
|
|
11
|
+
node42
|
|
12
|
+
} from "./app-01s6r663.js";
|
|
9
13
|
import {
|
|
10
14
|
Service38,
|
|
11
15
|
node40
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service34,
|
|
15
|
-
node36
|
|
16
|
-
} from "./ripgrep-9ae44cfy.js";
|
|
16
|
+
} from "./app-p7a39gy5.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./app-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service36
|
|
26
|
+
} from "./app-ddt2bs9e.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-11823ez3.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service54,
|
|
32
|
+
node56
|
|
33
|
+
} from "./app-g6ckadgp.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./app-6c2r5v8w.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./app-014xdmgp.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./app-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service35,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer15,
|
|
50
|
+
node: () => node38,
|
|
51
51
|
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service35 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
68
|
+
var layer15 = Layer.effect(Service35, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service54;
|
|
70
|
+
const instances = yield* Service38;
|
|
71
|
+
const bus = yield* Service79;
|
|
72
|
+
const jobs = yield* Service40;
|
|
73
73
|
const db = (yield* Service83).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,14 +82,14 @@ var layer14 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service36.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make16({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer14 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service35.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer14 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node38 = makeGlobalNode({
|
|
133
|
+
service: Service35,
|
|
134
|
+
layer: layer15,
|
|
135
|
+
deps: [node56, node40, node83, node87, node42]
|
|
136
136
|
});
|
|
137
|
-
var noopLayer2 = Layer.succeed(
|
|
137
|
+
var noopLayer2 = Layer.succeed(Service35, Service35.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service35, terminal2, layer15, node38, noopLayer2, exports_execution };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info23
|
|
9
|
-
} from "./ripgrep-vyrd71eq.js";
|
|
6
|
+
} from "./app-2pnhn36q.js";
|
|
10
7
|
import {
|
|
11
8
|
Info16
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./app-nm6tfe9e.js";
|
|
13
10
|
import {
|
|
14
11
|
Info17
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./app-tn0aqsam.js";
|
|
13
|
+
import {
|
|
14
|
+
Info21
|
|
15
|
+
} from "./app-axtvtek4.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info19
|
|
18
|
+
} from "./app-7gvwkz6m.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-2k8khapm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info20
|
|
24
|
+
} from "./app-hcz3zddy.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info13
|
|
27
|
+
} from "./app-44zmf7q8.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./app-gfpj78pk.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./app-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info13.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info21, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info19, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info20, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|