@opencode/core 0.0.0-dev-20055 → 0.0.0-dev-20058
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{persistent-pty-mf9m2v67.js → filesystem-01m43rby.js} +2 -2
- package/dist/chunks/filesystem-07j5dwxg.js +252 -0
- package/dist/chunks/{persistent-pty-tcekf9ey.js → filesystem-091p10vz.js} +3 -3
- package/dist/chunks/{persistent-pty-ajfhfmjy.js → filesystem-0ajgz5pc.js} +28 -28
- package/dist/chunks/{persistent-pty-e6bk6vcc.js → filesystem-0fek3p1n.js} +17 -17
- package/dist/chunks/{persistent-pty-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-yp2x3t23.js → filesystem-1acjjqhc.js} +4 -4
- package/dist/chunks/{persistent-pty-45w2hez1.js → filesystem-1cdk1anx.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-1h80sv90.js → filesystem-1fcrsx1q.js} +8 -8
- package/dist/chunks/{persistent-pty-30846h32.js → filesystem-1g96y08y.js} +8 -8
- package/dist/chunks/{persistent-pty-vnkhd93v.js → filesystem-1h2mvt9v.js} +14 -14
- package/dist/chunks/{persistent-pty-n7q0d5fq.js → filesystem-1nbhwk8c.js} +3 -3
- package/dist/chunks/{persistent-pty-01021z3r.js → filesystem-1ssnhp0v.js} +13 -13
- package/dist/chunks/{persistent-pty-zjzqdcy8.js → filesystem-1txphked.js} +10 -10
- package/dist/chunks/{persistent-pty-9hxa6fgt.js → filesystem-1ybypp7f.js} +22 -22
- package/dist/chunks/{persistent-pty-m57zmrhq.js → filesystem-1z9ym72g.js} +25 -25
- package/dist/chunks/{persistent-pty-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-ww3rdmp0.js → filesystem-22b0aspk.js} +9 -9
- package/dist/chunks/{persistent-pty-8cb91319.js → filesystem-22gdhsjp.js} +32 -32
- package/dist/chunks/{persistent-pty-2402vzrj.js → filesystem-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-nq7qbqzc.js → filesystem-24dd53tp.js} +9 -9
- package/dist/chunks/{persistent-pty-ndtwm10h.js → filesystem-25b3j9qe.js} +11 -11
- package/dist/chunks/{persistent-pty-z63w68vq.js → filesystem-29x78va6.js} +6 -6
- package/dist/chunks/{persistent-pty-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-ny93wepk.js → filesystem-2ann4zqa.js} +10 -10
- package/dist/chunks/{persistent-pty-myas8b4t.js → filesystem-2bwf3es8.js} +20 -20
- package/dist/chunks/{persistent-pty-bxss05bd.js → filesystem-2m0vf6qg.js} +2 -2
- package/dist/chunks/{persistent-pty-vtt0yr3x.js → filesystem-2pdg46mn.js} +11 -11
- package/dist/chunks/{persistent-pty-mce3n2w0.js → filesystem-2t3h7cq7.js} +15 -15
- package/dist/chunks/{persistent-pty-vcsatxq3.js → filesystem-2x6gpqcz.js} +11 -11
- package/dist/chunks/{persistent-pty-v9pex1z2.js → filesystem-2xac8pgk.js} +14 -14
- package/dist/chunks/{persistent-pty-sfntmzm9.js → filesystem-37mwd34b.js} +1 -1
- package/dist/chunks/{persistent-pty-y19c3zcv.js → filesystem-3838ekre.js} +4 -4
- package/dist/chunks/{persistent-pty-e6hd9jay.js → filesystem-3b1q5j1v.js} +6 -6
- package/dist/chunks/{persistent-pty-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-cb29sgre.js → filesystem-3kzn8mmq.js} +10 -10
- package/dist/chunks/{persistent-pty-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-vr3zvskj.js → filesystem-3z2w941y.js} +74 -74
- package/dist/chunks/{persistent-pty-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-8tvn0bgg.js → filesystem-3zvjefry.js} +15 -15
- package/dist/chunks/{persistent-pty-nx741bd4.js → filesystem-3zwffgsw.js} +43 -43
- package/dist/chunks/{persistent-pty-zd5y1z78.js → filesystem-497y6drv.js} +20 -20
- package/dist/chunks/{persistent-pty-d04a2mwz.js → filesystem-4bq1ye2s.js} +30 -30
- package/dist/chunks/{persistent-pty-zdsm4etx.js → filesystem-4djaq3bc.js} +10 -10
- package/dist/chunks/{persistent-pty-vhf33m4y.js → filesystem-50xrc7m8.js} +8 -8
- package/dist/chunks/{persistent-pty-ckecvw8r.js → filesystem-54tcyq79.js} +2 -2
- package/dist/chunks/{persistent-pty-33w4ejhs.js → filesystem-56gdpj1q.js} +6 -6
- package/dist/chunks/{persistent-pty-57ez7d0k.js → filesystem-57ez7d0k.js} +2 -2
- package/dist/chunks/{persistent-pty-r31redw9.js → filesystem-59srapy6.js} +29 -29
- package/dist/chunks/{persistent-pty-0dhjr9tc.js → filesystem-5c3w2q2f.js} +4 -4
- package/dist/chunks/{persistent-pty-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-5ekn9679.js → filesystem-5ekn9679.js} +1 -1
- package/dist/chunks/{persistent-pty-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-sxcbscrm.js → filesystem-60btt90r.js} +7 -7
- package/dist/chunks/{persistent-pty-xzzwhxmb.js → filesystem-610s35xp.js} +10 -10
- package/dist/chunks/{persistent-pty-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-27gsfrrn.js → filesystem-6a0m4sbe.js} +1 -1
- package/dist/chunks/{persistent-pty-hdmhar15.js → filesystem-6ccrc22g.js} +20 -20
- package/dist/chunks/{persistent-pty-7zs56f9j.js → filesystem-6cd6tdvt.js} +6 -6
- package/dist/chunks/{persistent-pty-f78qqxb3.js → filesystem-6hgrtsyk.js} +9 -9
- package/dist/chunks/{persistent-pty-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-a2jafzqy.js → filesystem-6sd83gj0.js} +10 -10
- package/dist/chunks/{persistent-pty-zar8sqd3.js → filesystem-7007jcc0.js} +15 -15
- package/dist/chunks/{persistent-pty-73tb2d7t.js → filesystem-73tb2d7t.js} +1 -1
- package/dist/chunks/{persistent-pty-mae9nf4n.js → filesystem-74z2tjhb.js} +16 -16
- package/dist/chunks/{persistent-pty-v3qtc92a.js → filesystem-7689gsfy.js} +25 -25
- package/dist/chunks/{persistent-pty-3fmtxraa.js → filesystem-784hb5j4.js} +4 -4
- package/dist/chunks/{persistent-pty-2sejkfem.js → filesystem-79qaa2kf.js} +9 -9
- package/dist/chunks/{persistent-pty-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-2k8khapm.js → filesystem-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-97fmyryk.js → filesystem-7gp9bv02.js} +9 -9
- package/dist/chunks/{persistent-pty-4c2df9zx.js → filesystem-7m5f9412.js} +8 -8
- package/dist/chunks/{persistent-pty-7xfe1xnv.js → filesystem-7z30ydt4.js} +2 -2
- package/dist/chunks/{persistent-pty-79mwksnw.js → filesystem-84dmcwyh.js} +4 -4
- package/dist/chunks/{persistent-pty-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-2nkp2mfn.js → filesystem-8gt6y3g4.js} +6 -6
- package/dist/chunks/{persistent-pty-dj68pnee.js → filesystem-8tsdq50x.js} +4 -4
- package/dist/chunks/{persistent-pty-h2r7bbkd.js → filesystem-8xd21chy.js} +11 -11
- package/dist/chunks/{persistent-pty-dahg00w6.js → filesystem-90360v3a.js} +14 -14
- package/dist/chunks/{persistent-pty-d3mx090j.js → filesystem-90tesg4p.js} +11 -11
- package/dist/chunks/{persistent-pty-8829hrmv.js → filesystem-96jy5zx6.js} +8 -8
- package/dist/chunks/{persistent-pty-xgxqjvfa.js → filesystem-96k0ayb6.js} +3 -3
- package/dist/chunks/{persistent-pty-6mvdh01c.js → filesystem-9c89p4vt.js} +13 -13
- package/dist/chunks/{persistent-pty-1cwvpkmb.js → filesystem-9ecw7jpn.js} +24 -24
- package/dist/chunks/{persistent-pty-g1e31y9g.js → filesystem-9f6bk4jp.js} +13 -13
- package/dist/chunks/{persistent-pty-92nedzp3.js → filesystem-9n50fjmv.js} +11 -11
- package/dist/chunks/{persistent-pty-6k427wqf.js → filesystem-9v7aa5ew.js} +18 -18
- package/dist/chunks/{persistent-pty-weft2jvw.js → filesystem-9wjadkhm.js} +7 -7
- package/dist/chunks/{persistent-pty-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-s8wgvgmw.js → filesystem-ae2wweme.js} +6 -6
- package/dist/chunks/{persistent-pty-nkgvehk0.js → filesystem-ajdm0393.js} +11 -11
- package/dist/chunks/{persistent-pty-hv93qhcc.js → filesystem-ajy2bq43.js} +2 -2
- package/dist/chunks/{persistent-pty-14e8zrc8.js → filesystem-aqd63c5t.js} +24 -24
- package/dist/chunks/{persistent-pty-w3pke5fx.js → filesystem-azee6x5s.js} +8 -8
- package/dist/chunks/{persistent-pty-xy6b5509.js → filesystem-azev8sc8.js} +3 -3
- package/dist/chunks/{persistent-pty-ma15yhyh.js → filesystem-b0grxa7w.js} +5 -5
- package/dist/chunks/{persistent-pty-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-zp05054v.js → filesystem-b7e2se5y.js} +29 -29
- package/dist/chunks/{persistent-pty-xw8g27w3.js → filesystem-b8y1psts.js} +26 -26
- package/dist/chunks/{persistent-pty-kk99n8q9.js → filesystem-bdep6f7m.js} +13 -13
- package/dist/chunks/{persistent-pty-z07pqspn.js → filesystem-bjtzbw4r.js} +3 -3
- package/dist/chunks/{persistent-pty-wpv1nwv6.js → filesystem-bzbbm4jd.js} +14 -14
- package/dist/chunks/{persistent-pty-ckznq2md.js → filesystem-c0aad6gz.js} +47 -47
- package/dist/chunks/{persistent-pty-7md6e53z.js → filesystem-c1z6arme.js} +11 -11
- package/dist/chunks/{persistent-pty-jw80jp6b.js → filesystem-c20khjev.js} +21 -21
- package/dist/chunks/{persistent-pty-2j4h19rn.js → filesystem-c59jfbam.js} +8 -8
- package/dist/chunks/{persistent-pty-ka5wj0td.js → filesystem-c6a58n7z.js} +9 -9
- package/dist/chunks/{persistent-pty-st4mhzzs.js → filesystem-c6j7t6he.js} +3 -3
- package/dist/chunks/{persistent-pty-2bks3qmb.js → filesystem-cay919zr.js} +41 -41
- package/dist/chunks/{persistent-pty-thas5x23.js → filesystem-ccdmqpvf.js} +25 -25
- package/dist/chunks/{persistent-pty-b6ev060k.js → filesystem-cdvs3883.js} +90 -90
- package/dist/chunks/{persistent-pty-zrv8bjrm.js → filesystem-cf4z6env.js} +12 -12
- package/dist/chunks/{persistent-pty-bqszwq89.js → filesystem-cjwramev.js} +4 -4
- package/dist/chunks/{persistent-pty-xt97jqwb.js → filesystem-ctegsqx5.js} +3 -3
- package/dist/chunks/{persistent-pty-k4r214gj.js → filesystem-cvpeh336.js} +11 -11
- package/dist/chunks/{persistent-pty-sk6t9hvy.js → filesystem-cwxmk7ss.js} +91 -91
- package/dist/chunks/{persistent-pty-3mtzcc5w.js → filesystem-d2vc91a2.js} +1 -1
- package/dist/chunks/{persistent-pty-3fydtesb.js → filesystem-d2z7ptc5.js} +11 -11
- package/dist/chunks/{persistent-pty-v1kefnyt.js → filesystem-d63pwp4x.js} +26 -26
- package/dist/chunks/{persistent-pty-hk4fq7r2.js → filesystem-dcq7yv4f.js} +33 -33
- package/dist/chunks/{persistent-pty-ve4pfa0n.js → filesystem-dfe8djrf.js} +4 -4
- package/dist/chunks/{persistent-pty-59a69fj0.js → filesystem-dfvnyc1p.js} +12 -12
- package/dist/chunks/{persistent-pty-x02qtknb.js → filesystem-dn34nxfz.js} +15 -15
- package/dist/chunks/{persistent-pty-y71avatq.js → filesystem-dpkg50ah.js} +4 -4
- package/dist/chunks/{persistent-pty-xfkkasph.js → filesystem-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-0edkeq6v.js → filesystem-e0z0cg4q.js} +20 -20
- package/dist/chunks/{persistent-pty-5qd3pb7m.js → filesystem-e3qxr5gk.js} +2 -2
- package/dist/chunks/{persistent-pty-qte5z7bc.js → filesystem-e6hmchc5.js} +5 -5
- package/dist/chunks/{persistent-pty-nxhqveyz.js → filesystem-ead3g9p8.js} +5 -5
- package/dist/chunks/{persistent-pty-sma20vvg.js → filesystem-eageaqwr.js} +6 -6
- package/dist/chunks/{persistent-pty-b2fmx0cr.js → filesystem-eed4e4cj.js} +23 -23
- package/dist/chunks/{persistent-pty-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-2k3c4q13.js → filesystem-ej964ykn.js} +6 -6
- package/dist/chunks/{persistent-pty-cy7y84yk.js → filesystem-em405b3b.js} +30 -30
- package/dist/chunks/{persistent-pty-erw5rpbs.js → filesystem-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-pa8pe2x7.js → filesystem-eys57y9b.js} +8 -8
- package/dist/chunks/{persistent-pty-dta3aaj1.js → filesystem-f02ytr6p.js} +13 -13
- package/dist/chunks/{persistent-pty-j27gqa6x.js → filesystem-f0vv9etb.js} +1 -1
- package/dist/chunks/{persistent-pty-mhd9raa2.js → filesystem-fhhc6cz0.js} +35 -35
- package/dist/chunks/{persistent-pty-g9keeyzv.js → filesystem-fkq4r4ge.js} +28 -28
- package/dist/chunks/{persistent-pty-fwdthrhg.js → filesystem-fs2ge6as.js} +4 -4
- package/dist/chunks/{persistent-pty-x9p3nmqr.js → filesystem-g6nkpj50.js} +45 -45
- package/dist/chunks/{persistent-pty-hrhjdx1t.js → filesystem-g8m5pg2v.js} +9 -9
- package/dist/chunks/{persistent-pty-syyvpj1n.js → filesystem-g8nw47mr.js} +25 -25
- package/dist/chunks/{persistent-pty-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-94ek1h2f.js → filesystem-gfvb90ym.js} +2 -2
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-3qt928je.js → filesystem-gws6d69e.js} +9 -9
- package/dist/chunks/{persistent-pty-mxqsfyay.js → filesystem-gx4q998j.js} +18 -18
- package/dist/chunks/{persistent-pty-03cbr0jq.js → filesystem-gxb1qwhf.js} +12 -12
- package/dist/chunks/filesystem-gyce5qg1.js +18 -0
- package/dist/chunks/{persistent-pty-p14rgpp2.js → filesystem-h08an08g.js} +22 -22
- package/dist/chunks/{persistent-pty-xn4akm7j.js → filesystem-h5jpta2v.js} +14 -14
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → filesystem-h6r3nrb9.js} +1 -1
- package/dist/chunks/{persistent-pty-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-jrarfqr6.js → filesystem-h95k17zz.js} +25 -25
- package/dist/chunks/{persistent-pty-768gsh1v.js → filesystem-h9zmv3t9.js} +8 -8
- package/dist/chunks/{persistent-pty-7cdwr1t5.js → filesystem-hbfph430.js} +19 -19
- package/dist/chunks/{persistent-pty-90mszmds.js → filesystem-hbj9ec79.js} +20 -20
- package/dist/chunks/{persistent-pty-w3nq1sqw.js → filesystem-hc9acsgr.js} +9 -9
- package/dist/chunks/{persistent-pty-y001mj7v.js → filesystem-hdh73vmf.js} +10 -10
- package/dist/chunks/{persistent-pty-2kt2qswp.js → filesystem-hp5kccyz.js} +25 -25
- package/dist/chunks/{persistent-pty-by2ahm79.js → filesystem-hswr6e8s.js} +10 -10
- package/dist/chunks/{persistent-pty-18qw6axq.js → filesystem-j229mh45.js} +24 -24
- package/dist/chunks/{persistent-pty-830djgf5.js → filesystem-j27v3vkc.js} +12 -12
- package/dist/chunks/{persistent-pty-y6agey15.js → filesystem-j38rfzw3.js} +16 -16
- package/dist/chunks/{persistent-pty-bex2v6cw.js → filesystem-j48z016f.js} +20 -20
- package/dist/chunks/{persistent-pty-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-hdab2k61.js → filesystem-jkp0d30b.js} +6 -6
- package/dist/chunks/{persistent-pty-179189h4.js → filesystem-jva4mgym.js} +4 -4
- package/dist/chunks/{persistent-pty-pr593267.js → filesystem-jw971jas.js} +41 -41
- package/dist/chunks/{persistent-pty-90c14161.js → filesystem-jwg7jy4z.js} +29 -29
- package/dist/chunks/{persistent-pty-w0bwbkhm.js → filesystem-jwxewjhz.js} +13 -13
- package/dist/chunks/{persistent-pty-k3c624dm.js → filesystem-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-mrgbk9d9.js → filesystem-k70hck66.js} +1 -1
- package/dist/chunks/{persistent-pty-r2j9d1ms.js → filesystem-kbr4et4a.js} +9 -9
- package/dist/chunks/{persistent-pty-depwzj9d.js → filesystem-kdq8v965.js} +9 -9
- package/dist/chunks/{persistent-pty-x73qep3k.js → filesystem-kffdqtsz.js} +33 -33
- package/dist/chunks/{persistent-pty-k9kj6xed.js → filesystem-knb7evpn.js} +6 -6
- package/dist/chunks/{persistent-pty-pfa9vqac.js → filesystem-kqg1335f.js} +3 -3
- package/dist/chunks/{persistent-pty-1watctkc.js → filesystem-kwjksd0m.js} +7 -7
- package/dist/chunks/{persistent-pty-xe9jd8cp.js → filesystem-m0gyvzz0.js} +35 -35
- package/dist/chunks/{persistent-pty-pbfw7m20.js → filesystem-m0rk0w5r.js} +8 -8
- package/dist/chunks/{persistent-pty-89tssg7j.js → filesystem-m22m5fz8.js} +5 -5
- package/dist/chunks/{persistent-pty-hwk3zhxf.js → filesystem-m2s6sqez.js} +7 -7
- package/dist/chunks/{persistent-pty-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-t29rx7a6.js → filesystem-mebq41rh.js} +12 -12
- package/dist/chunks/{persistent-pty-6j158gj8.js → filesystem-mk6azrf3.js} +22 -22
- package/dist/chunks/{persistent-pty-90r3bpwe.js → filesystem-mkkks4v9.js} +44 -44
- package/dist/chunks/{persistent-pty-0zm5snvh.js → filesystem-mq7e89ns.js} +25 -25
- package/dist/chunks/{persistent-pty-fdv30zvt.js → filesystem-mtq6xxnx.js} +4 -4
- package/dist/chunks/filesystem-mzn0q9qq.js +503 -0
- package/dist/chunks/{persistent-pty-twba3jga.js → filesystem-n6nnv2a0.js} +27 -27
- package/dist/chunks/{persistent-pty-15cqf3kr.js → filesystem-naszgs90.js} +32 -32
- package/dist/chunks/{persistent-pty-y64nvfbp.js → filesystem-nbh3kmd5.js} +28 -28
- package/dist/chunks/{persistent-pty-jettcq7s.js → filesystem-nehdvjjm.js} +18 -18
- package/dist/chunks/{persistent-pty-2kvqe6kt.js → filesystem-ntnbwdh0.js} +17 -17
- package/dist/chunks/{persistent-pty-56dkfrzf.js → filesystem-pf9pgydg.js} +4 -4
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-s4ek6zwe.js → filesystem-pn0fh19r.js} +27 -27
- package/dist/chunks/{persistent-pty-8p6aty9m.js → filesystem-ppwz1pgg.js} +13 -13
- package/dist/chunks/{persistent-pty-wd3x2cqz.js → filesystem-psazpmmj.js} +2 -2
- package/dist/chunks/{persistent-pty-eyn1g3ne.js → filesystem-q0h1k0nn.js} +11 -11
- package/dist/chunks/{persistent-pty-rjvvd7vb.js → filesystem-q3vsp035.js} +31 -31
- package/dist/chunks/{persistent-pty-v4zvv4f8.js → filesystem-qpyfagd9.js} +11 -11
- package/dist/chunks/{persistent-pty-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-q9n5cbnp.js → filesystem-qvrvrmrf.js} +11 -11
- package/dist/chunks/{persistent-pty-3n93prt5.js → filesystem-qx3e9gac.js} +1 -1
- package/dist/chunks/{persistent-pty-rr40bken.js → filesystem-r4nmwps5.js} +21 -21
- package/dist/chunks/{persistent-pty-4pjjbxv2.js → filesystem-r8sc1a4f.js} +9 -9
- package/dist/chunks/{persistent-pty-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-6eh7yy0z.js → filesystem-rp5es0vj.js} +2 -2
- package/dist/chunks/{persistent-pty-h92q6hp8.js → filesystem-rw0sa94v.js} +5 -5
- package/dist/chunks/{persistent-pty-3yccry20.js → filesystem-rygqb03k.js} +3 -3
- package/dist/chunks/{persistent-pty-zp1j8h0b.js → filesystem-rzgj8h8z.js} +10 -10
- package/dist/chunks/{persistent-pty-yrznvahk.js → filesystem-s4enseaf.js} +2 -2
- package/dist/chunks/{persistent-pty-qp5vsj8n.js → filesystem-sd0frev4.js} +18 -18
- package/dist/chunks/{persistent-pty-5jgvze5w.js → filesystem-sffp4478.js} +9 -9
- package/dist/chunks/{persistent-pty-pp173efe.js → filesystem-sjwzrrye.js} +11 -11
- package/dist/chunks/{persistent-pty-43f675a3.js → filesystem-spb4zceh.js} +13 -13
- package/dist/chunks/{persistent-pty-xm5cggtr.js → filesystem-swm6fqec.js} +14 -14
- package/dist/chunks/{persistent-pty-7jjmmf08.js → filesystem-syrm56xy.js} +26 -26
- package/dist/chunks/{persistent-pty-rhjbct0v.js → filesystem-t550f9t1.js} +4 -4
- package/dist/chunks/{persistent-pty-zav06jzw.js → filesystem-t7n9q6bq.js} +4 -4
- package/dist/chunks/{persistent-pty-vhkdxrqw.js → filesystem-t9c7wbd6.js} +32 -32
- package/dist/chunks/{persistent-pty-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-ek7s1yw1.js → filesystem-td2f4nae.js} +34 -34
- package/dist/chunks/{persistent-pty-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-k3b8e1df.js → filesystem-tqskq33r.js} +15 -15
- package/dist/chunks/{persistent-pty-gk8whktx.js → filesystem-tr1np92s.js} +27 -27
- package/dist/chunks/{persistent-pty-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-hfr76n8q.js → filesystem-tze1gxc9.js} +19 -19
- package/dist/chunks/{persistent-pty-amw4dhzn.js → filesystem-v6h5pe3e.js} +54 -54
- package/dist/chunks/filesystem-v9c484dc.js +26 -0
- package/dist/chunks/{persistent-pty-rxhvjhx4.js → filesystem-vbj3evna.js} +8 -8
- package/dist/chunks/{persistent-pty-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-6bd07m6k.js → filesystem-vg66hfa0.js} +18 -18
- package/dist/chunks/{persistent-pty-1fw2a5v8.js → filesystem-vkgtc4qa.js} +19 -19
- package/dist/chunks/{persistent-pty-vq1h36b7.js → filesystem-vn7r73nx.js} +32 -32
- package/dist/chunks/{persistent-pty-vtxr0yy2.js → filesystem-vtxr0yy2.js} +2 -2
- package/dist/chunks/{persistent-pty-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w577a3z6.js → filesystem-w16wk7p7.js} +32 -32
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-5m8csvve.js → filesystem-w4wqky9w.js} +4 -4
- package/dist/chunks/{persistent-pty-933fkq5d.js → filesystem-w7vefw1y.js} +24 -24
- package/dist/chunks/{persistent-pty-cavp3yv7.js → filesystem-w94e8grp.js} +147 -147
- package/dist/chunks/{persistent-pty-xtbqs454.js → filesystem-wc5qgcrf.js} +25 -25
- package/dist/chunks/{persistent-pty-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-q5758hxt.js → filesystem-wj14njhs.js} +13 -13
- package/dist/chunks/{persistent-pty-9kmbd9mt.js → filesystem-wmfejedg.js} +2 -2
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-w7q5193v.js → filesystem-x1mxg5wh.js} +37 -37
- package/dist/chunks/{persistent-pty-qvreyy9g.js → filesystem-x2d9qy7d.js} +5 -5
- package/dist/chunks/{persistent-pty-6ysrkrkr.js → filesystem-x2qdxhwm.js} +8 -8
- package/dist/chunks/{persistent-pty-b95khez4.js → filesystem-xg2c3t8c.js} +32 -32
- package/dist/chunks/{persistent-pty-myg059q6.js → filesystem-xgy7gjy2.js} +43 -43
- package/dist/chunks/{persistent-pty-hsn9352f.js → filesystem-xrm59swn.js} +55 -55
- package/dist/chunks/filesystem-xrsqh21y.js +4 -0
- package/dist/chunks/{persistent-pty-fmfe6t1x.js → filesystem-xvwrn2eq.js} +8 -8
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-gmjq4p6e.js → filesystem-y93b664k.js} +12 -12
- package/dist/chunks/{persistent-pty-dwvzh0g2.js → filesystem-ym15bmrz.js} +9 -9
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-z06g7yey.js → filesystem-yvav0rms.js} +13 -13
- package/dist/chunks/{persistent-pty-mhj6erx5.js → filesystem-ywsxhfz4.js} +8 -8
- package/dist/chunks/{persistent-pty-dftjxd64.js → filesystem-yy9w0ct4.js} +44 -44
- package/dist/chunks/{persistent-pty-6wgjtmj1.js → filesystem-yz0rw8mp.js} +20 -20
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-t0fxg8b9.js → filesystem-z3pw5915.js} +5 -5
- package/dist/chunks/{persistent-pty-cet8zpt3.js → filesystem-z79afe2f.js} +21 -21
- package/dist/chunks/{persistent-pty-hmpr7mk5.js → filesystem-z7w1k550.js} +48 -48
- package/dist/chunks/{persistent-pty-qxxt2qtz.js → filesystem-za5gkgpv.js} +42 -42
- package/dist/chunks/{persistent-pty-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-y7d7kw9x.js → filesystem-zjfek02j.js} +18 -18
- package/dist/chunks/{persistent-pty-smympfee.js → filesystem-zp91wsr7.js} +30 -30
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-w9kxsqx0.js → filesystem-zwvzg7cw.js} +16 -16
- package/dist/chunks/{persistent-pty-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +80 -80
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-0mesazry.js +0 -4
- package/dist/chunks/persistent-pty-by5v678g.js +0 -18
- package/dist/chunks/persistent-pty-bye9g0db.js +0 -503
- package/dist/chunks/persistent-pty-mn1405vt.js +0 -252
- package/dist/chunks/persistent-pty-vatnpgrc.js +0 -26
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → filesystem-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./filesystem-gxb1qwhf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./filesystem-xrm59swn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./filesystem-d63pwp4x.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input6,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin6,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name6
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name6 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input6 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin6 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service50;
|
|
53
|
+
const forms = yield* Service79;
|
|
54
|
+
const websearch = yield* Service15;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name6,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input6,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name6,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name6];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name6, NO_RESULTS2, description4, Input6, Plugin6, exports_websearch };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./filesystem-aqd63c5t.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service35
|
|
13
|
+
} from "./filesystem-0ajgz5pc.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-7z30ydt4.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin18
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin18 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service35;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
41
|
const location = yield* Service80;
|
|
42
|
-
const watcher = yield*
|
|
42
|
+
const watcher = yield* Service59;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin18, exports_instruction };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-psazpmmj.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./filesystem-j38rfzw3.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-7z30ydt4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service43,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node47
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service43 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,8 +39,8 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
42
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service82;
|
|
44
44
|
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service43.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node47 = makeLocationNode({ service: Service43, layer, deps: [node86, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service43, node47, exports_rpc, define2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./filesystem-j38rfzw3.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-7z30ydt4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service69,
|
|
11
|
+
node72
|
|
12
|
+
} from "./filesystem-r4nmwps5.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service57,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node60
|
|
20
|
+
} from "./filesystem-vkgtc4qa.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service54,
|
|
23
|
+
node57
|
|
24
|
+
} from "./filesystem-1g96y08y.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service38,
|
|
27
|
+
node42
|
|
28
|
+
} from "./filesystem-7m5f9412.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./filesystem-01m43rby.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service58,
|
|
35
|
+
node61
|
|
36
|
+
} from "./filesystem-yy9w0ct4.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./filesystem-dfvnyc1p.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError4,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service37,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node41
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service37 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service37, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service82;
|
|
91
91
|
const location = yield* Service80;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service57;
|
|
94
|
+
const environment = yield* Service69;
|
|
95
|
+
const hooks = yield* Service54;
|
|
96
|
+
const environments = yield* Service38;
|
|
97
|
+
const config = yield* Service58;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError4({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError4({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service37.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node41 = makeLocationNode({
|
|
320
|
+
service: Service37,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
323
|
+
node86,
|
|
324
324
|
node84,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node60,
|
|
327
|
+
node72,
|
|
328
|
+
node57,
|
|
329
|
+
node42,
|
|
330
|
+
node61,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError4, RETENTION2, DIRECTORY2, Service37, cleanup2, node41, exports_shell4 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-ej964ykn.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-96k0ayb6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service83,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node87
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service83 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service83, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service83, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service83,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node87 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service83, layer26, layerFromClient2, configured13, configuredClient2, node87, exports_database };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
+
Info: () => Info16,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule3
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule3),
|
|
20
|
+
edit: Schema.optional(Rule3),
|
|
21
|
+
glob: Schema.optional(Rule3),
|
|
22
|
+
grep: Schema.optional(Rule3),
|
|
23
|
+
list: Schema.optional(Rule3),
|
|
24
|
+
bash: Schema.optional(Rule3),
|
|
25
|
+
task: Schema.optional(Rule3),
|
|
26
|
+
external_directory: Schema.optional(Rule3),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule3),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule3),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule3)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule3, Info16, exports_permission2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./filesystem-j38rfzw3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service14,
|
|
6
|
+
Event3
|
|
7
|
+
} from "./filesystem-b7e2se5y.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service14;
|
|
33
|
+
const bus = yield* Service82;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-qpyfagd9.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin33,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin33 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin15 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin15 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin33, exports_tinyfish };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-ntnbwdh0.js";
|
|
4
4
|
import {
|
|
5
5
|
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-j48z016f.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|