@opencode/core 0.0.0-dev-19686 → 0.0.0-dev-19688
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{location-pmr4s4kc.js → git-00z3vp5f.js} +4 -4
- package/dist/chunks/{location-hejvrh0f.js → git-0afwd2h8.js} +9 -9
- package/dist/chunks/{location-wjyt06sc.js → git-0aqy2nda.js} +26 -26
- package/dist/chunks/{location-5yernesq.js → git-0brq1vgj.js} +32 -32
- package/dist/chunks/{location-wp64hyeq.js → git-0dm9emf0.js} +15 -15
- package/dist/chunks/{location-q7qrw62a.js → git-0gwebd6g.js} +8 -8
- package/dist/chunks/{location-0jq9fyba.js → git-0jq9fyba.js} +2 -2
- package/dist/chunks/{location-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → git-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-0g6jym90.js → git-15kvcrwf.js} +15 -15
- package/dist/chunks/{location-5wpyz990.js → git-199hz2pa.js} +13 -13
- package/dist/chunks/{location-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-t1dawjzh.js → git-1gfgk62c.js} +8 -8
- package/dist/chunks/{location-py33a53q.js → git-1hhj0vvf.js} +22 -22
- package/dist/chunks/{location-x3v0mxye.js → git-1mthm0sm.js} +3 -3
- package/dist/chunks/{location-8kx0bg8y.js → git-1njp4b6c.js} +6 -6
- package/dist/chunks/{location-pf2hb43r.js → git-1s3p39g4.js} +5 -5
- package/dist/chunks/{location-a2m2wc9b.js → git-1y1dts9t.js} +11 -11
- package/dist/chunks/{location-1ygqh575.js → git-1ygqh575.js} +2 -2
- package/dist/chunks/{location-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{location-2402vzrj.js → git-2402vzrj.js} +1 -1
- package/dist/chunks/{location-h6y219ca.js → git-2459z54m.js} +25 -25
- package/dist/chunks/{location-cfr0h88y.js → git-272sk219.js} +25 -25
- package/dist/chunks/{location-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-pr3rc07j.js → git-2brx2yvj.js} +17 -17
- package/dist/chunks/{location-xrfrhdks.js → git-2g991z4q.js} +26 -26
- package/dist/chunks/{location-cpneeje0.js → git-2sejkfem.js} +9 -9
- package/dist/chunks/{location-cyfsp3wv.js → git-30480sdz.js} +13 -13
- package/dist/chunks/{location-gwfhg9zv.js → git-34edgddw.js} +18 -18
- package/dist/chunks/{location-35tmvh3j.js → git-35tmvh3j.js} +3 -3
- package/dist/chunks/{location-81qfgkv2.js → git-394bsjx6.js} +22 -22
- package/dist/chunks/{location-fwm1wfch.js → git-3f75t934.js} +15 -15
- package/dist/chunks/{location-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-5v4p7pyv.js → git-3hhky1y1.js} +22 -22
- package/dist/chunks/{location-64q882h2.js → git-3jstf9t0.js} +23 -23
- package/dist/chunks/{location-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-eqzt0dae.js → git-40h9q514.js} +5 -5
- package/dist/chunks/{location-yar33tf7.js → git-44jrjrja.js} +31 -31
- package/dist/chunks/{location-44ke2mar.js → git-44ke2mar.js} +2 -2
- package/dist/chunks/{location-gty5atak.js → git-48m2d39a.js} +8 -8
- package/dist/chunks/{location-z1e15hfs.js → git-49p1g939.js} +11 -11
- package/dist/chunks/{location-msyhx82m.js → git-4a836rf9.js} +13 -13
- package/dist/chunks/{location-4dgbcxzg.js → git-4dgbcxzg.js} +1 -1
- package/dist/chunks/{location-bx37qhk3.js → git-4n5vra8a.js} +19 -19
- package/dist/chunks/{location-af04s6ss.js → git-4phm5153.js} +5 -5
- package/dist/chunks/{location-b279e66f.js → git-4qhq8vrx.js} +7 -7
- package/dist/chunks/{location-57ez7d0k.js → git-4sn99hha.js} +7 -7
- package/dist/chunks/{location-fp4mk58e.js → git-5958kjg8.js} +27 -27
- package/dist/chunks/{location-a1bz86dw.js → git-5c4hm403.js} +3 -3
- package/dist/chunks/{location-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{location-gc70bhff.js → git-5hzjfa47.js} +18 -18
- package/dist/chunks/{location-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-dsp2whwc.js → git-5tke6q81.js} +33 -33
- package/dist/chunks/{location-tjsv0jpk.js → git-61ckr634.js} +18 -18
- package/dist/chunks/{location-d2h9na68.js → git-63x5kykb.js} +6 -6
- package/dist/chunks/{location-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{location-acm2cd52.js → git-6hknjp7s.js} +31 -31
- package/dist/chunks/{location-fpbsfvc3.js → git-6htvnf4m.js} +26 -26
- package/dist/chunks/git-6kdq0pjd.js +4 -0
- package/dist/chunks/{location-6msgmcgs.js → git-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-c8jj867k.js → git-6n4b0dsb.js} +5 -5
- package/dist/chunks/{location-tfr1qeh3.js → git-6rtfy69a.js} +11 -11
- package/dist/chunks/{location-74azehs1.js → git-6xwg4nmq.js} +12 -12
- package/dist/chunks/{location-1bbkgx8g.js → git-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-h6fk7gxt.js → git-7a5pcgfq.js} +9 -9
- package/dist/chunks/{location-vsc8sj6t.js → git-7ax8pd7e.js} +13 -13
- package/dist/chunks/{location-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-7dqw4kz8.js → git-7dqw4kz8.js} +1 -1
- package/dist/chunks/{location-dqygf0fb.js → git-7hdsxj1z.js} +2 -2
- package/dist/chunks/{location-j3rsss4t.js → git-7hyt9mtw.js} +23 -23
- package/dist/chunks/{location-rsa3r8e2.js → git-7hzkr1ps.js} +33 -33
- package/dist/chunks/{location-fx80e2z0.js → git-7nkrf797.js} +18 -18
- package/dist/chunks/{location-rs311by5.js → git-7prb58xv.js} +273 -273
- package/dist/chunks/{location-cw4sea0t.js → git-7smbwa27.js} +3 -3
- package/dist/chunks/{location-setb4p7q.js → git-7w8wyhxv.js} +7 -7
- package/dist/chunks/{location-eav5nksb.js → git-86gz9rn9.js} +36 -36
- package/dist/chunks/{location-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-ar825hn2.js → git-8esggbej.js} +22 -22
- package/dist/chunks/{location-ke78d0tt.js → git-8fwcj92t.js} +6 -6
- package/dist/chunks/{location-r685v1fg.js → git-8j88jbyt.js} +6 -6
- package/dist/chunks/{location-4b7rnnqb.js → git-8m9jqnpz.js} +86 -86
- package/dist/chunks/git-8mgf2t6a.js +26 -0
- package/dist/chunks/{location-qvb3nf84.js → git-9c3np669.js} +8 -8
- package/dist/chunks/{location-4jxd50ct.js → git-9h1nnr9t.js} +37 -37
- package/dist/chunks/{location-383bdqn6.js → git-9xp198kc.js} +12 -12
- package/dist/chunks/{location-atjpx8bb.js → git-a1j8dc6z.js} +24 -24
- package/dist/chunks/{location-6d8421km.js → git-a75jqzxp.js} +22 -22
- package/dist/chunks/{location-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{location-8q9myf25.js → git-acd4vkpt.js} +4 -4
- package/dist/chunks/{location-frj49c8h.js → git-aexx1a4j.js} +7 -7
- package/dist/chunks/{location-4pfyybdp.js → git-ah8yzjey.js} +11 -11
- package/dist/chunks/{location-54s6wecj.js → git-ahcdffg7.js} +5 -5
- package/dist/chunks/{location-t67yxjf3.js → git-ar27zvmg.js} +26 -26
- package/dist/chunks/{location-9tnhk3sw.js → git-ateq7ehh.js} +25 -25
- package/dist/chunks/{location-k3faz1zp.js → git-aww827kb.js} +15 -15
- package/dist/chunks/git-ax8fkkcf.js +247 -0
- package/dist/chunks/{location-0bvasyrh.js → git-azgsnsww.js} +6 -6
- package/dist/chunks/{location-20zwj74y.js → git-b3ybp4zh.js} +7 -7
- package/dist/chunks/{location-wfj6d4tq.js → git-b44e3v9r.js} +3 -3
- package/dist/chunks/{location-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-9sw7694m.js → git-batgxsmv.js} +30 -30
- package/dist/chunks/{location-vrz5rpz8.js → git-bayqcesh.js} +24 -24
- package/dist/chunks/{location-7j7qd4de.js → git-be9rpv02.js} +21 -21
- package/dist/chunks/{location-qjnxxf51.js → git-bgxcxs0p.js} +5 -5
- package/dist/chunks/{location-0m0tvs7x.js → git-bp02r99k.js} +4 -4
- package/dist/chunks/{location-kaqg86x3.js → git-brr2q5yt.js} +21 -21
- package/dist/chunks/{location-249fq4hk.js → git-bwt763qk.js} +8 -8
- package/dist/chunks/{location-kwk1sjzt.js → git-c80bgpwy.js} +14 -14
- package/dist/chunks/{location-6r1js6vv.js → git-c84z0q4x.js} +21 -21
- package/dist/chunks/{location-ckf8nxjz.js → git-ckf8nxjz.js} +1 -1
- package/dist/chunks/{location-fsgveznc.js → git-d4csp169.js} +5 -5
- package/dist/chunks/{location-f5bgqzgb.js → git-d87r4pgk.js} +12 -12
- package/dist/chunks/{location-2w1s74yj.js → git-ddqxtkhn.js} +19 -19
- package/dist/chunks/{location-z1cbwd81.js → git-dg7a6m6t.js} +42 -42
- package/dist/chunks/{location-8p4f9s12.js → git-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-9xvq3m7s.js → git-dj9sq318.js} +5 -5
- package/dist/chunks/{location-jn0ng521.js → git-dnftwyww.js} +41 -41
- package/dist/chunks/{location-bdjrcx3c.js → git-dz07z7ns.js} +6 -6
- package/dist/chunks/{location-znxkka7s.js → git-e0x13gky.js} +23 -23
- package/dist/chunks/{location-tnb3g43e.js → git-e1m7z51d.js} +1 -1
- package/dist/chunks/{location-vsv60gqs.js → git-e4n75zk9.js} +6 -6
- package/dist/chunks/{location-9eg4jjgq.js → git-e870zrf0.js} +5 -5
- package/dist/chunks/{location-2evyaa68.js → git-ec87kc5z.js} +4 -4
- package/dist/chunks/{location-mmggakvt.js → git-edtsms1g.js} +4 -4
- package/dist/chunks/{location-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-ycx81gtv.js → git-egy25ryw.js} +12 -12
- package/dist/chunks/{location-afy1jmxr.js → git-ekh6p2eh.js} +2 -2
- package/dist/chunks/{location-8vgbp9kc.js → git-emf92cnb.js} +9 -9
- package/dist/chunks/{location-6k70ak8m.js → git-en98q301.js} +5 -5
- package/dist/chunks/{location-q34kr2rc.js → git-endx7msf.js} +10 -10
- package/dist/chunks/{location-x6p4d2c5.js → git-es6vvgdb.js} +16 -16
- package/dist/chunks/{location-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-mqvxd9y4.js → git-ev2k3srp.js} +34 -34
- package/dist/chunks/{location-we3en8w2.js → git-evf56c6f.js} +12 -12
- package/dist/chunks/{location-fetws26q.js → git-f0mn3z3c.js} +1 -1
- package/dist/chunks/{location-hhztpha1.js → git-f559ga5b.js} +16 -16
- package/dist/chunks/{location-bz85s9hh.js → git-fch79rh9.js} +1 -1
- package/dist/chunks/{location-nqjse9n6.js → git-fs3q1v3z.js} +9 -9
- package/dist/chunks/{location-qh5wzrdr.js → git-ftgekngx.js} +15 -15
- package/dist/chunks/{location-fxbjtjnd.js → git-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-4zxt70vg.js → git-g9sspw56.js} +28 -28
- package/dist/chunks/{location-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-rx3k5raz.js → git-ge88nhgh.js} +26 -26
- package/dist/chunks/{location-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-h03wrkyp.js → git-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-k9anmv7q.js → git-h5s36vhp.js} +24 -24
- package/dist/chunks/{location-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-f828m53h.js → git-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-6r6s2m1q.js → git-hnxpv5p7.js} +45 -45
- package/dist/chunks/{location-d4sp9rf7.js → git-hrmdcqyf.js} +14 -14
- package/dist/chunks/{location-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{location-p4fngkfm.js → git-j7ch2sdk.js} +6 -6
- package/dist/chunks/{location-3f9g2x3f.js → git-jbqg4cgc.js} +48 -48
- package/dist/chunks/{location-008kyx1w.js → git-jdhbqgq5.js} +4 -4
- package/dist/chunks/{location-pk2vfkre.js → git-jj57btzv.js} +12 -12
- package/dist/chunks/{location-cq37gk0t.js → git-jmphe03k.js} +4 -4
- package/dist/chunks/{location-vn7byakt.js → git-jnbjc8km.js} +10 -10
- package/dist/chunks/{location-xcehmcv4.js → git-jngk8s4y.js} +11 -11
- package/dist/chunks/{location-676zts7t.js → git-jqg9rab3.js} +33 -33
- package/dist/chunks/{location-2sark3gv.js → git-jv2s6zs8.js} +14 -14
- package/dist/chunks/{location-184488cr.js → git-k31qzyqw.js} +20 -20
- package/dist/chunks/{location-nzks3jc8.js → git-k3c624dm.js} +3 -3
- package/dist/chunks/{location-jppvw2tx.js → git-k3gnzxs0.js} +5 -5
- package/dist/chunks/{location-4thtkfjm.js → git-kh9er4nr.js} +144 -144
- package/dist/chunks/{location-633s5get.js → git-kpjrwsj3.js} +12 -12
- package/dist/chunks/{location-cfpkc3c9.js → git-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-7znvkeks.js → git-m29mzpwc.js} +22 -22
- package/dist/chunks/{location-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mjymc32g.js → git-magykp64.js} +4 -4
- package/dist/chunks/{location-9q89dbhk.js → git-mav8hzat.js} +41 -41
- package/dist/chunks/{location-06dxphr1.js → git-mfhfdr54.js} +4 -4
- package/dist/chunks/{location-k9avtbwf.js → git-mgqxb6b1.js} +6 -6
- package/dist/chunks/{location-4q3bx44t.js → git-mhkh0xea.js} +9 -9
- package/dist/chunks/{location-9w4ppqge.js → git-mjagy123.js} +5 -5
- package/dist/chunks/{location-dqmenwa9.js → git-mqhtvztx.js} +3 -3
- package/dist/chunks/{location-p7gte5gn.js → git-mqz104rg.js} +30 -30
- package/dist/chunks/{location-4pjc1ph3.js → git-msbbmz00.js} +47 -47
- package/dist/chunks/{location-s42fsk39.js → git-mtv12gxd.js} +31 -31
- package/dist/chunks/{location-4ekfwt2e.js → git-mvk278pt.js} +16 -16
- package/dist/chunks/{location-mc2w0rmh.js → git-mvpmgt96.js} +10 -10
- package/dist/chunks/{location-j0f29qwa.js → git-mw3qqj8g.js} +3 -3
- package/dist/chunks/{location-3zffk7df.js → git-nggnyz50.js} +28 -28
- package/dist/chunks/{location-dnp5f34d.js → git-njww08sa.js} +19 -19
- package/dist/chunks/{location-0a2xtww1.js → git-nkr6vmt6.js} +3 -3
- package/dist/chunks/{location-78e6np4t.js → git-npmzsvgm.js} +3 -3
- package/dist/chunks/{location-gb2rmtkw.js → git-nq152q77.js} +16 -16
- package/dist/chunks/{location-xk747vep.js → git-nq7qbqzc.js} +9 -9
- package/dist/chunks/{location-cfj703js.js → git-nscy7z1f.js} +60 -60
- package/dist/chunks/{location-5h3qddj0.js → git-p17938vj.js} +11 -11
- package/dist/chunks/{location-dvxgyqr5.js → git-p1f7pd7a.js} +11 -11
- package/dist/chunks/{location-5yzzbxa7.js → git-p37cw4rj.js} +8 -8
- package/dist/chunks/{location-tdhe5xga.js → git-pb1eahw5.js} +8 -8
- package/dist/chunks/{location-7w99qc9d.js → git-pg3x4kqe.js} +3 -3
- package/dist/chunks/{location-r9q77sm8.js → git-phjaars8.js} +6 -6
- package/dist/chunks/{location-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{location-ze5v0a14.js → git-pw9v3g6d.js} +5 -5
- package/dist/chunks/{location-9sbs8jya.js → git-pwmksjqr.js} +2 -2
- package/dist/chunks/{location-bdsn0hg4.js → git-pzt9ey7q.js} +30 -30
- package/dist/chunks/{location-48wwg9sw.js → git-qfrjc8h3.js} +11 -11
- package/dist/chunks/{location-1a99h9dp.js → git-qnmxneha.js} +9 -9
- package/dist/chunks/{location-rfpa0h4r.js → git-qnmy9757.js} +29 -29
- package/dist/chunks/{location-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{location-e0kn3hfv.js → git-r1m0wred.js} +4 -4
- package/dist/chunks/{location-7g9bvtff.js → git-r3hv5v0g.js} +12 -12
- package/dist/chunks/{location-f33b9p90.js → git-r9q1pb8v.js} +19 -19
- package/dist/chunks/git-rap9a73h.js +18 -0
- package/dist/chunks/{location-a9at85v6.js → git-rb96jarx.js} +6 -6
- package/dist/chunks/{location-ar3rf71y.js → git-rd0szf9f.js} +4 -4
- package/dist/chunks/{location-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-rgrenpz7.js → git-re793hzx.js} +11 -11
- package/dist/chunks/{location-yj50hhw4.js → git-rfshdbx4.js} +1 -1
- package/dist/chunks/{location-neyqvzdr.js → git-rhw3s2gk.js} +41 -41
- package/dist/chunks/{location-agrejx4p.js → git-rq5m0cbv.js} +24 -24
- package/dist/chunks/{location-6vk930va.js → git-rqyhz3pj.js} +27 -27
- package/dist/chunks/{location-ywsdzc9e.js → git-s9pw04c8.js} +7 -7
- package/dist/chunks/{location-ac3fkhra.js → git-smfazwb0.js} +13 -13
- package/dist/chunks/{location-ymnhf11g.js → git-sn5sfsc9.js} +8 -8
- package/dist/chunks/{location-fdv30zvt.js → git-sxz6gkc3.js} +4 -4
- package/dist/chunks/{location-rhjbct0v.js → git-t550f9t1.js} +4 -4
- package/dist/chunks/{location-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{location-n9zez4wf.js → git-tg4h8n6c.js} +1 -1
- package/dist/chunks/{location-nng2ktcm.js → git-tgpa0z63.js} +2 -2
- package/dist/chunks/{location-ghf1akwt.js → git-thsc5d2e.js} +6 -6
- package/dist/chunks/{location-y1taq29h.js → git-tjq74dy7.js} +3 -3
- package/dist/chunks/{location-12s3v6mp.js → git-ttjz52p2.js} +1 -1
- package/dist/chunks/{location-tvtrv512.js → git-tvtrv512.js} +1 -1
- package/dist/chunks/{location-dfby5msv.js → git-txyptwf2.js} +30 -30
- package/dist/chunks/{location-yq2cczkq.js → git-va5qff5x.js} +9 -9
- package/dist/chunks/{location-277eer69.js → git-vbfgae2j.js} +4 -4
- package/dist/chunks/{location-e97qct74.js → git-vdtvthcs.js} +3 -3
- package/dist/chunks/{location-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{location-pyxx3fcm.js → git-vph80azg.js} +1 -1
- package/dist/chunks/{location-h8s9z3z5.js → git-vxe9q46s.js} +5 -5
- package/dist/chunks/{location-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-c0c130gm.js → git-w6p3gqyc.js} +2 -2
- package/dist/chunks/{location-4q1v9c1t.js → git-w83jn78s.js} +17 -17
- package/dist/chunks/{location-76mz653q.js → git-wb6hsfck.js} +4 -4
- package/dist/chunks/{location-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{location-4rjyk3c7.js → git-whhj8d0j.js} +18 -18
- package/dist/chunks/{location-p0jpxftg.js → git-wnngper4.js} +7 -7
- package/dist/chunks/{location-pc8bba18.js → git-wr8xqqe1.js} +20 -20
- package/dist/chunks/{location-v8q6jw7g.js → git-wspv94s9.js} +26 -26
- package/dist/chunks/{location-jjmgaw8t.js → git-wwegwsad.js} +25 -25
- package/dist/chunks/{location-qkra8k3h.js → git-wxadz7y9.js} +23 -23
- package/dist/chunks/{location-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-t60ccsm1.js → git-x64dbq5b.js} +7 -7
- package/dist/chunks/{location-ss8k8k84.js → git-x8xzcv8y.js} +10 -10
- package/dist/chunks/{location-t2s8k3h0.js → git-x9ty1f0y.js} +11 -11
- package/dist/chunks/{location-xfkkasph.js → git-xfkkasph.js} +1 -1
- package/dist/chunks/{location-b470x9gv.js → git-xkdewt67.js} +4 -4
- package/dist/chunks/{location-pp3dp5ad.js → git-xkgjtwvv.js} +6 -6
- package/dist/chunks/{location-mhsaa535.js → git-xw3m6y1d.js} +2 -2
- package/dist/chunks/{location-tq42g4mv.js → git-xw736607.js} +7 -7
- package/dist/chunks/{location-hdt8t46w.js → git-y0nb3a38.js} +9 -9
- package/dist/chunks/{location-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-pkjkgdks.js → git-y235y40c.js} +82 -82
- package/dist/chunks/{location-g17w5wg1.js → git-y3wpwyaa.js} +6 -6
- package/dist/chunks/{location-y71avatq.js → git-y71avatq.js} +1 -1
- package/dist/chunks/{location-ryv4b98b.js → git-yb4fkh4h.js} +39 -39
- package/dist/chunks/{location-y3gk2rae.js → git-yhed11z9.js} +9 -9
- package/dist/chunks/{location-rhraev7y.js → git-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-yrznvahk.js → git-yrznvahk.js} +2 -2
- package/dist/chunks/{location-73xc2593.js → git-ys29gpg0.js} +13 -13
- package/dist/chunks/{location-9g3kc011.js → git-yvhffnst.js} +12 -12
- package/dist/chunks/{location-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-j3ff95xa.js → git-z11gs965.js} +25 -25
- package/dist/chunks/{location-z63w68vq.js → git-z63w68vq.js} +2 -2
- package/dist/chunks/{location-jnn1pg4s.js → git-zdtfb6p9.js} +29 -29
- package/dist/chunks/{location-zeh9ct20.js → git-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-hzchk1pk.js → git-zev0ek28.js} +13 -13
- package/dist/chunks/{location-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -359
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +98 -98
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +3 -3
- package/dist/filesystem.js +97 -97
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +76 -76
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +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 +73 -73
- 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 +343 -343
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +118 -118
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +94 -94
- 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 +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- 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 +129 -129
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- 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 +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +95 -95
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +7 -7
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +120 -120
- 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 +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +90 -90
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/location-0w7pwmpa.js +0 -26
- package/dist/chunks/location-ge6zmjjk.js +0 -247
- package/dist/chunks/location-jqh9b0xq.js +0 -18
- package/dist/chunks/location-qapv375x.js +0 -4
- /package/dist/chunks/{location-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → git-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → git-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service44,
|
|
3
3
|
node47
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-35tmvh3j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node78
|
|
8
|
+
} from "./git-es6vvgdb.js";
|
|
9
9
|
import {
|
|
10
10
|
Service43,
|
|
11
11
|
node46
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-5958kjg8.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service9,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer6,
|
|
28
|
+
node: () => node11
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
39
39
|
const config = yield* Service43;
|
|
40
40
|
const watcher = yield* Service44;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service76;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service9.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [node46, FSUtil.node, node47,
|
|
73
|
+
var node11 = makeLocationNode({
|
|
74
|
+
service: Service9,
|
|
75
|
+
layer: layer6,
|
|
76
|
+
deps: [node46, FSUtil.node, node47, node78]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service9,
|
|
80
|
+
layer: Layer.succeed(Service9, Service9.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service9, layer6, node11, empty2, exports_source };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-es6vvgdb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_location_service_map, {
|
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
12
|
Service: () => Service65,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node67
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
@@ -23,7 +23,7 @@ class Service65 extends Context.Service()("@opencode/example/LocationServiceMap"
|
|
|
23
23
|
return Layer.unwrap(Effect.map(Service65, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node67 = LayerNode.unbound(Service65, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export { Service65,
|
|
34
|
+
export { Service65, node67, canonical3, exports_location_service_map };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-rq5m0cbv.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-hnxpv5p7.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent = {};
|
|
15
15
|
__export(exports_agent, {
|
|
16
16
|
AgentPlugin: () => exports_agent,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin14
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin14 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin13 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID10.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID10.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin13 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID10.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID10.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID10.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin13 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin14, exports_agent };
|
|
@@ -2,29 +2,29 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make19,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-t550f9t1.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-hnxpv5p7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service36,
|
|
13
|
+
node39
|
|
14
|
+
} from "./git-mav8hzat.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
17
|
name13
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-h5s36vhp.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
24
|
+
var exports_instructions2 = {};
|
|
25
|
+
__export(exports_instructions2, {
|
|
26
|
+
McpInstructions: () => exports_instructions2,
|
|
27
|
+
Service: () => Service30,
|
|
28
28
|
layer: () => layer12,
|
|
29
29
|
node: () => node33
|
|
30
30
|
});
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service30 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var layer12 = Layer.effect(
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service36;
|
|
69
|
+
return Service30.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make19({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var node33 = makeLocationNode({ service:
|
|
103
|
+
var node33 = makeLocationNode({ service: Service30, layer: layer12, deps: [node39] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service30, layer12, node33, exports_instructions2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service68
|
|
4
|
+
} from "./git-rq5m0cbv.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service71
|
|
8
|
+
} from "./git-2459z54m.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
11
|
Service43
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-5958kjg8.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-pg3x4kqe.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service59
|
|
18
|
+
} from "./git-w83jn78s.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service62
|
|
22
|
+
} from "./git-hnxpv5p7.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service27
|
|
25
|
+
} from "./git-8m9jqnpz.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./git-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make9
|
|
31
|
+
} from "./git-jngk8s4y.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./git-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin18,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name3
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name3 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input3 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output2 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin18 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
92
|
+
const sessions = yield* Service27;
|
|
93
|
+
const jobs = yield* Service59;
|
|
94
|
+
const agents = yield* Service68;
|
|
95
95
|
const config = yield* Service43;
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
96
|
+
const permission = yield* Service62;
|
|
97
|
+
const models = yield* Service71;
|
|
98
|
+
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin25 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin25 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name3,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin25 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID10.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name3];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name3, Input3, Output2, description2, Plugin18, exports_subagent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info11
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info11 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info11, exports_attachment };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info15
|
|
7
|
+
} from "./git-magykp64.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info14
|
|
10
|
+
} from "./git-pb1eahw5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info11
|
|
13
|
+
} from "./git-dj9sq318.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info13
|
|
16
|
+
} from "./git-sxz6gkc3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info8
|
|
19
|
+
} from "./git-va5qff5x.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./git-21r38tys.js";
|
|
23
23
|
import {
|
|
24
24
|
Info12
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./git-1s3p39g4.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info7
|
|
28
|
+
} from "./git-4phm5153.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./git-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info10
|
|
34
|
+
} from "./git-bgxcxs0p.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./git-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info9
|
|
40
|
+
} from "./git-00z3vp5f.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info6,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info6 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info7 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info13)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info9).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,21 +113,21 @@ var Info7 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info14), plan: Schema.optional(Info14) }), [Schema.Record(Schema.String, Info14)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info14),
|
|
119
|
+
build: Schema.optional(Info14),
|
|
120
|
+
general: Schema.optional(Info14),
|
|
121
|
+
explore: Schema.optional(Info14),
|
|
122
|
+
title: Schema.optional(Info14),
|
|
123
|
+
summary: Schema.optional(Info14),
|
|
124
|
+
compaction: Schema.optional(Info14)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info14)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info10)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info7, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info8).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
133
|
lsp: Schema.optional(Info12).annotate({
|
|
@@ -137,9 +137,9 @@ var Info7 = Schema.Struct({
|
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info15),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info11).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info7 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info6, exports_config2 };
|