@opencode/core 0.0.0-dev-19674 → 0.0.0-dev-19677
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{pty-06dxphr1.js → command-06dxphr1.js} +1 -1
- package/dist/chunks/{pty-px1xpczn.js → command-0gbtp71g.js} +22 -22
- package/dist/chunks/{pty-0jwsre1p.js → command-0jwsre1p.js} +1 -1
- package/dist/chunks/{pty-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → command-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-5fyzn1g0.js → command-0qescp40.js} +1 -1
- package/dist/chunks/{pty-005agstz.js → command-0rbej475.js} +16 -16
- package/dist/chunks/{pty-mnys6tec.js → command-0t3f5f2j.js} +24 -24
- package/dist/chunks/{pty-dc77grpk.js → command-0v94nfhm.js} +9 -9
- package/dist/chunks/{pty-p96q0vzc.js → command-0vgngd9g.js} +24 -24
- package/dist/chunks/{pty-marnn1hp.js → command-10jtetaj.js} +7 -7
- package/dist/chunks/{pty-f0bgfh1c.js → command-12fr5h43.js} +4 -4
- package/dist/chunks/{pty-bavdgngm.js → command-162dzd26.js} +4 -4
- package/dist/chunks/{pty-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-0vr0cdvh.js → command-1hpee78n.js} +10 -10
- package/dist/chunks/{pty-rmg0m3t1.js → command-1jzmnccz.js} +8 -8
- package/dist/chunks/{pty-pvkmyqfe.js → command-1qsftg3h.js} +16 -16
- package/dist/chunks/{pty-ge5c1s9a.js → command-1sjdykg9.js} +16 -16
- package/dist/chunks/{pty-4bwnmqz9.js → command-1v7c51ma.js} +9 -9
- package/dist/chunks/{pty-pgwf6rpj.js → command-1w4m95ye.js} +2 -2
- package/dist/chunks/command-1x11rq2a.js +18 -0
- package/dist/chunks/{pty-1ygqh575.js → command-1ygqh575.js} +2 -2
- package/dist/chunks/{pty-bxgfab9d.js → command-205fktxw.js} +2 -2
- package/dist/chunks/{pty-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{pty-xjr9ayca.js → command-2277p7za.js} +3 -3
- package/dist/chunks/{pty-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{pty-2a64njz4.js → command-24k4k4wx.js} +20 -20
- package/dist/chunks/{pty-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-yjq1h8wq.js → command-2ehyz9hr.js} +8 -8
- package/dist/chunks/{pty-fy2wv845.js → command-2s9v5q2j.js} +17 -17
- package/dist/chunks/{pty-1wc8ev08.js → command-2sgz0h5a.js} +17 -17
- package/dist/chunks/{pty-qdw5vfwv.js → command-2zsjkq9g.js} +16 -16
- package/dist/chunks/{pty-90cw4v64.js → command-30bm9ajm.js} +16 -16
- package/dist/chunks/{pty-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-yztwhtj4.js → command-3h2szgxz.js} +6 -6
- package/dist/chunks/{pty-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-p9zf421h.js → command-3pzavtjr.js} +14 -14
- package/dist/chunks/{pty-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-t0fxg8b9.js → command-3w0fmcng.js} +5 -5
- package/dist/chunks/{pty-9n8fqfgq.js → command-41h8t21e.js} +5 -5
- package/dist/chunks/{pty-yqcj214x.js → command-45j2k0pw.js} +15 -15
- package/dist/chunks/{pty-87gqba2t.js → command-467dymen.js} +29 -29
- package/dist/chunks/{pty-wt5vh4p5.js → command-46pvzydw.js} +22 -22
- package/dist/chunks/{pty-fzgxakwn.js → command-4d8evfpc.js} +6 -6
- package/dist/chunks/{pty-h6r3nrb9.js → command-4dgbcxzg.js} +4 -4
- package/dist/chunks/{pty-bx8e55ya.js → command-4dq01fp5.js} +11 -11
- package/dist/chunks/{pty-g51vc6t9.js → command-4jv5ref6.js} +78 -78
- package/dist/chunks/{pty-zffc062v.js → command-4sbvrcej.js} +17 -17
- package/dist/chunks/{pty-1040s6af.js → command-4w1whx26.js} +4 -4
- package/dist/chunks/{pty-wx6s0tts.js → command-53tjwt9g.js} +42 -42
- package/dist/chunks/{pty-57ez7d0k.js → command-57ez7d0k.js} +2 -2
- package/dist/chunks/{pty-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-bqv8mcm8.js → command-5mffgv55.js} +2 -2
- package/dist/chunks/{pty-q2b1ymqp.js → command-5q02cxx3.js} +4 -4
- package/dist/chunks/{pty-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-jsh81p2x.js → command-5vcsb3kk.js} +32 -32
- package/dist/chunks/{pty-v220wb3t.js → command-666pnfkr.js} +14 -14
- package/dist/chunks/{pty-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{pty-hw6s7maf.js → command-68wccpr5.js} +20 -20
- package/dist/chunks/{pty-k1603mw5.js → command-69a0df8h.js} +14 -14
- package/dist/chunks/{pty-sm965ndy.js → command-69j91c1q.js} +8 -8
- package/dist/chunks/{pty-6msgmcgs.js → command-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-njv35c9c.js → command-6xmmm4dq.js} +15 -15
- package/dist/chunks/{pty-s6wn0jv5.js → command-6yyja3sr.js} +9 -9
- package/dist/chunks/{pty-xey2vz2p.js → command-7262bdbz.js} +13 -13
- package/dist/chunks/{pty-73tb2d7t.js → command-73tb2d7t.js} +1 -1
- package/dist/chunks/{pty-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-2z45ferc.js → command-7d93j08s.js} +9 -9
- package/dist/chunks/{pty-kxdabtfm.js → command-7hj3xbrc.js} +21 -21
- package/dist/chunks/{pty-m0f8gg3e.js → command-7htbj526.js} +28 -28
- package/dist/chunks/{pty-p42y1bm5.js → command-7p3xftwe.js} +12 -12
- package/dist/chunks/{pty-3qjwzzap.js → command-7q2zmtmd.js} +10 -10
- package/dist/chunks/{pty-5exzrj16.js → command-7v69ty2b.js} +22 -22
- package/dist/chunks/{pty-7tz5zdeh.js → command-7wdpv7yx.js} +16 -16
- package/dist/chunks/{pty-736q711b.js → command-7wxbqxph.js} +25 -25
- package/dist/chunks/{pty-6g11pzee.js → command-840wgd2q.js} +25 -25
- package/dist/chunks/{pty-1cxhbzgd.js → command-84q2vxed.js} +35 -35
- package/dist/chunks/{pty-bqdz6k7x.js → command-8977mvv6.js} +11 -11
- package/dist/chunks/{pty-k0xymqd0.js → command-8a8wdyzn.js} +11 -11
- package/dist/chunks/{pty-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-dj2t23y0.js → command-8p4f9s12.js} +2 -2
- package/dist/chunks/{pty-r9mregkx.js → command-8phwd4yj.js} +29 -25
- package/dist/chunks/command-95efmqcm.js +247 -0
- package/dist/chunks/{pty-qbbxh0je.js → command-96hc392c.js} +6 -6
- package/dist/chunks/{pty-ngz4ns8d.js → command-9esbgk1q.js} +4 -4
- package/dist/chunks/{pty-ffn2kdck.js → command-9fzyx5wt.js} +1 -1
- package/dist/chunks/{pty-ab8cnxkj.js → command-9g3kc011.js} +5 -5
- package/dist/chunks/{pty-5sh9x8dt.js → command-9hcft21q.js} +13 -13
- package/dist/chunks/{pty-9hn6k4tm.js → command-9hn6k4tm.js} +1 -1
- package/dist/chunks/{pty-k2gcmxmw.js → command-9pj1fj9p.js} +13 -13
- package/dist/chunks/{pty-v8jfbz3g.js → command-9r15s34d.js} +6 -6
- package/dist/chunks/{pty-pdnjh9qx.js → command-9r59gk3z.js} +6 -6
- package/dist/chunks/{pty-q1rph7bj.js → command-9s6fqtph.js} +303 -303
- package/dist/chunks/{pty-qwjmgwmn.js → command-9y0w708y.js} +8 -8
- package/dist/chunks/{pty-0f9afca0.js → command-a1a50ys5.js} +5 -5
- package/dist/chunks/{pty-5c4hm403.js → command-a1bz86dw.js} +3 -3
- package/dist/chunks/{pty-s222w9ys.js → command-a6aqwg0c.js} +1 -1
- package/dist/chunks/{pty-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-zpfv5b56.js → command-ahh5tn9t.js} +3 -3
- package/dist/chunks/{pty-jg9eaab2.js → command-akdr1yx1.js} +9 -9
- package/dist/chunks/{pty-e2673aay.js → command-at45qxm4.js} +2 -2
- package/dist/chunks/{pty-qxdvme72.js → command-b2aemhvb.js} +13 -13
- package/dist/chunks/{pty-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-fm1t1259.js → command-b7td26qf.js} +9 -9
- package/dist/chunks/{pty-e25vxe6e.js → command-b9g9100q.js} +8 -8
- package/dist/chunks/{pty-7ac170kv.js → command-bajakh74.js} +4 -4
- package/dist/chunks/{pty-r3p3phz8.js → command-bbzxkx14.js} +32 -32
- package/dist/chunks/{pty-gns6rj52.js → command-ber7v889.js} +8 -8
- package/dist/chunks/{pty-rjnqjvjb.js → command-bja92bag.js} +18 -18
- package/dist/chunks/{pty-hh3pbsjs.js → command-bxvsvvek.js} +14 -14
- package/dist/chunks/{pty-bz85s9hh.js → command-bz85s9hh.js} +1 -1
- package/dist/chunks/{pty-3m13cm4e.js → command-c18bwgtt.js} +25 -25
- package/dist/chunks/{pty-9j2e64em.js → command-c492wyyq.js} +7 -7
- package/dist/chunks/{pty-kcpq4mkg.js → command-c89895qa.js} +20 -20
- package/dist/chunks/{pty-40cvr20j.js → command-ca6m86r2.js} +13 -13
- package/dist/chunks/{pty-mjymc32g.js → command-cavr175a.js} +4 -4
- package/dist/chunks/{pty-m0jqrx5p.js → command-cfpkc3c9.js} +2 -2
- package/dist/chunks/{pty-tc37dsfn.js → command-cnkwk6vd.js} +13 -13
- package/dist/chunks/{pty-9172rkmk.js → command-cq2x0peb.js} +4 -4
- package/dist/chunks/{pty-yx4zy76q.js → command-cy3cnjq8.js} +4 -4
- package/dist/chunks/{pty-q97sgnf3.js → command-cykmh698.js} +12 -12
- package/dist/chunks/{pty-0v4tm5rw.js → command-d1sy02nx.js} +37 -37
- package/dist/chunks/{pty-rx2s3z3c.js → command-d24a1m55.js} +14 -14
- package/dist/chunks/{pty-0bn9wq69.js → command-dfzezczs.js} +1 -1
- package/dist/chunks/{pty-z8av1v4k.js → command-dmajge55.js} +22 -22
- package/dist/chunks/{pty-xfkkasph.js → command-drwq78ky.js} +4 -4
- package/dist/chunks/{pty-mh29eyjv.js → command-dsk9gyby.js} +6 -6
- package/dist/chunks/{pty-q5rhn9x0.js → command-dy775f0c.js} +11 -11
- package/dist/chunks/{pty-x9h4gx6t.js → command-e01edj6k.js} +28 -28
- package/dist/chunks/{pty-4a9jgtk8.js → command-e2a7kn3r.js} +21 -21
- package/dist/chunks/{pty-cddb4mff.js → command-e3bagrz8.js} +3 -3
- package/dist/chunks/{pty-71w766xh.js → command-ecywet7n.js} +30 -30
- package/dist/chunks/{pty-m733xxny.js → command-eeq2162a.js} +83 -83
- package/dist/chunks/{pty-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-pyymvkzv.js → command-ek5xzf05.js} +24 -24
- package/dist/chunks/{pty-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-fbtpmqp8.js → command-ez8ghmhr.js} +6 -6
- package/dist/chunks/{pty-s7k5x4g9.js → command-f6jpff70.js} +16 -16
- package/dist/chunks/{pty-hdnk95c8.js → command-f828m53h.js} +2 -2
- package/dist/chunks/{pty-11dqjexa.js → command-fdms3n6w.js} +2 -2
- package/dist/chunks/{pty-g8d3gcyj.js → command-fdv30zvt.js} +4 -4
- package/dist/chunks/{pty-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-ag7cc6ae.js → command-fza673sd.js} +8 -8
- package/dist/chunks/{pty-tdhe5xga.js → command-g8jasmdt.js} +8 -8
- package/dist/chunks/{pty-f3chkn2v.js → command-g97kwpg6.js} +42 -42
- package/dist/chunks/command-gbadjzag.js +4 -0
- package/dist/chunks/{pty-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-dmje0bsk.js → command-gfcakcdp.js} +3 -3
- package/dist/chunks/{pty-w3tj97cz.js → command-ghzty3dd.js} +23 -23
- package/dist/chunks/{pty-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-jwn5qy9f.js → command-gw8w5vjt.js} +28 -28
- package/dist/chunks/{pty-h03wrkyp.js → command-h03wrkyp.js} +2 -2
- package/dist/chunks/{pty-b8tjeqry.js → command-h0jpty9f.js} +11 -11
- package/dist/chunks/{pty-z4jy6304.js → command-h3kwk8y9.js} +7 -7
- package/dist/chunks/{pty-ph20cxtq.js → command-h5m7e0fe.js} +9 -9
- package/dist/chunks/{pty-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-pjx857cd.js → command-h9ammvhv.js} +22 -22
- package/dist/chunks/{pty-j2bad2st.js → command-h9r75fxg.js} +1 -1
- package/dist/chunks/{pty-935t04zr.js → command-ha607pgt.js} +6 -6
- package/dist/chunks/{pty-dhw9tk05.js → command-hatahbqr.js} +25 -25
- package/dist/chunks/{pty-ykprmxnv.js → command-hjm0k3fp.js} +2 -2
- package/dist/chunks/{pty-6y3v0yak.js → command-hy1f76q1.js} +4 -4
- package/dist/chunks/{pty-2gdwawmb.js → command-j4d74nk7.js} +37 -37
- package/dist/chunks/{pty-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-ckxk042a.js → command-j7qr8k9e.js} +11 -11
- package/dist/chunks/{pty-jppvw2tx.js → command-jppvw2tx.js} +2 -2
- package/dist/chunks/{pty-v88sgxh0.js → command-jv9wq4h1.js} +6 -6
- package/dist/chunks/{pty-z8mhsqtq.js → command-k6zsgamj.js} +8 -8
- package/dist/chunks/{pty-ywspvke4.js → command-kfep38wt.js} +32 -32
- package/dist/chunks/{pty-dxrx5bve.js → command-khnzgmt2.js} +24 -24
- package/dist/chunks/{pty-4st5ggns.js → command-km6ktv04.js} +6 -6
- package/dist/chunks/{pty-44ke2mar.js → command-knb7evpn.js} +2 -2
- package/dist/chunks/{pty-v1h7jmyp.js → command-kwqsq9eb.js} +1 -1
- package/dist/chunks/{pty-a3r4dcrj.js → command-ky3seynh.js} +2 -2
- package/dist/chunks/{pty-qfk7wg4g.js → command-kzm1fy32.js} +17 -17
- package/dist/chunks/{pty-ntcnr6d2.js → command-m728j35j.js} +10 -10
- package/dist/chunks/{pty-syqyze50.js → command-m8hf639e.js} +8 -8
- package/dist/chunks/{pty-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-r72bb3g5.js → command-mrwc1hpc.js} +6 -6
- package/dist/chunks/{pty-1s7za8r8.js → command-mx4gtjsx.js} +18 -18
- package/dist/chunks/{pty-18hqe85b.js → command-n2jgbhgk.js} +8 -8
- package/dist/chunks/{pty-pddgv2bp.js → command-n8fcz8br.js} +5 -5
- package/dist/chunks/{pty-bhvqp75t.js → command-n9gqnw48.js} +26 -26
- package/dist/chunks/{pty-a5tya8df.js → command-nwkv3axv.js} +8 -8
- package/dist/chunks/{pty-mrk7h3sm.js → command-p04t4jyd.js} +5 -5
- package/dist/chunks/{pty-5vfe9zkh.js → command-p5t2wdxk.js} +11 -11
- package/dist/chunks/{pty-v0af3wsg.js → command-p7kdkvkh.js} +22 -22
- package/dist/chunks/{pty-qncn4jq9.js → command-pb15jk6q.js} +19 -19
- package/dist/chunks/{pty-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-850skrb0.js → command-pka3f0bn.js} +23 -23
- package/dist/chunks/{pty-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{pty-8bjgc9mz.js → command-q1hc292q.js} +11 -11
- package/dist/chunks/{pty-dhmh7aw6.js → command-q5asdkn4.js} +4 -4
- package/dist/chunks/{pty-71506k9g.js → command-q68zbz63.js} +12 -12
- package/dist/chunks/{pty-0p9dtxs1.js → command-qa89xvga.js} +43 -43
- package/dist/chunks/{pty-fj0bt93f.js → command-qhvr2jea.js} +4 -4
- package/dist/chunks/{pty-qqs6wgn3.js → command-qj8dptrs.js} +48 -48
- package/dist/chunks/{pty-zyr9wvqd.js → command-qnga3n65.js} +12 -12
- package/dist/chunks/{pty-nb2s3qfq.js → command-qnt9sasj.js} +5 -5
- package/dist/chunks/{pty-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-2sejkfem.js → command-r2m716tb.js} +9 -9
- package/dist/chunks/{pty-e3yfb1af.js → command-r7fwjr8e.js} +47 -47
- package/dist/chunks/{pty-vfy19pwe.js → command-rc7jd0ep.js} +14 -14
- package/dist/chunks/{pty-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-nq7qbqzc.js → command-rhafb4aa.js} +9 -9
- package/dist/chunks/{pty-xr777zyz.js → command-rqr91q1p.js} +24 -24
- package/dist/chunks/{pty-k6ed90aj.js → command-rqz3bkzt.js} +8 -8
- package/dist/chunks/{pty-0zz4rd6y.js → command-rre36xp5.js} +13 -13
- package/dist/chunks/{pty-2y0fysv8.js → command-s57hh4xa.js} +60 -60
- package/dist/chunks/{pty-3c3dzs67.js → command-s86fxarf.js} +17 -17
- package/dist/chunks/{pty-jy9pcjq0.js → command-seydkqn5.js} +11 -11
- package/dist/chunks/{pty-63wpvyg5.js → command-sgve36kw.js} +131 -131
- package/dist/chunks/{pty-3ythc6yv.js → command-shh6fz4q.js} +4 -4
- package/dist/chunks/{pty-ps02k4bp.js → command-sj80jspt.js} +35 -35
- package/dist/chunks/{pty-p9rg9ssf.js → command-stnkqxxq.js} +10 -10
- package/dist/chunks/{pty-27pm8xwp.js → command-t23rfjnq.js} +6 -6
- package/dist/chunks/{pty-s8d7rejh.js → command-t550f9t1.js} +4 -4
- package/dist/chunks/{pty-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-emvra4z4.js → command-tbvzjzzt.js} +41 -41
- package/dist/chunks/{pty-89znhe33.js → command-tcezcvh9.js} +4 -4
- package/dist/chunks/{pty-1frb376n.js → command-tcy8tav0.js} +8 -8
- package/dist/chunks/{pty-b7eb1kpf.js → command-td2jtkpf.js} +16 -16
- package/dist/chunks/{pty-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{pty-t04gerxp.js → command-tfdat96q.js} +9 -9
- package/dist/chunks/{pty-3a958b5j.js → command-tk1ghjnq.js} +3 -3
- package/dist/chunks/{pty-3r43kab8.js → command-tqxxrrwb.js} +30 -30
- package/dist/chunks/{pty-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-3ekjvzbw.js → command-v10a7mjz.js} +26 -26
- package/dist/chunks/{pty-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-wtpgbvbt.js → command-vry016k2.js} +14 -14
- package/dist/chunks/{pty-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-zgqa5fck.js → command-vzjsab6x.js} +11 -11
- package/dist/chunks/{pty-zr15egg9.js → command-w2xdsg80.js} +16 -16
- package/dist/chunks/{pty-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-bbbg5gcy.js → command-w9037jm3.js} +31 -31
- package/dist/chunks/{pty-9fday5he.js → command-wbhg106y.js} +18 -18
- package/dist/chunks/{pty-yx6bawja.js → command-wd5s8d9s.js} +34 -34
- package/dist/chunks/{pty-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{pty-q9nw0fkx.js → command-wevghkec.js} +24 -24
- package/dist/chunks/{pty-xnwnz12t.js → command-wmnva1mv.js} +3 -3
- package/dist/chunks/{pty-4wp66bzr.js → command-wmqsncpr.js} +12 -12
- package/dist/chunks/{pty-6kqz0sw2.js → command-wpsghzwe.js} +18 -18
- package/dist/chunks/{pty-2497c3gb.js → command-wpxh4773.js} +27 -27
- package/dist/chunks/{pty-s8bmxf4b.js → command-wtvb9gzx.js} +9 -9
- package/dist/chunks/{pty-ybhbtxjg.js → command-wxffcvth.js} +3 -3
- package/dist/chunks/{pty-hemqm6a0.js → command-x0dfaghg.js} +13 -13
- package/dist/chunks/{pty-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-972ydv8n.js → command-xd79hgjq.js} +17 -17
- package/dist/chunks/{pty-vmgmz9ta.js → command-xf7eefbk.js} +9 -9
- package/dist/chunks/{pty-tn7fkxn8.js → command-xmzstg3h.js} +7 -7
- package/dist/chunks/{pty-qvzt4t8k.js → command-xnq8y3wp.js} +8 -8
- package/dist/chunks/{pty-qybw96f7.js → command-xw6050bm.js} +14 -14
- package/dist/chunks/{pty-jexxy024.js → command-xxynqx5z.js} +2 -2
- package/dist/chunks/{pty-bv3ar4t8.js → command-y10xyzsy.js} +3 -3
- package/dist/chunks/{pty-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-dpkg50ah.js → command-y71avatq.js} +4 -4
- package/dist/chunks/{pty-3b1q5j1v.js → command-y8nmaz64.js} +6 -6
- package/dist/chunks/{pty-wz87yraf.js → command-yaf95dqt.js} +11 -11
- package/dist/chunks/{pty-qjnxxf51.js → command-yjptyezs.js} +5 -5
- package/dist/chunks/{pty-1acjjqhc.js → command-yp2x3t23.js} +4 -4
- package/dist/chunks/{pty-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-yrznvahk.js → command-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-2h71m0y1.js → command-ytvz0vpx.js} +21 -21
- package/dist/chunks/{pty-w1ad28wa.js → command-yy3gmdz3.js} +8 -8
- package/dist/chunks/{pty-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-z63w68vq.js → command-z63w68vq.js} +2 -2
- package/dist/chunks/{pty-fbbqv6gz.js → command-z9kmesag.js} +46 -46
- package/dist/chunks/{pty-97mj29ww.js → command-zam46q7w.js} +11 -11
- package/dist/chunks/{pty-g02dc5pq.js → command-zch60zmd.js} +11 -11
- package/dist/chunks/{pty-bh4tknr0.js → command-zeays675.js} +17 -17
- package/dist/chunks/{pty-zeh9ct20.js → command-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-1qxk71h7.js → command-zgsp9d7f.js} +31 -31
- package/dist/chunks/{pty-rkdvqggb.js → command-zk8c4w5t.js} +5 -5
- package/dist/chunks/{pty-hkcbg3z4.js → command-zmnepbn3.js} +7 -7
- package/dist/chunks/{pty-hp2jeqkr.js → command-zr1jw1p3.js} +23 -23
- package/dist/chunks/{pty-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-pqp3n84c.js → command-zveb96hb.js} +31 -31
- package/dist/chunks/{pty-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- 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 +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- 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 +87 -87
- package/dist/config/plugin/location-watcher.js +122 -122
- 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 +125 -125
- 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 +78 -78
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- 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 +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- 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 +355 -355
- package/dist/instruction-discovery.js +84 -84
- 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 +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +124 -124
- 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 +97 -97
- 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 +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- 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/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +327 -327
- 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 +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +2 -2
- 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 +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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +150 -150
- 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 +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- 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 +117 -117
- package/dist/session/model-transport.js +9 -9
- 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 +1 -1
- 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 +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +105 -105
- 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 +15 -15
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/pty-1tm0r3ht.js +0 -4
- package/dist/chunks/pty-b8vveb32.js +0 -247
- package/dist/chunks/pty-vnkjks7b.js +0 -18
- /package/dist/chunks/{pty-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → command-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./command-tbvzjzzt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./command-53tjwt9g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin23,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin23 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service43;
|
|
28
|
+
const mcp = yield* Service30;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin23, register2, exports_mcp2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-162dzd26.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service78,
|
|
11
11
|
node82
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-at45qxm4.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID13,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
18
|
+
Service70,
|
|
19
|
+
node74,
|
|
20
|
+
Event16
|
|
21
|
+
} from "./command-pka3f0bn.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/model.ts
|
|
27
27
|
var exports_model2 = {};
|
|
@@ -29,24 +29,24 @@ __export(exports_model2, {
|
|
|
29
29
|
Capabilities: () => Capabilities2,
|
|
30
30
|
Compatibility: () => Compatibility2,
|
|
31
31
|
Cost: () => Cost2,
|
|
32
|
-
Event: () =>
|
|
32
|
+
Event: () => Event15,
|
|
33
33
|
Family: () => Family2,
|
|
34
34
|
ID: () => ID12,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info25,
|
|
36
36
|
Model: () => exports_model2,
|
|
37
37
|
ReasoningField: () => ReasoningField2,
|
|
38
38
|
Ref: () => Ref2,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service69,
|
|
40
40
|
VariantID: () => VariantID2,
|
|
41
41
|
compatibility: () => compatibility2,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node73,
|
|
43
43
|
parse: () => parse5
|
|
44
44
|
});
|
|
45
45
|
import { Model } from "@opencode/schema/model";
|
|
46
46
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
47
47
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
48
48
|
import { freeze } from "immer";
|
|
49
|
-
import { Event as
|
|
49
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
50
50
|
var ID12 = Model.ID;
|
|
51
51
|
var VariantID2 = Model.VariantID;
|
|
52
52
|
var Family2 = Model.Family;
|
|
@@ -55,12 +55,12 @@ var Compatibility2 = Model.Compatibility;
|
|
|
55
55
|
var Capabilities2 = Model.Capabilities;
|
|
56
56
|
var Cost2 = Model.Cost;
|
|
57
57
|
var Ref2 = Model.Ref;
|
|
58
|
-
var
|
|
58
|
+
var Info25 = Model.Info;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service69 extends Context.Service()("@opencode/Model") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const providers = yield*
|
|
62
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
63
|
+
const providers = yield* Service70;
|
|
64
64
|
const bus = yield* Service81;
|
|
65
65
|
const location = yield* Service78;
|
|
66
66
|
let input;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
107
107
|
const models = writable(providerID);
|
|
108
108
|
if (!models)
|
|
109
109
|
return;
|
|
110
|
-
const model = draft(providerID, modelID) ??
|
|
110
|
+
const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
|
|
111
111
|
update(model);
|
|
112
112
|
model.id = modelID;
|
|
113
113
|
model.providerID = providerID;
|
|
@@ -198,8 +198,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
198
198
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
199
199
|
});
|
|
200
200
|
});
|
|
201
|
-
yield* bus.subscribe(
|
|
202
|
-
return
|
|
201
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
202
|
+
return Service69.of({
|
|
203
203
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
204
204
|
reload,
|
|
205
205
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
218
218
|
})
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
|
-
var
|
|
221
|
+
var node73 = makeLocationNode({ service: Service69, layer, deps: [node74, node85, node82] });
|
|
222
222
|
function compatibility2(input) {
|
|
223
223
|
if (typeof input === "string")
|
|
224
224
|
return { reasoningField: input };
|
|
@@ -234,4 +234,4 @@ function parse5(input) {
|
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2,
|
|
237
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info25, Service69, node73, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-gfcakcdp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./command-9r15s34d.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-1x11rq2a.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-06dxphr1.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-2ehyz9hr.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-bbzxkx14.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service20
|
|
21
|
+
} from "./command-4jv5ref6.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service56;
|
|
36
36
|
const database = yield* Service82;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service20;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./command-h9ammvhv.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service78
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-at45qxm4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service43
|
|
12
|
+
} from "./command-tbvzjzzt.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./command-ek5xzf05.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./command-rhafb4aa.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-3h2szgxz.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill2 = {};
|
|
30
|
+
__export(exports_skill2, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
+
Plugin: () => Plugin25
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin25 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service43;
|
|
43
|
+
const discovery = yield* Service8;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service78;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service44;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin38 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin38 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source3.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin38 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source3.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin38 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source3.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin38 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin25, exports_skill2 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-8phwd4yj.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service67,
|
|
17
|
+
node70
|
|
18
|
+
} from "./command-h5m7e0fe.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service65,
|
|
21
|
+
node68
|
|
22
|
+
} from "./command-9y0w708y.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service31,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node34
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service31 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service65;
|
|
58
|
+
const image = yield* Service67;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service31.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -264,10 +264,10 @@ function namespaceError(name) {
|
|
|
264
264
|
return;
|
|
265
265
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
266
266
|
}
|
|
267
|
-
var
|
|
268
|
-
service:
|
|
267
|
+
var node34 = makeLocationNode({
|
|
268
|
+
service: Service31,
|
|
269
269
|
layer,
|
|
270
|
-
deps: [
|
|
270
|
+
deps: [node68, node70]
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
export { RegistrationError2,
|
|
273
|
+
export { RegistrationError2, Service31, node34, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service78
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-at45qxm4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service42
|
|
12
|
+
} from "./command-7hj3xbrc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service41
|
|
15
|
+
} from "./command-3pzavtjr.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry2
|
|
21
|
+
} from "./command-467dymen.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service61
|
|
24
|
+
} from "./command-kfep38wt.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service50
|
|
27
|
+
} from "./command-6xmmm4dq.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input2,
|
|
37
|
+
Output: () => Output2,
|
|
38
|
+
Plugin: () => Plugin35,
|
|
39
|
+
name: () => name2,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name2 = "glob";
|
|
46
|
+
var Input2 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input11 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output2 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin35 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
69
|
+
const environment = yield* Service42;
|
|
70
|
+
const ripgrep = yield* Service41;
|
|
71
71
|
const location = yield* Service78;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service50;
|
|
73
|
+
const permission = yield* Service61;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name2,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input2,
|
|
79
|
+
output: Output2,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name2,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,18 +111,18 @@ var Plugin27 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry2.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name2, Input2, Output2, toModelContent2, Plugin35, exports_glob };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./command-tbvzjzzt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./command-h5m7e0fe.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service43;
|
|
26
|
+
const image = yield* Service67;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin34 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin30, exports_image };
|