@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./file-mutation-kxjzb63p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID7,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-62kc5cbt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service57
|
|
10
|
+
} from "./file-mutation-tgkfec1y.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./file-mutation-4x6w1zj9.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-fznmdakp.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-8404fn9j.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service57;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service77);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service79);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID7.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp = {};
|
|
10
10
|
__export(exports_mcp, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
12
|
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-bhymm4ka.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
|
+
Service72,
|
|
11
|
+
node75
|
|
12
|
+
} from "./file-mutation-s15vm27z.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError9
|
|
15
|
+
} from "./file-mutation-818eymrz.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service71,
|
|
18
|
+
node74
|
|
19
|
+
} from "./file-mutation-c1vp62rn.js";
|
|
20
20
|
import {
|
|
21
21
|
match2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-z38nccrw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service70,
|
|
25
|
+
node73
|
|
26
|
+
} from "./file-mutation-rstnpv25.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service73,
|
|
29
|
+
node76
|
|
30
|
+
} from "./file-mutation-cs87y13h.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission2 = {};
|
|
@@ -39,25 +39,25 @@ __export(exports_permission2, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
42
|
+
Event: () => Event17,
|
|
43
43
|
ID: () => ID12,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError7,
|
|
45
45
|
Permission: () => exports_permission2,
|
|
46
46
|
Reply: () => Reply3,
|
|
47
47
|
Request: () => Request3,
|
|
48
48
|
Rule: () => Rule3,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
50
|
+
Service: () => Service69,
|
|
51
51
|
Source: () => Source5,
|
|
52
52
|
evaluate: () => evaluate2,
|
|
53
53
|
merge: () => merge2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node72
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
58
58
|
import { Permission } from "@opencode/schema/permission";
|
|
59
59
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
60
|
-
import { Event as
|
|
60
|
+
import { Event as Event17 } from "@opencode/schema/permission";
|
|
61
61
|
var PermissionEffect = Permission.Effect;
|
|
62
62
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
63
63
|
var ID12 = Permission.ID;
|
|
@@ -84,7 +84,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
class
|
|
87
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
88
88
|
requestID: ID12
|
|
89
89
|
}) {
|
|
90
90
|
}
|
|
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
|
|
|
99
99
|
return rulesets.flat();
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
class
|
|
102
|
+
class Service69 extends Context.Service()("@opencode/Permission") {
|
|
103
103
|
}
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
105
105
|
const bus = yield* Service85;
|
|
106
|
-
const location = yield*
|
|
107
|
-
const agents = yield*
|
|
108
|
-
const sessions = yield*
|
|
109
|
-
const saved = yield*
|
|
110
|
-
const hooks = yield*
|
|
106
|
+
const location = yield* Service79;
|
|
107
|
+
const agents = yield* Service72;
|
|
108
|
+
const sessions = yield* Service71;
|
|
109
|
+
const saved = yield* Service70;
|
|
110
|
+
const hooks = yield* Service73;
|
|
111
111
|
const pending = new Map;
|
|
112
112
|
let closed = false;
|
|
113
113
|
const close = Effect.gen(function* () {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
130
130
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
131
131
|
const session = yield* sessions.get(sessionID);
|
|
132
132
|
if (!session)
|
|
133
|
-
return yield* new
|
|
133
|
+
return yield* new NotFoundError9({ sessionID });
|
|
134
134
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
135
135
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
136
136
|
});
|
|
@@ -216,7 +216,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
216
216
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
217
217
|
const existing = pending.get(input.requestID);
|
|
218
218
|
if (!existing)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
220
220
|
yield* bus.publish(Permission.Event.Replied, {
|
|
221
221
|
sessionID: existing.request.sessionID,
|
|
222
222
|
requestID: existing.request.id,
|
|
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
271
271
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
272
272
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service69.of({ ask, assert, reply, get, forSession, list, close });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node72 = makeLocationNode({
|
|
277
|
+
service: Service69,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node89,
|
|
279
|
+
deps: [node89, node83, node75, node74, node73, node76]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { PermissionEffect, ID12, Source5, Request3, Reply3, DeclinedError2, CorrectedError2, BlockedError2,
|
|
282
|
+
export { PermissionEffect, ID12, Source5, Request3, Reply3, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service69, node72, exports_permission2, Rule3, Ruleset2, Event17 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./file-mutation-k3cw2t6y.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-vdh3rgac.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-818eymrz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./file-mutation-d6a2g7hg.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service38;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-evr6t6br.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./file-mutation-kxjzb63p.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service69,
|
|
13
|
+
node72
|
|
14
|
+
} from "./file-mutation-r4tfxt3f.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service68,
|
|
26
|
+
node: () => node71,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service68 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service79;
|
|
55
|
+
const permission = yield* Service69;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service68.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node71 = makeLocationNode({ service: Service68, layer, deps: [FSUtil.node, node83, node72] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service68, resolvePath2, node71, exports_file_access };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info13
|
|
9
|
-
} from "./websearch-a7hcemwv.js";
|
|
6
|
+
} from "./file-mutation-d2dx6a7h.js";
|
|
10
7
|
import {
|
|
11
8
|
Info12
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-d8qd4w10.js";
|
|
10
|
+
import {
|
|
11
|
+
Info11
|
|
12
|
+
} from "./file-mutation-wwye013q.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info10
|
|
15
|
+
} from "./file-mutation-953xbrr3.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-5zrxpy3q.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info14
|
|
21
|
+
} from "./file-mutation-n6v2b7cw.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-mutation-0xtm3epc.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info12, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info12, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info10, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -440,7 +440,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
440
440
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
441
441
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
442
442
|
return [];
|
|
443
|
-
const provider = decodeValue(
|
|
443
|
+
const provider = decodeValue(Info14, raw, path, diagnostics);
|
|
444
444
|
if (provider === undefined)
|
|
445
445
|
return [];
|
|
446
446
|
const destination = providerID2(name);
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node80
|
|
9
|
+
} from "./file-mutation-4x6w1zj9.js";
|
|
10
10
|
import {
|
|
11
11
|
Content3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-fzpdbh9r.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-2z1j29yd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service29,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node32,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service29 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service77;
|
|
335
|
+
return Service29.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node32 = makeLocationNode({ service: Service29, layer, deps: [node80] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service29, read2, node32, exports_read_filesystem };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service58,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured7,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer24,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node61,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service58 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer24 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service58.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer26 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service58.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service58).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service58, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
156
156
|
}
|
|
157
157
|
}));
|
|
158
158
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
159
|
-
function
|
|
160
|
-
return makeGlobalNode({ service:
|
|
159
|
+
function configured7(options) {
|
|
160
|
+
return makeGlobalNode({ service: Service58, layer: layer24(options), deps: [nativeNode] });
|
|
161
161
|
}
|
|
162
|
-
var
|
|
162
|
+
var node61 = configured7();
|
|
163
163
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
164
164
|
if (!native || !backend) {
|
|
165
165
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
179
179
|
}).pipe(Effect.as(undefined))));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { hasNativeBinding2, Native3,
|
|
182
|
+
export { hasNativeBinding2, Native3, Service58, Test3, layer24, testLayer3, nativeLayer2, configured7, node61, exports_watcher };
|