@opencode/core 0.0.0-dev-20067 → 0.0.0-dev-20069
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-9e0shq8y.js → ripgrep-0ayx05qh.js} +2 -2
- package/dist/chunks/{repository-9cz3xmmc.js → ripgrep-0mgs0snk.js} +20 -20
- package/dist/chunks/{repository-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-5ah4ptg6.js → ripgrep-0w5b0zhk.js} +21 -21
- package/dist/chunks/{repository-hz151azf.js → ripgrep-12samabn.js} +13 -13
- package/dist/chunks/{repository-p37cw4rj.js → ripgrep-1ajx6rf5.js} +8 -8
- package/dist/chunks/{repository-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-40dfcbtc.js → ripgrep-1se9s7cd.js} +1 -1
- package/dist/chunks/{repository-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{repository-bwyp434w.js → ripgrep-22159n9k.js} +11 -11
- package/dist/chunks/{repository-6h73sxmp.js → ripgrep-2402vzrj.js} +5 -5
- package/dist/chunks/{repository-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-h2qs67km.js → ripgrep-2hr23n0w.js} +9 -9
- package/dist/chunks/{repository-nxc66smq.js → ripgrep-2hr6k3wd.js} +15 -15
- package/dist/chunks/{repository-9dkxgaaz.js → ripgrep-2sdtchw9.js} +10 -10
- package/dist/chunks/{repository-wrtzz9dy.js → ripgrep-310pygx3.js} +21 -21
- package/dist/chunks/{repository-zfjfs7fw.js → ripgrep-3133pbgg.js} +30 -30
- package/dist/chunks/{repository-a7ya2t55.js → ripgrep-314cfvev.js} +4 -4
- package/dist/chunks/{repository-67rsx3vb.js → ripgrep-3exhk902.js} +24 -24
- package/dist/chunks/{repository-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-t2rxy3d5.js → ripgrep-3h0mkt05.js} +32 -32
- package/dist/chunks/{repository-9f40cav3.js → ripgrep-3h6g4yxf.js} +14 -14
- package/dist/chunks/{repository-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-es9eybw2.js → ripgrep-3j5kzqk4.js} +11 -11
- package/dist/chunks/{repository-rph3zd4r.js → ripgrep-3k6sfp50.js} +6 -6
- package/dist/chunks/{repository-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-bayr7sdc.js → ripgrep-3zca3at5.js} +7 -7
- package/dist/chunks/{repository-5qedxm44.js → ripgrep-3zjyq5kp.js} +9 -9
- package/dist/chunks/{repository-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-mwwxnxty.js → ripgrep-44pdqs77.js} +4 -4
- package/dist/chunks/{repository-672f612c.js → ripgrep-45xdrqn4.js} +43 -43
- package/dist/chunks/{repository-1e86tkh9.js → ripgrep-4dnzmhzq.js} +11 -11
- package/dist/chunks/{repository-05nshcdg.js → ripgrep-4e766vfh.js} +24 -24
- package/dist/chunks/{repository-nayt11ps.js → ripgrep-4k1416er.js} +6 -6
- package/dist/chunks/{repository-a1nprqvr.js → ripgrep-4qg5r729.js} +11 -11
- package/dist/chunks/{repository-g4fxz0gt.js → ripgrep-4y23n6zb.js} +29 -29
- package/dist/chunks/{repository-rb1ekxdp.js → ripgrep-518fy5x0.js} +42 -42
- package/dist/chunks/{repository-ckecvw8r.js → ripgrep-54tcyq79.js} +2 -2
- package/dist/chunks/{repository-hbehhpwg.js → ripgrep-55ec8s4g.js} +36 -36
- package/dist/chunks/{repository-56gdpj1q.js → ripgrep-56gdpj1q.js} +2 -2
- package/dist/chunks/{repository-rrqraew9.js → ripgrep-57ez7d0k.js} +9 -9
- package/dist/chunks/{repository-vka4dmj0.js → ripgrep-5a5dg86c.js} +16 -16
- package/dist/chunks/{repository-mtjp9z6s.js → ripgrep-5az6qf77.js} +14 -14
- package/dist/chunks/{repository-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-mgdyehf1.js → ripgrep-5df7hbgb.js} +28 -28
- package/dist/chunks/{repository-5ekn9679.js → ripgrep-5ekn9679.js} +1 -1
- package/dist/chunks/{repository-srfhtv6w.js → ripgrep-5jcjmpah.js} +9 -9
- package/dist/chunks/{repository-trfxp1r8.js → ripgrep-5q70a6nc.js} +17 -17
- package/dist/chunks/{repository-e3qxr5gk.js → ripgrep-5qd3pb7m.js} +2 -2
- package/dist/chunks/{repository-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-kgeqhxvw.js → ripgrep-5wbzy8nn.js} +11 -11
- package/dist/chunks/{repository-qgn6gcr1.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{repository-pgrpmprb.js → ripgrep-63p6tvjf.js} +11 -11
- package/dist/chunks/{repository-0rr436fd.js → ripgrep-65eqnm58.js} +12 -12
- package/dist/chunks/{repository-0e3mg8wg.js → ripgrep-65rfk13t.js} +24 -24
- package/dist/chunks/{repository-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{repository-pgej9n36.js → ripgrep-66m6eh7j.js} +18 -18
- package/dist/chunks/{repository-faxz800z.js → ripgrep-68y7phbn.js} +12 -12
- package/dist/chunks/{repository-7yscfpph.js → ripgrep-6ae9v3b9.js} +7 -7
- package/dist/chunks/{repository-x7zswy26.js → ripgrep-6e4b4bvx.js} +11 -11
- package/dist/chunks/{repository-vftkj9v3.js → ripgrep-6j042nns.js} +14 -14
- package/dist/chunks/{repository-cm70vevn.js → ripgrep-6jqke6p8.js} +9 -9
- package/dist/chunks/{repository-f90zn7ca.js → ripgrep-6kxxvxy9.js} +4 -4
- package/dist/chunks/{repository-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-gwp4cf3v.js → ripgrep-6npe6m7n.js} +34 -34
- package/dist/chunks/{repository-gwmntvvs.js → ripgrep-6rww2kbq.js} +37 -37
- package/dist/chunks/{repository-g2066sd0.js → ripgrep-6v1ffft6.js} +9 -9
- package/dist/chunks/{repository-9btcgg48.js → ripgrep-6whh3zwz.js} +35 -35
- package/dist/chunks/{repository-fg50bsfr.js → ripgrep-6xakybcw.js} +16 -16
- package/dist/chunks/{repository-g9qh6fen.js → ripgrep-6ypqnq6y.js} +8 -8
- package/dist/chunks/{repository-cng14k4f.js → ripgrep-72bztqfg.js} +33 -33
- package/dist/chunks/{repository-51bq5gc4.js → ripgrep-75j187sy.js} +10 -10
- package/dist/chunks/{repository-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-yz4vzcv9.js → ripgrep-7pj4hm0p.js} +17 -17
- package/dist/chunks/{repository-pnqe9gv0.js → ripgrep-7tgakezr.js} +1 -1
- package/dist/chunks/{repository-x5x7d8yk.js → ripgrep-7tr6rhhd.js} +10 -10
- package/dist/chunks/{repository-mvfsc1pv.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{repository-tx02rs4k.js → ripgrep-7zszha7m.js} +34 -34
- package/dist/chunks/{repository-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{repository-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-bd3nb3vt.js → ripgrep-8n3vm8hr.js} +8 -8
- package/dist/chunks/{repository-n2ahj3nb.js → ripgrep-8vk5gx22.js} +18 -18
- package/dist/chunks/{repository-t0sqncza.js → ripgrep-94s48bjb.js} +5 -5
- package/dist/chunks/{repository-8czqb76g.js → ripgrep-95en9f50.js} +16 -16
- package/dist/chunks/{repository-vtxr0yy2.js → ripgrep-9cyfspf3.js} +5 -5
- package/dist/chunks/{repository-5re94sxb.js → ripgrep-9h8yadab.js} +7 -7
- package/dist/chunks/{repository-bwe1n6j9.js → ripgrep-9jscrgm8.js} +10 -10
- package/dist/chunks/{repository-xbw2xfj9.js → ripgrep-9kdsp20r.js} +3 -3
- package/dist/chunks/{repository-k5dsc5hs.js → ripgrep-9q81rv62.js} +9 -9
- package/dist/chunks/{repository-dxz6h2zt.js → ripgrep-9r7rpdpb.js} +5 -5
- package/dist/chunks/{repository-hngsf9ze.js → ripgrep-9yp3a3kk.js} +24 -24
- package/dist/chunks/ripgrep-9zdhvgqs.js +18 -0
- package/dist/chunks/{repository-1d8ygdpn.js → ripgrep-a4ddpw0g.js} +24 -24
- package/dist/chunks/{repository-8hgfhrm0.js → ripgrep-a68v6zx7.js} +11 -11
- package/dist/chunks/{repository-actq9frn.js → ripgrep-a7e8yba8.js} +15 -15
- package/dist/chunks/{repository-25rd3h41.js → ripgrep-a82wvf7y.js} +45 -45
- package/dist/chunks/{repository-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-7s2tn799.js → ripgrep-ahd542yp.js} +8 -8
- package/dist/chunks/{repository-ff0svapt.js → ripgrep-ak8wweg5.js} +2 -2
- package/dist/chunks/{repository-vxzf7v58.js → ripgrep-ak95znyc.js} +5 -5
- package/dist/chunks/{repository-72p6r3xc.js → ripgrep-aqc2n7k1.js} +13 -13
- package/dist/chunks/{repository-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-nz569jqt.js → ripgrep-b7b4ctej.js} +5 -5
- package/dist/chunks/{repository-15rr61m4.js → ripgrep-bc17a4yt.js} +13 -13
- package/dist/chunks/{repository-r98e92ep.js → ripgrep-bct739vz.js} +4 -4
- package/dist/chunks/{repository-z07pqspn.js → ripgrep-bjtzbw4r.js} +3 -3
- package/dist/chunks/{repository-gby7h8ab.js → ripgrep-btdn1fj9.js} +6 -6
- package/dist/chunks/{repository-m1fqb20v.js → ripgrep-c13e6esw.js} +3 -3
- package/dist/chunks/{repository-855aw91c.js → ripgrep-c6smxwme.js} +18 -18
- package/dist/chunks/{repository-gtckgk66.js → ripgrep-c765aa0m.js} +12 -12
- package/dist/chunks/{repository-bmhahcnt.js → ripgrep-c8fzc5kk.js} +3 -3
- package/dist/chunks/{repository-9h1eecz9.js → ripgrep-ccgx1agb.js} +87 -87
- package/dist/chunks/{repository-kb4rpjaq.js → ripgrep-cczmq9j9.js} +313 -313
- package/dist/chunks/{repository-3s43hn5t.js → ripgrep-csmmbkrn.js} +1 -1
- package/dist/chunks/{repository-r2m716tb.js → ripgrep-cwa6csj7.js} +9 -9
- package/dist/chunks/{repository-jdzrt0z1.js → ripgrep-cyzqg38g.js} +24 -24
- package/dist/chunks/{repository-zvt5dnpc.js → ripgrep-dhmh7aw6.js} +4 -4
- package/dist/chunks/{repository-y71avatq.js → ripgrep-dpkg50ah.js} +4 -4
- package/dist/chunks/{repository-4nddn0b6.js → ripgrep-dq0k2458.js} +3 -3
- package/dist/chunks/{repository-0vecsj11.js → ripgrep-dqr0m1y5.js} +10 -10
- package/dist/chunks/{repository-285t386e.js → ripgrep-drsj7rnm.js} +42 -42
- package/dist/chunks/{repository-xfkkasph.js → ripgrep-drwq78ky.js} +4 -4
- package/dist/chunks/{repository-rp43rah6.js → ripgrep-dwkyy60h.js} +12 -12
- package/dist/chunks/{repository-115t4k1h.js → ripgrep-e37h8kwf.js} +12 -12
- package/dist/chunks/{repository-kjfdeayr.js → ripgrep-e7710hd6.js} +8 -8
- package/dist/chunks/{repository-25wpb8ep.js → ripgrep-e82rfkh8.js} +169 -169
- package/dist/chunks/{repository-vb0c2wr9.js → ripgrep-e9mavkfm.js} +13 -13
- package/dist/chunks/{repository-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-bprjk2xr.js → ripgrep-ejndgxwh.js} +31 -31
- package/dist/chunks/{repository-erw5rpbs.js → ripgrep-erw5rpbs.js} +2 -2
- package/dist/chunks/{repository-kpwmpstw.js → ripgrep-eswwkexn.js} +11 -11
- package/dist/chunks/{repository-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-c78bbtc9.js → ripgrep-evbgk2k8.js} +5 -5
- package/dist/chunks/{repository-rt22yq9v.js → ripgrep-ewxpkfp1.js} +23 -23
- package/dist/chunks/{repository-660wmw6d.js → ripgrep-f16gbcxr.js} +21 -21
- package/dist/chunks/{repository-311gkrra.js → ripgrep-f2y31vad.js} +3 -3
- package/dist/chunks/{repository-ajdggk3v.js → ripgrep-f5q6vpa8.js} +2 -2
- package/dist/chunks/{repository-bhxp9hdq.js → ripgrep-febc8204.js} +6 -6
- package/dist/chunks/{repository-65xxhm4m.js → ripgrep-fhgj836q.js} +23 -23
- package/dist/chunks/{repository-6bsje7ws.js → ripgrep-fqka1xvk.js} +3 -3
- package/dist/chunks/{repository-4sthw002.js → ripgrep-fxfc3qkp.js} +10 -10
- package/dist/chunks/{repository-55t602r9.js → ripgrep-g1n6bxpc.js} +31 -31
- package/dist/chunks/{repository-5rk57adz.js → ripgrep-g2sgta8f.js} +5 -5
- package/dist/chunks/{repository-mpqj6jx7.js → ripgrep-g7y1z024.js} +7 -7
- package/dist/chunks/{repository-19vf66h0.js → ripgrep-g8d3gcyj.js} +7 -7
- package/dist/chunks/{repository-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-94ek1h2f.js → ripgrep-gfvb90ym.js} +2 -2
- package/dist/chunks/{repository-50sbk7kr.js → ripgrep-gjbcvzr2.js} +8 -8
- package/dist/chunks/{repository-fs4kxnc4.js → ripgrep-gqtakvcm.js} +5 -5
- package/dist/chunks/{repository-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-1t7xnya2.js → ripgrep-h0yqkzt5.js} +11 -11
- package/dist/chunks/{repository-16fz2w0a.js → ripgrep-h3yfa6ks.js} +53 -53
- package/dist/chunks/{repository-7cc8avcc.js → ripgrep-h52xnkn8.js} +23 -23
- package/dist/chunks/{repository-pwqr28vb.js → ripgrep-h5tmfsew.js} +30 -30
- package/dist/chunks/{repository-h6r3nrb9.js → ripgrep-h6r3nrb9.js} +1 -1
- package/dist/chunks/{repository-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-gx8hye9g.js → ripgrep-h7w9m21h.js} +6 -6
- package/dist/chunks/{repository-emevknz1.js → ripgrep-h8t8zj8w.js} +8 -8
- package/dist/chunks/{repository-z3dqhhkj.js → ripgrep-hf4drxk6.js} +6 -6
- package/dist/chunks/{repository-rxzqzsj3.js → ripgrep-hgnmjjw1.js} +14 -14
- package/dist/chunks/{repository-djwrd78c.js → ripgrep-hhpnm7dw.js} +21 -21
- package/dist/chunks/{repository-dvep9rg9.js → ripgrep-hrc132h6.js} +9 -9
- package/dist/chunks/{repository-1g9ztc78.js → ripgrep-hsqtqw31.js} +43 -43
- package/dist/chunks/{repository-p57dvf2n.js → ripgrep-j311gd59.js} +9 -9
- package/dist/chunks/{repository-a0s974gf.js → ripgrep-j4ab9r48.js} +1 -1
- package/dist/chunks/{repository-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-s5d9hk7s.js → ripgrep-j58c5xyq.js} +9 -9
- package/dist/chunks/{repository-69fj14ep.js → ripgrep-jf99zcgg.js} +24 -24
- package/dist/chunks/{repository-ya6d81gt.js → ripgrep-k1fg4vp1.js} +14 -14
- package/dist/chunks/{repository-wmq3bkd4.js → ripgrep-k1qrnqst.js} +8 -8
- package/dist/chunks/{repository-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-my3s7g2v.js → ripgrep-kj13tdgj.js} +6 -6
- package/dist/chunks/{repository-3y7z246r.js → ripgrep-km9v8s4p.js} +24 -24
- package/dist/chunks/{repository-k9kj6xed.js → ripgrep-knb7evpn.js} +6 -6
- package/dist/chunks/{repository-ypwah405.js → ripgrep-kwh94f5y.js} +24 -24
- package/dist/chunks/{repository-7td85jfa.js → ripgrep-m14g7d03.js} +7 -7
- package/dist/chunks/{repository-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-g0kgf922.js → ripgrep-m9ekcepj.js} +9 -9
- package/dist/chunks/{repository-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-c1kskfb6.js → ripgrep-mb5k3eyw.js} +42 -42
- package/dist/chunks/{repository-4ragw8tk.js → ripgrep-md9pgxe8.js} +26 -26
- package/dist/chunks/{repository-5qb1g724.js → ripgrep-mjyv029k.js} +8 -8
- package/dist/chunks/{repository-dmzyn4sw.js → ripgrep-mppnnt9x.js} +20 -20
- package/dist/chunks/{repository-3sy2qy7n.js → ripgrep-mt4rfx33.js} +1 -1
- package/dist/chunks/{repository-gcmeeq5b.js → ripgrep-myhvmvaw.js} +24 -24
- package/dist/chunks/{repository-1te7cy4s.js → ripgrep-mzywpf3p.js} +4 -4
- package/dist/chunks/{repository-3nwqvhst.js → ripgrep-nacy1b3s.js} +9 -9
- package/dist/chunks/ripgrep-nc9jdwq6.js +252 -0
- package/dist/chunks/{repository-ejrhby57.js → ripgrep-npcgt3gc.js} +46 -46
- package/dist/chunks/{repository-0yf2ggb4.js → ripgrep-nqhkz2h0.js} +3 -3
- package/dist/chunks/{repository-5wtwrezn.js → ripgrep-nrdmrqsx.js} +21 -21
- package/dist/chunks/{repository-dzk3ryj8.js → ripgrep-nxq64296.js} +15 -15
- package/dist/chunks/{repository-3yv9m03g.js → ripgrep-p8p1q38m.js} +17 -17
- package/dist/chunks/{repository-n6scd4pv.js → ripgrep-pdq8pnd2.js} +10 -10
- package/dist/chunks/{repository-n72a9sqp.js → ripgrep-pff1gvzk.js} +46 -46
- package/dist/chunks/{repository-enk2rrcf.js → ripgrep-phfbqzjs.js} +17 -17
- package/dist/chunks/{repository-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{repository-5psjtcc4.js → ripgrep-pp3p6rz8.js} +24 -24
- package/dist/chunks/{repository-wd3x2cqz.js → ripgrep-psazpmmj.js} +2 -2
- package/dist/chunks/{repository-s28bjvt5.js → ripgrep-qjjdbt4x.js} +18 -18
- package/dist/chunks/{repository-vmq7ehpy.js → ripgrep-qn4ba14w.js} +5 -5
- package/dist/chunks/{repository-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-3qw0meeq.js → ripgrep-r3va1q30.js} +20 -20
- package/dist/chunks/{repository-khm1sf7f.js → ripgrep-r4bzzscv.js} +4 -4
- package/dist/chunks/{repository-j0vh8jjz.js → ripgrep-r6h5nhyv.js} +25 -25
- package/dist/chunks/{repository-jrb0xr74.js → ripgrep-rd066f3k.js} +12 -12
- package/dist/chunks/{repository-0pr3hkd7.js → ripgrep-rdecwvm0.js} +4 -4
- package/dist/chunks/{repository-skykqwxk.js → ripgrep-rdf5zzeq.js} +26 -26
- package/dist/chunks/{repository-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-7nf3ddzq.js → ripgrep-rkd9y7hg.js} +11 -11
- package/dist/chunks/{repository-t1tem6a2.js → ripgrep-rn3cq9ja.js} +27 -27
- package/dist/chunks/{repository-vsp4125s.js → ripgrep-rtrd7687.js} +4 -4
- package/dist/chunks/{repository-wy75xbqv.js → ripgrep-rwpqnmrd.js} +51 -51
- package/dist/chunks/{repository-xq7r4p5w.js → ripgrep-s2v5xhym.js} +33 -33
- package/dist/chunks/{repository-0xezjjjn.js → ripgrep-s5met55r.js} +8 -8
- package/dist/chunks/{repository-32h82zqh.js → ripgrep-s74ft2z0.js} +2 -2
- package/dist/chunks/{repository-gr0jztbm.js → ripgrep-s7d0jgbp.js} +15 -15
- package/dist/chunks/{repository-eaj1djv9.js → ripgrep-s8d7rejh.js} +6 -6
- package/dist/chunks/{repository-d2aac7k2.js → ripgrep-s8zy8myc.js} +5 -5
- package/dist/chunks/{repository-0c1nc1g2.js → ripgrep-sh5yyyta.js} +4 -4
- package/dist/chunks/{repository-ygxwf2ce.js → ripgrep-svjy1kds.js} +20 -20
- package/dist/chunks/{repository-h297ymck.js → ripgrep-szs8vbwv.js} +9 -9
- package/dist/chunks/{repository-6301jba8.js → ripgrep-t1nv7t91.js} +35 -35
- package/dist/chunks/{repository-stvp1p58.js → ripgrep-t9jfj42y.js} +19 -19
- package/dist/chunks/{repository-6wg7wrda.js → ripgrep-t9ym9qvh.js} +6 -6
- package/dist/chunks/{repository-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-kkybr322.js → ripgrep-tcfbr18x.js} +10 -10
- package/dist/chunks/{repository-y3f887mz.js → ripgrep-tcnfwqy6.js} +7 -7
- package/dist/chunks/{repository-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{repository-b8kezapz.js → ripgrep-thf27y4c.js} +12 -12
- package/dist/chunks/{repository-naep0e5n.js → ripgrep-trqv73xc.js} +17 -17
- package/dist/chunks/{repository-gv6qzrxf.js → ripgrep-trv0dvrm.js} +35 -35
- package/dist/chunks/{repository-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-f1zbxv7x.js → ripgrep-v8g8r3p5.js} +9 -9
- package/dist/chunks/{repository-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-98da7btb.js → ripgrep-vk5cd3wv.js} +10 -10
- package/dist/chunks/{repository-2a6rn6yr.js → ripgrep-vvccsdf3.js} +4 -4
- package/dist/chunks/{repository-5md3tagz.js → ripgrep-vw5tv20s.js} +18 -18
- package/dist/chunks/{repository-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-2zbc03eg.js → ripgrep-vztfwee2.js} +32 -32
- package/dist/chunks/{repository-qx9nwsft.js → ripgrep-w0amkjx1.js} +20 -20
- package/dist/chunks/{repository-fxr6x0aq.js → ripgrep-w28p7srs.js} +16 -16
- package/dist/chunks/{repository-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-5r9k8zx2.js → ripgrep-wamfr8ew.js} +10 -10
- package/dist/chunks/{repository-e4bv3p7h.js → ripgrep-wd7bxs2p.js} +30 -30
- package/dist/chunks/{repository-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{repository-j40a86xr.js → ripgrep-wdqt7cqw.js} +10 -10
- package/dist/chunks/{repository-qwb2h62g.js → ripgrep-wj3w7pcn.js} +18 -18
- package/dist/chunks/{repository-3ewed21c.js → ripgrep-wj76ss2k.js} +4 -4
- package/dist/chunks/{repository-r256v5vh.js → ripgrep-wjvmat6z.js} +22 -22
- package/dist/chunks/{repository-qakz50hz.js → ripgrep-wmfp1rw3.js} +20 -20
- package/dist/chunks/{repository-tsa77ep8.js → ripgrep-wpa4rsnk.js} +12 -12
- package/dist/chunks/{repository-3rk7bqzq.js → ripgrep-wwy2qggx.js} +6 -6
- package/dist/chunks/{repository-xq6svqxg.js → ripgrep-x01dtww3.js} +23 -23
- package/dist/chunks/{repository-zszwk29h.js → ripgrep-x0phpbjd.js} +292 -292
- package/dist/chunks/{repository-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-0cry2zrq.js → ripgrep-x9p82aqm.js} +13 -13
- package/dist/chunks/{repository-de3mgeae.js → ripgrep-xdyhb63d.js} +18 -18
- package/dist/chunks/{repository-1dnqgg3s.js → ripgrep-xwx3c2sc.js} +9 -9
- package/dist/chunks/{repository-hysnaan8.js → ripgrep-xz23vemp.js} +6 -6
- package/dist/chunks/{repository-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-18e56dsp.js → ripgrep-y67gsgy6.js} +4 -4
- package/dist/chunks/{repository-xkqrr95v.js → ripgrep-yagfenz7.js} +65 -65
- package/dist/chunks/{repository-4yyfqv5e.js → ripgrep-yejpxas0.js} +11 -11
- package/dist/chunks/{repository-1acjjqhc.js → ripgrep-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-s4enseaf.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-j1711vkv.js → ripgrep-ys5hb573.js} +23 -23
- package/dist/chunks/{repository-j3s2z371.js → ripgrep-ywkfy99j.js} +9 -9
- package/dist/chunks/{repository-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-v4cj4tts.js → ripgrep-z1a2kmfk.js} +13 -13
- package/dist/chunks/{repository-29x78va6.js → ripgrep-z63w68vq.js} +6 -6
- package/dist/chunks/{repository-gxd07ah8.js → ripgrep-z66c1k9w.js} +48 -48
- package/dist/chunks/{repository-2xqh5gj0.js → ripgrep-zajadr6b.js} +24 -24
- package/dist/chunks/{repository-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-7n420167.js → ripgrep-zkt84azb.js} +11 -11
- package/dist/chunks/{repository-qh54trmw.js → ripgrep-zp8bqaxg.js} +14 -14
- package/dist/chunks/{repository-jhmd4ezs.js → ripgrep-zq2g0th5.js} +15 -15
- package/dist/chunks/{repository-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-kx253xx8.js → ripgrep-zr8y6ync.js} +4 -4
- package/dist/chunks/{repository-dq2gf7dd.js → ripgrep-zrye3yph.js} +86 -86
- package/dist/chunks/{repository-kk7xnzba.js → ripgrep-zwfnejf5.js} +1 -1
- package/dist/chunks/{repository-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +139 -139
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +88 -88
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- 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 +91 -91
- 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 +3 -3
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- 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 +90 -90
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +87 -87
- 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 +127 -127
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +112 -112
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-619r8v3y.js +0 -18
- package/dist/chunks/repository-vz0qs4v4.js +0 -252
- /package/dist/chunks/{repository-0mesazry.js → ripgrep-0mesazry.js} +0 -0
- /package/dist/chunks/{repository-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-5wbzy8nn.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service77
|
|
11
|
+
} from "./ripgrep-3133pbgg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./ripgrep-ejndgxwh.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
22
|
ID13
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-x0phpbjd.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-hf4drxk6.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,7 +31,7 @@ import { Form } from "@opencode/schema/form";
|
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
33
|
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
-
var integrationID =
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service77;
|
|
57
|
+
const integrations = yield* Service76;
|
|
58
58
|
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service31
|
|
6
|
+
} from "./ripgrep-rwpqnmrd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./ripgrep-a82wvf7y.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service31;
|
|
26
|
+
const permission = yield* Service53;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin25 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin30, exports_mcp_resource };
|
|
@@ -2,34 +2,34 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./ripgrep-5q70a6nc.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./ripgrep-4e766vfh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service57
|
|
14
|
+
} from "./ripgrep-qjjdbt4x.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service16,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-12samabn.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service53
|
|
22
|
+
} from "./ripgrep-a82wvf7y.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service15,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-66m6eh7j.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
@@ -108,12 +108,12 @@ var toModelContent2 = (output) => [
|
|
|
108
108
|
var Plugin21 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service62;
|
|
112
|
+
const access = yield* Service15;
|
|
113
|
+
const fileMutation = yield* Service16;
|
|
114
|
+
const formatter = yield* Service57;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service53;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
118
|
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-nqhkz2h0.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service77,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node81
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service77 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service77.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service77, node81, exports_credential };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-94s48bjb.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-nrdmrqsx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info9
|
|
9
|
+
} from "./ripgrep-a68v6zx7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info13
|
|
12
|
+
} from "./ripgrep-evbgk2k8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./ripgrep-g8d3gcyj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info11
|
|
18
|
+
} from "./ripgrep-s8zy8myc.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-607tc6va.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info12
|
|
24
|
+
} from "./ripgrep-qn4ba14w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info7
|
|
27
|
+
} from "./ripgrep-hsqtqw31.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 "./ripgrep-r4bzzscv.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./ripgrep-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(Info7.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(Info13, 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, Info15, ["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, Info9, ["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, Info9, ["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(Info11, 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(Info12, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./ripgrep-4e766vfh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service16,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-12samabn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service57
|
|
11
|
+
} from "./ripgrep-qjjdbt4x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service53
|
|
14
|
+
} from "./ripgrep-a82wvf7y.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service15
|
|
17
|
+
} from "./ripgrep-66m6eh7j.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input9,
|
|
29
|
+
Output: () => Output6,
|
|
30
|
+
Plugin: () => Plugin27,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name9,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name9 = "write";
|
|
39
|
+
var Input9 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output6 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin27 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service15;
|
|
56
|
+
const fileMutation = yield* Service16;
|
|
57
|
+
const environment = yield* Service62;
|
|
58
|
+
const formatter = yield* Service57;
|
|
59
|
+
const permission = yield* Service53;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name9,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input9,
|
|
69
|
+
output: Output6,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name9, Input9, Output6, toModelContent3, Plugin27, exports_write };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
+
make: () => make12,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -43,7 +43,7 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update2(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
49
|
${render2(current)}`;
|
|
@@ -109,9 +109,9 @@ ${render2(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make12 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
116
|
return make21({
|
|
117
117
|
key,
|
|
@@ -119,10 +119,10 @@ var make14 = (inventory) => {
|
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
121
|
initial: render2,
|
|
122
|
-
changed:
|
|
122
|
+
changed: update2,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2,
|
|
128
|
+
export { render2, update2, make12, exports_instructions3 };
|