@opencode/core 0.0.0-dev-21763 → 0.0.0-dev-21764
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 +83 -83
- package/dist/aisdk-native.js +92 -92
- package/dist/aisdk.js +98 -98
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{websearch-sb275byf.js → file-mutation-01hh241z.js} +25 -25
- package/dist/chunks/{websearch-sgrv6mzf.js → file-mutation-02wxth5p.js} +10 -10
- package/dist/chunks/{websearch-dh62xe4r.js → file-mutation-033a0jkt.js} +3 -3
- package/dist/chunks/{websearch-034tev2y.js → file-mutation-034tev2y.js} +2 -2
- package/dist/chunks/{websearch-ft9kpk2e.js → file-mutation-0bpyqdcp.js} +7 -7
- package/dist/chunks/{websearch-1jq5v97j.js → file-mutation-0h3xmpcd.js} +20 -20
- package/dist/chunks/{websearch-3ypzwevx.js → file-mutation-0xtm3epc.js} +4 -4
- package/dist/chunks/{websearch-9sh8p6nx.js → file-mutation-0xwwrpjs.js} +52 -52
- package/dist/chunks/{websearch-6ejgy672.js → file-mutation-12a87htm.js} +8 -8
- package/dist/chunks/{websearch-1ep2p91f.js → file-mutation-1ep2p91f.js} +2 -2
- package/dist/chunks/{websearch-dx5g0f3r.js → file-mutation-1fz8ksxp.js} +50 -50
- package/dist/chunks/{websearch-1x2knyw4.js → file-mutation-1x2knyw4.js} +1 -1
- package/dist/chunks/{websearch-2fx6sc8m.js → file-mutation-23yr3n9z.js} +1 -1
- package/dist/chunks/{websearch-888hgb07.js → file-mutation-299v56h7.js} +13 -13
- package/dist/chunks/{websearch-gg9100yt.js → file-mutation-2a44g180.js} +39 -39
- package/dist/chunks/{websearch-79ykxmfx.js → file-mutation-2c7jpr6s.js} +5 -5
- package/dist/chunks/{websearch-709aftea.js → file-mutation-2x7k2tv7.js} +42 -42
- package/dist/chunks/{websearch-5xfk6dbg.js → file-mutation-2xk8pskj.js} +8 -8
- package/dist/chunks/{websearch-2z1j29yd.js → file-mutation-2z1j29yd.js} +1 -1
- package/dist/chunks/file-mutation-33kxm06j.js +26 -0
- package/dist/chunks/{websearch-k61qs451.js → file-mutation-38wt7cws.js} +47 -47
- package/dist/chunks/{websearch-a4fjeg88.js → file-mutation-3fasazex.js} +21 -21
- package/dist/chunks/{websearch-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-nt00n9sh.js → file-mutation-3kcm3cr6.js} +10 -10
- package/dist/chunks/{websearch-3nnrz6f6.js → file-mutation-3nnrz6f6.js} +1 -1
- package/dist/chunks/{websearch-8371ggt2.js → file-mutation-3ryazf7k.js} +21 -21
- package/dist/chunks/{websearch-x01kwc3d.js → file-mutation-3s1mf836.js} +11 -11
- package/dist/chunks/{websearch-zrc037h4.js → file-mutation-3s5n2216.js} +13 -13
- package/dist/chunks/{websearch-a42dnrht.js → file-mutation-46bhyqhg.js} +28 -28
- package/dist/chunks/{websearch-qtw36mps.js → file-mutation-4acjqbzf.js} +3 -3
- package/dist/chunks/{websearch-rwvztcr2.js → file-mutation-4bccegnb.js} +13 -13
- package/dist/chunks/{websearch-48yja14g.js → file-mutation-4e2qh63v.js} +11 -11
- package/dist/chunks/{websearch-p8rxrw5c.js → file-mutation-4qyttppm.js} +5 -5
- package/dist/chunks/{websearch-4v008n1t.js → file-mutation-4v008n1t.js} +1 -1
- package/dist/chunks/{websearch-mbk0t8q9.js → file-mutation-4x6w1zj9.js} +24 -24
- package/dist/chunks/{websearch-ebh17g7q.js → file-mutation-4x9m2bcx.js} +19 -19
- package/dist/chunks/{websearch-4xvmh7wp.js → file-mutation-4xvmh7wp.js} +3 -3
- package/dist/chunks/{websearch-z5wdff31.js → file-mutation-4yhdbwgv.js} +11 -11
- package/dist/chunks/{websearch-ycg9ewh9.js → file-mutation-53hqh508.js} +19 -19
- package/dist/chunks/{websearch-5nqw6vw5.js → file-mutation-5abcwat7.js} +7 -7
- package/dist/chunks/{websearch-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{websearch-vzmjdaw1.js → file-mutation-5qv54f7z.js} +5 -5
- package/dist/chunks/{websearch-72gkwb92.js → file-mutation-5qykrmpj.js} +13 -13
- package/dist/chunks/{websearch-h7ymgnqs.js → file-mutation-5wenzm93.js} +8 -8
- package/dist/chunks/{websearch-1rbznk76.js → file-mutation-5y2ykpjn.js} +30 -30
- package/dist/chunks/{websearch-gk8rb9qf.js → file-mutation-5yh6gtt2.js} +17 -17
- package/dist/chunks/{websearch-1yq9hg58.js → file-mutation-5zrxpy3q.js} +5 -5
- package/dist/chunks/{websearch-gxjy29d9.js → file-mutation-62kc5cbt.js} +34 -34
- package/dist/chunks/{websearch-gg4606bf.js → file-mutation-65x6vsj8.js} +19 -19
- package/dist/chunks/file-mutation-6bgb0w8a.js +257 -0
- package/dist/chunks/{websearch-57p715bj.js → file-mutation-6c83wpy3.js} +5 -5
- package/dist/chunks/{websearch-6esdw8yj.js → file-mutation-6esdw8yj.js} +1 -1
- package/dist/chunks/{websearch-6pjqjmy2.js → file-mutation-6pjqjmy2.js} +1 -1
- package/dist/chunks/{websearch-bd5kqybq.js → file-mutation-6qfw85j3.js} +20 -20
- package/dist/chunks/{websearch-drcvb97p.js → file-mutation-6xvk4rvf.js} +36 -36
- package/dist/chunks/{websearch-srcpqtfh.js → file-mutation-75d5grb6.js} +28 -28
- package/dist/chunks/{websearch-nah043kf.js → file-mutation-770pw0s1.js} +4 -4
- package/dist/chunks/{websearch-ys1mpr1q.js → file-mutation-7987nrfd.js} +20 -20
- package/dist/chunks/{websearch-e43td24s.js → file-mutation-79x1vadv.js} +9 -9
- package/dist/chunks/{websearch-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-ka8y8jkb.js → file-mutation-7dt954pf.js} +19 -19
- package/dist/chunks/{websearch-7w2ypzdf.js → file-mutation-7w2ypzdf.js} +1 -1
- package/dist/chunks/{websearch-4x5ne6q5.js → file-mutation-818eymrz.js} +6 -6
- package/dist/chunks/{websearch-7deqkbqn.js → file-mutation-8404fn9j.js} +6 -6
- package/dist/chunks/{websearch-tgycm7xg.js → file-mutation-8c5q3ptd.js} +9 -9
- package/dist/chunks/{websearch-hy8c1z76.js → file-mutation-8d2bz6m6.js} +4 -4
- package/dist/chunks/{websearch-vs81z90t.js → file-mutation-8emcj4mr.js} +43 -43
- package/dist/chunks/{websearch-vzvckjxq.js → file-mutation-8fz9qv1y.js} +7 -7
- package/dist/chunks/{websearch-w1zzsny8.js → file-mutation-8qe8mbnw.js} +19 -19
- package/dist/chunks/{websearch-y24s7hc7.js → file-mutation-8qvck1z4.js} +3 -3
- package/dist/chunks/{websearch-0yhm11wk.js → file-mutation-8sv36032.js} +34 -34
- package/dist/chunks/{websearch-06vk0kzn.js → file-mutation-8tbw44dq.js} +4 -4
- package/dist/chunks/{websearch-8wtp7s3z.js → file-mutation-8wtp7s3z.js} +1 -1
- package/dist/chunks/{websearch-y4n6pw34.js → file-mutation-8xs8wyc8.js} +4 -4
- package/dist/chunks/{websearch-91rj84md.js → file-mutation-91rj84md.js} +1 -1
- package/dist/chunks/{websearch-9b28cy4d.js → file-mutation-953xbrr3.js} +5 -5
- package/dist/chunks/{websearch-998yhzzq.js → file-mutation-998yhzzq.js} +3 -3
- package/dist/chunks/{websearch-m5hjs3vf.js → file-mutation-9czp4gmt.js} +26 -26
- package/dist/chunks/{websearch-5f5f6dw4.js → file-mutation-9e319wwh.js} +21 -21
- package/dist/chunks/{websearch-b7mcgwp3.js → file-mutation-9yn8het3.js} +4 -4
- package/dist/chunks/{websearch-d2nhvyww.js → file-mutation-a45jdcy2.js} +33 -33
- package/dist/chunks/{websearch-c1khejyh.js → file-mutation-a7r94pj9.js} +4 -4
- package/dist/chunks/{websearch-rw6n77w3.js → file-mutation-ads9zrhy.js} +4 -4
- package/dist/chunks/{websearch-agqd6nxz.js → file-mutation-agqd6nxz.js} +2 -2
- package/dist/chunks/{websearch-ca6atg52.js → file-mutation-an8jph8e.js} +45 -45
- package/dist/chunks/{websearch-akv6whtz.js → file-mutation-atdxfxea.js} +30 -30
- package/dist/chunks/{websearch-d1g76nqk.js → file-mutation-av31dtj6.js} +15 -15
- package/dist/chunks/{websearch-ayjs7tqn.js → file-mutation-ayjs7tqn.js} +2 -2
- package/dist/chunks/{websearch-b0mv4wxm.js → file-mutation-b0mv4wxm.js} +2 -2
- package/dist/chunks/{websearch-hf84ee0d.js → file-mutation-b2n4kpg1.js} +19 -19
- package/dist/chunks/{websearch-b6vsg801.js → file-mutation-b6vsg801.js} +2 -2
- package/dist/chunks/{websearch-v6e01gce.js → file-mutation-bhymm4ka.js} +4 -4
- package/dist/chunks/{websearch-stgkv189.js → file-mutation-brp5t0mv.js} +24 -24
- package/dist/chunks/{websearch-rdx9gx2w.js → file-mutation-bxt4wf11.js} +8 -8
- package/dist/chunks/{websearch-kp4881bv.js → file-mutation-c1hp29t2.js} +15 -15
- package/dist/chunks/{websearch-783zccns.js → file-mutation-c1vp62rn.js} +12 -12
- package/dist/chunks/{websearch-c3cfh5w6.js → file-mutation-c3cfh5w6.js} +2 -2
- package/dist/chunks/{websearch-x7e5kpxn.js → file-mutation-cm3rm329.js} +3 -3
- package/dist/chunks/{websearch-028jhwed.js → file-mutation-cqcvpaa1.js} +11 -11
- package/dist/chunks/{websearch-9v9xq6k7.js → file-mutation-crzd7t9a.js} +32 -32
- package/dist/chunks/{websearch-7akzmw6y.js → file-mutation-cs87y13h.js} +8 -8
- package/dist/chunks/{websearch-x32t5rjd.js → file-mutation-csg5pa84.js} +16 -16
- package/dist/chunks/{websearch-rv8hmem0.js → file-mutation-ctabavz2.js} +17 -17
- package/dist/chunks/{websearch-ssfehs1z.js → file-mutation-d2887f8n.js} +4 -4
- package/dist/chunks/{websearch-1y0wdj51.js → file-mutation-d2dx6a7h.js} +4 -4
- package/dist/chunks/{websearch-mqrfkf7g.js → file-mutation-d3vz98ev.js} +9 -9
- package/dist/chunks/{websearch-d4v9tmah.js → file-mutation-d4v9tmah.js} +2 -2
- package/dist/chunks/{websearch-p9r4530m.js → file-mutation-d6a2g7hg.js} +23 -23
- package/dist/chunks/{websearch-a7hcemwv.js → file-mutation-d8qd4w10.js} +8 -8
- package/dist/chunks/{websearch-fy4awrc2.js → file-mutation-db21j9qk.js} +9 -9
- package/dist/chunks/{websearch-csqtxx7c.js → file-mutation-dvbewn83.js} +4 -4
- package/dist/chunks/{websearch-sa1k6cm5.js → file-mutation-dy6w43s9.js} +14 -14
- package/dist/chunks/{websearch-nzh3qh6x.js → file-mutation-dz8z5rmr.js} +5 -5
- package/dist/chunks/{websearch-4kaztr7e.js → file-mutation-e5y4b45j.js} +14 -14
- package/dist/chunks/{websearch-e834z07m.js → file-mutation-e834z07m.js} +1 -1
- package/dist/chunks/{websearch-87s7n4ge.js → file-mutation-eat1kxrx.js} +15 -15
- package/dist/chunks/{websearch-32tek056.js → file-mutation-ec5kptgt.js} +6 -6
- package/dist/chunks/{websearch-vweg9rhc.js → file-mutation-ed4thbkn.js} +86 -86
- package/dist/chunks/{websearch-xnh3x4zb.js → file-mutation-ef9prmak.js} +4 -4
- package/dist/chunks/{websearch-hvwvq3df.js → file-mutation-efr9f7w8.js} +8 -8
- package/dist/chunks/{websearch-xfs8aec3.js → file-mutation-ejqqbn2a.js} +20 -20
- package/dist/chunks/{websearch-8dbt3gp8.js → file-mutation-epy9ft1b.js} +15 -15
- package/dist/chunks/{websearch-seqv54nm.js → file-mutation-evr6t6br.js} +25 -25
- package/dist/chunks/{websearch-h069xeqn.js → file-mutation-exkeg691.js} +17 -17
- package/dist/chunks/{websearch-v50mas5h.js → file-mutation-f62v42d5.js} +31 -31
- package/dist/chunks/{websearch-jkxkafzy.js → file-mutation-fbdaedg4.js} +14 -14
- package/dist/chunks/{websearch-fffv3p7h.js → file-mutation-fffv3p7h.js} +1 -1
- package/dist/chunks/{websearch-zn3s3q02.js → file-mutation-fmqc0xxy.js} +14 -14
- package/dist/chunks/{websearch-w687dnns.js → file-mutation-fznmdakp.js} +4 -4
- package/dist/chunks/{websearch-d0qd2q9y.js → file-mutation-fzpdbh9r.js} +30 -30
- package/dist/chunks/{websearch-htnwkh5a.js → file-mutation-fzybaf5h.js} +32 -32
- package/dist/chunks/{websearch-0sc0whcy.js → file-mutation-g484p7w5.js} +26 -26
- package/dist/chunks/{websearch-g5h9c0rr.js → file-mutation-g5h9c0rr.js} +2 -2
- package/dist/chunks/{websearch-gk3b5har.js → file-mutation-g8ycf2ce.js} +84 -84
- package/dist/chunks/{websearch-bgm817xr.js → file-mutation-gcjdgkn2.js} +9 -9
- package/dist/chunks/{websearch-s5zfzkdr.js → file-mutation-gspt6sck.js} +18 -18
- package/dist/chunks/{websearch-hfcmmhta.js → file-mutation-hedmc2nt.js} +24 -24
- package/dist/chunks/{websearch-610jhrvc.js → file-mutation-hfs7ms8q.js} +27 -27
- package/dist/chunks/{websearch-d86zx6ex.js → file-mutation-hnbfpcqv.js} +25 -25
- package/dist/chunks/{websearch-45k1q4jf.js → file-mutation-hrg8f2pc.js} +12 -12
- package/dist/chunks/{websearch-j113cymg.js → file-mutation-j113cymg.js} +1 -1
- package/dist/chunks/{websearch-bnarb0wx.js → file-mutation-jek6gdnj.js} +15 -15
- package/dist/chunks/{websearch-nnfcn29r.js → file-mutation-jgk1jw6b.js} +14 -14
- package/dist/chunks/{websearch-wz7v9a4w.js → file-mutation-jr209fpd.js} +17 -17
- package/dist/chunks/{websearch-gcrsyfkm.js → file-mutation-k0fwm03j.js} +5 -5
- package/dist/chunks/{websearch-p580ev26.js → file-mutation-k3cw2t6y.js} +6 -6
- package/dist/chunks/{websearch-9fm2qjhc.js → file-mutation-k533psas.js} +13 -13
- package/dist/chunks/{websearch-k814nvkf.js → file-mutation-k814nvkf.js} +1 -1
- package/dist/chunks/{websearch-16hqm74r.js → file-mutation-kb1d5h98.js} +3 -3
- package/dist/chunks/{websearch-6a99w62x.js → file-mutation-kh1vw83k.js} +2 -2
- package/dist/chunks/{websearch-3tt1qka2.js → file-mutation-km0c355e.js} +33 -33
- package/dist/chunks/{websearch-k8yzaem4.js → file-mutation-kxjzb63p.js} +14 -14
- package/dist/chunks/{websearch-m1714858.js → file-mutation-m1714858.js} +1 -1
- package/dist/chunks/{websearch-m37sd98t.js → file-mutation-m37sd98t.js} +1 -1
- package/dist/chunks/{websearch-abdhesrb.js → file-mutation-m3hhjj3r.js} +36 -36
- package/dist/chunks/{websearch-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
- package/dist/chunks/{websearch-ecj92f6p.js → file-mutation-mn76yzm5.js} +16 -16
- package/dist/chunks/{websearch-48kw51zw.js → file-mutation-mtpeagzc.js} +3 -3
- package/dist/chunks/{websearch-n0p0277s.js → file-mutation-n0p0277s.js} +1 -1
- package/dist/chunks/{websearch-n1pz9w08.js → file-mutation-n1pz9w08.js} +4 -4
- package/dist/chunks/{websearch-6y263vp8.js → file-mutation-n6v2b7cw.js} +5 -5
- package/dist/chunks/{websearch-tkjf59m0.js → file-mutation-njq30gkr.js} +1 -1
- package/dist/chunks/{websearch-4ytg8f8f.js → file-mutation-nkr5r85d.js} +2 -2
- package/dist/chunks/{websearch-ba38v71t.js → file-mutation-nv70q41g.js} +5 -5
- package/dist/chunks/{websearch-4p7eafa8.js → file-mutation-nxwvdtkc.js} +5 -5
- package/dist/chunks/{websearch-twhcdnyf.js → file-mutation-nzgmgab6.js} +333 -333
- package/dist/chunks/{websearch-pxkxhxat.js → file-mutation-nzs7qp78.js} +6 -6
- package/dist/chunks/{websearch-p015t6z3.js → file-mutation-p015t6z3.js} +2 -2
- package/dist/chunks/{websearch-g0cks53z.js → file-mutation-p8mg4rnn.js} +48 -48
- package/dist/chunks/{websearch-qjj7qevc.js → file-mutation-pb0whgjq.js} +19 -19
- package/dist/chunks/{websearch-87fjpdw3.js → file-mutation-pckbcfmj.js} +19 -19
- package/dist/chunks/{websearch-skj4q71p.js → file-mutation-pds8n59z.js} +26 -26
- package/dist/chunks/{websearch-wg3wqxny.js → file-mutation-pdwvva8b.js} +5 -5
- package/dist/chunks/{websearch-w610p6d9.js → file-mutation-pfm7dcjx.js} +11 -11
- package/dist/chunks/{websearch-j34dxvpb.js → file-mutation-pfq1ksym.js} +5 -5
- package/dist/chunks/{websearch-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-0ear39jp.js → file-mutation-ppd8r3bw.js} +11 -11
- package/dist/chunks/{websearch-p76me67c.js → file-mutation-prd8gnhb.js} +4 -4
- package/dist/chunks/{websearch-1cjk9esd.js → file-mutation-q0cbencw.js} +2 -2
- package/dist/chunks/{websearch-9d47xe23.js → file-mutation-q0xgbsd8.js} +25 -25
- package/dist/chunks/{websearch-mxpbzbap.js → file-mutation-q1q5csf7.js} +18 -18
- package/dist/chunks/{websearch-48khph17.js → file-mutation-q2qa99s7.js} +11 -11
- package/dist/chunks/{websearch-4sjm1mdd.js → file-mutation-q6qy2ezf.js} +24 -24
- package/dist/chunks/{websearch-5bfg49e7.js → file-mutation-q7rdkpep.js} +4 -4
- package/dist/chunks/{websearch-f89qnyv0.js → file-mutation-q9p72tx2.js} +64 -64
- package/dist/chunks/{websearch-hyv9r77w.js → file-mutation-qavs5vq9.js} +16 -16
- package/dist/chunks/{websearch-76t1xp06.js → file-mutation-qdxj2zxm.js} +25 -25
- package/dist/chunks/{websearch-kdw5wkbd.js → file-mutation-qe8qxr7j.js} +31 -31
- package/dist/chunks/{websearch-qjgzc4b4.js → file-mutation-qjgzc4b4.js} +1 -1
- package/dist/chunks/{websearch-9cvvmdrm.js → file-mutation-qraask58.js} +23 -23
- package/dist/chunks/{websearch-538n6qw9.js → file-mutation-qvf9anv7.js} +22 -22
- package/dist/chunks/{websearch-sxbxv19s.js → file-mutation-qxqh84zc.js} +10 -10
- package/dist/chunks/{websearch-r0yr0wbs.js → file-mutation-r0yr0wbs.js} +1 -1
- package/dist/chunks/{websearch-30asdcnx.js → file-mutation-r1yhsp9x.js} +3 -3
- package/dist/chunks/{websearch-jgp1rfxc.js → file-mutation-r26ws53m.js} +11 -11
- package/dist/chunks/{websearch-fgr117q8.js → file-mutation-r2exrp63.js} +14 -14
- package/dist/chunks/{websearch-40za9wsf.js → file-mutation-r41sfy63.js} +6 -6
- package/dist/chunks/{websearch-af6r45an.js → file-mutation-r4tfxt3f.js} +40 -40
- package/dist/chunks/{websearch-b4nx6saa.js → file-mutation-rb428vte.js} +9 -9
- package/dist/chunks/{websearch-rb9dy4dg.js → file-mutation-rb9dy4dg.js} +1 -1
- package/dist/chunks/{websearch-nkxanhw7.js → file-mutation-rc8s48yf.js} +18 -18
- package/dist/chunks/{websearch-78je3d3v.js → file-mutation-rddakqqk.js} +18 -18
- package/dist/chunks/{websearch-5gwd981r.js → file-mutation-rdsfrh75.js} +15 -15
- package/dist/chunks/{websearch-s3jtn4b4.js → file-mutation-rmpmkka0.js} +18 -18
- package/dist/chunks/{websearch-nfdkbbm6.js → file-mutation-rstnpv25.js} +14 -14
- package/dist/chunks/{websearch-kfknhheq.js → file-mutation-rt32ykrj.js} +8 -8
- package/dist/chunks/{websearch-rt5dr6hb.js → file-mutation-rt5dr6hb.js} +1 -1
- package/dist/chunks/{websearch-ar2j3j0f.js → file-mutation-rwp901jg.js} +4 -4
- package/dist/chunks/{websearch-2a2xbt2q.js → file-mutation-s15vm27z.js} +19 -19
- package/dist/chunks/{websearch-dcw70mgd.js → file-mutation-s1yg9hd2.js} +15 -15
- package/dist/chunks/{websearch-50bs153s.js → file-mutation-s5d01prw.js} +5 -5
- package/dist/chunks/{websearch-sa3fpqfw.js → file-mutation-sa3fpqfw.js} +2 -2
- package/dist/chunks/{websearch-98t00bmz.js → file-mutation-sbsfx9rq.js} +30 -30
- package/dist/chunks/{websearch-yfja0yt8.js → file-mutation-sga46wt1.js} +28 -28
- package/dist/chunks/{websearch-ys71vevy.js → file-mutation-sgzfv2ep.js} +7 -7
- package/dist/chunks/{websearch-q9w4eaj5.js → file-mutation-sh7sp5ah.js} +23 -23
- package/dist/chunks/{websearch-ez0ps4vh.js → file-mutation-sncwygnk.js} +9 -9
- package/dist/chunks/{websearch-fyr07a1r.js → file-mutation-sndntm2r.js} +24 -24
- package/dist/chunks/{websearch-sqjzf8x2.js → file-mutation-sqjzf8x2.js} +1 -1
- package/dist/chunks/{websearch-hdcc19jf.js → file-mutation-st6532p2.js} +11 -11
- package/dist/chunks/{websearch-558sn0j3.js → file-mutation-sxeq46ve.js} +7 -7
- package/dist/chunks/{websearch-02bgezqx.js → file-mutation-t5xvwr0v.js} +35 -35
- package/dist/chunks/{websearch-tasvem1v.js → file-mutation-tasvem1v.js} +3 -3
- package/dist/chunks/{websearch-em430e81.js → file-mutation-tc5ygtk7.js} +18 -18
- package/dist/chunks/{websearch-tczq8hjw.js → file-mutation-tczq8hjw.js} +1 -1
- package/dist/chunks/{websearch-qvn0et0v.js → file-mutation-tgkfec1y.js} +45 -45
- package/dist/chunks/{websearch-wdv0vama.js → file-mutation-tn37q2tj.js} +9 -9
- package/dist/chunks/{websearch-q46y00v4.js → file-mutation-tpm1qpxt.js} +9 -9
- package/dist/chunks/{websearch-5v4yb9wj.js → file-mutation-tqpw8n9t.js} +10 -10
- package/dist/chunks/{websearch-tw8zr1ps.js → file-mutation-tw8zr1ps.js} +1 -1
- package/dist/chunks/{websearch-twv2r8f4.js → file-mutation-twv2r8f4.js} +2 -2
- package/dist/chunks/{websearch-aw3srb6e.js → file-mutation-v0tjffkk.js} +10 -10
- package/dist/chunks/{websearch-07kams43.js → file-mutation-v17rck64.js} +54 -54
- package/dist/chunks/{websearch-v2r1d0zg.js → file-mutation-v2r1d0zg.js} +1 -1
- package/dist/chunks/{websearch-vy8mxgjx.js → file-mutation-v6bgn6xy.js} +17 -17
- package/dist/chunks/{websearch-vd3b3yk9.js → file-mutation-vd3b3yk9.js} +1 -1
- package/dist/chunks/file-mutation-vdh3rgac.js +18 -0
- package/dist/chunks/{websearch-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-52760bbp.js → file-mutation-vhn1km4s.js} +32 -32
- package/dist/chunks/{websearch-ew9j7vn7.js → file-mutation-vjk8yab7.js} +184 -184
- package/dist/chunks/{websearch-bcvfpan3.js → file-mutation-vn0431e0.js} +14 -14
- package/dist/chunks/{websearch-50ya5pgh.js → file-mutation-vprqjk3y.js} +4 -4
- package/dist/chunks/{websearch-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-nah9ekst.js → file-mutation-w4x1nz7y.js} +12 -12
- package/dist/chunks/{websearch-ey051h0d.js → file-mutation-w6qwbe6w.js} +21 -21
- package/dist/chunks/{websearch-1qn5xget.js → file-mutation-w7akjha9.js} +11 -11
- package/dist/chunks/{websearch-76cb1hcw.js → file-mutation-w8qtt4th.js} +4 -4
- package/dist/chunks/{websearch-wakvkjy4.js → file-mutation-wakvkjy4.js} +1 -1
- package/dist/chunks/{websearch-xe844d6a.js → file-mutation-wbtek7hf.js} +28 -28
- package/dist/chunks/{websearch-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-exzfyd93.js → file-mutation-wnbwervj.js} +9 -9
- package/dist/chunks/{websearch-5kxxqds9.js → file-mutation-wvn9agqa.js} +11 -11
- package/dist/chunks/{websearch-2kpf2tnx.js → file-mutation-ww70jcze.js} +11 -11
- package/dist/chunks/{websearch-t211gxpv.js → file-mutation-wwye013q.js} +7 -7
- package/dist/chunks/{websearch-5mb8ret5.js → file-mutation-x75whda2.js} +11 -11
- package/dist/chunks/{websearch-dncnpr57.js → file-mutation-x96j0kvq.js} +10 -10
- package/dist/chunks/{websearch-vq4ea6e1.js → file-mutation-xd4cchzg.js} +36 -36
- package/dist/chunks/{websearch-bstexjd6.js → file-mutation-xd9cc171.js} +5 -5
- package/dist/chunks/{websearch-q9wrv6hp.js → file-mutation-xgyrt5mg.js} +14 -14
- package/dist/chunks/{websearch-cvna5pvx.js → file-mutation-xh0rg2ax.js} +7 -7
- package/dist/chunks/{websearch-6revxm77.js → file-mutation-xy6nqvtr.js} +20 -20
- package/dist/chunks/{websearch-q3k4em5e.js → file-mutation-y0kzaj5g.js} +3 -3
- package/dist/chunks/{websearch-k4g9p6fx.js → file-mutation-y0r2nan2.js} +17 -17
- package/dist/chunks/{websearch-y2tacs4v.js → file-mutation-y2tacs4v.js} +1 -1
- package/dist/chunks/{websearch-yb20nhc3.js → file-mutation-yb20nhc3.js} +1 -1
- package/dist/chunks/{websearch-b4e1jcxa.js → file-mutation-ybycavcp.js} +17 -17
- package/dist/chunks/{websearch-627jp256.js → file-mutation-yfy7v86t.js} +11 -11
- package/dist/chunks/{websearch-2e9c1ftj.js → file-mutation-ype8y937.js} +10 -10
- package/dist/chunks/{websearch-ry63fkbp.js → file-mutation-yq70x34n.js} +4 -4
- package/dist/chunks/{websearch-ptavmxt8.js → file-mutation-ysqmn0dh.js} +36 -36
- package/dist/chunks/{websearch-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-z38nccrw.js → file-mutation-z38nccrw.js} +1 -1
- package/dist/chunks/{websearch-n1jvtmv7.js → file-mutation-z4mkj7zj.js} +23 -23
- package/dist/chunks/{websearch-6tbrfh06.js → file-mutation-z4qvj0p0.js} +40 -40
- package/dist/chunks/{websearch-b2fr11m5.js → file-mutation-z52ffdcm.js} +8 -8
- package/dist/chunks/{websearch-pww3ccs0.js → file-mutation-z5tx473w.js} +18 -18
- package/dist/chunks/{websearch-2sadzmpt.js → file-mutation-zeztr7cr.js} +21 -21
- package/dist/chunks/{websearch-nfx6rd1e.js → file-mutation-zgn0e7bm.js} +30 -30
- package/dist/chunks/{websearch-zkg84ctx.js → file-mutation-zkg84ctx.js} +1 -1
- package/dist/chunks/{websearch-rg36x40h.js → file-mutation-zycxxtq8.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +87 -87
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +102 -102
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- 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 +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +105 -105
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +90 -90
- 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 +1 -1
- 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 +72 -72
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +105 -105
- package/dist/form.js +86 -86
- 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 +102 -102
- 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 +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +106 -106
- package/dist/location-service-map.js +89 -89
- package/dist/location-services.js +358 -358
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +6 -6
- 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 +102 -102
- package/dist/model-resolver.js +98 -98
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- 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 +76 -76
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- 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 +2 -2
- 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 +116 -116
- 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 +78 -78
- 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 +4 -4
- 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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +102 -102
- 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 +94 -94
- 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 +139 -139
- 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 +221 -221
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +167 -167
- 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 +3 -3
- 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 +163 -163
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +169 -169
- package/dist/session/to-session-error.js +115 -115
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +110 -110
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +94 -94
- 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 +138 -138
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- 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 +122 -122
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +116 -116
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +116 -116
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +125 -125
- package/dist/tool/read-filesystem.js +103 -103
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +5 -5
- 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 +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +92 -92
- package/dist/worktree.js +101 -101
- 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-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-5fjb7ams.js → file-mutation-5fjb7ams.js} +0 -0
- /package/dist/chunks/{websearch-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a058387c.js → file-mutation-a058387c.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-8qvck1z4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./file-mutation-kxjzb63p.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service59,
|
|
13
|
+
node62
|
|
14
|
+
} from "./file-mutation-62kc5cbt.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID15,
|
|
17
|
+
Service72,
|
|
18
|
+
node75
|
|
19
|
+
} from "./file-mutation-s15vm27z.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-818eymrz.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-y2tacs4v.js";
|
|
26
26
|
import {
|
|
27
27
|
entriesForRunner2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-xh0rg2ax.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service71,
|
|
31
|
+
node74
|
|
32
|
+
} from "./file-mutation-c1vp62rn.js";
|
|
33
33
|
import {
|
|
34
34
|
merge2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-mutation-r4tfxt3f.js";
|
|
36
36
|
import {
|
|
37
37
|
make14
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-mutation-0bpyqdcp.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service34,
|
|
41
|
+
node37
|
|
42
|
+
} from "./file-mutation-w6qwbe6w.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./
|
|
44
|
+
Service24,
|
|
45
|
+
node28
|
|
46
|
+
} from "./file-mutation-k533psas.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
48
|
+
Service52,
|
|
49
|
+
node55
|
|
50
|
+
} from "./file-mutation-sndntm2r.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service28,
|
|
53
|
+
node31
|
|
54
|
+
} from "./file-mutation-qe8qxr7j.js";
|
|
55
|
+
import {
|
|
56
|
+
Service27,
|
|
57
|
+
node30
|
|
58
|
+
} from "./file-mutation-b2n4kpg1.js";
|
|
59
|
+
import {
|
|
60
|
+
Service26,
|
|
61
|
+
node29
|
|
62
|
+
} from "./file-mutation-mn76yzm5.js";
|
|
55
63
|
import {
|
|
56
64
|
Service33,
|
|
57
65
|
node36
|
|
58
|
-
} from "./
|
|
66
|
+
} from "./file-mutation-ejqqbn2a.js";
|
|
59
67
|
import {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} from "./
|
|
68
|
+
Service23,
|
|
69
|
+
node27
|
|
70
|
+
} from "./file-mutation-5qykrmpj.js";
|
|
63
71
|
import {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
} from "./
|
|
67
|
-
import {
|
|
68
|
-
Service37,
|
|
69
|
-
node40
|
|
70
|
-
} from "./websearch-72gkwb92.js";
|
|
72
|
+
Service31,
|
|
73
|
+
node34
|
|
74
|
+
} from "./file-mutation-zgn0e7bm.js";
|
|
71
75
|
import {
|
|
72
|
-
|
|
76
|
+
Service39,
|
|
73
77
|
node41
|
|
74
|
-
} from "./
|
|
75
|
-
import {
|
|
76
|
-
Service53,
|
|
77
|
-
node56
|
|
78
|
-
} from "./websearch-bcvfpan3.js";
|
|
78
|
+
} from "./file-mutation-vn0431e0.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
82
82
|
|
|
83
83
|
// src/session/context.ts
|
|
84
84
|
var exports_context = {};
|
|
85
85
|
__export(exports_context, {
|
|
86
|
-
Service: () =>
|
|
86
|
+
Service: () => Service22,
|
|
87
87
|
SessionContext: () => exports_context,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node26
|
|
89
89
|
});
|
|
90
90
|
import { Context, Effect, Layer } from "effect";
|
|
91
91
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
92
|
-
class
|
|
92
|
+
class Service22 extends Context.Service()("@opencode/SessionContext") {
|
|
93
93
|
}
|
|
94
|
-
var layer = Layer.effect(
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const builtins = yield*
|
|
97
|
-
const model = yield*
|
|
94
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
95
|
+
const agents = yield* Service72;
|
|
96
|
+
const builtins = yield* Service24;
|
|
97
|
+
const model = yield* Service59;
|
|
98
98
|
const db = (yield* Service86).db;
|
|
99
|
-
const discovery = yield*
|
|
100
|
-
const entries = yield*
|
|
101
|
-
const location = yield*
|
|
102
|
-
const mcpInstructions = yield*
|
|
103
|
-
const mcpTools = yield*
|
|
104
|
-
const models = yield*
|
|
105
|
-
const request = yield*
|
|
106
|
-
const referenceInstructions = yield*
|
|
107
|
-
const skillInstructions = yield*
|
|
108
|
-
const store = yield*
|
|
109
|
-
const registry = yield*
|
|
99
|
+
const discovery = yield* Service34;
|
|
100
|
+
const entries = yield* Service23;
|
|
101
|
+
const location = yield* Service79;
|
|
102
|
+
const mcpInstructions = yield* Service27;
|
|
103
|
+
const mcpTools = yield* Service28;
|
|
104
|
+
const models = yield* Service39;
|
|
105
|
+
const request = yield* Service31;
|
|
106
|
+
const referenceInstructions = yield* Service26;
|
|
107
|
+
const skillInstructions = yield* Service33;
|
|
108
|
+
const store = yield* Service71;
|
|
109
|
+
const registry = yield* Service52;
|
|
110
110
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
111
111
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
112
|
-
const agent = yield* agents.get(
|
|
112
|
+
const agent = yield* agents.get(ID15.make("title"));
|
|
113
113
|
if (!agent)
|
|
114
114
|
return;
|
|
115
115
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
191
191
|
tools: selection.tools
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return Service22.of({ select, load, resolveModel, selectTitle, request });
|
|
195
195
|
}));
|
|
196
196
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
197
197
|
var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
|
|
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
|
|
|
199
199
|
const rank = (id) => info.variants.findIndex((item) => item.id === id);
|
|
200
200
|
return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
|
|
201
201
|
};
|
|
202
|
-
var
|
|
203
|
-
service:
|
|
202
|
+
var node26 = makeLocationNode({
|
|
203
|
+
service: Service22,
|
|
204
204
|
layer,
|
|
205
205
|
deps: [
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
node75,
|
|
207
|
+
node62,
|
|
208
208
|
node90,
|
|
209
|
-
|
|
210
|
-
node45,
|
|
211
|
-
node40,
|
|
212
|
-
node86,
|
|
213
|
-
node36,
|
|
209
|
+
node28,
|
|
214
210
|
node37,
|
|
215
|
-
|
|
216
|
-
|
|
211
|
+
node27,
|
|
212
|
+
node83,
|
|
213
|
+
node30,
|
|
214
|
+
node31,
|
|
215
|
+
node29,
|
|
217
216
|
node41,
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
217
|
+
node34,
|
|
218
|
+
node74,
|
|
219
|
+
node36,
|
|
220
|
+
node55
|
|
221
221
|
]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { Service22, node26, exports_context };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service12,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service12.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service12, node14, exports_discovery };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info8,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-d6a2g7hg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service57
|
|
11
|
+
} from "./file-mutation-tgkfec1y.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin30,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin30 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info8.make({
|
|
439
|
+
id: ID6.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info8.make({
|
|
446
|
+
id: ID6.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service57;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin30, exports_skill2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-bhymm4ka.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event14,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID11,
|
|
20
|
+
Info: () => Info20,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError5,
|
|
24
24
|
Reply: () => Reply2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service63,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node66,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event14 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID11 = Form.ID;
|
|
39
|
+
var Info20 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError5 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID11
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID11
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID11
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID11,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service63 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer25 = Layer.effect(Service63, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError5({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID11.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service63.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node66 = makeLocationNode({ service: Service63, layer: layer25, deps: [node89] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID11, Info20, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError5, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service63, layer25, node66, validateAnswer2, validateFields2, exports_form, Event14 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service58,
|
|
3
|
+
node61
|
|
4
|
+
} from "./file-mutation-rmpmkka0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./file-mutation-kxjzb63p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service57,
|
|
11
|
+
node60
|
|
12
|
+
} from "./file-mutation-tgkfec1y.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-6esdw8yj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-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: () => Service7,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer7,
|
|
28
|
+
node: () => node9
|
|
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 Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service57;
|
|
40
|
+
const watcher = yield* Service58;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service79;
|
|
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(Service6, 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 Service7.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(Service6, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node9 = makeLocationNode({
|
|
74
|
+
service: Service7,
|
|
75
|
+
layer: layer7,
|
|
76
|
+
deps: [node60, FSUtil.node, node61, node83]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service7,
|
|
80
|
+
layer: Layer.succeed(Service7, Service7.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 { Service7, layer7, node9, empty2, exports_source };
|