@opencode/core 0.0.0-dev-21676 → 0.0.0-dev-21681
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 +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{shell-jx89vj1k.js → ripgrep-033a0jkt.js} +3 -3
- package/dist/chunks/{shell-034tev2y.js → ripgrep-034tev2y.js} +2 -2
- package/dist/chunks/{shell-syjgkag2.js → ripgrep-0bzett23.js} +16 -16
- package/dist/chunks/{shell-0gka690g.js → ripgrep-0gka690g.js} +2 -2
- package/dist/chunks/{shell-wyrx21ay.js → ripgrep-0t2h4nxf.js} +5 -5
- package/dist/chunks/{shell-1rarfw9s.js → ripgrep-0w2ve4np.js} +32 -32
- package/dist/chunks/{shell-d1x9sp18.js → ripgrep-0xt5rh38.js} +10 -10
- package/dist/chunks/{shell-qv7y9773.js → ripgrep-173t91w5.js} +4 -4
- package/dist/chunks/{shell-x4vc4qa8.js → ripgrep-19nkwpt0.js} +17 -17
- package/dist/chunks/{shell-czrdzzab.js → ripgrep-1b015yat.js} +11 -11
- package/dist/chunks/{shell-1ep2p91f.js → ripgrep-1ep2p91f.js} +2 -2
- package/dist/chunks/{shell-w0e5dcpe.js → ripgrep-1fxyteqg.js} +87 -87
- package/dist/chunks/{shell-18pk5v5f.js → ripgrep-1gn07jkh.js} +47 -47
- package/dist/chunks/{shell-kt2gry7f.js → ripgrep-1kzr7jgm.js} +21 -14
- package/dist/chunks/{shell-0wrn680p.js → ripgrep-1m0sdz90.js} +43 -43
- package/dist/chunks/{shell-1x2knyw4.js → ripgrep-1x2knyw4.js} +1 -1
- package/dist/chunks/{shell-gcf8bw3p.js → ripgrep-2553426h.js} +49 -49
- package/dist/chunks/{shell-pqyj7c3t.js → ripgrep-294s6qh9.js} +18 -18
- package/dist/chunks/{shell-9kh0htnp.js → ripgrep-2c9g8tdm.js} +19 -19
- package/dist/chunks/{shell-gdc8gtm1.js → ripgrep-2j72hntm.js} +22 -22
- package/dist/chunks/{shell-53zfzs41.js → ripgrep-2k3taesa.js} +9 -9
- package/dist/chunks/{shell-cx0xwsw9.js → ripgrep-2sj7hqj2.js} +28 -28
- package/dist/chunks/{shell-2z1j29yd.js → ripgrep-2z1j29yd.js} +1 -1
- package/dist/chunks/{shell-b5z61bee.js → ripgrep-30v5g7xx.js} +5 -5
- package/dist/chunks/{shell-052hgm15.js → ripgrep-310tqm6v.js} +1 -1
- package/dist/chunks/{shell-6dj066xs.js → ripgrep-3g7mg7sy.js} +15 -15
- package/dist/chunks/{shell-wed5rh1m.js → ripgrep-3gzarg29.js} +10 -10
- package/dist/chunks/{shell-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-hx6gesf1.js → ripgrep-3kk2jwp7.js} +8 -8
- package/dist/chunks/{shell-cybp101z.js → ripgrep-3mzdfzhq.js} +3 -3
- package/dist/chunks/{shell-3nnrz6f6.js → ripgrep-3nnrz6f6.js} +1 -1
- package/dist/chunks/{shell-hvzv56hn.js → ripgrep-40xdmnq6.js} +37 -37
- package/dist/chunks/{shell-w2eysc6j.js → ripgrep-40za9wsf.js} +9 -9
- package/dist/chunks/{shell-rf4jwcas.js → ripgrep-41scb8pj.js} +17 -17
- package/dist/chunks/{shell-6n2c9nvr.js → ripgrep-45zwd69n.js} +33 -33
- package/dist/chunks/{shell-gt5g569e.js → ripgrep-4fht16ez.js} +33 -33
- package/dist/chunks/{shell-xdq354nz.js → ripgrep-4fjhw8k6.js} +6 -6
- package/dist/chunks/ripgrep-4my81qaj.js +18 -0
- package/dist/chunks/{shell-a4j9f8bt.js → ripgrep-4ssvmfsy.js} +13 -13
- package/dist/chunks/{shell-4v008n1t.js → ripgrep-4v008n1t.js} +1 -1
- package/dist/chunks/{shell-4xvmh7wp.js → ripgrep-4xvmh7wp.js} +3 -3
- package/dist/chunks/{shell-9zxsqdn3.js → ripgrep-50vfe0ee.js} +24 -24
- package/dist/chunks/{shell-0a71s41t.js → ripgrep-5as2v2bz.js} +11 -11
- package/dist/chunks/{shell-qq321qph.js → ripgrep-5g9sd2wr.js} +5 -5
- package/dist/chunks/{shell-5m9w47nd.js → ripgrep-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-0v3xvz1q.js → ripgrep-5xp2x48q.js} +50 -50
- package/dist/chunks/{shell-1w59jp7z.js → ripgrep-5yps8vga.js} +5 -5
- package/dist/chunks/{shell-3f6nh3fm.js → ripgrep-69qhactm.js} +3 -3
- package/dist/chunks/{shell-750jpgf2.js → ripgrep-6cg3ssar.js} +30 -30
- package/dist/chunks/{shell-52apm2b7.js → ripgrep-6cjq3rwx.js} +14 -14
- package/dist/chunks/{shell-te93dn38.js → ripgrep-6cmhwkbz.js} +9 -9
- package/dist/chunks/{shell-6esdw8yj.js → ripgrep-6esdw8yj.js} +1 -1
- package/dist/chunks/{shell-4b4byd6t.js → ripgrep-6ha07q56.js} +336 -336
- package/dist/chunks/{shell-0q39ew5d.js → ripgrep-6nracgmf.js} +187 -187
- package/dist/chunks/{shell-3vwgbyw7.js → ripgrep-6p7ksc7d.js} +14 -14
- package/dist/chunks/{shell-wn8cs04e.js → ripgrep-6paamakb.js} +14 -14
- package/dist/chunks/{shell-6pjqjmy2.js → ripgrep-6pjqjmy2.js} +1 -1
- package/dist/chunks/{shell-pjxmvhc5.js → ripgrep-6w73wc21.js} +24 -24
- package/dist/chunks/{shell-9kfzqwtx.js → ripgrep-6xjhb3qk.js} +12 -12
- package/dist/chunks/{shell-1exqj9pt.js → ripgrep-73h6c5mr.js} +11 -11
- package/dist/chunks/{shell-76cb1hcw.js → ripgrep-76cb1hcw.js} +1 -1
- package/dist/chunks/{shell-nah043kf.js → ripgrep-770pw0s1.js} +4 -4
- package/dist/chunks/{shell-th8jc8p0.js → ripgrep-77w2yzyb.js} +11 -11
- package/dist/chunks/{shell-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-ctdwq0jb.js → ripgrep-7dbx9kd5.js} +18 -18
- package/dist/chunks/{shell-f9jmr95f.js → ripgrep-7hw2cvx7.js} +27 -27
- package/dist/chunks/{shell-yz8d3crg.js → ripgrep-7kqnvg9k.js} +20 -20
- package/dist/chunks/{shell-gv59wj6b.js → ripgrep-7nn3h2cy.js} +37 -37
- package/dist/chunks/{shell-7w2ypzdf.js → ripgrep-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shell-b2rkyjcn.js → ripgrep-7za0dwv2.js} +7 -7
- package/dist/chunks/{shell-fjfaey98.js → ripgrep-883mde3e.js} +40 -40
- package/dist/chunks/{shell-bjb78nd5.js → ripgrep-8922dvha.js} +18 -18
- package/dist/chunks/{shell-2z9d2exz.js → ripgrep-8bm7axdr.js} +11 -11
- package/dist/chunks/{shell-83y10q5s.js → ripgrep-8cpd998p.js} +13 -13
- package/dist/chunks/{shell-e3hyx3wp.js → ripgrep-8krb2gbb.js} +9 -9
- package/dist/chunks/{shell-8wtp7s3z.js → ripgrep-8wtp7s3z.js} +1 -1
- package/dist/chunks/{shell-099mgyan.js → ripgrep-8yamfpxb.js} +26 -26
- package/dist/chunks/{shell-91rj84md.js → ripgrep-91rj84md.js} +1 -1
- package/dist/chunks/{shell-xes9mfxx.js → ripgrep-94drbbkf.js} +35 -35
- package/dist/chunks/{shell-sjrghj3a.js → ripgrep-94ggdtye.js} +10 -10
- package/dist/chunks/{shell-c3cfh5w6.js → ripgrep-9562mf0m.js} +9 -9
- package/dist/chunks/{shell-wmy22jry.js → ripgrep-95gg0e1q.js} +18 -18
- package/dist/chunks/{shell-998yhzzq.js → ripgrep-998yhzzq.js} +3 -3
- package/dist/chunks/{shell-fvc4bqe2.js → ripgrep-9b28cy4d.js} +5 -5
- package/dist/chunks/{shell-35s6a6dm.js → ripgrep-9ejpa58f.js} +8 -8
- package/dist/chunks/{shell-hc7ans2w.js → ripgrep-a17pc1jp.js} +6 -6
- package/dist/chunks/{shell-rm20pgxh.js → ripgrep-a1tbznxp.js} +14 -14
- package/dist/chunks/{shell-4b27svsp.js → ripgrep-a8m490ta.js} +53 -48
- package/dist/chunks/{shell-y1hjbq0d.js → ripgrep-ab2zewxm.js} +11 -11
- package/dist/chunks/{shell-sfkj0ta1.js → ripgrep-aeb4sny1.js} +5 -5
- package/dist/chunks/{shell-v4sbtd6b.js → ripgrep-aqb8zn2t.js} +35 -35
- package/dist/chunks/{shell-ervpxwtf.js → ripgrep-atet4mee.js} +14 -14
- package/dist/chunks/{shell-ayjs7tqn.js → ripgrep-ayjs7tqn.js} +2 -2
- package/dist/chunks/{shell-b0mv4wxm.js → ripgrep-b0mv4wxm.js} +2 -2
- package/dist/chunks/{shell-5nnwax6m.js → ripgrep-b6vsg801.js} +5 -5
- package/dist/chunks/{shell-8k8atbvj.js → ripgrep-bayr563p.js} +25 -25
- package/dist/chunks/{shell-ta9qyare.js → ripgrep-bf166mt2.js} +32 -32
- package/dist/chunks/{shell-pg605kec.js → ripgrep-bkwbn9k7.js} +12 -12
- package/dist/chunks/{shell-bqwdyg2t.js → ripgrep-bqwdyg2t.js} +2 -2
- package/dist/chunks/{shell-bstexjd6.js → ripgrep-bstexjd6.js} +1 -1
- package/dist/chunks/{shell-r9mr2fx2.js → ripgrep-bsxvja55.js} +18 -18
- package/dist/chunks/{shell-hj6y046f.js → ripgrep-bt7pct3b.js} +21 -21
- package/dist/chunks/{shell-e00z28p8.js → ripgrep-c4fe50v7.js} +4 -4
- package/dist/chunks/ripgrep-ca5mcr31.js +26 -0
- package/dist/chunks/{shell-30xq731m.js → ripgrep-cc3tw12v.js} +6 -6
- package/dist/chunks/{shell-gawdr880.js → ripgrep-cckz6hvv.js} +16 -16
- package/dist/chunks/{shell-xd25kzce.js → ripgrep-cvdn796p.js} +11 -11
- package/dist/chunks/{shell-91vv7ayb.js → ripgrep-cxsv7r2q.js} +16 -16
- package/dist/chunks/{shell-ry17vq2q.js → ripgrep-cza8pqvg.js} +9 -9
- package/dist/chunks/{shell-a13nhj24.js → ripgrep-d1v2vbzt.js} +4 -4
- package/dist/chunks/{shell-1j6cffe2.js → ripgrep-d2455waf.js} +20 -20
- package/dist/chunks/{shell-mtkfycnh.js → ripgrep-d2887f8n.js} +4 -4
- package/dist/chunks/{shell-e145p2ha.js → ripgrep-d4ctf4tn.js} +4 -4
- package/dist/chunks/{shell-d4v9tmah.js → ripgrep-d4v9tmah.js} +2 -2
- package/dist/chunks/{shell-dvz1915h.js → ripgrep-dj23h38q.js} +18 -18
- package/dist/chunks/{shell-0q213vj2.js → ripgrep-dk5xnaxx.js} +4 -4
- package/dist/chunks/ripgrep-dnqjcqs4.js +257 -0
- package/dist/chunks/{shell-jentk5nx.js → ripgrep-drxfbsjt.js} +19 -19
- package/dist/chunks/{shell-hecd99m2.js → ripgrep-dsnzvv9e.js} +1 -1
- package/dist/chunks/{shell-ammt9wv8.js → ripgrep-dvg9k2dh.js} +28 -28
- package/dist/chunks/{shell-cd1jdth3.js → ripgrep-e70s01gt.js} +10 -10
- package/dist/chunks/{shell-e834z07m.js → ripgrep-e834z07m.js} +1 -1
- package/dist/chunks/{shell-8rp0m0m0.js → ripgrep-ebjg363t.js} +4 -4
- package/dist/chunks/{shell-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-v40bhpkf.js → ripgrep-ev4vjjv8.js} +12 -12
- package/dist/chunks/{shell-8fzmkc5d.js → ripgrep-f4wjqfv3.js} +11 -11
- package/dist/chunks/{shell-xtxrze2j.js → ripgrep-f80yq6ab.js} +11 -11
- package/dist/chunks/{shell-x0ra2npf.js → ripgrep-favmj1rd.js} +11 -11
- package/dist/chunks/{shell-fffv3p7h.js → ripgrep-fffv3p7h.js} +1 -1
- package/dist/chunks/{shell-0vgge0e4.js → ripgrep-fhbtev1x.js} +16 -16
- package/dist/chunks/{shell-12pj2cn2.js → ripgrep-fkjeaz1p.js} +80 -80
- package/dist/chunks/{shell-sn2bmg30.js → ripgrep-fx9xfnkv.js} +9 -9
- package/dist/chunks/{shell-9hz3fran.js → ripgrep-g15zpze4.js} +23 -23
- package/dist/chunks/{shell-b3nb49ay.js → ripgrep-g1d2dsmd.js} +13 -13
- package/dist/chunks/{shell-kdxgykmr.js → ripgrep-g33nfd42.js} +9 -9
- package/dist/chunks/{shell-g5h9c0rr.js → ripgrep-g5h9c0rr.js} +2 -2
- package/dist/chunks/{shell-88kypjvy.js → ripgrep-g9ndtp1p.js} +4 -4
- package/dist/chunks/{shell-10jw5ygn.js → ripgrep-gb9ye6vs.js} +19 -19
- package/dist/chunks/{shell-nkpw7cy5.js → ripgrep-gk7y8xcq.js} +4 -4
- package/dist/chunks/{shell-tfhekx6w.js → ripgrep-gybx331m.js} +17 -17
- package/dist/chunks/{shell-79vtmvb8.js → ripgrep-h3r7ht18.js} +32 -32
- package/dist/chunks/{shell-99dgtdd3.js → ripgrep-he4vfjva.js} +25 -25
- package/dist/chunks/{shell-y5nnnm2j.js → ripgrep-heq6tkdz.js} +15 -15
- package/dist/chunks/{shell-kxa065gd.js → ripgrep-ht9phm2k.js} +5 -5
- package/dist/chunks/{shell-27037k44.js → ripgrep-hyjk9r55.js} +13 -13
- package/dist/chunks/{shell-ss358qx3.js → ripgrep-hzrfc1p4.js} +3 -3
- package/dist/chunks/{shell-j113cymg.js → ripgrep-j113cymg.js} +1 -1
- package/dist/chunks/{shell-j6r0nxf6.js → ripgrep-j3eb93p8.js} +34 -34
- package/dist/chunks/{shell-vrcsa8qx.js → ripgrep-j5e0tcqv.js} +9 -9
- package/dist/chunks/{shell-3xqr0t2x.js → ripgrep-j7xyg8fd.js} +30 -30
- package/dist/chunks/{shell-h5qan5zz.js → ripgrep-jae53m2x.js} +8 -8
- package/dist/chunks/{shell-9p9xqj3m.js → ripgrep-jchrqzf6.js} +8 -8
- package/dist/chunks/{shell-ed0mtxnh.js → ripgrep-jfy2z3aw.js} +21 -21
- package/dist/chunks/{shell-6dvkpyc2.js → ripgrep-jkacm1w4.js} +3 -3
- package/dist/chunks/{shell-ha4hgd8e.js → ripgrep-jnztxn4f.js} +24 -24
- package/dist/chunks/{shell-0tzmkv2e.js → ripgrep-jpqadng4.js} +17 -17
- package/dist/chunks/{shell-20nwq5j7.js → ripgrep-jqy0757m.js} +10 -10
- package/dist/chunks/{shell-tgrj2fed.js → ripgrep-jrcyk1qp.js} +48 -48
- package/dist/chunks/{shell-dx4aek7k.js → ripgrep-jxr5ks98.js} +6 -6
- package/dist/chunks/{shell-c3g877z7.js → ripgrep-k1yj6xhg.js} +19 -19
- package/dist/chunks/{shell-ny4bcy2e.js → ripgrep-k28jwpmn.js} +1 -1
- package/dist/chunks/{shell-81rwv4vy.js → ripgrep-k47d96va.js} +5 -5
- package/dist/chunks/{shell-fbjqxkhq.js → ripgrep-k5aja770.js} +8 -8
- package/dist/chunks/{shell-5h69x8yw.js → ripgrep-k60h0mqe.js} +15 -15
- package/dist/chunks/{shell-k814nvkf.js → ripgrep-k814nvkf.js} +1 -1
- package/dist/chunks/{shell-pyab3nm0.js → ripgrep-kd1werbb.js} +10 -10
- package/dist/chunks/{shell-gv55t52j.js → ripgrep-kp2rkay2.js} +25 -25
- package/dist/chunks/{shell-qb45pfqr.js → ripgrep-kxt91f54.js} +30 -30
- package/dist/chunks/{shell-s85z3cra.js → ripgrep-ky596kc3.js} +4 -4
- package/dist/chunks/{shell-cs7yvevk.js → ripgrep-kya6vn2v.js} +6 -6
- package/dist/chunks/{shell-m1714858.js → ripgrep-m1714858.js} +1 -1
- package/dist/chunks/{shell-89tdhaej.js → ripgrep-m1qkddhn.js} +2 -2
- package/dist/chunks/{shell-pd641wyg.js → ripgrep-m1tk4nd6.js} +42 -42
- package/dist/chunks/{shell-ypzxf1by.js → ripgrep-m7t05s3q.js} +7 -7
- package/dist/chunks/{shell-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-maspj1v3.js → ripgrep-maspj1v3.js} +1 -1
- package/dist/chunks/{shell-s9dwmje5.js → ripgrep-mbaagm2q.js} +26 -26
- package/dist/chunks/{shell-40ttsd7n.js → ripgrep-mnad9545.js} +45 -45
- package/dist/chunks/{shell-1bprt56t.js → ripgrep-mrcj6822.js} +4 -4
- package/dist/chunks/{shell-ybyct7vf.js → ripgrep-msfasjrs.js} +18 -18
- package/dist/chunks/{shell-6w0nd92w.js → ripgrep-mvt93af7.js} +26 -26
- package/dist/chunks/{shell-8pqzhdc3.js → ripgrep-mxf70ac4.js} +4 -4
- package/dist/chunks/{shell-n0p0277s.js → ripgrep-n0p0277s.js} +1 -1
- package/dist/chunks/{shell-afmnpta1.js → ripgrep-n6v2b7cw.js} +5 -5
- package/dist/chunks/{shell-fcngkh0c.js → ripgrep-nbsqgbhj.js} +22 -22
- package/dist/chunks/{shell-gjp1trbb.js → ripgrep-npgkeycb.js} +16 -16
- package/dist/chunks/{shell-4nfcmvhk.js → ripgrep-ny49cbs5.js} +30 -30
- package/dist/chunks/{shell-p015t6z3.js → ripgrep-p015t6z3.js} +2 -2
- package/dist/chunks/{shell-bqrhmwq8.js → ripgrep-p0e8hqgq.js} +35 -35
- package/dist/chunks/{shell-5zrxpy3q.js → ripgrep-p7vhpwh8.js} +5 -5
- package/dist/chunks/{shell-ceq71z2s.js → ripgrep-pb1qprq3.js} +27 -27
- package/dist/chunks/{shell-yrab93vt.js → ripgrep-pef6w6b4.js} +19 -19
- package/dist/chunks/{shell-c57tq9x6.js → ripgrep-pj2bksq9.js} +11 -11
- package/dist/chunks/{shell-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{shell-074n756q.js → ripgrep-pw806jn0.js} +18 -18
- package/dist/chunks/{shell-5qgzfdx6.js → ripgrep-pyrm1t89.js} +15 -15
- package/dist/chunks/{shell-jxf43kwy.js → ripgrep-q5ksxkha.js} +6 -6
- package/dist/chunks/{shell-0pv52n9j.js → ripgrep-q6v380sb.js} +12 -12
- package/dist/chunks/{shell-1r91ydea.js → ripgrep-qaxt5sce.js} +4 -4
- package/dist/chunks/{shell-wafjmk08.js → ripgrep-qh12k8gp.js} +1 -1
- package/dist/chunks/{shell-b5za93j9.js → ripgrep-qj3jeqzz.js} +56 -56
- package/dist/chunks/{shell-qjgzc4b4.js → ripgrep-qjgzc4b4.js} +1 -1
- package/dist/chunks/{shell-495kryxw.js → ripgrep-qqtfakpy.js} +13 -13
- package/dist/chunks/{shell-9g4cv0f3.js → ripgrep-qvw98tg0.js} +5 -5
- package/dist/chunks/{shell-r0yr0wbs.js → ripgrep-r0yr0wbs.js} +1 -1
- package/dist/chunks/{shell-19pped8k.js → ripgrep-r1h56z6d.js} +13 -13
- package/dist/chunks/{shell-hbg8agq7.js → ripgrep-r2nqe40b.js} +14 -14
- package/dist/chunks/{shell-tb7p4ryh.js → ripgrep-r4zhn8a3.js} +8 -8
- package/dist/chunks/{shell-bnjf1eky.js → ripgrep-r96bqt38.js} +7 -7
- package/dist/chunks/{shell-f5t8t5m7.js → ripgrep-r991pz9h.js} +20 -20
- package/dist/chunks/{shell-rb9dy4dg.js → ripgrep-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shell-hsphd179.js → ripgrep-rgsds9qv.js} +11 -11
- package/dist/chunks/{shell-ey9szsmw.js → ripgrep-rjb5m6wk.js} +24 -24
- package/dist/chunks/{shell-rt5dr6hb.js → ripgrep-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shell-7zt9x3hf.js → ripgrep-rvr9nrxj.js} +20 -20
- package/dist/chunks/{shell-5x4mtra2.js → ripgrep-rvv5zxkv.js} +14 -14
- package/dist/chunks/{shell-bsrm4kv0.js → ripgrep-rwvswa9y.js} +6 -6
- package/dist/chunks/{shell-5rsk1nq8.js → ripgrep-rxrz6b15.js} +2 -2
- package/dist/chunks/{shell-2jdqz29y.js → ripgrep-rzbnf15d.js} +14 -14
- package/dist/chunks/{shell-j9v24vp1.js → ripgrep-s0kw0bab.js} +21 -21
- package/dist/chunks/{shell-xccgq3qx.js → ripgrep-s2p2k57b.js} +15 -15
- package/dist/chunks/{shell-c9fgk02w.js → ripgrep-s62g5239.js} +46 -46
- package/dist/chunks/{shell-msft5056.js → ripgrep-sda31fcg.js} +29 -29
- package/dist/chunks/{shell-tfmz659n.js → ripgrep-sfw989kw.js} +2 -2
- package/dist/chunks/{shell-revj3tw3.js → ripgrep-sgywbgaj.js} +29 -29
- package/dist/chunks/{shell-k4ggaqy8.js → ripgrep-sp56zrrh.js} +36 -36
- package/dist/chunks/{shell-sqjzf8x2.js → ripgrep-sqjzf8x2.js} +1 -1
- package/dist/chunks/{shell-3sywvchv.js → ripgrep-sxnrxfca.js} +23 -23
- package/dist/chunks/{shell-tngq8s39.js → ripgrep-t9q01d30.js} +21 -21
- package/dist/chunks/{shell-tasvem1v.js → ripgrep-tasvem1v.js} +3 -3
- package/dist/chunks/{shell-tczq8hjw.js → ripgrep-tczq8hjw.js} +1 -1
- package/dist/chunks/{shell-dzwp3hcx.js → ripgrep-tdd1rwdg.js} +5 -5
- package/dist/chunks/{shell-y7y0w8zn.js → ripgrep-tdzaz51m.js} +14 -14
- package/dist/chunks/{shell-ydsespw1.js → ripgrep-tg1vr1qt.js} +8 -8
- package/dist/chunks/{shell-8cf452yy.js → ripgrep-tnf39wvh.js} +46 -46
- package/dist/chunks/{shell-0421tmwc.js → ripgrep-tpm1qpxt.js} +9 -9
- package/dist/chunks/{shell-tw8zr1ps.js → ripgrep-tw8zr1ps.js} +1 -1
- package/dist/chunks/{shell-twv2r8f4.js → ripgrep-twv2r8f4.js} +2 -2
- package/dist/chunks/{shell-ydpx6gyr.js → ripgrep-txe6hs0a.js} +8 -8
- package/dist/chunks/{shell-v2r1d0zg.js → ripgrep-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shell-4e2nnt3c.js → ripgrep-vb6v44n7.js} +22 -22
- package/dist/chunks/{shell-vd3b3yk9.js → ripgrep-vd3b3yk9.js} +1 -1
- package/dist/chunks/{shell-bx6xdp1z.js → ripgrep-vd41439j.js} +18 -18
- package/dist/chunks/{shell-trc09wwy.js → ripgrep-vdsdnjgz.js} +22 -22
- package/dist/chunks/{shell-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-c7j93mmt.js → ripgrep-vgjn3sfz.js} +8 -8
- package/dist/chunks/{shell-vmfhgzt5.js → ripgrep-vmfhgzt5.js} +1 -1
- package/dist/chunks/{shell-f9nf7jc4.js → ripgrep-vtr9dtkz.js} +13 -13
- package/dist/chunks/{shell-f82ybqrx.js → ripgrep-vtz4zgjw.js} +9 -9
- package/dist/chunks/{shell-4zqkcf57.js → ripgrep-w2c2mnmy.js} +17 -17
- package/dist/chunks/{shell-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-wr3re1en.js → ripgrep-w687dnns.js} +4 -4
- package/dist/chunks/{shell-nsqj0y1h.js → ripgrep-w7svd9fv.js} +27 -27
- package/dist/chunks/{shell-wakvkjy4.js → ripgrep-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{shell-0v6bwa58.js → ripgrep-wg9ke37f.js} +32 -32
- package/dist/chunks/{shell-f1e7k22r.js → ripgrep-wj025wy7.js} +4 -4
- package/dist/chunks/{shell-wmjzvx4b.js → ripgrep-wmjzvx4b.js} +1 -1
- package/dist/chunks/{shell-cyeygnsd.js → ripgrep-wnvea4fe.js} +8 -8
- package/dist/chunks/{shell-k18xgkct.js → ripgrep-wy7xqtjs.js} +33 -33
- package/dist/chunks/{shell-szcyxb54.js → ripgrep-x3h41a9f.js} +7 -7
- package/dist/chunks/{shell-fa903x7f.js → ripgrep-xngkbgfx.js} +15 -15
- package/dist/chunks/{shell-t75rajx1.js → ripgrep-xwxay0k0.js} +45 -45
- package/dist/chunks/{shell-2ah0g8wp.js → ripgrep-xyh4h3t6.js} +3 -3
- package/dist/chunks/{shell-vkfaa8pw.js → ripgrep-xzvgcsw6.js} +7 -7
- package/dist/chunks/{shell-t7e9twk7.js → ripgrep-y4vtynzt.js} +17 -17
- package/dist/chunks/{shell-p6xjr4s7.js → ripgrep-y5qe5mc0.js} +19 -19
- package/dist/chunks/{shell-yb20nhc3.js → ripgrep-yb20nhc3.js} +1 -1
- package/dist/chunks/{shell-wd6msta3.js → ripgrep-ycgbrrj2.js} +11 -11
- package/dist/chunks/{shell-t12sb919.js → ripgrep-ye7j7sbs.js} +32 -32
- package/dist/chunks/{shell-wpjr39xp.js → ripgrep-ygj7qvsn.js} +25 -25
- package/dist/chunks/{shell-zsm4q6zj.js → ripgrep-yh0e7xz8.js} +32 -32
- package/dist/chunks/{shell-j2a3kw55.js → ripgrep-yyjmamy7.js} +12 -12
- package/dist/chunks/{shell-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-z38nccrw.js → ripgrep-z38nccrw.js} +1 -1
- package/dist/chunks/{shell-efacwc3z.js → ripgrep-z6mg6m9w.js} +4 -4
- package/dist/chunks/{shell-aeqacknm.js → ripgrep-zjner7m4.js} +11 -11
- package/dist/chunks/{shell-zkg84ctx.js → ripgrep-zkg84ctx.js} +1 -1
- package/dist/chunks/{shell-0k149xew.js → ripgrep-zpmv8s4j.js} +3 -3
- package/dist/chunks/{shell-cfmjsj78.js → ripgrep-zs0pprga.js} +32 -32
- package/dist/chunks/{shell-axmn5kjp.js → ripgrep-zssrpzfh.js} +68 -68
- 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 +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- 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 +87 -87
- 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 +94 -94
- 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 +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +93 -93
- 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 +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- 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 +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- 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 +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- 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 +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- 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 +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- 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 +6 -6
- 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 +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- 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 +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- 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 +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +130 -130
- package/dist/session/generate.js +164 -164
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- 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 +102 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- 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 +105 -105
- 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 +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +135 -135
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +134 -134
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/shell-2mqgqhm8.js +0 -26
- package/dist/chunks/shell-d77dj7jw.js +0 -18
- package/dist/chunks/shell-mcszswe1.js +0 -257
- /package/dist/chunks/{shell-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → ripgrep-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5fjb7ams.js → ripgrep-5fjb7ams.js} +0 -0
- /package/dist/chunks/{shell-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → ripgrep-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → ripgrep-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a058387c.js → ripgrep-a058387c.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → ripgrep-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jze0r7bz.js → ripgrep-jze0r7bz.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → ripgrep-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-pkyv6v7h.js → ripgrep-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → ripgrep-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wjj7prxr.js → ripgrep-wjj7prxr.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → ripgrep-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-c4fe50v7.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-d1v2vbzt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./ripgrep-j7xyg8fd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID15
|
|
12
|
+
} from "./ripgrep-bf166mt2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID12,
|
|
15
|
+
Service76
|
|
16
|
+
} from "./ripgrep-0w2ve4np.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-bkwbn9k7.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service76;
|
|
30
30
|
const bus = yield* Service85;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-0w2ve4np.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-h3r7ht18.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service57
|
|
11
|
+
} from "./ripgrep-s62g5239.js";
|
|
12
12
|
import {
|
|
13
13
|
supports2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
resolve4
|
|
15
|
+
} from "./ripgrep-a17pc1jp.js";
|
|
16
16
|
import {
|
|
17
17
|
observe2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-6pjqjmy2.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/config/plugin/provider.ts
|
|
24
24
|
var exports_provider = {};
|
|
25
25
|
__export(exports_provider, {
|
|
26
26
|
ConfigProviderPlugin: () => exports_provider,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin40
|
|
28
28
|
});
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Money } from "@opencode/schema/money";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin40 = define({
|
|
33
33
|
id: "opencode.config.provider",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
35
|
+
const config = yield* Service57;
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
37
37
|
yield* ctx.integration.transform((integrations) => {
|
|
38
38
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -165,7 +165,7 @@ var Plugin10 = define({
|
|
|
165
165
|
models.update(providerID, id, (model) => {
|
|
166
166
|
if (config.capabilities?.reasoning !== undefined)
|
|
167
167
|
model.variants = [
|
|
168
|
-
...
|
|
168
|
+
...resolve4({ ...model, package: model.package ?? models.provider.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
169
169
|
];
|
|
170
170
|
if (config.variants !== undefined) {
|
|
171
171
|
model.variants ??= [];
|
|
@@ -201,7 +201,7 @@ var Plugin10 = define({
|
|
|
201
201
|
if (config.variants === undefined && config.capabilities?.reasoning === undefined && (!source?.base || repackaged))
|
|
202
202
|
models.update(providerID, id, (model) => {
|
|
203
203
|
model.variants = [
|
|
204
|
-
...
|
|
204
|
+
...resolve4({
|
|
205
205
|
...model,
|
|
206
206
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
207
207
|
})
|
|
@@ -216,4 +216,4 @@ function configuredProviders(entries) {
|
|
|
216
216
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
export {
|
|
219
|
+
export { Plugin40, exports_provider };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service68,
|
|
10
|
+
node: () => node70
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service68 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service68.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node70 = makeLocationNode({ service: Service68, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service68, node70, exports_hooks };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-vb6v44n7.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-z38nccrw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
17
17
|
__export(exports_parse, {
|
|
18
18
|
ShellParse: () => exports_parse,
|
|
19
|
-
scan: () =>
|
|
19
|
+
scan: () => scan2,
|
|
20
20
|
scanPortable: () => scanPortable2
|
|
21
21
|
});
|
|
22
22
|
import { Effect } from "effect";
|
|
@@ -166,7 +166,7 @@ var ARITY = {
|
|
|
166
166
|
"yarn run": 3
|
|
167
167
|
};
|
|
168
168
|
var PREFIX_LENGTH = Math.max(...Object.values(ARITY));
|
|
169
|
-
var
|
|
169
|
+
var scan2 = Effect.fnUntraced(function* (command, shell, cwd, options) {
|
|
170
170
|
if (options?.portable || (options?.wasm ?? shellParserWasm).bash === "")
|
|
171
171
|
return yield* scanPortable2(command, shell, cwd);
|
|
172
172
|
return yield* scanLegacy(command, shell, cwd);
|
|
@@ -353,4 +353,4 @@ async function initialize() {
|
|
|
353
353
|
return { bash, ps };
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
export {
|
|
356
|
+
export { scan2, scanPortable2, exports_parse };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID18
|
|
3
|
+
} from "./ripgrep-gb9ye6vs.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./ripgrep-jae53m2x.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-wj025wy7.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service57
|
|
16
|
+
} from "./ripgrep-s62g5239.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin50
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin50 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service57;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin2 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID18.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID18.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin50, exports_agent2 };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service26
|
|
6
|
+
} from "./ripgrep-a8m490ta.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./ripgrep-2553426h.js";
|
|
10
10
|
import {
|
|
11
11
|
MEDIA_MIMES2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-pyrm1t89.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/tool/plugin/mcp-resource.ts
|
|
18
18
|
var exports_mcp_resource = {};
|
|
19
19
|
__export(exports_mcp_resource, {
|
|
20
20
|
McpResourceTools: () => exports_mcp_resource,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin22
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin22 = {
|
|
26
26
|
id: "opencode.tools.mcp-resources",
|
|
27
27
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
28
|
-
const mcp = yield*
|
|
29
|
-
const permission = yield*
|
|
28
|
+
const mcp = yield* Service26;
|
|
29
|
+
const permission = yield* Service65;
|
|
30
30
|
yield* ctx.tool.transform((editor) => {
|
|
31
31
|
editor.add({
|
|
32
32
|
name: "list_mcp_resources",
|
|
@@ -96,4 +96,4 @@ var Plugin26 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin22, exports_mcp_resource };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-2z1j29yd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./ripgrep-2553426h.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
23
|
-
MAX_RESPONSE_BYTES: () =>
|
|
22
|
+
Input: () => Input11,
|
|
23
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
24
24
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin29,
|
|
26
26
|
WebFetchTool: () => exports_webfetch,
|
|
27
27
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
28
|
-
description: () =>
|
|
28
|
+
description: () => description5,
|
|
29
29
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
30
|
-
name: () =>
|
|
30
|
+
name: () => name11
|
|
31
31
|
});
|
|
32
32
|
import { ToolFailure } from "@opencode/ai";
|
|
33
33
|
import { Duration, Effect, Schema } from "effect";
|
|
34
34
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
35
35
|
import { Parser } from "htmlparser2";
|
|
36
|
-
var
|
|
37
|
-
var
|
|
36
|
+
var name11 = "webfetch";
|
|
37
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
38
38
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
39
39
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
40
|
-
var
|
|
40
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
41
41
|
|
|
42
42
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
43
43
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
44
|
-
var
|
|
44
|
+
var Input11 = Schema.Struct({
|
|
45
45
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
46
46
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
47
47
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -51,7 +51,7 @@ var Input3 = Schema.Struct({
|
|
|
51
51
|
var Output = Schema.Struct({
|
|
52
52
|
url: Schema.String,
|
|
53
53
|
contentType: Schema.String,
|
|
54
|
-
format:
|
|
54
|
+
format: Input11.fields.format,
|
|
55
55
|
output: Schema.String
|
|
56
56
|
});
|
|
57
57
|
var acceptHeader = (format) => {
|
|
@@ -82,7 +82,7 @@ var assertHttpUrl = (url) => {
|
|
|
82
82
|
throw new Error("URL must use http:// or https://");
|
|
83
83
|
};
|
|
84
84
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
85
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
85
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
86
86
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
87
87
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
88
88
|
var convert = (content, contentType, format) => {
|
|
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
|
|
|
94
94
|
return extractTextFromHTML2(content);
|
|
95
95
|
return content;
|
|
96
96
|
};
|
|
97
|
-
var
|
|
97
|
+
var Plugin29 = {
|
|
98
98
|
id: "opencode.tool.webfetch",
|
|
99
99
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
100
100
|
const http = yield* HttpClient.HttpClient;
|
|
101
|
-
const permission = yield*
|
|
101
|
+
const permission = yield* Service65;
|
|
102
102
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
103
|
-
name:
|
|
103
|
+
name: name11,
|
|
104
104
|
options: { codemode: false },
|
|
105
|
-
description:
|
|
106
|
-
input:
|
|
105
|
+
description: description5,
|
|
106
|
+
input: Input11,
|
|
107
107
|
output: Output,
|
|
108
108
|
execute: (input, context) => Effect.gen(function* () {
|
|
109
109
|
yield* Effect.try({
|
|
@@ -111,7 +111,7 @@ var Plugin22 = {
|
|
|
111
111
|
catch: (error) => error
|
|
112
112
|
});
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name11,
|
|
115
115
|
resources: [input.url],
|
|
116
116
|
save: ["*"],
|
|
117
117
|
metadata: input,
|
|
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
|
|
|
169
169
|
parser.end();
|
|
170
170
|
return text.trim();
|
|
171
171
|
}
|
|
172
|
-
export {
|
|
172
|
+
export { name11, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin29, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service31,
|
|
3
|
+
node34
|
|
4
|
+
} from "./ripgrep-50vfe0ee.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-jchrqzf6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service21,
|
|
20
|
+
node: () => node24
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,19 +61,19 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service21 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service31;
|
|
68
|
+
return Service21.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
76
|
-
key:
|
|
75
|
+
return make19({
|
|
76
|
+
key: Key3.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
79
79
|
render: {
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node24 = makeLocationNode({ service: Service21, layer, deps: [node34] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service21, node24, exports_instructions2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-favmj1rd.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-40za9wsf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin9,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
|
-
endpoint: () =>
|
|
20
|
+
endpoint: () => endpoint6
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
24
24
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
25
|
-
var
|
|
25
|
+
var endpoint6 = "https://agent.tinyfish.ai/mcp";
|
|
26
26
|
var McpInput = Schema.Struct({
|
|
27
27
|
query: Schema.String
|
|
28
28
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin9 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -78,7 +78,7 @@ var Plugin37 = define({
|
|
|
78
78
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
79
79
|
};
|
|
80
80
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
81
|
-
const result = yield* call2(http,
|
|
81
|
+
const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
82
82
|
const content = result?.content.find((item) => item.text);
|
|
83
83
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
84
84
|
return response?.results.map((item) => ({
|
|
@@ -94,7 +94,7 @@ var Plugin37 = define({
|
|
|
94
94
|
});
|
|
95
95
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
96
96
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
97
|
-
const request = yield* HttpClientRequest.post(
|
|
97
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
98
98
|
jsonrpc: "2.0",
|
|
99
99
|
id: 1,
|
|
100
100
|
method: "initialize",
|
|
@@ -105,11 +105,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
105
105
|
}
|
|
106
106
|
}));
|
|
107
107
|
const response = yield* client.execute(request);
|
|
108
|
-
yield* collectBoundedResponseBody2(response,
|
|
108
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
112
|
-
const notification = yield* HttpClientRequest.post(
|
|
112
|
+
const notification = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
113
113
|
jsonrpc: "2.0",
|
|
114
114
|
method: "notifications/initialized"
|
|
115
115
|
}));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { endpoint6, Plugin9, exports_tinyfish };
|