@opencode-ai/core 0.0.0-dev-18996 → 0.0.0-dev-18997
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 +2 -2
- package/dist/agent.js +70 -70
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +68 -68
- package/dist/catalog.js +78 -78
- package/dist/chunks/{ripgrep-0ag03ecw.js → tool-0ag03ecw.js} +2 -2
- package/dist/chunks/{ripgrep-atjngknp.js → tool-0c8rkv63.js} +14 -14
- package/dist/chunks/{ripgrep-wf7qa8th.js → tool-0gghny7y.js} +32 -32
- package/dist/chunks/{ripgrep-0gpahtwn.js → tool-0gpahtwn.js} +2 -2
- package/dist/chunks/{ripgrep-tqxs68gv.js → tool-0nfjz3rr.js} +2 -2
- package/dist/chunks/{ripgrep-0pc4kdn1.js → tool-0pc4kdn1.js} +2 -2
- package/dist/chunks/{ripgrep-0rz7yd7x.js → tool-0rz7yd7x.js} +1 -1
- package/dist/chunks/{ripgrep-136c8mz3.js → tool-136c8mz3.js} +3 -3
- package/dist/chunks/{ripgrep-xfb3hekn.js → tool-1p2haxa4.js} +3 -3
- package/dist/chunks/{ripgrep-0k9nzm2b.js → tool-1ww32adf.js} +1 -1
- package/dist/chunks/{ripgrep-zeb4e4mh.js → tool-25fav9bx.js} +9 -9
- package/dist/chunks/{ripgrep-264e1nfp.js → tool-264e1nfp.js} +2 -2
- package/dist/chunks/{ripgrep-bpfy940g.js → tool-2f626ajh.js} +15 -15
- package/dist/chunks/{ripgrep-2qq12ds3.js → tool-2qq12ds3.js} +3 -3
- package/dist/chunks/{ripgrep-2sqw2jjm.js → tool-2sqw2jjm.js} +3 -3
- package/dist/chunks/tool-2xs53ass.js +60 -0
- package/dist/chunks/{ripgrep-326j4s6w.js → tool-326j4s6w.js} +2 -2
- package/dist/chunks/{ripgrep-efn363sp.js → tool-37azw53r.js} +6 -6
- package/dist/chunks/{ripgrep-3chx3ng6.js → tool-3chx3ng6.js} +1 -1
- package/dist/chunks/{ripgrep-3ebhgms6.js → tool-3ebhgms6.js} +3 -3
- package/dist/chunks/{ripgrep-3ep0k87g.js → tool-3ep0k87g.js} +3 -3
- package/dist/chunks/{ripgrep-e4rnwfqe.js → tool-3hvzrfwf.js} +12 -12
- package/dist/chunks/{ripgrep-4nrcq5vt.js → tool-3jp0syc9.js} +6 -6
- package/dist/chunks/{ripgrep-3mc1hhwa.js → tool-3mc1hhwa.js} +3 -3
- package/dist/chunks/{ripgrep-3tg0cqem.js → tool-3tg0cqem.js} +1 -1
- package/dist/chunks/{ripgrep-vhkhv7ha.js → tool-3wn72n86.js} +10 -10
- package/dist/chunks/{ripgrep-wwxjq9x9.js → tool-3yy738vv.js} +3 -3
- package/dist/chunks/{ripgrep-dyey9v3v.js → tool-40y7w7y5.js} +3 -3
- package/dist/chunks/{ripgrep-42zyazrq.js → tool-42zyazrq.js} +1 -1
- package/dist/chunks/{ripgrep-6jdfsyr2.js → tool-46jpz8tn.js} +3 -3
- package/dist/chunks/{ripgrep-wwrr5shm.js → tool-4c3h8rfq.js} +14 -14
- package/dist/chunks/{ripgrep-9drvf8c1.js → tool-4gw4mpvn.js} +10 -10
- package/dist/chunks/{ripgrep-xp2hc80t.js → tool-4r2v7xfb.js} +154 -154
- package/dist/chunks/{ripgrep-mb2awe6b.js → tool-4rf36tc3.js} +2 -2
- package/dist/chunks/{ripgrep-4v6g3p22.js → tool-4v6g3p22.js} +1 -1
- package/dist/chunks/{ripgrep-4w0ckvbq.js → tool-4w0ckvbq.js} +3 -3
- package/dist/chunks/{ripgrep-4813mzx7.js → tool-508x366r.js} +15 -15
- package/dist/chunks/{ripgrep-gwf84xen.js → tool-50cw7zvb.js} +7 -7
- package/dist/chunks/{ripgrep-51t2tyks.js → tool-51t2tyks.js} +1 -1
- package/dist/chunks/{ripgrep-53jxjgr1.js → tool-53jxjgr1.js} +2 -2
- package/dist/chunks/{ripgrep-5b6jrtgb.js → tool-5dcaydx4.js} +5 -5
- package/dist/chunks/{ripgrep-5vbk082d.js → tool-5vbk082d.js} +2 -2
- package/dist/chunks/{ripgrep-hx0tezfe.js → tool-5vm0jdj9.js} +3 -3
- package/dist/chunks/{ripgrep-5y5kqjze.js → tool-5y5kqjze.js} +1 -1
- package/dist/chunks/{ripgrep-zhgrncgb.js → tool-616gr0wx.js} +6 -6
- package/dist/chunks/{ripgrep-ahm1gs7p.js → tool-663y5b2v.js} +46 -46
- package/dist/chunks/{ripgrep-66mds5ht.js → tool-66mds5ht.js} +1 -1
- package/dist/chunks/{ripgrep-68yag814.js → tool-68yag814.js} +1 -1
- package/dist/chunks/{ripgrep-6a909wmz.js → tool-6a909wmz.js} +2 -2
- package/dist/chunks/{ripgrep-6bxzghb6.js → tool-6bxzghb6.js} +1 -1
- package/dist/chunks/{ripgrep-qcaarv0w.js → tool-6d38fja3.js} +3 -3
- package/dist/chunks/{ripgrep-6hppa3xw.js → tool-6hppa3xw.js} +2 -2
- package/dist/chunks/{ripgrep-rrkfeyc1.js → tool-6qjj0m4q.js} +2 -2
- package/dist/chunks/{ripgrep-6vbv4je1.js → tool-6vbv4je1.js} +2 -2
- package/dist/chunks/{ripgrep-6wsfy4sp.js → tool-6wsfy4sp.js} +2 -2
- package/dist/chunks/{ripgrep-x8am67v7.js → tool-6xm7tcj7.js} +5 -5
- package/dist/chunks/{ripgrep-qmrak919.js → tool-70ncp6c1.js} +2 -2
- package/dist/chunks/{ripgrep-fxrdvbnx.js → tool-73ax3jaa.js} +11 -11
- package/dist/chunks/{ripgrep-rv98m6px.js → tool-74jeqw11.js} +7 -7
- package/dist/chunks/{ripgrep-htbe5bs0.js → tool-77rwgypr.js} +3 -3
- package/dist/chunks/{ripgrep-4kq0p860.js → tool-7jh3zw7n.js} +9 -9
- package/dist/chunks/{ripgrep-7myqjfx6.js → tool-7myqjfx6.js} +1 -1
- package/dist/chunks/{ripgrep-yjwdjfj0.js → tool-7prkhz8c.js} +2 -2
- package/dist/chunks/{ripgrep-45m9a5g1.js → tool-818edp32.js} +3 -3
- package/dist/chunks/{ripgrep-89ttfx5q.js → tool-89ttfx5q.js} +2 -2
- package/dist/chunks/{ripgrep-8ezmrsyj.js → tool-8ezmrsyj.js} +2 -2
- package/dist/chunks/{ripgrep-8manx9kj.js → tool-8manx9kj.js} +2 -2
- package/dist/chunks/{ripgrep-8y5vxhk7.js → tool-8y5vxhk7.js} +1 -1
- package/dist/chunks/{ripgrep-41d795jd.js → tool-90rbcqcr.js} +3 -3
- package/dist/chunks/{ripgrep-sdqd1mry.js → tool-92633kvy.js} +14 -14
- package/dist/chunks/{ripgrep-176r80k9.js → tool-99fm67tp.js} +4 -4
- package/dist/chunks/{ripgrep-9dbv6hqn.js → tool-9dbv6hqn.js} +2 -2
- package/dist/chunks/{ripgrep-kq4y4q06.js → tool-9h62k39y.js} +8 -8
- package/dist/chunks/{ripgrep-b9trhhvr.js → tool-9nbt8589.js} +3 -3
- package/dist/chunks/{ripgrep-67sywna6.js → tool-9rs6v63p.js} +7 -7
- package/dist/chunks/{ripgrep-1vgf3wjd.js → tool-a4hjy20a.js} +2 -2
- package/dist/chunks/{ripgrep-a6xqkezx.js → tool-a6xqkezx.js} +1 -1
- package/dist/chunks/{ripgrep-8eq730r7.js → tool-a70nwf1w.js} +6 -6
- package/dist/chunks/{ripgrep-f2qsavyc.js → tool-ab67dm2x.js} +15 -15
- package/dist/chunks/{ripgrep-af42tqdk.js → tool-af42tqdk.js} +2 -2
- package/dist/chunks/{ripgrep-wsbjcg82.js → tool-apabp85x.js} +3 -3
- package/dist/chunks/{ripgrep-tahaaga8.js → tool-aq4dtsxs.js} +6 -6
- package/dist/chunks/{ripgrep-ax34jjm3.js → tool-ax34jjm3.js} +7 -7
- package/dist/chunks/{ripgrep-2fjxe68a.js → tool-b3sesy6f.js} +6 -6
- package/dist/chunks/{ripgrep-sccqa5z4.js → tool-badkz0rm.js} +4 -4
- package/dist/chunks/{ripgrep-frq6e54n.js → tool-bbk505sh.js} +3 -3
- package/dist/chunks/{ripgrep-bd2mvb8t.js → tool-bd2mvb8t.js} +2 -2
- package/dist/chunks/{ripgrep-bnha4c96.js → tool-bnha4c96.js} +1 -1
- package/dist/chunks/{ripgrep-rvnd2zv0.js → tool-brppcdrr.js} +17 -17
- package/dist/chunks/{ripgrep-d6j9mvbe.js → tool-bsrgnv1f.js} +20 -20
- package/dist/chunks/{ripgrep-c54e84vp.js → tool-c54e84vp.js} +1 -1
- package/dist/chunks/{ripgrep-c55cgmsp.js → tool-c55cgmsp.js} +2 -2
- package/dist/chunks/{ripgrep-jthx6vab.js → tool-c5hk7zmf.js} +3 -3
- package/dist/chunks/{ripgrep-c8ya26sa.js → tool-c8ya26sa.js} +2 -2
- package/dist/chunks/{ripgrep-9nm8b6kv.js → tool-ccarkha1.js} +8 -8
- package/dist/chunks/{ripgrep-ckcq38kt.js → tool-ckcq38kt.js} +2 -2
- package/dist/chunks/{ripgrep-m7fy7rpx.js → tool-cnynrzx4.js} +4 -4
- package/dist/chunks/{ripgrep-9rvxagkh.js → tool-czxbt01h.js} +12 -12
- package/dist/chunks/{ripgrep-vdd0vmdz.js → tool-d18jsb5c.js} +5 -5
- package/dist/chunks/{ripgrep-d4h7vwhh.js → tool-d4h7vwhh.js} +2 -2
- package/dist/chunks/{ripgrep-t3xqfdz2.js → tool-da9pshct.js} +4 -4
- package/dist/chunks/{ripgrep-yxp17607.js → tool-daxrepdy.js} +10 -10
- package/dist/chunks/{ripgrep-hzf0n5qk.js → tool-ddntx4xg.js} +8 -8
- package/dist/chunks/{ripgrep-dexm22yg.js → tool-dexm22yg.js} +1 -1
- package/dist/chunks/{ripgrep-8mwfkgaw.js → tool-dkxhp46v.js} +2 -2
- package/dist/chunks/{ripgrep-vcjhsp7r.js → tool-dpkgw5cr.js} +6 -6
- package/dist/chunks/{ripgrep-x5xqe005.js → tool-drthn2kr.js} +3 -3
- package/dist/chunks/{ripgrep-dtm6fkaa.js → tool-dtm6fkaa.js} +2 -2
- package/dist/chunks/{ripgrep-dyhtrhy2.js → tool-dyhtrhy2.js} +1 -1
- package/dist/chunks/{ripgrep-dyrfpcd0.js → tool-dyrfpcd0.js} +1 -1
- package/dist/chunks/{ripgrep-e0n16vwa.js → tool-e0n16vwa.js} +2 -2
- package/dist/chunks/{ripgrep-tja8j2y8.js → tool-e5vshg0r.js} +5 -5
- package/dist/chunks/{ripgrep-fespahpz.js → tool-e60f453f.js} +9 -9
- package/dist/chunks/{ripgrep-eb87q0yv.js → tool-eb87q0yv.js} +1 -1
- package/dist/chunks/{ripgrep-zp28t7yk.js → tool-ec64mz3c.js} +5 -5
- package/dist/chunks/{ripgrep-edxnhgvj.js → tool-edxnhgvj.js} +1 -1
- package/dist/chunks/{ripgrep-esv5q40e.js → tool-esv5q40e.js} +1 -1
- package/dist/chunks/{ripgrep-etbnsc4s.js → tool-etbnsc4s.js} +2 -2
- package/dist/chunks/{ripgrep-ew2f4d89.js → tool-ew2f4d89.js} +4 -4
- package/dist/chunks/{ripgrep-mxffryfq.js → tool-ewn5wgp5.js} +9 -9
- package/dist/chunks/{ripgrep-z3hrqy8a.js → tool-ez77pq1q.js} +6 -6
- package/dist/chunks/{ripgrep-f2nhxfjt.js → tool-f2nhxfjt.js} +2 -2
- package/dist/chunks/{ripgrep-qd0brsh5.js → tool-f4tf29yz.js} +6 -6
- package/dist/chunks/{ripgrep-f8wvq04h.js → tool-f8wvq04h.js} +1 -1
- package/dist/chunks/{ripgrep-nfapca2z.js → tool-f9pzv4b8.js} +6 -6
- package/dist/chunks/{ripgrep-sm0e6bhy.js → tool-fcf17szs.js} +9 -9
- package/dist/chunks/{ripgrep-7a8bc6ht.js → tool-fmnxesf9.js} +3 -3
- package/dist/chunks/{ripgrep-9t1038ec.js → tool-fptaf3g7.js} +4 -4
- package/dist/chunks/{ripgrep-fqehnn9p.js → tool-fqehnn9p.js} +2 -2
- package/dist/chunks/{ripgrep-dv0zj7fk.js → tool-fsf5ya72.js} +15 -15
- package/dist/chunks/{ripgrep-c3g5fj2q.js → tool-g3t8m43p.js} +4 -4
- package/dist/chunks/{ripgrep-g9dd0fv6.js → tool-g9dd0fv6.js} +2 -2
- package/dist/chunks/{ripgrep-gb1z7yet.js → tool-gb1z7yet.js} +2 -2
- package/dist/chunks/{ripgrep-gc513wew.js → tool-gc513wew.js} +2 -2
- package/dist/chunks/{ripgrep-grfz4hhj.js → tool-grfz4hhj.js} +1 -1
- package/dist/chunks/{ripgrep-10qptxgd.js → tool-gt0macb5.js} +7 -7
- package/dist/chunks/{ripgrep-tszp4ekj.js → tool-gvkb6rm5.js} +8 -8
- package/dist/chunks/{ripgrep-h01zxzks.js → tool-h01zxzks.js} +4 -4
- package/dist/chunks/{ripgrep-9dj5pd8q.js → tool-h27g7z9n.js} +6 -6
- package/dist/chunks/{ripgrep-zqyywcy3.js → tool-h33qqm2d.js} +6 -6
- package/dist/chunks/{ripgrep-2333dmwb.js → tool-h5s94ycx.js} +5 -5
- package/dist/chunks/{ripgrep-1v0hf2gy.js → tool-h658vgf0.js} +2 -2
- package/dist/chunks/{ripgrep-6r7rsav3.js → tool-hcgt9g2n.js} +7 -7
- package/dist/chunks/{ripgrep-hgr9y616.js → tool-hgr9y616.js} +1 -1
- package/dist/chunks/{ripgrep-hpkeh7wf.js → tool-hpkeh7wf.js} +1 -1
- package/dist/chunks/{ripgrep-hs51b0fc.js → tool-hs51b0fc.js} +1 -1
- package/dist/chunks/{ripgrep-htmhxvv7.js → tool-htmhxvv7.js} +1 -1
- package/dist/chunks/{ripgrep-hvydqsq5.js → tool-hvydqsq5.js} +2 -2
- package/dist/chunks/{ripgrep-7ezxv4af.js → tool-hx02dr4w.js} +8 -8
- package/dist/chunks/{ripgrep-hy5n5jcn.js → tool-hy5n5jcn.js} +1 -1
- package/dist/chunks/{ripgrep-hzag9ake.js → tool-hzag9ake.js} +1 -1
- package/dist/chunks/{ripgrep-hzwx8p6y.js → tool-hzwx8p6y.js} +1 -1
- package/dist/chunks/{ripgrep-j0feex7e.js → tool-j0feex7e.js} +1 -1
- package/dist/chunks/{ripgrep-ybsjjmsq.js → tool-j0kyxvzn.js} +5 -5
- package/dist/chunks/{ripgrep-sbkc0v7s.js → tool-j0xxj63r.js} +3 -3
- package/dist/chunks/{ripgrep-mje6sx4a.js → tool-j6t4k458.js} +3 -3
- package/dist/chunks/{ripgrep-jar52fmb.js → tool-jar52fmb.js} +3 -3
- package/dist/chunks/{ripgrep-2bewv4ey.js → tool-jm9phj6a.js} +4 -4
- package/dist/chunks/{ripgrep-jqhp3fpz.js → tool-jqhp3fpz.js} +2 -2
- package/dist/chunks/{ripgrep-jr5m26np.js → tool-jr5m26np.js} +2 -2
- package/dist/chunks/{ripgrep-dce1bfc5.js → tool-jtb3ap05.js} +3 -3
- package/dist/chunks/{ripgrep-m6z66k75.js → tool-jtf0askg.js} +12 -12
- package/dist/chunks/{ripgrep-aav32bqa.js → tool-k25tjeqa.js} +6 -6
- package/dist/chunks/{ripgrep-1605kbke.js → tool-k3vrnyvn.js} +10 -10
- package/dist/chunks/{ripgrep-sambg1c9.js → tool-k40cej42.js} +48 -82
- package/dist/chunks/{ripgrep-k7hkdbw5.js → tool-k7hkdbw5.js} +2 -2
- package/dist/chunks/{ripgrep-kq3q54gz.js → tool-kq3q54gz.js} +1 -1
- package/dist/chunks/{ripgrep-kr9vgar1.js → tool-kr9vgar1.js} +1 -1
- package/dist/chunks/{ripgrep-m3k5wttq.js → tool-m3k5wttq.js} +4 -4
- package/dist/chunks/{ripgrep-m6a7zjhr.js → tool-m6a7zjhr.js} +1 -1
- package/dist/chunks/{ripgrep-y6e40hgk.js → tool-m6vttwnx.js} +3 -3
- package/dist/chunks/{ripgrep-m7jtgrng.js → tool-m7jtgrng.js} +2 -2
- package/dist/chunks/{ripgrep-c04gxx5z.js → tool-mcw6znb6.js} +13 -13
- package/dist/chunks/{ripgrep-5e8ys0c7.js → tool-mdxpzq8y.js} +5 -5
- package/dist/chunks/{ripgrep-7ek5ab74.js → tool-me4w3m8w.js} +9 -9
- package/dist/chunks/{ripgrep-mf0hyk7z.js → tool-mf0hyk7z.js} +1 -1
- package/dist/chunks/{ripgrep-mnyszbxc.js → tool-mnyszbxc.js} +1 -1
- package/dist/chunks/{ripgrep-wp8tr8ms.js → tool-mrpetabh.js} +3 -3
- package/dist/chunks/{ripgrep-ps9q8yy6.js → tool-mthy27mn.js} +15 -15
- package/dist/chunks/{ripgrep-mv81kt5z.js → tool-mv81kt5z.js} +2 -2
- package/dist/chunks/{ripgrep-my53s247.js → tool-my53s247.js} +1 -1
- package/dist/chunks/{ripgrep-ngzr6ypz.js → tool-ngzr6ypz.js} +2 -2
- package/dist/chunks/{ripgrep-nj6yqve1.js → tool-nj6yqve1.js} +2 -2
- package/dist/chunks/{ripgrep-nn16cgj7.js → tool-nn16cgj7.js} +1 -1
- package/dist/chunks/{ripgrep-wkkdha61.js → tool-np34kqfp.js} +4 -4
- package/dist/chunks/{ripgrep-ntev5d3k.js → tool-ntev5d3k.js} +3 -3
- package/dist/chunks/{ripgrep-823mpfpr.js → tool-nwh26h91.js} +10 -10
- package/dist/chunks/{ripgrep-0ctqd7et.js → tool-nxapxav8.js} +89 -89
- package/dist/chunks/{ripgrep-nz4de5b9.js → tool-nz4de5b9.js} +2 -2
- package/dist/chunks/{ripgrep-6xrrragk.js → tool-nznb1f3s.js} +2 -2
- package/dist/chunks/{ripgrep-p1m5qwvv.js → tool-p1m5qwvv.js} +1 -1
- package/dist/chunks/{ripgrep-p5gyct0y.js → tool-p5gyct0y.js} +1 -1
- package/dist/chunks/{ripgrep-g7t4cvrk.js → tool-pa6hb770.js} +4 -4
- package/dist/chunks/{ripgrep-dx5fmh73.js → tool-pe87s3se.js} +4 -4
- package/dist/chunks/{ripgrep-pk53j7qk.js → tool-pk53j7qk.js} +2 -2
- package/dist/chunks/{ripgrep-qtt1f7yf.js → tool-ptbm9ajw.js} +3 -3
- package/dist/chunks/{ripgrep-pves38xm.js → tool-pves38xm.js} +2 -2
- package/dist/chunks/{ripgrep-w21dct3k.js → tool-pwpvykev.js} +2 -2
- package/dist/chunks/{ripgrep-rceqa8d3.js → tool-px5fy12z.js} +7 -7
- package/dist/chunks/{ripgrep-r233xqmw.js → tool-pyz6rhr3.js} +5 -5
- package/dist/chunks/{ripgrep-0cq705ny.js → tool-q336c04d.js} +4 -4
- package/dist/chunks/{ripgrep-q606pcse.js → tool-q606pcse.js} +3 -3
- package/dist/chunks/{ripgrep-7t97kqrb.js → tool-qer0405w.js} +13 -13
- package/dist/chunks/{ripgrep-qf52r0wh.js → tool-qf52r0wh.js} +1 -1
- package/dist/chunks/{ripgrep-qfvp8zq7.js → tool-qfvp8zq7.js} +1 -1
- package/dist/chunks/{ripgrep-r9by2sg5.js → tool-qjpvd1qs.js} +6 -6
- package/dist/chunks/{ripgrep-3h1nn0sm.js → tool-qp5964mq.js} +2 -2
- package/dist/chunks/{ripgrep-04mr1kbv.js → tool-qpgxn38t.js} +5 -5
- package/dist/chunks/{ripgrep-qpxzqy01.js → tool-qpxzqy01.js} +1 -1
- package/dist/chunks/{ripgrep-qz5gwjr7.js → tool-qz5gwjr7.js} +3 -3
- package/dist/chunks/{ripgrep-r7a2r1m6.js → tool-r7a2r1m6.js} +2 -2
- package/dist/chunks/{ripgrep-r7z6wjth.js → tool-r7z6wjth.js} +1 -1
- package/dist/chunks/{ripgrep-efmaen3j.js → tool-r8wd8cb4.js} +3 -3
- package/dist/chunks/{ripgrep-r9d3d23r.js → tool-r9d3d23r.js} +1 -1
- package/dist/chunks/{ripgrep-rahat93a.js → tool-rahat93a.js} +1 -1
- package/dist/chunks/{ripgrep-y22ty55w.js → tool-rdngsam9.js} +7 -7
- package/dist/chunks/{ripgrep-d3aavq7p.js → tool-rj2hrzkv.js} +6 -6
- package/dist/chunks/{ripgrep-rr7wbarq.js → tool-rr7wbarq.js} +1 -1
- package/dist/chunks/{ripgrep-xrg02cqv.js → tool-rrd4ayzv.js} +6 -6
- package/dist/chunks/{ripgrep-mjnk038r.js → tool-rtxdyk4f.js} +5 -5
- package/dist/chunks/{ripgrep-2ax5kna0.js → tool-rtyam51d.js} +90 -90
- package/dist/chunks/{ripgrep-d3pb9ng0.js → tool-rwmdkmy6.js} +31 -31
- package/dist/chunks/{ripgrep-zz1t6cbp.js → tool-s0yna8ad.js} +3 -3
- package/dist/chunks/{ripgrep-s32nnj3r.js → tool-s32nnj3r.js} +1 -1
- package/dist/chunks/{ripgrep-1xp8c85c.js → tool-s4z3e42m.js} +8 -8
- package/dist/chunks/{ripgrep-h5svndmb.js → tool-sr8qhg83.js} +4 -4
- package/dist/chunks/{ripgrep-n11y4gaa.js → tool-sres5v6v.js} +5 -5
- package/dist/chunks/{ripgrep-jqfxjn4p.js → tool-szxt6w20.js} +4 -4
- package/dist/chunks/{ripgrep-ep55bdjp.js → tool-t4td4sde.js} +6 -6
- package/dist/chunks/{ripgrep-rwbt5kzd.js → tool-t8qsdtcd.js} +6 -6
- package/dist/chunks/tool-t9t544b9.js +38 -0
- package/dist/chunks/{ripgrep-wzvrbapk.js → tool-tajp0x9e.js} +24 -24
- package/dist/chunks/{ripgrep-1591vnw2.js → tool-trh83sx0.js} +11 -11
- package/dist/chunks/{ripgrep-yeh7g5xv.js → tool-v1fq06zy.js} +10 -10
- package/dist/chunks/{ripgrep-ge9z9saj.js → tool-v5wnykcn.js} +53 -53
- package/dist/chunks/{ripgrep-aqq7me5d.js → tool-v9qxqszp.js} +35 -27
- package/dist/chunks/{ripgrep-h7beqx7k.js → tool-v9rtp9t2.js} +4 -4
- package/dist/chunks/{ripgrep-vcwr2vpf.js → tool-vcwr2vpf.js} +1 -1
- package/dist/chunks/{ripgrep-q6p39g4j.js → tool-vd4vcx3n.js} +4 -4
- package/dist/chunks/{ripgrep-w8p7mghm.js → tool-vdcxn2x1.js} +61 -61
- package/dist/chunks/{ripgrep-rn1msgkv.js → tool-vg7fmanw.js} +9 -9
- package/dist/chunks/{ripgrep-hsx0srpf.js → tool-vpmnhrx5.js} +5 -5
- package/dist/chunks/{ripgrep-vynk8zbr.js → tool-vynk8zbr.js} +1 -1
- package/dist/chunks/{ripgrep-zpd0pxmk.js → tool-vywzpx0v.js} +10 -10
- package/dist/chunks/{ripgrep-zmtc2baj.js → tool-w3kfyrcx.js} +7 -7
- package/dist/chunks/{ripgrep-2eecv6wa.js → tool-w4fj57b9.js} +5 -5
- package/dist/chunks/{ripgrep-w5r9s7kx.js → tool-w5r9s7kx.js} +1 -1
- package/dist/chunks/{ripgrep-wbkt8qpj.js → tool-wbkt8qpj.js} +1 -1
- package/dist/chunks/{ripgrep-aby2dfns.js → tool-wd6r93kv.js} +7 -7
- package/dist/chunks/{ripgrep-wdqva41w.js → tool-wdqva41w.js} +1 -1
- package/dist/chunks/{ripgrep-wf5w4wph.js → tool-wf5w4wph.js} +1 -1
- package/dist/chunks/{ripgrep-wmxdh12w.js → tool-wmxdh12w.js} +1 -1
- package/dist/chunks/{ripgrep-qgz5v5bm.js → tool-wwwzeg61.js} +4 -4
- package/dist/chunks/{ripgrep-x3vb5b1t.js → tool-x3vb5b1t.js} +1 -1
- package/dist/chunks/{ripgrep-x4az4y7r.js → tool-x4az4y7r.js} +1 -1
- package/dist/chunks/{ripgrep-xdb88cdw.js → tool-xdb88cdw.js} +2 -2
- package/dist/chunks/{ripgrep-xe02v0q7.js → tool-xe02v0q7.js} +2 -2
- package/dist/chunks/{ripgrep-fa3txzxh.js → tool-xfj0mmd5.js} +8 -8
- package/dist/chunks/{ripgrep-nbjh3vz7.js → tool-xrvqwh20.js} +5 -5
- package/dist/chunks/{ripgrep-veda7ekx.js → tool-xtbbxnjj.js} +12 -12
- package/dist/chunks/{ripgrep-xws7arpm.js → tool-xws7arpm.js} +1 -1
- package/dist/chunks/{ripgrep-y515mbwq.js → tool-yx3tv32e.js} +7 -7
- package/dist/chunks/{ripgrep-w440ffk4.js → tool-z5tgxg9q.js} +18 -18
- package/dist/chunks/{ripgrep-9s8k2xje.js → tool-z68w9j5j.js} +10 -10
- package/dist/chunks/{ripgrep-z8c1ty6e.js → tool-z8c1ty6e.js} +1 -1
- package/dist/chunks/{ripgrep-5s33ctyn.js → tool-z9anvdnc.js} +4 -4
- package/dist/chunks/{ripgrep-zbqqnp0n.js → tool-zbqqnp0n.js} +1 -1
- package/dist/chunks/{ripgrep-zr1qjpg2.js → tool-zm8cj3b6.js} +9 -9
- package/dist/chunks/{ripgrep-zmbmd7xf.js → tool-zmbmd7xf.js} +2 -2
- package/dist/chunks/{ripgrep-zn935gjz.js → tool-zn935gjz.js} +1 -1
- package/dist/chunks/{ripgrep-zseh86v1.js → tool-zseh86v1.js} +2 -2
- package/dist/chunks/{ripgrep-zyyhrfr9.js → tool-zyyhrfr9.js} +1 -1
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +4 -4
- package/dist/command.js +70 -70
- package/dist/config/discovery.js +88 -0
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +129 -127
- package/dist/config/plugin/command.js +115 -113
- package/dist/config/plugin/compaction.js +168 -166
- package/dist/config/plugin/entry-observer.js +111 -109
- package/dist/config/plugin/formatter.js +116 -114
- package/dist/config/plugin/image.js +128 -126
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -112
- package/dist/config/plugin/mcp.js +124 -122
- package/dist/config/plugin/policy.js +113 -111
- package/dist/config/plugin/provider.js +112 -110
- package/dist/config/plugin/reference.js +116 -114
- package/dist/config/plugin/shell.js +115 -113
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +132 -130
- package/dist/config/plugin/snapshot.js +114 -112
- package/dist/config/plugin/source.js +112 -110
- package/dist/config/plugin/tool-output.js +116 -114
- package/dist/config/plugin/websearch.js +112 -110
- package/dist/config/variable.js +4 -4
- package/dist/config/watch.js +9 -0
- package/dist/config.js +110 -108
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -71
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
- package/dist/database/drizzle/effect-sqlite/index.js +13 -13
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +14 -14
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +21 -21
- package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle.js +15 -15
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +2 -2
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +344 -342
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +86 -86
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +86 -86
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +87 -87
- package/dist/file-retention.js +2 -2
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- 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 +3 -3
- package/dist/filesystem/location-watcher.js +219 -217
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +91 -91
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +92 -92
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +80 -80
- package/dist/generate.js +84 -84
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +18 -18
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +94 -94
- package/dist/image.js +94 -94
- package/dist/instance/service.js +2 -2
- package/dist/instance.js +343 -341
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +75 -75
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +80 -80
- package/dist/location-mutation.js +79 -79
- package/dist/location-service-map.js +79 -79
- package/dist/location-services.js +344 -342
- package/dist/location.js +78 -78
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +93 -93
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +81 -81
- package/dist/model.js +3 -3
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +71 -71
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +95 -95
- package/dist/persistent-pty/binary.bun.js +2 -2
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/binary.workerd.js +1 -1
- package/dist/persistent-pty/daemon.js +2 -2
- package/dist/persistent-pty/index.js +73 -73
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +216 -214
- package/dist/plugin/instance.js +2 -2
- package/dist/plugin/internal.js +315 -313
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +3 -3
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +2 -2
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +120 -118
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -117
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +116 -114
- package/dist/plugin/provider/dynamic.js +3 -3
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +82 -82
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +117 -115
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +117 -115
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +77 -77
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +4 -4
- package/dist/plugin/provider/sdk-factory.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +117 -115
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +156 -154
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +2 -2
- package/dist/plugin/skill.js +129 -127
- package/dist/plugin/source-directory.js +2 -2
- package/dist/plugin/supervisor.js +330 -328
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/update.js +3 -3
- package/dist/plugin/variant.js +3 -3
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -109
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +217 -215
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +77 -77
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +2 -2
- package/dist/pty.js +84 -84
- package/dist/reference/instructions.js +80 -80
- package/dist/reference.js +78 -78
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +89 -89
- package/dist/rpc.js +79 -79
- package/dist/schema.js +2 -2
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +150 -150
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +210 -208
- package/dist/session/execution.js +117 -117
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +77 -77
- package/dist/session/inbox.js +77 -77
- package/dist/session/info.js +4 -4
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +89 -89
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +134 -134
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +80 -80
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +115 -115
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +84 -84
- package/dist/session/runner/llm.js +226 -224
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +72 -72
- package/dist/session/runner/step.js +143 -143
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/session.js +173 -171
- package/dist/session/shell.js +132 -130
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +6 -6
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +79 -79
- package/dist/session/subagent-completion.js +2 -2
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +211 -209
- package/dist/session/usage.js +2 -2
- package/dist/session.js +207 -205
- package/dist/shell/parse.js +7 -7
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/result.js +2 -2
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +129 -127
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +97 -97
- package/dist/skill.js +96 -96
- package/dist/snapshot.js +80 -80
- package/dist/state.js +2 -2
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +108 -108
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +111 -111
- package/dist/tool/plugin/grep.js +111 -111
- package/dist/tool/plugin/opencode.js +2 -2
- package/dist/tool/plugin/patch.js +108 -108
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +114 -114
- package/dist/tool/plugin/shell.js +210 -208
- package/dist/tool/plugin/skill.js +97 -97
- package/dist/tool/plugin/subagent.js +209 -207
- package/dist/tool/plugin/webfetch.js +98 -98
- package/dist/tool/plugin/websearch.js +100 -100
- package/dist/tool/plugin/write.js +108 -108
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +114 -114
- package/dist/types/config/discovery.d.ts +35 -0
- package/dist/types/config/watch.d.ts +11 -0
- package/dist/types/filesystem/watcher.d.ts +19 -17
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +81 -81
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +72 -72
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +69 -69
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +82 -82
- package/package.json +7 -7
- /package/dist/chunks/{ripgrep-0cgt0xh2.js → tool-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{ripgrep-0f48qthw.js → tool-0f48qthw.js} +0 -0
- /package/dist/chunks/{ripgrep-0zz82cjq.js → tool-0zz82cjq.js} +0 -0
- /package/dist/chunks/{ripgrep-1fb7bmpf.js → tool-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{ripgrep-1wcz8fvj.js → tool-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{ripgrep-29n7vfk2.js → tool-29n7vfk2.js} +0 -0
- /package/dist/chunks/{ripgrep-2qdx6zz3.js → tool-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{ripgrep-2xb0r1c6.js → tool-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{ripgrep-39ktntah.js → tool-39ktntah.js} +0 -0
- /package/dist/chunks/{ripgrep-3g3rpp2x.js → tool-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{ripgrep-3w3ybtfd.js → tool-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{ripgrep-47ty4mvs.js → tool-47ty4mvs.js} +0 -0
- /package/dist/chunks/{ripgrep-4b2tz2m9.js → tool-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{ripgrep-5a5ch9ts.js → tool-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{ripgrep-5va1yh78.js → tool-5va1yh78.js} +0 -0
- /package/dist/chunks/{ripgrep-61ek4hj9.js → tool-61ek4hj9.js} +0 -0
- /package/dist/chunks/{ripgrep-69qrqpw0.js → tool-69qrqpw0.js} +0 -0
- /package/dist/chunks/{ripgrep-6zqxzw0a.js → tool-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{ripgrep-7n9qwqk4.js → tool-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{ripgrep-8nn8kqcn.js → tool-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{ripgrep-8rpfd2h6.js → tool-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{ripgrep-8sj3ajy5.js → tool-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{ripgrep-8w9tzfz1.js → tool-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{ripgrep-906y0b6d.js → tool-906y0b6d.js} +0 -0
- /package/dist/chunks/{ripgrep-9dct5xhx.js → tool-9dct5xhx.js} +0 -0
- /package/dist/chunks/{ripgrep-9maxscqf.js → tool-9maxscqf.js} +0 -0
- /package/dist/chunks/{ripgrep-9sdtsapf.js → tool-9sdtsapf.js} +0 -0
- /package/dist/chunks/{ripgrep-a02svayp.js → tool-a02svayp.js} +0 -0
- /package/dist/chunks/{ripgrep-a83yvq99.js → tool-a83yvq99.js} +0 -0
- /package/dist/chunks/{ripgrep-ayevdmef.js → tool-ayevdmef.js} +0 -0
- /package/dist/chunks/{ripgrep-b02txbh8.js → tool-b02txbh8.js} +0 -0
- /package/dist/chunks/{ripgrep-bbqs2y60.js → tool-bbqs2y60.js} +0 -0
- /package/dist/chunks/{ripgrep-bjwj8hwv.js → tool-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{ripgrep-brsh5f65.js → tool-brsh5f65.js} +0 -0
- /package/dist/chunks/{ripgrep-bxdhjb3y.js → tool-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{ripgrep-bybkghrn.js → tool-bybkghrn.js} +0 -0
- /package/dist/chunks/{ripgrep-c77ad0vh.js → tool-c77ad0vh.js} +0 -0
- /package/dist/chunks/{ripgrep-cm67rqy2.js → tool-cm67rqy2.js} +0 -0
- /package/dist/chunks/{ripgrep-df3v2q6j.js → tool-df3v2q6j.js} +0 -0
- /package/dist/chunks/{ripgrep-dhcq6c44.js → tool-dhcq6c44.js} +0 -0
- /package/dist/chunks/{ripgrep-dht5baf0.js → tool-dht5baf0.js} +0 -0
- /package/dist/chunks/{ripgrep-dkmkay92.js → tool-dkmkay92.js} +0 -0
- /package/dist/chunks/{ripgrep-ehj9csmv.js → tool-ehj9csmv.js} +0 -0
- /package/dist/chunks/{ripgrep-em6xpscd.js → tool-em6xpscd.js} +0 -0
- /package/dist/chunks/{ripgrep-emmqknsm.js → tool-emmqknsm.js} +0 -0
- /package/dist/chunks/{ripgrep-ezs3tagn.js → tool-ezs3tagn.js} +0 -0
- /package/dist/chunks/{ripgrep-f14r7hfz.js → tool-f14r7hfz.js} +0 -0
- /package/dist/chunks/{ripgrep-f1jj19e8.js → tool-f1jj19e8.js} +0 -0
- /package/dist/chunks/{ripgrep-f4cp4g4a.js → tool-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{ripgrep-faypg4r1.js → tool-faypg4r1.js} +0 -0
- /package/dist/chunks/{ripgrep-fg7fz4q3.js → tool-fg7fz4q3.js} +0 -0
- /package/dist/chunks/{ripgrep-fgbfdq62.js → tool-fgbfdq62.js} +0 -0
- /package/dist/chunks/{ripgrep-g23fad86.js → tool-g23fad86.js} +0 -0
- /package/dist/chunks/{ripgrep-gd5xeqc2.js → tool-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{ripgrep-ghm4673n.js → tool-ghm4673n.js} +0 -0
- /package/dist/chunks/{ripgrep-ghwjy7my.js → tool-ghwjy7my.js} +0 -0
- /package/dist/chunks/{ripgrep-gy500k2r.js → tool-gy500k2r.js} +0 -0
- /package/dist/chunks/{ripgrep-hzeg9cfr.js → tool-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{ripgrep-j07kk359.js → tool-j07kk359.js} +0 -0
- /package/dist/chunks/{ripgrep-jqms80b0.js → tool-jqms80b0.js} +0 -0
- /package/dist/chunks/{ripgrep-jve7t217.js → tool-jve7t217.js} +0 -0
- /package/dist/chunks/{ripgrep-k3e42drn.js → tool-k3e42drn.js} +0 -0
- /package/dist/chunks/{ripgrep-k8b45nas.js → tool-k8b45nas.js} +0 -0
- /package/dist/chunks/{ripgrep-kpdbz7gn.js → tool-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{ripgrep-kxy11nzk.js → tool-kxy11nzk.js} +0 -0
- /package/dist/chunks/{ripgrep-kyyqvx4s.js → tool-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{ripgrep-m8cbvarh.js → tool-m8cbvarh.js} +0 -0
- /package/dist/chunks/{ripgrep-ma60vzgv.js → tool-ma60vzgv.js} +0 -0
- /package/dist/chunks/{ripgrep-n3m50c2t.js → tool-n3m50c2t.js} +0 -0
- /package/dist/chunks/{ripgrep-nkm1m8dz.js → tool-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{ripgrep-nsc0c3zb.js → tool-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{ripgrep-qaarhjrp.js → tool-qaarhjrp.js} +0 -0
- /package/dist/chunks/{ripgrep-qc167nrn.js → tool-qc167nrn.js} +0 -0
- /package/dist/chunks/{ripgrep-qp95y4jb.js → tool-qp95y4jb.js} +0 -0
- /package/dist/chunks/{ripgrep-r8f4w671.js → tool-r8f4w671.js} +0 -0
- /package/dist/chunks/{ripgrep-rdfev9jy.js → tool-rdfev9jy.js} +0 -0
- /package/dist/chunks/{ripgrep-s7whb9gt.js → tool-s7whb9gt.js} +0 -0
- /package/dist/chunks/{ripgrep-se76j685.js → tool-se76j685.js} +0 -0
- /package/dist/chunks/{ripgrep-sem2g21k.js → tool-sem2g21k.js} +0 -0
- /package/dist/chunks/{ripgrep-snpn6bap.js → tool-snpn6bap.js} +0 -0
- /package/dist/chunks/{ripgrep-sp575ygv.js → tool-sp575ygv.js} +0 -0
- /package/dist/chunks/{ripgrep-tmb1f636.js → tool-tmb1f636.js} +0 -0
- /package/dist/chunks/{ripgrep-ttxf0gsy.js → tool-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{ripgrep-tvmhrvfj.js → tool-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{ripgrep-v2adqbbe.js → tool-v2adqbbe.js} +0 -0
- /package/dist/chunks/{ripgrep-vac9eqd2.js → tool-vac9eqd2.js} +0 -0
- /package/dist/chunks/{ripgrep-vpjkya7h.js → tool-vpjkya7h.js} +0 -0
- /package/dist/chunks/{ripgrep-wj4sxzqa.js → tool-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{ripgrep-wwntjmk1.js → tool-wwntjmk1.js} +0 -0
- /package/dist/chunks/{ripgrep-wyqjaaa5.js → tool-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{ripgrep-x4q807cx.js → tool-x4q807cx.js} +0 -0
- /package/dist/chunks/{ripgrep-yrqrg4vp.js → tool-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{ripgrep-z47nswr2.js → tool-z47nswr2.js} +0 -0
- /package/dist/chunks/{ripgrep-zsf8rs93.js → tool-zsf8rs93.js} +0 -0
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
exports_variable
|
|
3
|
+
} from "./tool-6vbv4je1.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_discovery
|
|
6
|
+
} from "./tool-2xs53ass.js";
|
|
7
|
+
import {
|
|
8
|
+
exports_watch
|
|
9
|
+
} from "./tool-t9t544b9.js";
|
|
4
10
|
import {
|
|
5
11
|
exports_normalize
|
|
6
|
-
} from "./
|
|
12
|
+
} from "./tool-z5tgxg9q.js";
|
|
7
13
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
14
|
+
exports_watcher
|
|
15
|
+
} from "./tool-v9qxqszp.js";
|
|
10
16
|
import {
|
|
11
17
|
exports_wellknown
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
exports_credential
|
|
15
|
-
} from "./ripgrep-5s33ctyn.js";
|
|
18
|
+
} from "./tool-9nbt8589.js";
|
|
16
19
|
import {
|
|
17
20
|
exports_location
|
|
18
|
-
} from "./
|
|
21
|
+
} from "./tool-7prkhz8c.js";
|
|
19
22
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
23
|
+
exports_credential
|
|
24
|
+
} from "./tool-z9anvdnc.js";
|
|
22
25
|
import {
|
|
23
26
|
AbsolutePath
|
|
24
|
-
} from "./
|
|
27
|
+
} from "./tool-j07kk359.js";
|
|
28
|
+
import {
|
|
29
|
+
exports_bus
|
|
30
|
+
} from "./tool-k25tjeqa.js";
|
|
25
31
|
import {
|
|
26
32
|
__export
|
|
27
|
-
} from "./
|
|
33
|
+
} from "./tool-vpjkya7h.js";
|
|
28
34
|
|
|
29
35
|
// src/config.ts
|
|
30
36
|
var exports_config = {};
|
|
@@ -43,7 +49,7 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
43
49
|
import path from "path";
|
|
44
50
|
import { isDeepStrictEqual } from "node:util";
|
|
45
51
|
import { parse } from "jsonc-parser";
|
|
46
|
-
import { Context, Effect, Layer, Option, PubSub, Ref, Schema, Semaphore, Stream } from "effect";
|
|
52
|
+
import { Context, Effect, FiberMap, Layer, Option, PubSub, Ref, Schema, Semaphore, Stream } from "effect";
|
|
47
53
|
import {
|
|
48
54
|
AgentsDirectory,
|
|
49
55
|
ClaudeDirectory,
|
|
@@ -82,15 +88,12 @@ var testLayer = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
82
88
|
}));
|
|
83
89
|
var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
84
90
|
const fs = yield* FSUtil.Service;
|
|
85
|
-
const global = yield* Global.Service;
|
|
86
91
|
const location = yield* exports_location.Service;
|
|
87
92
|
const watcher = yield* exports_watcher.Service;
|
|
88
93
|
const bus = yield* exports_bus.Service;
|
|
89
94
|
const credentials = yield* exports_credential.Service;
|
|
90
95
|
const wellknown = yield* exports_wellknown.Service;
|
|
91
|
-
const names = ["opencode.json", "opencode.jsonc"];
|
|
92
96
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
93
|
-
const fileTargets = new Set;
|
|
94
97
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
95
98
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
96
99
|
const parseInfo = Effect.fn("Config.parseInfo")(function* (text, source) {
|
|
@@ -157,56 +160,25 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
157
160
|
});
|
|
158
161
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
159
162
|
return [
|
|
160
|
-
...yield* Effect.forEach(names, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs2) => configs2.filter((config) => config !== undefined))),
|
|
163
|
+
...yield* Effect.forEach(exports_discovery.names, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs2) => configs2.filter((config) => config !== undefined))),
|
|
161
164
|
new Directory({ type: "directory", path: directory })
|
|
162
165
|
];
|
|
163
166
|
});
|
|
164
|
-
const
|
|
165
|
-
const
|
|
166
|
-
const
|
|
167
|
-
const globalClaudeDirectory = AbsolutePath.make(path.join(global.home, ".claude"));
|
|
168
|
-
const globalRoots = yield* Effect.forEach([globalDirectory, globalClaudeDirectory, globalAgentsDirectory], (item) => fs.resolve(item));
|
|
169
|
-
const locationIsGlobal = (yield* fs.resolve(location.directory)) === globalRoots[0];
|
|
170
|
-
const discovered = locationIsGlobal || options?.project === false ? [] : yield* fs.up({
|
|
171
|
-
targets: [".opencode", ".claude", ".agents", ...names.toReversed()],
|
|
172
|
-
start: location.directory
|
|
173
|
-
}).pipe(Effect.flatMap((items) => Effect.forEach(items, (item) => fs.resolve(item).pipe(Effect.map((resolved) => ({ item, resolved }))))), Effect.orDie);
|
|
174
|
-
const globalEnabled = options?.global !== false;
|
|
175
|
-
const globalFiles = yield* Effect.forEach(names, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
176
|
-
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
177
|
-
const claude = [
|
|
178
|
-
...new Set([
|
|
179
|
-
...globalEnabled && (yield* fs.isDir(globalClaudeDirectory)) ? [globalClaudeDirectory] : [],
|
|
180
|
-
...visible.filter((item) => path.basename(item) === ".claude").toReversed()
|
|
181
|
-
])
|
|
182
|
-
].map((directory) => new ClaudeDirectory({ type: "claude", path: AbsolutePath.make(directory) }));
|
|
183
|
-
const agents = [
|
|
184
|
-
...new Set([
|
|
185
|
-
...globalEnabled && (yield* fs.isDir(globalAgentsDirectory)) ? [globalAgentsDirectory] : [],
|
|
186
|
-
...visible.filter((item) => path.basename(item) === ".agents").toReversed()
|
|
187
|
-
])
|
|
188
|
-
].map((directory) => new AgentsDirectory({ type: "agents", path: AbsolutePath.make(directory) }));
|
|
189
|
-
const projectDirectories = visible.filter((item) => path.basename(item) === ".opencode").toReversed().map((directory) => AbsolutePath.make(directory));
|
|
190
|
-
const directPaths = visible.filter((item) => ![".agents", ".claude", ".opencode"].includes(path.basename(item))).toReversed();
|
|
191
|
-
fileTargets.clear();
|
|
192
|
-
directPaths.forEach((filepath) => fileTargets.add(AbsolutePath.make(filepath)));
|
|
193
|
-
const direct = yield* Effect.forEach(directPaths, (filepath) => loadFile(filepath)).pipe(Effect.orDie, Effect.map((entries) => entries.filter((entry) => entry !== undefined)));
|
|
194
|
-
const file = options?.file;
|
|
195
|
-
if (file)
|
|
196
|
-
fileTargets.add(AbsolutePath.make(path.resolve(file)));
|
|
197
|
-
const explicit = file ? yield* loadFile(path.resolve(file)).pipe(Effect.map((config) => config ? [config] : []), Effect.orDie) : [];
|
|
167
|
+
const load = Effect.fn("Config.load")(function* (sources) {
|
|
168
|
+
const direct = yield* Effect.forEach(sources.direct, (filepath) => loadFile(filepath)).pipe(Effect.orDie, Effect.map((entries) => entries.filter((entry) => entry !== undefined)));
|
|
169
|
+
const explicit = sources.explicit ? yield* loadFile(sources.explicit).pipe(Effect.map((config) => config ? [config] : []), Effect.orDie) : [];
|
|
198
170
|
const content = options?.content !== undefined ? yield* exports_variable.substitute({
|
|
199
171
|
type: "virtual",
|
|
200
172
|
source: "OPENCODE_CONFIG_CONTENT",
|
|
201
173
|
dir: location.directory,
|
|
202
174
|
text: options.content
|
|
203
175
|
}).pipe(Effect.flatMap((text) => parseInfo(text, "OPENCODE_CONFIG_CONTENT")), Effect.map((info) => info ? [new Document({ type: "document", info })] : []), Effect.orDie) : [];
|
|
204
|
-
const globalSupplementary =
|
|
205
|
-
const projectSupplementary = yield* Effect.forEach(
|
|
176
|
+
const globalSupplementary = sources.global ? yield* loadDirectory(sources.global).pipe(Effect.orDie) : [];
|
|
177
|
+
const projectSupplementary = yield* Effect.forEach(sources.project.filter((root) => root.present), (root) => loadDirectory(root.path)).pipe(Effect.orDie, Effect.map((entries) => entries.flat()));
|
|
206
178
|
return [
|
|
207
179
|
...yield* loadWellknown().pipe(Effect.orDie),
|
|
208
|
-
...claude,
|
|
209
|
-
...agents,
|
|
180
|
+
...sources.claude.map((path2) => new ClaudeDirectory({ type: "claude", path: path2 })),
|
|
181
|
+
...sources.agents.map((path2) => new AgentsDirectory({ type: "agents", path: path2 })),
|
|
210
182
|
...globalSupplementary,
|
|
211
183
|
...explicit,
|
|
212
184
|
...direct,
|
|
@@ -214,39 +186,33 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
214
186
|
...content
|
|
215
187
|
];
|
|
216
188
|
});
|
|
217
|
-
const initial = yield* discover();
|
|
218
|
-
let configs = initial;
|
|
189
|
+
const initial = yield* exports_discovery.discover(options);
|
|
190
|
+
let configs = yield* load(initial);
|
|
219
191
|
const updates = yield* PubSub.unbounded();
|
|
220
|
-
const
|
|
221
|
-
const
|
|
222
|
-
const
|
|
223
|
-
|
|
224
|
-
const
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
];
|
|
232
|
-
for (const target of targets) {
|
|
233
|
-
const key = JSON.stringify(target);
|
|
234
|
-
if (watched.has(key))
|
|
235
|
-
continue;
|
|
236
|
-
watched.add(key);
|
|
237
|
-
const stream = yield* watcher.subscribe(target);
|
|
238
|
-
yield* stream.pipe(Stream.runForEach((update) => PubSub.publish(updates, update)), Effect.forkScoped({ startImmediately: true }));
|
|
192
|
+
const reloads = yield* PubSub.sliding(1);
|
|
193
|
+
const requestReload = PubSub.publish(reloads, undefined).pipe(Effect.asVoid);
|
|
194
|
+
const watched = yield* FiberMap.make();
|
|
195
|
+
const reconcile = Effect.fn("Config.reconcileWatches")(function* (sources) {
|
|
196
|
+
const plan = exports_watch.plan(sources);
|
|
197
|
+
for (const key of Array.from(watched, ([key2]) => key2)) {
|
|
198
|
+
if (!plan.has(key))
|
|
199
|
+
yield* FiberMap.remove(watched, key);
|
|
200
|
+
}
|
|
201
|
+
for (const [key, target] of plan) {
|
|
202
|
+
yield* watcher.subscribe(target, requestReload).pipe(Effect.flatMap(Stream.runForEach((update) => PubSub.publish(updates, update).pipe(Effect.andThen(requestReload)))), FiberMap.run(watched, key, { onlyIfMissing: true, startImmediately: true }));
|
|
239
203
|
}
|
|
240
204
|
});
|
|
241
205
|
const reload = Effect.fn("Config.reload")(function* () {
|
|
242
|
-
const
|
|
243
|
-
yield*
|
|
206
|
+
const sources = yield* exports_discovery.discover(options);
|
|
207
|
+
const next = yield* load(sources);
|
|
208
|
+
yield* reconcile(sources);
|
|
244
209
|
if (isDeepStrictEqual(configs, next))
|
|
245
210
|
return;
|
|
246
211
|
configs = next;
|
|
247
212
|
yield* bus.publish(Event.Updated, {});
|
|
248
213
|
}, (effect) => reloadLock.withPermit(effect));
|
|
249
|
-
|
|
214
|
+
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
215
|
+
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
250
216
|
yield* bus.subscribe(exports_credential.Event.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
251
217
|
yield* bus.subscribe(exports_wellknown.Event.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
252
218
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -258,7 +224,7 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
258
224
|
yield* reload();
|
|
259
225
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
260
226
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
261
|
-
yield* reconcile(initial);
|
|
227
|
+
yield* reloadLock.withPermit(reconcile(initial));
|
|
262
228
|
return Service.of({
|
|
263
229
|
entries: Effect.fnUntraced(function* () {
|
|
264
230
|
return configs;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-0zz82cjq.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-vpjkya7h.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/venice.ts
|
|
9
9
|
var VenicePlugin = createProviderPlugin({
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InstructionBlobTable,
|
|
3
3
|
InstructionStateTable
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-q606pcse.js";
|
|
5
5
|
import {
|
|
6
6
|
exports_instructions
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-c54e84vp.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionEvent
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-a83yvq99.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-vpjkya7h.js";
|
|
14
14
|
|
|
15
15
|
// src/session/instruction-state.ts
|
|
16
16
|
var exports_instruction_state = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_skill
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-99fm67tp.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_instructions
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-c54e84vp.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-vpjkya7h.js";
|
|
10
10
|
|
|
11
11
|
// src/skill/instructions.ts
|
|
12
12
|
var exports_instructions2 = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_integration
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-vpmnhrx5.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_form
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
exports_credential
|
|
9
|
-
} from "./ripgrep-5s33ctyn.js";
|
|
6
|
+
} from "./tool-4rf36tc3.js";
|
|
10
7
|
import {
|
|
11
8
|
exports_environment1 as exports_environment
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
exports_state
|
|
15
|
-
} from "./ripgrep-dyrfpcd0.js";
|
|
9
|
+
} from "./tool-hcgt9g2n.js";
|
|
16
10
|
import {
|
|
17
11
|
exports_location
|
|
18
|
-
} from "./
|
|
12
|
+
} from "./tool-7prkhz8c.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_credential
|
|
15
|
+
} from "./tool-z9anvdnc.js";
|
|
16
|
+
import {
|
|
17
|
+
exports_state
|
|
18
|
+
} from "./tool-dyrfpcd0.js";
|
|
19
19
|
import {
|
|
20
20
|
exports_bus
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-k25tjeqa.js";
|
|
22
22
|
import {
|
|
23
23
|
exports_keyed_mutex
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-66mds5ht.js";
|
|
25
25
|
import {
|
|
26
26
|
__export,
|
|
27
27
|
__require
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-vpjkya7h.js";
|
|
29
29
|
|
|
30
30
|
// src/mcp/index.ts
|
|
31
31
|
var exports_mcp = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_form
|
|
3
|
-
} from "./ripgrep-mb2awe6b.js";
|
|
4
1
|
import {
|
|
5
2
|
exports_permission
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./tool-qer0405w.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_form
|
|
6
|
+
} from "./tool-4rf36tc3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-vpjkya7h.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_usage
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-nn16cgj7.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_context
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-0gghny7y.js";
|
|
7
7
|
import {
|
|
8
8
|
llmClient
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-326j4s6w.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_store
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-xrvqwh20.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_history
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-ax34jjm3.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-a83yvq99.js";
|
|
19
19
|
import {
|
|
20
20
|
exports_bus
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-k25tjeqa.js";
|
|
22
22
|
import {
|
|
23
23
|
exports_database
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-6xm7tcj7.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-vpjkya7h.js";
|
|
28
28
|
|
|
29
29
|
// src/session/title.ts
|
|
30
30
|
var exports_title = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KVTable
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-wmxdh12w.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_database
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-6xm7tcj7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-vpjkya7h.js";
|
|
10
10
|
|
|
11
11
|
// src/kv.ts
|
|
12
12
|
var exports_kv = {};
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_parse
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-3jp0syc9.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_location_mutation
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-np34kqfp.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_session
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-663y5b2v.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_job
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-zm8cj3b6.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_permission
|
|
15
|
+
} from "./tool-qer0405w.js";
|
|
13
16
|
import {
|
|
14
17
|
exports_shell
|
|
15
|
-
} from "./
|
|
18
|
+
} from "./tool-2f626ajh.js";
|
|
16
19
|
import {
|
|
17
20
|
exports_result
|
|
18
|
-
} from "./
|
|
19
|
-
import {
|
|
20
|
-
exports_select
|
|
21
|
-
} from "./ripgrep-2qq12ds3.js";
|
|
21
|
+
} from "./tool-5y5kqjze.js";
|
|
22
22
|
import {
|
|
23
23
|
exports_config
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-k40cej42.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
exports_select
|
|
27
|
+
} from "./tool-2qq12ds3.js";
|
|
28
28
|
import {
|
|
29
29
|
exports_environment1 as exports_environment
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-hcgt9g2n.js";
|
|
31
31
|
import {
|
|
32
32
|
NonNegativeInt
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-j07kk359.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./tool-vpjkya7h.js";
|
|
37
37
|
|
|
38
38
|
// src/tool/plugin/shell.ts
|
|
39
39
|
var exports_shell2 = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_location
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-7prkhz8c.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_project
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-k3vrnyvn.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-j07kk359.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-vpjkya7h.js";
|
|
13
13
|
|
|
14
14
|
// src/location-mutation.ts
|
|
15
15
|
var exports_location_mutation = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_mcp
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-etbnsc4s.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_app
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-hs51b0fc.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-vpjkya7h.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_location_mutation
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-np34kqfp.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_filesystem
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
exports_permission
|
|
9
|
-
} from "./ripgrep-7t97kqrb.js";
|
|
6
|
+
} from "./tool-szxt6w20.js";
|
|
10
7
|
import {
|
|
11
8
|
exports_ripgrep
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./tool-fptaf3g7.js";
|
|
10
|
+
import {
|
|
11
|
+
exports_permission
|
|
12
|
+
} from "./tool-qer0405w.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_environment1 as exports_environment
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-hcgt9g2n.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_location
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-7prkhz8c.js";
|
|
19
19
|
import {
|
|
20
20
|
RelativePath
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-j07kk359.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-vpjkya7h.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/grep.ts
|
|
27
27
|
var exports_grep = {};
|