@opencode/core 0.0.0-dev-21763 → 0.0.0-dev-21765
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +92 -92
- package/dist/aisdk.js +98 -98
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{websearch-50ya5pgh.js → schema-00v1n14z.js} +4 -4
- package/dist/chunks/{websearch-5bfg49e7.js → schema-029wrt9s.js} +4 -4
- package/dist/chunks/{websearch-034tev2y.js → schema-034tev2y.js} +2 -2
- package/dist/chunks/{websearch-sxbxv19s.js → schema-07nbdp2k.js} +10 -10
- package/dist/chunks/{websearch-538n6qw9.js → schema-0nhvm0pw.js} +9 -9
- package/dist/chunks/{websearch-j34dxvpb.js → schema-0t098hqn.js} +5 -5
- package/dist/chunks/{websearch-vzvckjxq.js → schema-11e7b702.js} +7 -7
- package/dist/chunks/{websearch-aw3srb6e.js → schema-11j43tsy.js} +13 -13
- package/dist/chunks/{websearch-48kw51zw.js → schema-143qq2q9.js} +3 -3
- package/dist/chunks/{websearch-cvna5pvx.js → schema-154zyqc4.js} +7 -7
- package/dist/chunks/{websearch-k8yzaem4.js → schema-1616ycsj.js} +16 -16
- package/dist/chunks/{websearch-bgm817xr.js → schema-18g90bpv.js} +9 -9
- package/dist/chunks/{websearch-1ep2p91f.js → schema-1ep2p91f.js} +2 -2
- package/dist/chunks/{websearch-nfx6rd1e.js → schema-1hcmr4yw.js} +29 -29
- package/dist/chunks/{websearch-stgkv189.js → schema-1j2pc25j.js} +19 -19
- package/dist/chunks/{websearch-ry63fkbp.js → schema-1m98x74e.js} +6 -6
- package/dist/chunks/{websearch-888hgb07.js → schema-1tjn92rn.js} +13 -13
- package/dist/chunks/{websearch-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
- package/dist/chunks/{websearch-d86zx6ex.js → schema-1zdtg2jw.js} +34 -34
- package/dist/chunks/{websearch-2fx6sc8m.js → schema-1zn3aj1m.js} +1 -1
- package/dist/chunks/{websearch-07kams43.js → schema-24tftcpc.js} +56 -56
- package/dist/chunks/{websearch-fyr07a1r.js → schema-282ey04p.js} +21 -21
- package/dist/chunks/{websearch-f89qnyv0.js → schema-2862db0g.js} +78 -73
- package/dist/chunks/{websearch-558sn0j3.js → schema-2f6bhtqc.js} +7 -7
- package/dist/chunks/{websearch-hdcc19jf.js → schema-2nbqrcwe.js} +11 -11
- package/dist/chunks/{websearch-w1zzsny8.js → schema-2s3mabk8.js} +21 -21
- package/dist/chunks/{websearch-dcw70mgd.js → schema-2wcgdjv5.js} +18 -18
- package/dist/chunks/{websearch-48khph17.js → schema-2yrt0cx2.js} +11 -11
- package/dist/chunks/{websearch-2z1j29yd.js → schema-2z1j29yd.js} +1 -1
- package/dist/chunks/{websearch-4p7eafa8.js → schema-30e1bg64.js} +5 -5
- package/dist/chunks/{websearch-akv6whtz.js → schema-329weprz.js} +23 -23
- package/dist/chunks/{websearch-06vk0kzn.js → schema-3a63316c.js} +4 -4
- package/dist/chunks/{websearch-zrc037h4.js → schema-3amvxph1.js} +13 -13
- package/dist/chunks/{websearch-6a99w62x.js → schema-3fn32fyw.js} +2 -2
- package/dist/chunks/{websearch-hf84ee0d.js → schema-3h9mmrds.js} +21 -21
- package/dist/chunks/{websearch-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-wg3wqxny.js → schema-3k4jc8v0.js} +5 -5
- package/dist/chunks/{websearch-q46y00v4.js → schema-3mgb105e.js} +8 -8
- package/dist/chunks/{websearch-qjgzc4b4.js → schema-3nfpgkj0.js} +4 -4
- package/dist/chunks/{websearch-3nnrz6f6.js → schema-3nnrz6f6.js} +1 -1
- package/dist/chunks/{websearch-vzmjdaw1.js → schema-3p1ty9zs.js} +9 -9
- package/dist/chunks/{websearch-d0qd2q9y.js → schema-3vkndy7n.js} +30 -30
- package/dist/chunks/{websearch-g0cks53z.js → schema-4266znvz.js} +39 -39
- package/dist/chunks/{websearch-kdw5wkbd.js → schema-4aq7en99.js} +36 -36
- package/dist/chunks/{websearch-n1pz9w08.js → schema-4c4ax3zv.js} +4 -4
- package/dist/chunks/{websearch-k4g9p6fx.js → schema-4d9qj03b.js} +19 -19
- package/dist/chunks/{websearch-qjj7qevc.js → schema-4dh6ns0s.js} +28 -28
- package/dist/chunks/{websearch-1cjk9esd.js → schema-4f1nz0wt.js} +2 -2
- package/dist/chunks/{websearch-rv8hmem0.js → schema-4qz42npy.js} +20 -20
- package/dist/chunks/{websearch-4v008n1t.js → schema-4v008n1t.js} +1 -1
- package/dist/chunks/{websearch-4xvmh7wp.js → schema-4xvmh7wp.js} +3 -3
- package/dist/chunks/{websearch-2sadzmpt.js → schema-520chd1c.js} +25 -25
- package/dist/chunks/{websearch-ew9j7vn7.js → schema-524rwz3q.js} +181 -181
- package/dist/chunks/{websearch-csqtxx7c.js → schema-59zf53qd.js} +4 -4
- package/dist/chunks/{websearch-q9wrv6hp.js → schema-5e3hd4xw.js} +14 -14
- package/dist/chunks/{websearch-40za9wsf.js → schema-5enarcya.js} +6 -6
- package/dist/chunks/{websearch-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{websearch-vy8mxgjx.js → schema-5ryvfs0w.js} +23 -23
- package/dist/chunks/{websearch-028jhwed.js → schema-5w8m9xv3.js} +9 -9
- package/dist/chunks/{websearch-hyv9r77w.js → schema-5xz4c498.js} +12 -12
- package/dist/chunks/{websearch-nnfcn29r.js → schema-617kavm2.js} +12 -12
- package/dist/chunks/{websearch-52760bbp.js → schema-69akfaf3.js} +30 -30
- package/dist/chunks/schema-6cfsdsjt.js +26 -0
- package/dist/chunks/{websearch-p9r4530m.js → schema-6cz5w7zs.js} +25 -25
- package/dist/chunks/{websearch-6esdw8yj.js → schema-6esdw8yj.js} +1 -1
- package/dist/chunks/{websearch-783zccns.js → schema-6m5m35mz.js} +11 -11
- package/dist/chunks/{websearch-6pjqjmy2.js → schema-6pjqjmy2.js} +1 -1
- package/dist/chunks/{websearch-6tbrfh06.js → schema-6qzhxdk4.js} +44 -44
- package/dist/chunks/{websearch-nt00n9sh.js → schema-6sdvvr9a.js} +10 -10
- package/dist/chunks/{websearch-5xfk6dbg.js → schema-6twctan0.js} +8 -8
- package/dist/chunks/{websearch-76cb1hcw.js → schema-76cb1hcw.js} +1 -1
- package/dist/chunks/{websearch-fy4awrc2.js → schema-787db2tc.js} +9 -9
- package/dist/chunks/{websearch-6ejgy672.js → schema-7a1enj4j.js} +8 -8
- package/dist/chunks/{websearch-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-s5zfzkdr.js → schema-7df12zw2.js} +18 -18
- package/dist/chunks/{websearch-ey051h0d.js → schema-7dm1knrr.js} +25 -25
- package/dist/chunks/{websearch-dx5g0f3r.js → schema-7ejbfbtt.js} +50 -50
- package/dist/chunks/{websearch-af6r45an.js → schema-7gf3pvgw.js} +38 -38
- package/dist/chunks/{websearch-02bgezqx.js → schema-7m47pp9z.js} +33 -33
- package/dist/chunks/{websearch-709aftea.js → schema-7pnkfavj.js} +43 -43
- package/dist/chunks/{websearch-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
- package/dist/chunks/{websearch-5mb8ret5.js → schema-7werj5s1.js} +9 -9
- package/dist/chunks/{websearch-b4e1jcxa.js → schema-7wrq6vcn.js} +17 -17
- package/dist/chunks/{websearch-gk8rb9qf.js → schema-81vtq34g.js} +20 -20
- package/dist/chunks/{websearch-srcpqtfh.js → schema-88118qy8.js} +27 -27
- package/dist/chunks/{websearch-dh62xe4r.js → schema-8bc2ahr8.js} +3 -3
- package/dist/chunks/{websearch-rwvztcr2.js → schema-8dbgzqh1.js} +13 -13
- package/dist/chunks/{websearch-5kxxqds9.js → schema-8jvj9h14.js} +8 -8
- package/dist/chunks/{websearch-wdv0vama.js → schema-8mh45d2n.js} +10 -10
- package/dist/chunks/{websearch-32tek056.js → schema-8nyb9b1r.js} +6 -6
- package/dist/chunks/{websearch-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
- package/dist/chunks/{websearch-ys1mpr1q.js → schema-8x737kf8.js} +23 -23
- package/dist/chunks/{websearch-91rj84md.js → schema-91rj84md.js} +1 -1
- package/dist/chunks/{websearch-0sc0whcy.js → schema-92fa10hr.js} +26 -26
- package/dist/chunks/{websearch-998yhzzq.js → schema-998yhzzq.js} +3 -3
- package/dist/chunks/{websearch-x01kwc3d.js → schema-99g6fqdz.js} +14 -14
- package/dist/chunks/{websearch-gk3b5har.js → schema-9rc4as14.js} +84 -84
- package/dist/chunks/{websearch-5v4yb9wj.js → schema-9vnq5g15.js} +5 -5
- package/dist/chunks/{websearch-dncnpr57.js → schema-9yy9tn8q.js} +10 -10
- package/dist/chunks/{websearch-7deqkbqn.js → schema-a1y47zhx.js} +6 -6
- package/dist/chunks/{websearch-p8rxrw5c.js → schema-a3brrxmc.js} +5 -5
- package/dist/chunks/{websearch-rg36x40h.js → schema-a422z98d.js} +19 -19
- package/dist/chunks/{websearch-1qn5xget.js → schema-a4bkh64k.js} +13 -13
- package/dist/chunks/{websearch-b4nx6saa.js → schema-a7p56gbj.js} +9 -9
- package/dist/chunks/{websearch-hvwvq3df.js → schema-acdmrrd1.js} +8 -8
- package/dist/chunks/{websearch-c3cfh5w6.js → schema-aktgv3ye.js} +9 -9
- package/dist/chunks/{websearch-ys71vevy.js → schema-aq1t7e1s.js} +4 -4
- package/dist/chunks/{websearch-jgp1rfxc.js → schema-aqhppgmk.js} +11 -11
- package/dist/chunks/{websearch-ar2j3j0f.js → schema-ar2j3j0f.js} +1 -1
- package/dist/chunks/{websearch-tkjf59m0.js → schema-axrk0dbh.js} +1 -1
- package/dist/chunks/{websearch-ayjs7tqn.js → schema-ayjs7tqn.js} +2 -2
- package/dist/chunks/{websearch-b0mv4wxm.js → schema-b0mv4wxm.js} +2 -2
- package/dist/chunks/{websearch-m5hjs3vf.js → schema-b6h084j4.js} +20 -20
- package/dist/chunks/{websearch-b6vsg801.js → schema-b6vsg801.js} +2 -2
- package/dist/chunks/{websearch-p76me67c.js → schema-c5kjsz6q.js} +4 -4
- package/dist/chunks/{websearch-gg4606bf.js → schema-c99atrka.js} +21 -21
- package/dist/chunks/{websearch-vq4ea6e1.js → schema-c9qwnmqv.js} +41 -41
- package/dist/chunks/{websearch-jkxkafzy.js → schema-cnpyaq5p.js} +11 -11
- package/dist/chunks/{websearch-0ear39jp.js → schema-cwz77rcy.js} +11 -11
- package/dist/chunks/{websearch-d4v9tmah.js → schema-d4v9tmah.js} +2 -2
- package/dist/chunks/{websearch-gcrsyfkm.js → schema-d61b7cet.js} +5 -5
- package/dist/chunks/{websearch-610jhrvc.js → schema-dfay5gjp.js} +23 -23
- package/dist/chunks/{websearch-bcvfpan3.js → schema-dtavj5d7.js} +17 -17
- package/dist/chunks/{websearch-vweg9rhc.js → schema-dtg24jm0.js} +89 -89
- package/dist/chunks/{websearch-tgycm7xg.js → schema-e1crchvn.js} +9 -9
- package/dist/chunks/{websearch-e834z07m.js → schema-e834z07m.js} +1 -1
- package/dist/chunks/{websearch-9fm2qjhc.js → schema-e8gd4gpa.js} +13 -13
- package/dist/chunks/{websearch-9sh8p6nx.js → schema-eda149f3.js} +55 -55
- package/dist/chunks/{websearch-ez0ps4vh.js → schema-en8vfsd2.js} +9 -9
- package/dist/chunks/{websearch-9b28cy4d.js → schema-eq3fc1qc.js} +5 -5
- package/dist/chunks/{websearch-m37sd98t.js → schema-eqmd2tfz.js} +7 -7
- package/dist/chunks/{websearch-v6e01gce.js → schema-eqzmv0k0.js} +12 -12
- package/dist/chunks/{websearch-ka8y8jkb.js → schema-er4ejzeq.js} +24 -24
- package/dist/chunks/{websearch-78je3d3v.js → schema-f42znsbm.js} +18 -18
- package/dist/chunks/{websearch-4ytg8f8f.js → schema-fc6c4hv8.js} +2 -2
- package/dist/chunks/{websearch-em430e81.js → schema-fe9r35x6.js} +18 -18
- package/dist/chunks/{websearch-fffv3p7h.js → schema-fffv3p7h.js} +1 -1
- package/dist/chunks/{websearch-87s7n4ge.js → schema-fkbdg6tg.js} +15 -15
- package/dist/chunks/{websearch-9cvvmdrm.js → schema-fp1f4q9g.js} +23 -23
- package/dist/chunks/{websearch-a4fjeg88.js → schema-fqvwz6ma.js} +22 -22
- package/dist/chunks/{websearch-k61qs451.js → schema-fs3bfktd.js} +41 -41
- package/dist/chunks/{websearch-ebh17g7q.js → schema-fv09tp7k.js} +11 -11
- package/dist/chunks/{websearch-b7mcgwp3.js → schema-fy3nfdcy.js} +4 -4
- package/dist/chunks/{websearch-skj4q71p.js → schema-fzkeq8f8.js} +28 -28
- package/dist/chunks/{websearch-seqv54nm.js → schema-g0wye5yh.js} +46 -46
- package/dist/chunks/{websearch-g5h9c0rr.js → schema-g5h9c0rr.js} +2 -2
- package/dist/chunks/{websearch-5gwd981r.js → schema-g5m9rhne.js} +19 -19
- package/dist/chunks/schema-g6nq203h.js +257 -0
- package/dist/chunks/{websearch-w610p6d9.js → schema-g6t8g6yx.js} +11 -11
- package/dist/chunks/{websearch-bnarb0wx.js → schema-gkmddht3.js} +15 -15
- package/dist/chunks/{websearch-htnwkh5a.js → schema-gpnpzavh.js} +33 -33
- package/dist/chunks/{websearch-nah9ekst.js → schema-gsb3pfjx.js} +12 -12
- package/dist/chunks/{websearch-57p715bj.js → schema-gt2s4m1s.js} +5 -5
- package/dist/chunks/{websearch-pxkxhxat.js → schema-gvefjbhs.js} +6 -6
- package/dist/chunks/{websearch-2e9c1ftj.js → schema-h0nnq31c.js} +10 -10
- package/dist/chunks/{websearch-a7hcemwv.js → schema-h5qan5zz.js} +8 -8
- package/dist/chunks/{websearch-4x5ne6q5.js → schema-hfnfqmbj.js} +6 -6
- package/dist/chunks/{websearch-d1g76nqk.js → schema-hjv5rhcs.js} +20 -20
- package/dist/chunks/{websearch-8371ggt2.js → schema-hnnjehxc.js} +19 -19
- package/dist/chunks/{websearch-tasvem1v.js → schema-hskrfeat.js} +6 -6
- package/dist/chunks/{websearch-p580ev26.js → schema-hvvf9qw8.js} +6 -6
- package/dist/chunks/{websearch-mxpbzbap.js → schema-hwf3rsyj.js} +27 -27
- package/dist/chunks/{websearch-sa1k6cm5.js → schema-hxmh1k5n.js} +11 -11
- package/dist/chunks/{websearch-sb275byf.js → schema-hxrfbvam.js} +23 -23
- package/dist/chunks/{websearch-x32t5rjd.js → schema-hzcppzhp.js} +16 -16
- package/dist/chunks/{websearch-j113cymg.js → schema-j113cymg.js} +1 -1
- package/dist/chunks/{websearch-4kaztr7e.js → schema-j1ehcwpj.js} +12 -12
- package/dist/chunks/{websearch-7akzmw6y.js → schema-j77g158z.js} +7 -7
- package/dist/chunks/{websearch-y24s7hc7.js → schema-jc1zpzm6.js} +3 -3
- package/dist/chunks/{websearch-pww3ccs0.js → schema-jck87qnb.js} +20 -20
- package/dist/chunks/{websearch-z5wdff31.js → schema-jgeyayk8.js} +11 -11
- package/dist/chunks/{websearch-8dbt3gp8.js → schema-jtp66jv1.js} +13 -13
- package/dist/chunks/{websearch-qtw36mps.js → schema-jwddjk3q.js} +3 -3
- package/dist/chunks/{websearch-nzh3qh6x.js → schema-jxqzyhg3.js} +5 -5
- package/dist/chunks/{websearch-1jq5v97j.js → schema-jy6n1kda.js} +21 -21
- package/dist/chunks/{websearch-k814nvkf.js → schema-k814nvkf.js} +1 -1
- package/dist/chunks/{websearch-48yja14g.js → schema-khc0hv5f.js} +11 -11
- package/dist/chunks/{websearch-h7ymgnqs.js → schema-kn8m031n.js} +8 -8
- package/dist/chunks/{websearch-fgr117q8.js → schema-m0ddkrak.js} +14 -14
- package/dist/chunks/{websearch-m1714858.js → schema-m1714858.js} +1 -1
- package/dist/chunks/{websearch-zn3s3q02.js → schema-m33z69w0.js} +16 -16
- package/dist/chunks/{websearch-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-maspj1v3.js → schema-maspj1v3.js} +1 -1
- package/dist/chunks/{websearch-ft9kpk2e.js → schema-mc6n2qdv.js} +11 -11
- package/dist/chunks/{websearch-s3jtn4b4.js → schema-mhe28zdf.js} +14 -14
- package/dist/chunks/{websearch-ycg9ewh9.js → schema-mmd0w5me.js} +19 -19
- package/dist/chunks/{websearch-2a2xbt2q.js → schema-mp5c1e99.js} +20 -20
- package/dist/chunks/{websearch-ssfehs1z.js → schema-mtkfycnh.js} +4 -4
- package/dist/chunks/{websearch-98t00bmz.js → schema-mx1kx71f.js} +30 -30
- package/dist/chunks/{websearch-n0p0277s.js → schema-n0p0277s.js} +1 -1
- package/dist/chunks/{websearch-3tt1qka2.js → schema-n2c4zg0x.js} +31 -31
- package/dist/chunks/schema-n3r3rt18.js +18 -0
- package/dist/chunks/{websearch-nah043kf.js → schema-nah043kf.js} +1 -1
- package/dist/chunks/{websearch-mqrfkf7g.js → schema-ncctsns8.js} +9 -9
- package/dist/chunks/{websearch-16hqm74r.js → schema-nck61317.js} +3 -3
- package/dist/chunks/{websearch-d2nhvyww.js → schema-ne1w8t8k.js} +35 -35
- package/dist/chunks/{websearch-n1jvtmv7.js → schema-npjxp3nk.js} +9 -9
- package/dist/chunks/{websearch-9v9xq6k7.js → schema-nrxnrznw.js} +33 -33
- package/dist/chunks/{websearch-e43td24s.js → schema-nveqws5b.js} +9 -9
- package/dist/chunks/{websearch-4sjm1mdd.js → schema-nxykchda.js} +31 -31
- package/dist/chunks/{websearch-p015t6z3.js → schema-p015t6z3.js} +2 -2
- package/dist/chunks/{websearch-ecj92f6p.js → schema-p3r0srm5.js} +16 -16
- package/dist/chunks/{websearch-rdx9gx2w.js → schema-p76b1cdr.js} +11 -11
- package/dist/chunks/{websearch-1yq9hg58.js → schema-p7vhpwh8.js} +5 -5
- package/dist/chunks/{websearch-abdhesrb.js → schema-pazpeg33.js} +34 -34
- package/dist/chunks/{websearch-30asdcnx.js → schema-pcgkddtj.js} +3 -3
- package/dist/chunks/{websearch-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-kfknhheq.js → schema-q7qmtw9h.js} +8 -8
- package/dist/chunks/{websearch-a42dnrht.js → schema-qq9hzn5s.js} +26 -26
- package/dist/chunks/{websearch-t211gxpv.js → schema-qqg9c0kv.js} +4 -4
- package/dist/chunks/{websearch-1y0wdj51.js → schema-qv7y9773.js} +4 -4
- package/dist/chunks/{websearch-45k1q4jf.js → schema-qzvs526t.js} +12 -12
- package/dist/chunks/{websearch-r0yr0wbs.js → schema-r0yr0wbs.js} +1 -1
- package/dist/chunks/{websearch-xe844d6a.js → schema-r5f8nyhj.js} +29 -29
- package/dist/chunks/{websearch-sgrv6mzf.js → schema-r70bhzar.js} +12 -12
- package/dist/chunks/{websearch-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
- package/dist/chunks/{websearch-drcvb97p.js → schema-rbpahh6n.js} +39 -39
- package/dist/chunks/{websearch-h069xeqn.js → schema-rhj80mra.js} +17 -17
- package/dist/chunks/{websearch-nkxanhw7.js → schema-rt1c7dae.js} +16 -16
- package/dist/chunks/{websearch-rt5dr6hb.js → schema-rt5dr6hb.js} +1 -1
- package/dist/chunks/{websearch-1rbznk76.js → schema-rv8h40hz.js} +35 -35
- package/dist/chunks/{websearch-50bs153s.js → schema-rxgngg14.js} +5 -5
- package/dist/chunks/{websearch-hfcmmhta.js → schema-s2rkq84g.js} +22 -22
- package/dist/chunks/{websearch-wz7v9a4w.js → schema-s7r97j0a.js} +15 -15
- package/dist/chunks/{websearch-sa3fpqfw.js → schema-sa3fpqfw.js} +2 -2
- package/dist/chunks/{websearch-v50mas5h.js → schema-sdm20d6g.js} +38 -38
- package/dist/chunks/{websearch-sqjzf8x2.js → schema-sqjzf8x2.js} +1 -1
- package/dist/chunks/{websearch-q9w4eaj5.js → schema-st9narvh.js} +30 -30
- package/dist/chunks/{websearch-6y263vp8.js → schema-szcgc7h4.js} +5 -5
- package/dist/chunks/{websearch-qvn0et0v.js → schema-t1w3prdq.js} +43 -43
- package/dist/chunks/{websearch-ptavmxt8.js → schema-t3ctqk3p.js} +34 -34
- package/dist/chunks/{websearch-5nqw6vw5.js → schema-t73qb0f8.js} +9 -9
- package/dist/chunks/{websearch-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
- package/dist/chunks/{websearch-gg9100yt.js → schema-tdtvh78f.js} +45 -45
- package/dist/chunks/{websearch-yfja0yt8.js → schema-thszvhrd.js} +21 -21
- package/dist/chunks/{websearch-hy8c1z76.js → schema-tqx9c315.js} +8 -8
- package/dist/chunks/{websearch-3ypzwevx.js → schema-tsdrbga6.js} +4 -4
- package/dist/chunks/{websearch-tw8zr1ps.js → schema-tw8zr1ps.js} +1 -1
- package/dist/chunks/{websearch-twv2r8f4.js → schema-twv2r8f4.js} +2 -2
- package/dist/chunks/{websearch-kp4881bv.js → schema-tynj833s.js} +17 -17
- package/dist/chunks/{websearch-xfs8aec3.js → schema-v13bak37.js} +18 -18
- package/dist/chunks/{websearch-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
- package/dist/chunks/{websearch-q3k4em5e.js → schema-v8mhp7pp.js} +3 -3
- package/dist/chunks/{websearch-9d47xe23.js → schema-va1ca6nr.js} +28 -28
- package/dist/chunks/{websearch-627jp256.js → schema-vby0kevs.js} +16 -16
- package/dist/chunks/{websearch-vd3b3yk9.js → schema-vd3b3yk9.js} +1 -1
- package/dist/chunks/{websearch-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-bd5kqybq.js → schema-vg66cxah.js} +22 -22
- package/dist/chunks/{websearch-gxjy29d9.js → schema-w1y9pf93.js} +34 -34
- package/dist/chunks/{websearch-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-vs81z90t.js → schema-w448494y.js} +41 -41
- package/dist/chunks/{websearch-agqd6nxz.js → schema-w67s4ywc.js} +8 -8
- package/dist/chunks/{websearch-87fjpdw3.js → schema-w6veeby1.js} +23 -23
- package/dist/chunks/{websearch-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
- package/dist/chunks/{websearch-76t1xp06.js → schema-wb4h2peq.js} +15 -15
- package/dist/chunks/{websearch-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-xnh3x4zb.js → schema-wmn93bqx.js} +4 -4
- package/dist/chunks/{websearch-w687dnns.js → schema-wr3re1en.js} +4 -4
- package/dist/chunks/{websearch-0yhm11wk.js → schema-x3t8twyd.js} +36 -36
- package/dist/chunks/{websearch-6revxm77.js → schema-x9cacsyk.js} +20 -20
- package/dist/chunks/{websearch-c1khejyh.js → schema-xccxprzd.js} +4 -4
- package/dist/chunks/{websearch-bstexjd6.js → schema-xd9cc171.js} +5 -5
- package/dist/chunks/{websearch-79ykxmfx.js → schema-xhh0m2wy.js} +5 -5
- package/dist/chunks/{websearch-y4n6pw34.js → schema-xsvq7cjt.js} +4 -4
- package/dist/chunks/{websearch-b2fr11m5.js → schema-y0e96tr8.js} +12 -12
- package/dist/chunks/{websearch-y2tacs4v.js → schema-y2tacs4v.js} +1 -1
- package/dist/chunks/{websearch-2kpf2tnx.js → schema-y71ps8e5.js} +11 -11
- package/dist/chunks/{websearch-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
- package/dist/chunks/{websearch-nfdkbbm6.js → schema-ypv38js4.js} +21 -21
- package/dist/chunks/{websearch-exzfyd93.js → schema-ypw7dra2.js} +9 -9
- package/dist/chunks/{websearch-mbk0t8q9.js → schema-yqhw68ry.js} +24 -24
- package/dist/chunks/{websearch-ca6atg52.js → schema-ythty13s.js} +47 -47
- package/dist/chunks/{websearch-rw6n77w3.js → schema-yw3vvjb2.js} +4 -4
- package/dist/chunks/{websearch-72gkwb92.js → schema-ywtc9m4k.js} +13 -13
- package/dist/chunks/{websearch-x7e5kpxn.js → schema-yx3vrw5p.js} +3 -3
- package/dist/chunks/{websearch-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-ba38v71t.js → schema-z0sad13k.js} +8 -8
- package/dist/chunks/{websearch-5f5f6dw4.js → schema-z28xy0wc.js} +24 -24
- package/dist/chunks/{websearch-z38nccrw.js → schema-z38nccrw.js} +1 -1
- package/dist/chunks/{websearch-zkg84ctx.js → schema-zkg84ctx.js} +1 -1
- package/dist/chunks/schema-ztkwxhgh.js +517 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +85 -85
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +102 -102
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +105 -105
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +95 -95
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +96 -96
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +107 -107
- package/dist/file-mutation.js +97 -97
- package/dist/file-retention.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/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +105 -105
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +90 -90
- package/dist/generate.js +108 -108
- package/dist/git.js +11 -11
- 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 +94 -94
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +90 -90
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +110 -110
- package/dist/location-service-map.js +89 -89
- package/dist/location-services.js +358 -358
- package/dist/location.js +90 -90
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +94 -94
- package/dist/mcp/index.js +112 -112
- package/dist/mcp/instructions.js +141 -141
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +93 -93
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +94 -94
- package/dist/model-resolver.js +102 -102
- package/dist/model-retry.js +1 -1
- package/dist/model.js +103 -103
- package/dist/models-dev.js +110 -110
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +105 -105
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +99 -99
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +105 -105
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +93 -93
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +96 -96
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +98 -98
- package/dist/plugin/provider/gitlab.js +96 -96
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +95 -95
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +93 -93
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +101 -101
- package/dist/plugin/provider/openrouter.js +94 -94
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +94 -94
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +93 -93
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +94 -94
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +89 -89
- package/dist/plugin/vcs/hg.js +89 -89
- package/dist/plugin/verbosity.js +96 -96
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +84 -84
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +100 -100
- package/dist/rpc.js +89 -89
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +165 -165
- package/dist/session/diff.js +91 -91
- 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 +223 -223
- package/dist/session/execution.js +131 -131
- package/dist/session/generate.js +165 -165
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +100 -100
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +123 -123
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +133 -133
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +108 -108
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +97 -97
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +103 -103
- package/dist/session/runner/publish-llm-event.js +117 -117
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +129 -129
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +169 -169
- package/dist/session/to-session-error.js +115 -115
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +110 -110
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +96 -96
- 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 +140 -140
- package/dist/tool/plugin/edit.js +123 -123
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +127 -127
- package/dist/tool/plugin/grep.js +127 -127
- package/dist/tool/plugin/mcp-resource.js +127 -127
- package/dist/tool/plugin/opencode.js +112 -112
- package/dist/tool/plugin/patch.js +125 -125
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +128 -128
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +125 -125
- package/dist/tool/read-filesystem.js +105 -105
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +95 -95
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +92 -92
- package/dist/voice.js +90 -90
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +92 -92
- package/dist/worktree.js +103 -103
- package/package.json +8 -8
- package/dist/chunks/websearch-00ve6mdn.js +0 -18
- package/dist/chunks/websearch-meywf6fv.js +0 -257
- package/dist/chunks/websearch-teq1sh86.js +0 -26
- package/dist/chunks/websearch-twhcdnyf.js +0 -517
- /package/dist/chunks/{websearch-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2bv980vf.js → schema-2bv980vf.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-5fjb7ams.js → schema-5fjb7ams.js} +0 -0
- /package/dist/chunks/{websearch-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a058387c.js → schema-a058387c.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-m18g726c.js → schema-m18g726c.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-pkyv6v7h.js → schema-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wjj7prxr.js → schema-wjj7prxr.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES2, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service42,
|
|
6
|
+
node44
|
|
7
|
+
} from "./schema-tdtvh78f.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-n0p0277s.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
16
|
var exports_generate = {};
|
|
17
17
|
__export(exports_generate, {
|
|
18
18
|
Generate: () => exports_generate,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
21
|
-
UnavailableError: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
Service: () => Service14,
|
|
21
|
+
UnavailableError: () => UnavailableError2,
|
|
22
|
+
layer: () => layer9,
|
|
23
|
+
node: () => node17
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service14 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer9 = Layer.effect(Service14, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service42;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -51,7 +51,7 @@ var layer12 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
51
51
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
52
52
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
53
53
|
], (error) => {
|
|
54
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
54
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
55
55
|
return Effect.fail(mapped);
|
|
56
56
|
}));
|
|
57
57
|
if (!resolved)
|
|
@@ -62,21 +62,21 @@ var layer12 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
62
62
|
model: resolved.model,
|
|
63
63
|
prompt: input.prompt,
|
|
64
64
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
65
|
-
})).pipe(retry2, Effect.mapError((error) => new
|
|
65
|
+
})).pipe(retry2, Effect.mapError((error) => new UnavailableError2({
|
|
66
66
|
message: error.message,
|
|
67
67
|
service: resolved.ref.providerID
|
|
68
68
|
})));
|
|
69
69
|
return response.text;
|
|
70
70
|
});
|
|
71
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
71
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service14.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node17 = makeLocationNode({
|
|
77
|
+
service: Service14,
|
|
78
|
+
layer: layer9,
|
|
79
|
+
deps: [node44, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError2, Service14, layer9, node17, exports_generate };
|
|
@@ -2,30 +2,30 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service27
|
|
6
|
+
} from "./schema-eda149f3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service74
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-7gf3pvgw.js";
|
|
10
10
|
import {
|
|
11
11
|
MEDIA_MIMES2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-g5m9rhne.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/tool/plugin/mcp-resource.ts
|
|
18
18
|
var exports_mcp_resource = {};
|
|
19
19
|
__export(exports_mcp_resource, {
|
|
20
20
|
McpResourceTools: () => exports_mcp_resource,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin43
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin43 = {
|
|
26
26
|
id: "opencode.tools.mcp-resources",
|
|
27
27
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
28
|
-
const mcp = yield*
|
|
28
|
+
const mcp = yield* Service27;
|
|
29
29
|
const permission = yield* Service74;
|
|
30
30
|
yield* ctx.tool.transform((editor) => {
|
|
31
31
|
editor.add({
|
|
@@ -96,4 +96,4 @@ var Plugin44 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin43, exports_mcp_resource };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-jc1zpzm6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./schema-hvvf9qw8.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-n3r3rt18.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-154zyqc4.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-1hcmr4yw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service18
|
|
18
|
+
} from "./schema-9rc4as14.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-n0p0277s.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service40;
|
|
36
36
|
const database = yield* Service86;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service18;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service63
|
|
3
|
-
} from "./websearch-s3jtn4b4.js";
|
|
4
1
|
import {
|
|
5
2
|
Service62
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./schema-mhe28zdf.js";
|
|
4
|
+
import {
|
|
5
|
+
Service61
|
|
6
|
+
} from "./schema-t1w3prdq.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-8nyb9b1r.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-nah043kf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin3
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin3 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service61;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service62;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -76,4 +76,4 @@ var Plugin30 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin3, exports_compatibility };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./schema-yqhw68ry.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service34,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-8dbgzqh1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./schema-gkmddht3.js";
|
|
12
12
|
import {
|
|
13
13
|
Service74
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-7gf3pvgw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service46
|
|
17
|
+
} from "./schema-rt1c7dae.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input3,
|
|
29
|
+
Output: () => Output3,
|
|
30
|
+
Plugin: () => Plugin37,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name3,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name3 = "write";
|
|
39
|
+
var Input3 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output3 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin37 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
55
|
+
const access = yield* Service46;
|
|
56
|
+
const fileMutation = yield* Service34;
|
|
57
|
+
const environment = yield* Service58;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
59
|
const permission = yield* Service74;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name3,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input3,
|
|
69
|
+
output: Output3,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name3, Input3, Output3, toModelContent3, Plugin37, exports_write };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin20
|
|
3
|
+
} from "./schema-acdmrrd1.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin21
|
|
6
|
+
} from "./schema-ncctsns8.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin23
|
|
9
|
+
} from "./schema-en8vfsd2.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin24
|
|
12
|
+
} from "./schema-6twctan0.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin22
|
|
15
|
+
} from "./schema-j1ehcwpj.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin20,
|
|
20
|
+
Plugin21,
|
|
21
|
+
Plugin23,
|
|
22
|
+
Plugin24,
|
|
23
|
+
Plugin22
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./schema-eqzmv0k0.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-7gf3pvgw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event16,
|
|
21
|
+
ID: () => ID12,
|
|
22
|
+
Info: () => Info23,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service73,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available3,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node77,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -35,13 +35,13 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Context, Effect, Layer } from "effect";
|
|
37
37
|
import { Skill } from "@opencode/schema/skill";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event16 } from "@opencode/schema/skill";
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
42
|
var Source4 = Skill.Source;
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var Info23 = Skill.Info;
|
|
44
|
+
var ID12 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
46
|
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -78,21 +78,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service73 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
84
|
-
const bus = yield*
|
|
83
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
84
|
+
const bus = yield* Service83;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
88
88
|
editor: (editor) => ({
|
|
89
89
|
list: () => Array.from(editor.skills.values()),
|
|
90
|
-
get: (id) => editor.skills.get(
|
|
90
|
+
get: (id) => editor.skills.get(ID12.make(id)),
|
|
91
91
|
add: (skill) => {
|
|
92
92
|
editor.skills.set(skill.id, { ...skill });
|
|
93
93
|
},
|
|
94
94
|
update: (id, update) => {
|
|
95
|
-
const key =
|
|
95
|
+
const key = ID12.make(id);
|
|
96
96
|
const current = editor.skills.get(key);
|
|
97
97
|
if (!current)
|
|
98
98
|
return;
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
100
100
|
current.id = key;
|
|
101
101
|
},
|
|
102
102
|
remove: (id) => {
|
|
103
|
-
editor.skills.delete(
|
|
103
|
+
editor.skills.delete(ID12.make(id));
|
|
104
104
|
}
|
|
105
105
|
}),
|
|
106
106
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service73.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -116,10 +116,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
120
|
-
service:
|
|
119
|
+
var node77 = makeLocationNode({
|
|
120
|
+
service: Service73,
|
|
121
121
|
layer,
|
|
122
|
-
deps: [
|
|
122
|
+
deps: [node87]
|
|
123
123
|
});
|
|
124
124
|
|
|
125
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
125
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info23, ID12, Name2, available3, toModelOutput3, prepare3, Service73, node77, exports_skill5, Event16 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-jc1zpzm6.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-998yhzzq.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-154zyqc4.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-fc6c4hv8.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput3,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service75,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
26
|
node: () => node79
|
|
27
27
|
});
|
|
@@ -53,11 +53,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
53
53
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
54
54
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class Service75 extends Context.Service()("@opencode/SessionStore") {
|
|
57
57
|
}
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
59
59
|
const { db } = yield* Service86;
|
|
60
|
-
return
|
|
60
|
+
return Service75.of({
|
|
61
61
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
62
62
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
63
63
|
return row ? fromRow2(row) : undefined;
|
|
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var node79 = makeGlobalNode({ service:
|
|
131
|
+
var node79 = makeGlobalNode({ service: Service75, layer, deps: [node90] });
|
|
132
132
|
|
|
133
|
-
export { ListInput3,
|
|
133
|
+
export { ListInput3, Service75, node79, exports_store };
|