@opencode/core 0.0.0-dev-20318 → 0.0.0-dev-20327
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/{pty-0s0y88vc.js → repository-03yhb5ad.js} +17 -17
- package/dist/chunks/{pty-n0eq19s0.js → repository-092bevw2.js} +4 -4
- package/dist/chunks/{pty-cddhxtfh.js → repository-0aejbemy.js} +22 -22
- package/dist/chunks/{pty-v979hmqb.js → repository-0nf4068s.js} +26 -26
- package/dist/chunks/{pty-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-k2ypctgb.js → repository-0tnq87cq.js} +15 -15
- package/dist/chunks/{pty-pmr4s4kc.js → repository-1a6p2twq.js} +4 -4
- package/dist/chunks/{pty-73tb2d7t.js → repository-1bbkgx8g.js} +3 -3
- package/dist/chunks/{pty-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/repository-1g8ttbme.js +26 -0
- package/dist/chunks/{pty-s41e7rcq.js → repository-1j5pt4ft.js} +54 -54
- package/dist/chunks/{pty-3500r4jn.js → repository-1ncm4hts.js} +12 -12
- package/dist/chunks/{pty-rph3zd4r.js → repository-1tq060df.js} +6 -6
- package/dist/chunks/{pty-a2wz46gb.js → repository-20gsadav.js} +24 -24
- package/dist/chunks/{pty-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{pty-3qg3nnba.js → repository-23nv5e2k.js} +15 -15
- package/dist/chunks/{pty-dcey28wr.js → repository-256vj6ze.js} +23 -23
- package/dist/chunks/{pty-z63w68vq.js → repository-29x78va6.js} +6 -6
- package/dist/chunks/{pty-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-g9me8x3m.js → repository-2ccxq8sz.js} +56 -56
- package/dist/chunks/{pty-p482tycy.js → repository-2fj6nf2m.js} +25 -25
- package/dist/chunks/{pty-e6qckmx8.js → repository-2p8k3371.js} +8 -8
- package/dist/chunks/{pty-n485pk79.js → repository-2qzws9he.js} +3 -3
- package/dist/chunks/{pty-xbzg2b7z.js → repository-2sabx5kp.js} +10 -10
- package/dist/chunks/{pty-56m60q16.js → repository-2wts5qzq.js} +8 -8
- package/dist/chunks/{pty-pkpxeptk.js → repository-330w2vey.js} +90 -90
- package/dist/chunks/{pty-raaksh1t.js → repository-346y6mfm.js} +7 -7
- package/dist/chunks/{pty-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-8g5e2f0w.js → repository-3qtmwhvy.js} +22 -22
- package/dist/chunks/{pty-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-aqgw5bb6.js → repository-44khr5w8.js} +30 -30
- package/dist/chunks/{pty-e3dkwfpd.js → repository-46m0hjzr.js} +4 -4
- package/dist/chunks/{pty-fz1xeq2j.js → repository-46vthg38.js} +9 -9
- package/dist/chunks/{pty-634gzr1f.js → repository-46zwd712.js} +27 -27
- package/dist/chunks/{pty-de52ckkz.js → repository-4nzwy074.js} +4 -4
- package/dist/chunks/{pty-zf1kfpxj.js → repository-4pnr4hhq.js} +11 -11
- package/dist/chunks/repository-4rsbbpr6.js +252 -0
- package/dist/chunks/{pty-k80936kv.js → repository-4xrsv61j.js} +3 -3
- package/dist/chunks/{pty-zr38cwz4.js → repository-51b08hzt.js} +13 -13
- package/dist/chunks/{pty-t7vrx9w9.js → repository-51bqn9hx.js} +14 -14
- package/dist/chunks/{pty-ygx1qhaf.js → repository-522c72ec.js} +1 -1
- package/dist/chunks/{pty-ghk9cxjs.js → repository-52hb404k.js} +6 -6
- package/dist/chunks/{pty-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{pty-4sn99hha.js → repository-57ez7d0k.js} +7 -7
- package/dist/chunks/{pty-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-zet84qb7.js → repository-5khs75m3.js} +33 -33
- package/dist/chunks/{pty-d8gmv99d.js → repository-5ngaw42y.js} +18 -18
- package/dist/chunks/{pty-xr4gjzhd.js → repository-5ph46173.js} +20 -20
- package/dist/chunks/{pty-b3sw95b3.js → repository-5pwkv57x.js} +5 -5
- package/dist/chunks/{pty-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-fk7hsds5.js → repository-5v36bsqd.js} +30 -30
- package/dist/chunks/{pty-kdvzk119.js → repository-5xpznt2d.js} +4 -4
- package/dist/chunks/{pty-357ynq7f.js → repository-62jtkyqj.js} +4 -4
- package/dist/chunks/{pty-w4c76nsq.js → repository-64d4fz0c.js} +35 -35
- package/dist/chunks/{pty-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{pty-a91670k2.js → repository-6abfc7az.js} +26 -26
- package/dist/chunks/{pty-pbfch3ec.js → repository-6cxm58b5.js} +11 -11
- package/dist/chunks/{pty-mkw5hrks.js → repository-6hjx5zpb.js} +9 -9
- package/dist/chunks/{pty-gj4kh9zb.js → repository-6hr9dd4j.js} +24 -24
- package/dist/chunks/{pty-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-8pqaysd2.js → repository-6ty81bja.js} +15 -15
- package/dist/chunks/{pty-2gk02e42.js → repository-6yea8ax2.js} +9 -9
- package/dist/chunks/{pty-f50z3byn.js → repository-6ytch5ea.js} +18 -18
- package/dist/chunks/{pty-h1gr63pp.js → repository-734ywdzp.js} +43 -43
- package/dist/chunks/{pty-a8mz3dzk.js → repository-74n4xpv9.js} +28 -28
- package/dist/chunks/{pty-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-qgn6gcr1.js → repository-7dqw4kz8.js} +5 -5
- package/dist/chunks/{pty-zzh5t8zs.js → repository-7ec2pg6r.js} +17 -17
- package/dist/chunks/{pty-30t862yp.js → repository-7g7rfneh.js} +29 -29
- package/dist/chunks/{pty-p6sw6t37.js → repository-7mx8b6x1.js} +13 -13
- package/dist/chunks/{pty-0ezaj5b7.js → repository-7resshyd.js} +32 -32
- package/dist/chunks/{pty-ebb8qs7w.js → repository-7sg25f73.js} +6 -6
- package/dist/chunks/{pty-ss0rzm77.js → repository-84qcc0z6.js} +18 -18
- package/dist/chunks/{pty-w1eejvng.js → repository-84txncab.js} +5 -5
- package/dist/chunks/{pty-sbqctm1g.js → repository-8a17t1bw.js} +5 -5
- package/dist/chunks/{pty-qbdw2qyr.js → repository-8c1hkqew.js} +11 -11
- package/dist/chunks/{pty-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-1q1npaf2.js → repository-8rkn0jpj.js} +35 -35
- package/dist/chunks/{pty-jws6fkes.js → repository-8sze2n9a.js} +4 -4
- package/dist/chunks/{pty-etqm6ew7.js → repository-8wz7d5k9.js} +27 -27
- package/dist/chunks/{pty-tcvdrfa5.js → repository-8x0w9677.js} +12 -12
- package/dist/chunks/{pty-bgxcxs0p.js → repository-92a4ap4w.js} +5 -5
- package/dist/chunks/{pty-94ek1h2f.js → repository-94ek1h2f.js} +2 -2
- package/dist/chunks/{pty-xx8yj516.js → repository-94vf58n3.js} +15 -15
- package/dist/chunks/{pty-ccjxb5pr.js → repository-9esrwjy0.js} +187 -187
- package/dist/chunks/{pty-ktbx0pdv.js → repository-9f5fzrca.js} +39 -39
- package/dist/chunks/{pty-b4tr3200.js → repository-9skhgxq9.js} +22 -22
- package/dist/chunks/{pty-jhn6cv3t.js → repository-9v98as8j.js} +17 -17
- package/dist/chunks/{pty-3155ewe9.js → repository-a1x9jh75.js} +5 -5
- package/dist/chunks/{pty-t6vsspdg.js → repository-a2ew8a62.js} +7 -7
- package/dist/chunks/{pty-w41k9e71.js → repository-a2skee4f.js} +33 -33
- package/dist/chunks/{pty-nxtr8th6.js → repository-a5bnh3fe.js} +11 -11
- package/dist/chunks/{pty-ks3rvccb.js → repository-a67k4gtk.js} +11 -11
- package/dist/chunks/{pty-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-c58ks3y1.js → repository-ar00q028.js} +10 -10
- package/dist/chunks/{pty-jfna3bad.js → repository-awbq9rs1.js} +10 -10
- package/dist/chunks/{pty-q7jg25mm.js → repository-azbzvrwt.js} +11 -11
- package/dist/chunks/{pty-af4h48h1.js → repository-b5rh7nhk.js} +11 -11
- package/dist/chunks/{pty-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-gdfekrc1.js → repository-bahkxd2v.js} +19 -19
- package/dist/chunks/repository-bk8heh08.js +507 -0
- package/dist/chunks/{pty-1s35068b.js → repository-bkzqp4j5.js} +23 -23
- package/dist/chunks/{pty-78jke5fa.js → repository-bvjb2t71.js} +32 -32
- package/dist/chunks/{pty-6etjtjrs.js → repository-bx61kp2z.js} +26 -26
- package/dist/chunks/{pty-vet0644j.js → repository-bzrp7q37.js} +13 -13
- package/dist/chunks/{pty-7nejhbzv.js → repository-c4sra46q.js} +9 -9
- package/dist/chunks/{pty-p7atxmve.js → repository-c8e8p37w.js} +36 -36
- package/dist/chunks/{pty-frj0gj8n.js → repository-cadhwe8h.js} +6 -6
- package/dist/chunks/{pty-x5f3h710.js → repository-cgvtq6pd.js} +37 -37
- package/dist/chunks/{pty-ckecvw8r.js → repository-ckecvw8r.js} +2 -2
- package/dist/chunks/{pty-9n2j9wwa.js → repository-cme5mnrk.js} +19 -19
- package/dist/chunks/{pty-6567567a.js → repository-cqbspedd.js} +16 -16
- package/dist/chunks/{pty-skhecnb2.js → repository-d2ksf4va.js} +16 -16
- package/dist/chunks/{pty-9v1cvbjh.js → repository-d8r9gpwm.js} +13 -13
- package/dist/chunks/{pty-qf5fgtzs.js → repository-ddwbawsj.js} +43 -43
- package/dist/chunks/{pty-k6wc7sjx.js → repository-djj2fqjh.js} +26 -26
- package/dist/chunks/{pty-xkntkrq7.js → repository-dmqcgk4z.js} +5 -5
- package/dist/chunks/{pty-xk0yttex.js → repository-dn8jpt1b.js} +11 -11
- package/dist/chunks/{pty-x661k3y3.js → repository-dnxkq42g.js} +4 -4
- package/dist/chunks/{pty-3cfzdc8e.js → repository-dqmwfghx.js} +5 -5
- package/dist/chunks/{pty-kpbhz432.js → repository-dt4h0wgn.js} +10 -10
- package/dist/chunks/{pty-m79451vn.js → repository-dxy9rwgs.js} +17 -17
- package/dist/chunks/{pty-y38ja4bc.js → repository-e0a154fg.js} +8 -8
- package/dist/chunks/{pty-rzmjh6v0.js → repository-e2vme18q.js} +45 -45
- package/dist/chunks/{pty-5qd3pb7m.js → repository-e3qxr5gk.js} +2 -2
- package/dist/chunks/{pty-bwdamcq2.js → repository-e4xyx1jr.js} +37 -37
- package/dist/chunks/{pty-0rabspjk.js → repository-e6v2k67t.js} +1 -1
- package/dist/chunks/{pty-pr3nsq2d.js → repository-e8g69mg2.js} +32 -32
- package/dist/chunks/{pty-yt0fqk68.js → repository-ead3g9p8.js} +5 -5
- package/dist/chunks/{pty-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
- package/dist/chunks/{pty-703jyx7f.js → repository-eeaf82dq.js} +8 -8
- package/dist/chunks/{pty-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-mysz3zax.js → repository-ekmk2epb.js} +38 -38
- package/dist/chunks/{pty-6nkj5wpf.js → repository-end8q9yf.js} +75 -75
- package/dist/chunks/{pty-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-t5bcrkja.js → repository-etsm0c4w.js} +16 -16
- package/dist/chunks/{pty-kc0rwcmg.js → repository-evfe50z6.js} +34 -34
- package/dist/chunks/{pty-am3jb77f.js → repository-evh8asg6.js} +24 -24
- package/dist/chunks/{pty-03c3mj7d.js → repository-ewbysjez.js} +10 -10
- package/dist/chunks/{pty-thzndzdk.js → repository-ezbqyzn4.js} +11 -11
- package/dist/chunks/{pty-3q71xbme.js → repository-f3h1v3p4.js} +8 -8
- package/dist/chunks/{pty-tz4n1mmd.js → repository-f73rjn58.js} +4 -4
- package/dist/chunks/{pty-m9wy7qrr.js → repository-fjvydvzm.js} +6 -6
- package/dist/chunks/{pty-pzv6qmsd.js → repository-fnrmajhb.js} +16 -16
- package/dist/chunks/{pty-8zm4zhyk.js → repository-fnwzaghr.js} +32 -32
- package/dist/chunks/{pty-4e8hyveh.js → repository-fzhjq0vw.js} +8 -8
- package/dist/chunks/{pty-pa8pe2x7.js → repository-g0445xdp.js} +8 -8
- package/dist/chunks/{pty-m7va1g8x.js → repository-g2yz86wh.js} +2 -2
- package/dist/chunks/{pty-6swcvh2w.js → repository-g3mc5kfg.js} +33 -33
- package/dist/chunks/{pty-xvp1j2dc.js → repository-g5agzp2h.js} +5 -5
- package/dist/chunks/{pty-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-5c3sm4vt.js → repository-ghat809j.js} +25 -25
- package/dist/chunks/{pty-dvyvddm3.js → repository-gtf1jrjg.js} +29 -29
- package/dist/chunks/{pty-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-zpkx8m7q.js → repository-gycdx838.js} +9 -9
- package/dist/chunks/{pty-7ffjd9nn.js → repository-h1hhz3wc.js} +13 -13
- package/dist/chunks/{pty-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-p6wxjpka.js → repository-h9wp8z5w.js} +4 -4
- package/dist/chunks/{pty-aay1zk17.js → repository-hafbkqsf.js} +11 -11
- package/dist/chunks/{pty-jm72s75x.js → repository-hgvwc7cd.js} +22 -22
- package/dist/chunks/{pty-83rrd27w.js → repository-hhvyr323.js} +50 -50
- package/dist/chunks/{pty-dcfrr12t.js → repository-hm4b16ap.js} +40 -40
- package/dist/chunks/{pty-hcgr32kr.js → repository-hmy61pfr.js} +12 -12
- package/dist/chunks/{pty-hydq9jhc.js → repository-hrspk2jv.js} +22 -22
- package/dist/chunks/repository-ht5y0zrb.js +18 -0
- package/dist/chunks/{pty-nv3zfv5m.js → repository-hwce49kt.js} +21 -21
- package/dist/chunks/{pty-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-hc3jgfyg.js → repository-j91df599.js} +32 -32
- package/dist/chunks/{pty-a3c7ahw6.js → repository-jpqeh2wc.js} +4 -4
- package/dist/chunks/{pty-ppzfs3bq.js → repository-jr4dxy5c.js} +3 -3
- package/dist/chunks/{pty-s3tjp3s7.js → repository-jx6w3tcg.js} +25 -25
- package/dist/chunks/{pty-xz46ks89.js → repository-k2yahx9c.js} +5 -5
- package/dist/chunks/{pty-nzks3jc8.js → repository-k3c624dm.js} +3 -3
- package/dist/chunks/{pty-2pkxka52.js → repository-k91hc397.js} +10 -10
- package/dist/chunks/{pty-14436fm0.js → repository-k9psjfbd.js} +3 -3
- package/dist/chunks/{pty-th2fx4nm.js → repository-kfahhyhy.js} +25 -25
- package/dist/chunks/{pty-jkgp4bya.js → repository-knx6vc55.js} +24 -24
- package/dist/chunks/{pty-325f4v0d.js → repository-krbat558.js} +6 -6
- package/dist/chunks/{pty-7rq54f71.js → repository-ksdq3yt2.js} +28 -28
- package/dist/chunks/{pty-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-x4r0j41c.js → repository-m76a2k0m.js} +8 -8
- package/dist/chunks/{pty-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-11wds091.js → repository-mb7qsxty.js} +22 -22
- package/dist/chunks/{pty-1ygqh575.js → repository-mfqp6xfm.js} +6 -6
- package/dist/chunks/{pty-7tjpr1wg.js → repository-mrg70h1v.js} +19 -19
- package/dist/chunks/{pty-h6n6beer.js → repository-mv2ay9dz.js} +20 -20
- package/dist/chunks/{pty-vwf8v7dm.js → repository-mwhefvvw.js} +3 -3
- package/dist/chunks/{pty-8paq7gnc.js → repository-nj1j17x6.js} +8 -8
- package/dist/chunks/{pty-yhmyzjvr.js → repository-nk8qx497.js} +21 -21
- package/dist/chunks/{pty-f62qkzqr.js → repository-nyqx1cb3.js} +5 -5
- package/dist/chunks/{pty-cn17vkgn.js → repository-p3expsqa.js} +16 -16
- package/dist/chunks/{pty-fme3prkd.js → repository-p5gmb07n.js} +5 -5
- package/dist/chunks/{pty-ne6nw42t.js → repository-pdz52ded.js} +23 -23
- package/dist/chunks/{pty-2h7nr2dq.js → repository-pen903sm.js} +7 -7
- package/dist/chunks/{pty-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{pty-d9n03hwg.js → repository-pkve43rd.js} +34 -34
- package/dist/chunks/{pty-yw8t9dwe.js → repository-pnaxc6j9.js} +8 -8
- package/dist/chunks/{pty-g3ede0c3.js → repository-pp2vfp84.js} +34 -31
- package/dist/chunks/{pty-qca4j8wz.js → repository-pqwcs79a.js} +20 -20
- package/dist/chunks/{pty-fvpy227v.js → repository-pw3aqa3b.js} +27 -27
- package/dist/chunks/{pty-r2cvksq4.js → repository-q26xrw20.js} +22 -22
- package/dist/chunks/{pty-5cnqx41v.js → repository-q5zafh14.js} +6 -6
- package/dist/chunks/{pty-nxavjaqk.js → repository-qe2vk4xy.js} +7 -7
- package/dist/chunks/{pty-xpc77ah9.js → repository-qmyetdfw.js} +15 -15
- package/dist/chunks/{pty-xwrmeaqy.js → repository-qn1kcwf1.js} +37 -37
- package/dist/chunks/{pty-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-2917nqpv.js → repository-qyd0022c.js} +32 -32
- package/dist/chunks/{pty-de077sac.js → repository-qz061pbh.js} +11 -11
- package/dist/chunks/{pty-c765mh8b.js → repository-r2m716tb.js} +5 -5
- package/dist/chunks/{pty-1acjjqhc.js → repository-r8xr0va3.js} +4 -4
- package/dist/chunks/{pty-wxxqj8y2.js → repository-rb6gffef.js} +44 -44
- package/dist/chunks/{pty-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-9qbzbnrx.js → repository-rftjbn8p.js} +3 -3
- package/dist/chunks/{pty-b596zvfn.js → repository-rgaw6yy6.js} +9 -9
- package/dist/chunks/{pty-pnv527nz.js → repository-rhafb4aa.js} +9 -9
- package/dist/chunks/{pty-2yxfa91q.js → repository-rwdmhfe9.js} +4 -4
- package/dist/chunks/{pty-yrznvahk.js → repository-s4enseaf.js} +2 -2
- package/dist/chunks/{pty-94h3pznz.js → repository-s5vjzjxc.js} +36 -36
- package/dist/chunks/{pty-gbt6w4kb.js → repository-s8d7rejh.js} +8 -8
- package/dist/chunks/{pty-1wxgmaf2.js → repository-sf5q03y5.js} +57 -57
- package/dist/chunks/{pty-mqckkp0h.js → repository-sjm6y15r.js} +10 -10
- package/dist/chunks/{pty-vtgv0bzx.js → repository-sp7fmdjf.js} +15 -15
- package/dist/chunks/{pty-d0rt25wb.js → repository-stwc6554.js} +12 -12
- package/dist/chunks/{pty-nf278a5w.js → repository-tap773t1.js} +13 -11
- package/dist/chunks/{pty-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-89znhe33.js → repository-tcezcvh9.js} +4 -4
- package/dist/chunks/{pty-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{pty-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-9cev0hxa.js → repository-v81gfb7z.js} +11 -11
- package/dist/chunks/{pty-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-8kvav1mw.js → repository-vk6t1kw2.js} +9 -9
- package/dist/chunks/{pty-2hg7qvzt.js → repository-vxp3kcg3.js} +5 -5
- package/dist/chunks/{pty-0gggs5ty.js → repository-vy4zg7qh.js} +12 -12
- package/dist/chunks/{pty-dmv2xfrr.js → repository-vybhs2ww.js} +11 -11
- package/dist/chunks/{pty-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-ksnxxryk.js → repository-w0nrm5hv.js} +24 -24
- package/dist/chunks/{pty-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-f0ftzx98.js → repository-w3yyykta.js} +9 -9
- package/dist/chunks/{pty-tw4fgwkc.js → repository-w4tc47y0.js} +33 -33
- package/dist/chunks/{pty-h6v00njn.js → repository-w6yj84m2.js} +8 -8
- package/dist/chunks/{pty-g8nt03wg.js → repository-wd11n6zd.js} +4 -4
- package/dist/chunks/{pty-wd3x2cqz.js → repository-wd3x2cqz.js} +2 -2
- package/dist/chunks/{pty-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{pty-dbgdcep4.js → repository-wgjgjn1f.js} +18 -18
- package/dist/chunks/{pty-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-y2ab8x41.js → repository-x6p7tmnf.js} +12 -12
- package/dist/chunks/{pty-v09f5ftj.js → repository-x7rhc6wm.js} +3 -3
- package/dist/chunks/{pty-50mzsvk4.js → repository-xdk9p2qn.js} +21 -21
- package/dist/chunks/{pty-qqeeq2t9.js → repository-xfkkasph.js} +7 -7
- package/dist/chunks/{pty-e0j2qvqa.js → repository-xgfgp5z3.js} +23 -23
- package/dist/chunks/{pty-256nx13v.js → repository-xkhfjrgz.js} +3 -3
- package/dist/chunks/{pty-zdfh86pt.js → repository-xnbva5hb.js} +20 -20
- package/dist/chunks/{pty-xpa1x964.js → repository-xwatpa0g.js} +88 -88
- package/dist/chunks/{pty-7ptzzj42.js → repository-xwbd059y.js} +48 -48
- package/dist/chunks/{pty-eg7p5t05.js → repository-xy1m2s0m.js} +5 -5
- package/dist/chunks/{pty-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-rbrht0p3.js → repository-y24krm64.js} +8 -8
- package/dist/chunks/{pty-jwcy2c2z.js → repository-y71avatq.js} +4 -4
- package/dist/chunks/{pty-ymjd80ya.js → repository-yb1xnzya.js} +11 -11
- package/dist/chunks/{pty-cfct8xv3.js → repository-yb2az3xg.js} +5 -5
- package/dist/chunks/{pty-beycjfkd.js → repository-yk5hfv3m.js} +33 -33
- package/dist/chunks/{pty-4qyq7ysy.js → repository-ypjj027g.js} +9 -9
- package/dist/chunks/{pty-gr4v7nh8.js → repository-ypyd1n4s.js} +11 -11
- package/dist/chunks/{pty-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-zm0694m6.js → repository-yxn7kx7v.js} +49 -49
- package/dist/chunks/{pty-z07pqspn.js → repository-z07pqspn.js} +3 -3
- package/dist/chunks/{pty-vbfgae2j.js → repository-z0aj456m.js} +4 -4
- package/dist/chunks/{pty-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-srzvg8rp.js → repository-z2hzy96q.js} +3 -3
- package/dist/chunks/{pty-e1717p4y.js → repository-z45mjmxx.js} +22 -22
- package/dist/chunks/{pty-w9n84znz.js → repository-z8fpy401.js} +8 -8
- package/dist/chunks/{pty-qgsvmkm8.js → repository-z983jzxa.js} +25 -25
- package/dist/chunks/{pty-90evrgjx.js → repository-zeasar47.js} +12 -12
- package/dist/chunks/{pty-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-1fgh79gw.js → repository-zf9fes0n.js} +18 -18
- package/dist/chunks/{pty-v76zgedn.js → repository-zgt0ygn8.js} +10 -10
- package/dist/chunks/{pty-hekxc47r.js → repository-znsx74x0.js} +1 -1
- package/dist/chunks/{pty-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-y3q03scc.js → repository-zsm3phbg.js} +11 -11
- package/dist/chunks/{pty-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/chunks/{pty-3m46hkaz.js → repository-zy8av054.js} +2 -2
- package/dist/chunks/{pty-bjj3a5nq.js → repository-zyc1d5mg.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +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 +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- 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 +123 -123
- 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 +85 -85
- package/dist/database/database.js +66 -66
- 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.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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- 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/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 +4 -4
- package/dist/filesystem/location-watcher.js +222 -222
- 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 +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- 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-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +86 -86
- 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 +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- 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 +93 -93
- 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 +79 -79
- 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 +163 -163
- 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 +354 -354
- 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/verbosity.js +93 -93
- 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 +6 -6
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +93 -93
- 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 +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 +232 -232
- 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 +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- 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 +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- 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/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/form.d.ts +5 -1
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/pty-hm972mn6.js +0 -252
- package/dist/chunks/pty-mbgj3mnw.js +0 -26
- package/dist/chunks/pty-s4jk5hcs.js +0 -507
- package/dist/chunks/pty-vnkjks7b.js +0 -18
- /package/dist/chunks/{pty-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./repository-8x0w9677.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./repository-a2skee4f.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./repository-cqbspedd.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service45,
|
|
19
|
+
node48
|
|
20
|
+
} from "./repository-evh8asg6.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./repository-pp2vfp84.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node81
|
|
35
|
+
} from "./repository-w4tc47y0.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service37,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured4,
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node40
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -91,21 +91,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service37 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
|
-
var
|
|
96
|
+
var Options4 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
98
98
|
name: Schema.String,
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var
|
|
103
|
-
const location = yield*
|
|
104
|
-
const environment = yield*
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const forms = yield*
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
102
|
+
var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
103
|
+
const location = yield* Service80;
|
|
104
|
+
const environment = yield* Service45;
|
|
105
|
+
const bus = yield* Service83;
|
|
106
|
+
const forms = yield* Service78;
|
|
107
|
+
const integration = yield* Service77;
|
|
108
|
+
const credentials = yield* Service79;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -117,7 +117,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
117
117
|
return;
|
|
118
118
|
const remote = entry.config;
|
|
119
119
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
120
|
-
const integrationID =
|
|
120
|
+
const integrationID = ID14.make(suffix);
|
|
121
121
|
entry.integrationID = integrationID;
|
|
122
122
|
owned.add(integrationID);
|
|
123
123
|
const methodID = MethodID2.make(suffix);
|
|
@@ -133,7 +133,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -142,19 +142,19 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
142
142
|
const name = ServerName2.make(server);
|
|
143
143
|
const entry = entries.get(name);
|
|
144
144
|
if (!entry)
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new NotFoundError4({ server: name });
|
|
146
146
|
return { name, entry };
|
|
147
147
|
});
|
|
148
148
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
156
156
|
if (input.params.mode === "url") {
|
|
157
|
-
const formID =
|
|
157
|
+
const formID = ID15.create();
|
|
158
158
|
const elicitationID = input.params.elicitationId;
|
|
159
159
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
160
160
|
if (key)
|
|
@@ -257,7 +257,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
260
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service45, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -382,7 +382,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
382
382
|
yield* startServer(name, entry);
|
|
383
383
|
}).pipe(locks.withLock(name));
|
|
384
384
|
});
|
|
385
|
-
fork(bus.subscribe(
|
|
385
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
386
386
|
const state = create3({
|
|
387
387
|
name: "mcp",
|
|
388
388
|
initial: () => ({
|
|
@@ -408,7 +408,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service37.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -514,14 +514,14 @@ function mergeCatalogs(catalogs) {
|
|
|
514
514
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function configured4(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
520
|
-
layer:
|
|
521
|
-
deps: [
|
|
519
|
+
service: Service37,
|
|
520
|
+
layer: layer15(options),
|
|
521
|
+
deps: [node84, node48, node87, node82, node81, node83]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node40 = configured4();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service37, Options4, layer15, configured4, node40, exports_mcp4 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-8rkn0jpj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-64d4fz0c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info26.make({
|
|
98
|
+
...Info26.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry4,
|
|
11
|
+
Info: () => Info25,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry4 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info25 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info25, exports_lsp };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-dn8jpt1b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./repository-8x0w9677.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID16,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event20,
|
|
11
|
+
Service79
|
|
12
|
+
} from "./repository-a2skee4f.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-dnxkq42g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-w4tc47y0.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID13,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-8rkn0jpj.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID12,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info26
|
|
28
|
+
} from "./repository-64d4fz0c.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
|
|
|
41
41
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
|
-
var providerID =
|
|
45
|
-
var integrationID =
|
|
44
|
+
var providerID = ID13.openai;
|
|
45
|
+
var integrationID = ID14.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -171,8 +171,8 @@ function listen(server) {
|
|
|
171
171
|
var ChatGPTPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const bus = yield*
|
|
175
|
-
const credentials = yield*
|
|
174
|
+
const bus = yield* Service83;
|
|
175
|
+
const credentials = yield* Service79;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID16.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info26.default(ID13.openai, ID12.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./repository-sf5q03y5.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input3,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
22
|
Plugin: () => Plugin39,
|
|
@@ -24,13 +24,13 @@ __export(exports_webfetch, {
|
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name3 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -38,7 +38,7 @@ var description2 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
38
38
|
|
|
39
39
|
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.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input3 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input3.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -96,12 +96,12 @@ var Plugin39 = {
|
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service66;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name3,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description2,
|
|
104
|
-
input:
|
|
104
|
+
input: Input3,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin39 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name3,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name3, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input3, Plugin39, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./repository-vy4zg7qh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service74,
|
|
16
|
+
node78
|
|
17
|
+
} from "./repository-awbq9rs1.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service48,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node52,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service48 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service74;
|
|
110
|
+
return Service48.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node52 = makeGlobalNode({
|
|
171
|
+
service: Service48,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node78]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service48, isError2, validateBranch2, node52, exports_repository_cache };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error2 = {};
|
|
10
|
+
__export(exports_error2, {
|
|
11
|
+
ConfigErrorV1: () => exports_error2,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
|