@opencode/core 0.0.0-dev-19483 → 0.0.0-dev-19484
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{websearch-rxtwa657.js → pty-0647zyye.js} +28 -28
- package/dist/chunks/{websearch-rv0djftn.js → pty-0953varj.js} +44 -44
- package/dist/chunks/{websearch-4y66k410.js → pty-0ajdgxne.js} +5 -5
- package/dist/chunks/{websearch-j028maxm.js → pty-0nrybmqd.js} +9 -9
- package/dist/chunks/{websearch-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{websearch-aqjsmqrn.js → pty-0ra4p3k2.js} +43 -43
- package/dist/chunks/{websearch-9aax44nh.js → pty-0td8n8vp.js} +18 -18
- package/dist/chunks/{websearch-53705tx4.js → pty-11qx6zpw.js} +38 -38
- package/dist/chunks/{websearch-qqvxqkma.js → pty-14ahvy0s.js} +23 -23
- package/dist/chunks/{websearch-yvwtzbz5.js → pty-18r19y7d.js} +11 -11
- package/dist/chunks/{websearch-7yh4e7ss.js → pty-1bbkgx8g.js} +3 -3
- package/dist/chunks/{websearch-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-106gw7zm.js → pty-1f2zrtgd.js} +32 -32
- package/dist/chunks/{websearch-m5g5cn1a.js → pty-1fh16wq8.js} +3 -3
- package/dist/chunks/{websearch-87v2xzqa.js → pty-1n1j5phf.js} +1 -1
- package/dist/chunks/{websearch-reqevd7p.js → pty-1qdmrsyh.js} +14 -14
- package/dist/chunks/pty-1r48vspq.js +247 -0
- package/dist/chunks/{websearch-q0nz172n.js → pty-1t6v7t1p.js} +15 -15
- package/dist/chunks/pty-1tm0r3ht.js +4 -0
- package/dist/chunks/pty-1x11rq2a.js +18 -0
- package/dist/chunks/{websearch-56gdpj1q.js → pty-1ygqh575.js} +9 -9
- package/dist/chunks/{websearch-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-2402vzrj.js → pty-2402vzrj.js} +1 -1
- package/dist/chunks/{websearch-w04kpkjq.js → pty-2a010xm9.js} +4 -4
- package/dist/chunks/{websearch-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-saf13jzc.js → pty-2akhs850.js} +17 -17
- package/dist/chunks/{websearch-7jv6pypr.js → pty-2bek0fz1.js} +12 -12
- package/dist/chunks/{websearch-rrshzaw6.js → pty-2drds6a2.js} +5 -5
- package/dist/chunks/{websearch-n89z7bxk.js → pty-2kbb5zhh.js} +22 -22
- package/dist/chunks/{websearch-y8n5tbft.js → pty-2kze3sed.js} +11 -11
- package/dist/chunks/{websearch-wjaxxs0m.js → pty-2ta0t88y.js} +18 -18
- package/dist/chunks/{websearch-g9ahqbpr.js → pty-32wbc79b.js} +11 -11
- package/dist/chunks/{websearch-4ve9z8c1.js → pty-3az9pvaz.js} +16 -16
- package/dist/chunks/{websearch-k16ay38w.js → pty-3dqftnvs.js} +1 -1
- package/dist/chunks/{websearch-xrye2hw7.js → pty-3dzkcghm.js} +29 -29
- package/dist/chunks/{websearch-htyym6ck.js → pty-3esrdmkk.js} +34 -42
- package/dist/chunks/{websearch-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-jfzav2gc.js → pty-3nvk9ben.js} +4 -4
- package/dist/chunks/{websearch-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-550p2257.js → pty-3tn94wys.js} +33 -33
- package/dist/chunks/{websearch-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-18e56dsp.js → pty-3ythc6yv.js} +4 -4
- package/dist/chunks/{websearch-fncgf4tb.js → pty-411gfsap.js} +14 -14
- package/dist/chunks/{websearch-qsxf26yz.js → pty-4541pte3.js} +4 -4
- package/dist/chunks/{websearch-f8q7mv7a.js → pty-45796egf.js} +1 -1
- package/dist/chunks/{websearch-jwe4x1j4.js → pty-45rd5fs9.js} +32 -32
- package/dist/chunks/{websearch-jhsettgg.js → pty-45vpyk18.js} +52 -52
- package/dist/chunks/{websearch-zz5hkvbq.js → pty-4tty76jr.js} +21 -21
- package/dist/chunks/{websearch-p369s7er.js → pty-4w0n3ep9.js} +28 -28
- package/dist/chunks/{websearch-yncfs3hz.js → pty-4wn8n9sn.js} +9 -9
- package/dist/chunks/{websearch-06dxphr1.js → pty-5c0f1prt.js} +4 -4
- package/dist/chunks/{websearch-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-m3gqme58.js → pty-5ftnf5hj.js} +20 -20
- package/dist/chunks/{websearch-z76px7dr.js → pty-5n7nm18q.js} +30 -30
- package/dist/chunks/{websearch-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-84xsc2j4.js → pty-63sp6hdr.js} +16 -16
- package/dist/chunks/{websearch-3zd3rmvv.js → pty-6532tvj7.js} +15 -15
- package/dist/chunks/{websearch-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{websearch-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-5z2m8pyj.js → pty-6wfk2szc.js} +31 -31
- package/dist/chunks/{websearch-py3b413y.js → pty-6z42be60.js} +6 -6
- package/dist/chunks/{websearch-71q4at8m.js → pty-71q4at8m.js} +1 -1
- package/dist/chunks/{websearch-kqd2wwpf.js → pty-77nagcj1.js} +4 -4
- package/dist/chunks/{websearch-8jvzjvtx.js → pty-7ae90jyv.js} +2 -2
- package/dist/chunks/{websearch-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-4xxmr89x.js → pty-7ey0dyp0.js} +28 -28
- package/dist/chunks/{websearch-a1anr5m0.js → pty-7w5wmfhw.js} +12 -12
- package/dist/chunks/{websearch-9s2tak1g.js → pty-7y947she.js} +26 -26
- package/dist/chunks/{websearch-adm0hv5w.js → pty-7yp3q20c.js} +39 -39
- package/dist/chunks/{websearch-desf89vc.js → pty-81swgkk7.js} +7 -7
- package/dist/chunks/{websearch-n5a16gh2.js → pty-86rj60hj.js} +15 -15
- package/dist/chunks/{websearch-vvxf2beg.js → pty-88k2vggc.js} +11 -11
- package/dist/chunks/{websearch-89znhe33.js → pty-89znhe33.js} +1 -1
- package/dist/chunks/{websearch-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-tfngb0ww.js → pty-8kyaadyc.js} +4 -4
- package/dist/chunks/{websearch-hvhqgby5.js → pty-8nf61fqw.js} +10 -10
- package/dist/chunks/{websearch-8p4f9s12.js → pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{websearch-9536ja0w.js → pty-8rqsbye2.js} +27 -27
- package/dist/chunks/{websearch-qm5hq1wk.js → pty-8yrxd28w.js} +9 -9
- package/dist/chunks/{websearch-ggfxehqz.js → pty-9b90cabz.js} +11 -11
- package/dist/chunks/{websearch-sw4zbbw7.js → pty-9e0z2fhc.js} +9 -9
- package/dist/chunks/{websearch-jefma2gq.js → pty-9edcvf27.js} +10 -10
- package/dist/chunks/{websearch-bvbz56nf.js → pty-9fgn877f.js} +11 -11
- package/dist/chunks/{websearch-m2n4ambj.js → pty-9fhqnxhc.js} +21 -49
- package/dist/chunks/{websearch-wvg2fke4.js → pty-9v9vhtqj.js} +90 -90
- package/dist/chunks/{websearch-2m8k3bqq.js → pty-9vwx9k7w.js} +23 -23
- package/dist/chunks/{websearch-pecb0brz.js → pty-a1a50ys5.js} +5 -5
- package/dist/chunks/{websearch-a1bz86dw.js → pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{websearch-nng2ktcm.js → pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{websearch-p1wf2k30.js → pty-a5gt7g2r.js} +9 -9
- package/dist/chunks/{websearch-fy3n071p.js → pty-a6xvd2sc.js} +19 -19
- package/dist/chunks/{websearch-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-2ehqxkpw.js → pty-aep6w25k.js} +12 -12
- package/dist/chunks/{websearch-szwnxe8b.js → pty-apnw61nd.js} +6 -6
- package/dist/chunks/{websearch-2ts122me.js → pty-arf9772r.js} +13 -13
- package/dist/chunks/pty-axgp0vgr.js +22 -0
- package/dist/chunks/{websearch-gebtr55s.js → pty-b0grxa7w.js} +5 -5
- package/dist/chunks/{websearch-d50f2zf5.js → pty-b3t12aqp.js} +1 -1
- package/dist/chunks/{websearch-553wj9b8.js → pty-b5ybn7cd.js} +16 -16
- package/dist/chunks/{websearch-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-qcmf15bf.js → pty-bahtkn95.js} +17 -17
- package/dist/chunks/{websearch-bct739vz.js → pty-bct739vz.js} +1 -1
- package/dist/chunks/{websearch-4wcq7dqs.js → pty-bgcsb0ew.js} +17 -17
- package/dist/chunks/{websearch-mk8vf581.js → pty-bpzbj5p0.js} +9 -9
- package/dist/chunks/{websearch-41ken85s.js → pty-brbfzzmd.js} +15 -15
- package/dist/chunks/{websearch-2fcywxny.js → pty-btvz5hhj.js} +11 -11
- package/dist/chunks/{websearch-mdb85k7s.js → pty-byprkm3h.js} +49 -49
- package/dist/chunks/{websearch-0e8daqst.js → pty-c0g3mrmp.js} +4 -4
- package/dist/chunks/{websearch-n76fdqym.js → pty-c20cpmqm.js} +5 -30
- package/dist/chunks/{websearch-cfpkc3c9.js → pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{websearch-e7dhzmy6.js → pty-cmceympy.js} +9 -9
- package/dist/chunks/{websearch-7b15y959.js → pty-cmwkp3r5.js} +8 -8
- package/dist/chunks/{websearch-9encvwzm.js → pty-cs7ja426.js} +72 -72
- package/dist/chunks/{websearch-qy2frasb.js → pty-cyxdd1cp.js} +62 -62
- package/dist/chunks/{websearch-6azrrpy8.js → pty-d4p8tyg8.js} +8 -8
- package/dist/chunks/{websearch-j4yy9w4e.js → pty-d55k3a02.js} +27 -27
- package/dist/chunks/{websearch-qbdb5rpj.js → pty-d801t9mc.js} +23 -23
- package/dist/chunks/{websearch-pe3tsevc.js → pty-d8qmdhbf.js} +6 -6
- package/dist/chunks/{websearch-0vnyxh58.js → pty-dedzq1ka.js} +43 -43
- package/dist/chunks/{websearch-y71avatq.js → pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{websearch-7cedjrs4.js → pty-drknmmyh.js} +9 -9
- package/dist/chunks/{websearch-zex37ywk.js → pty-dy8qh9xy.js} +8 -8
- package/dist/chunks/{websearch-pesskt16.js → pty-ea3fqg3s.js} +15 -15
- package/dist/chunks/{websearch-9mkyvs4w.js → pty-ecrv93z9.js} +6 -6
- package/dist/chunks/{websearch-4wrhrxm7.js → pty-em649qsx.js} +13 -13
- package/dist/chunks/{websearch-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-zyyr8j6k.js → pty-etyswav2.js} +13 -13
- package/dist/chunks/{websearch-dj9sq318.js → pty-evbgk2k8.js} +5 -5
- package/dist/chunks/{websearch-5n168jes.js → pty-eymhvwwk.js} +15 -15
- package/dist/chunks/{websearch-f828m53h.js → pty-f828m53h.js} +2 -2
- package/dist/chunks/{websearch-1qqjkbbm.js → pty-faw67snb.js} +47 -47
- package/dist/chunks/{websearch-qs8fd5yv.js → pty-fhmdnm6f.js} +38 -38
- package/dist/chunks/{websearch-2bt6bea8.js → pty-fhs97t90.js} +9 -9
- package/dist/chunks/{websearch-f58e595r.js → pty-fjnewxg5.js} +24 -24
- package/dist/chunks/{websearch-jrbyd3we.js → pty-fn71bqeg.js} +17 -17
- package/dist/chunks/{websearch-meahntpx.js → pty-fnvmrkhd.js} +5 -5
- package/dist/chunks/{websearch-qa3qhgw8.js → pty-fqb2p7cx.js} +4 -4
- package/dist/chunks/{websearch-n35w23dd.js → pty-fv7vkzc0.js} +32 -32
- package/dist/chunks/{websearch-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{websearch-2e96adxv.js → pty-g2twwaw3.js} +6 -6
- package/dist/chunks/{websearch-hq22f3sc.js → pty-g3xj57nv.js} +25 -25
- package/dist/chunks/{websearch-jtbqkmrk.js → pty-g646es06.js} +12 -12
- package/dist/chunks/{websearch-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-38btsem5.js → pty-gdmgw3kk.js} +13 -13
- package/dist/chunks/{websearch-naqparvc.js → pty-ge2ncj9q.js} +17 -17
- package/dist/chunks/{websearch-sj7r2nre.js → pty-geymd4gz.js} +18 -18
- package/dist/chunks/{websearch-th5km1p3.js → pty-gv6a8nnw.js} +5 -5
- package/dist/chunks/{websearch-5drs3kxz.js → pty-gw1k03mf.js} +15 -15
- package/dist/chunks/{websearch-k308y3cd.js → pty-gzcsr6sv.js} +29 -29
- package/dist/chunks/{websearch-r6802cbt.js → pty-gzq6qehx.js} +24 -24
- package/dist/chunks/{websearch-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{websearch-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-vxpws250.js → pty-h7m0p69y.js} +10 -10
- package/dist/chunks/{websearch-8vgxngcq.js → pty-h7p7r1dx.js} +27 -27
- package/dist/chunks/{websearch-mgx963cj.js → pty-hd29wc17.js} +8 -8
- package/dist/chunks/{websearch-7s1ycvxr.js → pty-hde40vmr.js} +45 -45
- package/dist/chunks/{websearch-cq37gk0t.js → pty-hfdr1yjj.js} +4 -4
- package/dist/chunks/{websearch-t0tjpkgm.js → pty-hgrjhmfr.js} +8 -8
- package/dist/chunks/{websearch-ntgpnhzh.js → pty-ht1qtvc3.js} +7 -7
- package/dist/chunks/{websearch-057kyg8r.js → pty-j1jpgbqt.js} +4 -4
- package/dist/chunks/{websearch-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-a4q6373d.js → pty-j6frpzgk.js} +22 -22
- package/dist/chunks/{websearch-c22yrd1g.js → pty-j71f32vt.js} +9 -9
- package/dist/chunks/{websearch-7w99qc9d.js → pty-jexxy024.js} +3 -3
- package/dist/chunks/{websearch-fypyt9ax.js → pty-jfaxz2yb.js} +30 -30
- package/dist/chunks/{websearch-01z5yxwd.js → pty-jg24vk6e.js} +5 -5
- package/dist/chunks/{websearch-mvj7zzrq.js → pty-jmn8yr3h.js} +26 -26
- package/dist/chunks/{websearch-yfvrypcb.js → pty-jnyfd4gm.js} +7 -7
- package/dist/chunks/{websearch-4ejw2jqq.js → pty-jp3k4seg.js} +13 -13
- package/dist/chunks/{websearch-z3a9s106.js → pty-jqy04vj9.js} +20 -20
- package/dist/chunks/{websearch-avqvzm75.js → pty-jtanr3ta.js} +169 -169
- package/dist/chunks/{websearch-0h54jqbs.js → pty-k4wwmme7.js} +8 -8
- package/dist/chunks/{websearch-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{websearch-9w319rvq.js → pty-kmy1ax01.js} +10 -10
- package/dist/chunks/{websearch-qfxgvynf.js → pty-m01vtssh.js} +5 -5
- package/dist/chunks/{websearch-6ba91h8c.js → pty-m77xbvte.js} +84 -84
- package/dist/chunks/{websearch-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-25ajstgf.js → pty-md2xj9nf.js} +29 -29
- package/dist/chunks/{websearch-dq4j0srv.js → pty-mehhkwtb.js} +6 -6
- package/dist/chunks/{websearch-fygdb7h7.js → pty-mgtytz9t.js} +3 -3
- package/dist/chunks/{websearch-magykp64.js → pty-mjymc32g.js} +4 -4
- package/dist/chunks/{websearch-wpm2rk0p.js → pty-mnbh32fx.js} +6 -6
- package/dist/chunks/{websearch-vcpxd4bv.js → pty-my653yp5.js} +25 -25
- package/dist/chunks/{websearch-kpvyk30t.js → pty-n37c4crj.js} +9 -9
- package/dist/chunks/{websearch-86eyv63b.js → pty-n4m74tcd.js} +13 -13
- package/dist/chunks/{websearch-x3jmp06z.js → pty-ndm8q3nx.js} +23 -23
- package/dist/chunks/{websearch-gq38ebmh.js → pty-newyp0rw.js} +6 -6
- package/dist/chunks/{websearch-gbks0crs.js → pty-nkscrdhp.js} +5 -5
- package/dist/chunks/{websearch-8mwczstk.js → pty-nnvetb0x.js} +11 -11
- package/dist/chunks/{websearch-hd569af0.js → pty-ns15zm60.js} +6 -6
- package/dist/chunks/{websearch-e8zvhgb7.js → pty-nt6p7phb.js} +37 -37
- package/dist/chunks/{websearch-z7ygv8dn.js → pty-nw3t2cyt.js} +18 -18
- package/dist/chunks/{websearch-frf89m5p.js → pty-p5d32tz9.js} +22 -22
- package/dist/chunks/{websearch-az8wpmk5.js → pty-pd1qwn8m.js} +22 -22
- package/dist/chunks/{websearch-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-6w60nb5g.js → pty-pmvrcxp3.js} +291 -291
- package/dist/chunks/{websearch-ca7w653e.js → pty-q5asdkn4.js} +4 -4
- package/dist/chunks/{websearch-0jwsre1p.js → pty-qgn6gcr1.js} +5 -5
- package/dist/chunks/{websearch-gg7pg1rj.js → pty-qn4ba14w.js} +5 -5
- package/dist/chunks/{websearch-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-99580sk5.js → pty-qygybdk4.js} +11 -11
- package/dist/chunks/{websearch-sk718qf1.js → pty-qyxb3rgr.js} +37 -37
- package/dist/chunks/{websearch-r2kye7qh.js → pty-qzgv9fd5.js} +17 -17
- package/dist/chunks/{websearch-m27pyyd3.js → pty-r2qzv5a7.js} +6 -6
- package/dist/chunks/{websearch-qce9we07.js → pty-r4x5wh38.js} +15 -15
- package/dist/chunks/{websearch-abtdxr9t.js → pty-r88ayxsh.js} +5 -5
- package/dist/chunks/{websearch-yp2x3t23.js → pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{websearch-dc1rab6v.js → pty-r9abkved.js} +20 -20
- package/dist/chunks/{websearch-r9mregkx.js → pty-r9mregkx.js} +2 -2
- package/dist/chunks/{websearch-z69s9t6b.js → pty-ras7gexc.js} +5 -5
- package/dist/chunks/{websearch-trnt4t8c.js → pty-rgr9kwfb.js} +7 -7
- package/dist/chunks/{websearch-kxpygcw9.js → pty-rph3zd4r.js} +4 -4
- package/dist/chunks/{websearch-j9y9fcvd.js → pty-rx9j2q4y.js} +9 -9
- package/dist/chunks/{websearch-t7z3zppm.js → pty-rzxn8jq1.js} +2 -2
- package/dist/chunks/{websearch-fgh0kbhd.js → pty-s1a57xgp.js} +1 -1
- package/dist/chunks/{websearch-tcp3renx.js → pty-s1k0znnr.js} +35 -35
- package/dist/chunks/{websearch-rhjbct0v.js → pty-s8d7rejh.js} +4 -4
- package/dist/chunks/{websearch-wnwaph4q.js → pty-s9zga7k6.js} +20 -20
- package/dist/chunks/{websearch-836wjbr2.js → pty-sj6g8xhe.js} +15 -15
- package/dist/chunks/{websearch-0ewyyc7b.js → pty-st8jmgs2.js} +38 -38
- package/dist/chunks/{websearch-rh8145c8.js → pty-sxw0ed71.js} +23 -23
- package/dist/chunks/{websearch-r9babyk8.js → pty-t3w9f47z.js} +1 -1
- package/dist/chunks/{websearch-1awm1f41.js → pty-t6jsq5az.js} +12 -12
- package/dist/chunks/{websearch-f43ddyem.js → pty-t99v83jx.js} +8 -8
- package/dist/chunks/{websearch-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-ek5dpqxb.js → pty-tbesmne2.js} +14 -14
- package/dist/chunks/{websearch-ep6z9mt6.js → pty-tdhe5xga.js} +8 -8
- package/dist/chunks/{websearch-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-pgm1fsvb.js → pty-th49mj5v.js} +17 -17
- package/dist/chunks/{websearch-wj0j7rwq.js → pty-tph7kmz7.js} +4 -4
- package/dist/chunks/{websearch-q0dvjevw.js → pty-tv8e1ghk.js} +24 -24
- package/dist/chunks/{websearch-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-9q922tde.js → pty-txmfp3zj.js} +28 -28
- package/dist/chunks/{websearch-kek212n2.js → pty-tya93gxg.js} +18 -18
- package/dist/chunks/{websearch-s3c5a9z9.js → pty-tz7qhazt.js} +17 -17
- package/dist/chunks/{websearch-9c6xrpvf.js → pty-v62dx6xs.js} +4 -4
- package/dist/chunks/{websearch-96yt6zt0.js → pty-v71xcev7.js} +1 -1
- package/dist/chunks/{websearch-h6xcakft.js → pty-vbzxk3ff.js} +11 -11
- package/dist/chunks/{websearch-43k15f45.js → pty-vednfjt6.js} +4 -4
- package/dist/chunks/{websearch-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-36qa6tx5.js → pty-vkgkjc09.js} +31 -31
- package/dist/chunks/{websearch-1p30vngg.js → pty-vkkm3dp3.js} +20 -20
- package/dist/chunks/{websearch-n40qqmec.js → pty-vm26s0dq.js} +24 -24
- package/dist/chunks/{websearch-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-ez2hf904.js → pty-w0vnt3w8.js} +9 -9
- package/dist/chunks/{websearch-adb54h9z.js → pty-w3vr4dnx.js} +47 -47
- package/dist/chunks/{websearch-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-pgmmxc65.js → pty-wb96fp8p.js} +20 -20
- package/dist/chunks/{websearch-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-m56995h7.js → pty-wfdn8615.js} +21 -21
- package/dist/chunks/{websearch-x77tg81k.js → pty-wjsewdbp.js} +9 -9
- package/dist/chunks/{websearch-fcywhjc2.js → pty-wsd4t4dw.js} +11 -11
- package/dist/chunks/{websearch-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-nhy5jxhy.js → pty-x4wsccvh.js} +4 -4
- package/dist/chunks/{websearch-1drfwyv5.js → pty-x7ns4d9a.js} +46 -46
- package/dist/chunks/{websearch-1zh4pghf.js → pty-x8efcx2v.js} +35 -35
- package/dist/chunks/{websearch-at2bvhe9.js → pty-xfqxjp11.js} +28 -28
- package/dist/chunks/{websearch-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-k5tg8ptt.js → pty-y28xdhk3.js} +8 -8
- package/dist/chunks/{websearch-5h6cs5y5.js → pty-y9ech7jt.js} +23 -23
- package/dist/chunks/{websearch-tbt4776d.js → pty-yfs8r58s.js} +18 -18
- package/dist/chunks/{websearch-f13dxr77.js → pty-yj3bp0fe.js} +26 -26
- package/dist/chunks/{websearch-whcyep9v.js → pty-yjy4g1rw.js} +22 -22
- package/dist/chunks/{websearch-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-mk1f96az.js → pty-yt9d908j.js} +14 -14
- package/dist/chunks/{websearch-typd6ee7.js → pty-yttnsetk.js} +11 -11
- package/dist/chunks/{websearch-g2bhzb9e.js → pty-yvykdhx6.js} +21 -21
- package/dist/chunks/{websearch-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-czg833eg.js → pty-z599ng88.js} +6 -6
- package/dist/chunks/{websearch-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/{websearch-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-k4w51n94.js → pty-zftpq6gn.js} +16 -16
- package/dist/chunks/{websearch-j6tz9wj2.js → pty-zr1b15nt.js} +7 -7
- package/dist/chunks/{websearch-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -363
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +99 -99
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +352 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +81 -81
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -351
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +119 -119
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +79 -79
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +6 -6
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -159
- package/dist/plugin/sdk.js +75 -75
- 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 +342 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- 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 +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +85 -85
- 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 +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/websearch-0mesazry.js +0 -4
- package/dist/chunks/websearch-ajhpbj2b.js +0 -247
- package/dist/chunks/websearch-dw9248gk.js +0 -22
- package/dist/chunks/websearch-dxj72tfx.js +0 -18
- package/dist/chunks/websearch-ksz0h0wp.js +0 -35
- package/dist/chunks/websearch-mkcjrzeh.js +0 -15
- package/dist/plugin/provider/anthropic.js +0 -7
- package/dist/plugin/provider/mistral.js +0 -7
- package/dist/types/plugin/provider/anthropic.d.ts +0 -1
- package/dist/types/plugin/provider/mistral.d.ts +0 -1
- /package/dist/chunks/{websearch-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-paphc93g.js → pty-paphc93g.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node83
|
|
7
|
+
} from "./pty-b5ybn7cd.js";
|
|
8
8
|
import {
|
|
9
9
|
Event18,
|
|
10
10
|
Service70,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node75
|
|
12
|
+
} from "./pty-4tty76jr.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node80
|
|
16
|
+
} from "./pty-2akhs850.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service48,
|
|
19
|
+
node53
|
|
20
|
+
} from "./pty-gzq6qehx.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service71,
|
|
24
|
+
node76
|
|
25
|
+
} from "./pty-jmn8yr3h.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service69,
|
|
34
|
+
node74
|
|
35
|
+
} from "./pty-h7p7r1dx.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./pty-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: () => NotFoundError2,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,13 +56,13 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service31,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
65
|
+
configured: () => configured3,
|
|
66
66
|
layer: () => layer14,
|
|
67
67
|
node: () => node35
|
|
68
68
|
});
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID14.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,20 +165,20 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options3 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var layer14 = (options) => Layer.effect(
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
176
|
+
var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service75;
|
|
178
|
+
const environment = yield* Service48;
|
|
179
|
+
const bus = yield* Service78;
|
|
180
|
+
const forms = yield* Service71;
|
|
181
|
+
const integration = yield* Service69;
|
|
182
182
|
const credentials = yield* Service70;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID14.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError2({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID16.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* 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(
|
|
436
|
+
const result = yield* 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(Service48, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -587,7 +587,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service31.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured3(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
712
|
+
service: Service31,
|
|
713
713
|
layer: layer14(options),
|
|
714
|
-
deps: [
|
|
714
|
+
deps: [node80, node53, node83, node76, node74, node75]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var node35 =
|
|
717
|
+
var node35 = configured3();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service31, Options3, layer14, configured3, node35, exports_mcp4 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./pty-2akhs850.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./pty-gzq6qehx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service47
|
|
15
|
+
} from "./pty-411gfsap.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry4
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-sxw0ed71.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service63
|
|
24
|
+
} from "./pty-45vpyk18.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service51
|
|
27
|
+
} from "./pty-0td8n8vp.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input5,
|
|
37
|
+
Output: () => Output4,
|
|
38
|
+
Plugin: () => Plugin36,
|
|
39
|
+
name: () => name5,
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name5 = "glob";
|
|
46
|
+
var Input5 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output4 = Schema.Array(Entry4);
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin36 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service48;
|
|
70
|
+
const ripgrep = yield* Service47;
|
|
71
|
+
const location = yield* Service75;
|
|
72
|
+
const access = yield* Service51;
|
|
73
|
+
const permission = yield* Service63;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output4,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name5,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin7 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name5, Input5, Output4, toModelContent4, Plugin36, exports_glob };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info27
|
|
5
|
+
} from "./pty-r2qzv5a7.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info26
|
|
8
|
+
} from "./pty-t6jsq5az.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node83
|
|
12
|
+
} from "./pty-b5ybn7cd.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID14,
|
|
18
|
+
Service69,
|
|
19
|
+
node74
|
|
20
|
+
} from "./pty-h7p7r1dx.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event16,
|
|
30
|
+
Service: () => Service68,
|
|
31
|
+
node: () => node73
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event16 } from "@opencode/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service68 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
41
|
-
const bus = yield*
|
|
42
|
-
const integrations = yield*
|
|
40
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
41
|
+
const bus = yield* Service78;
|
|
42
|
+
const integrations = yield* Service69;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
73
73
|
let current = editor.providers.get(providerID);
|
|
74
74
|
if (!current) {
|
|
75
75
|
current = {
|
|
76
|
-
provider:
|
|
76
|
+
provider: Info27.empty(providerID),
|
|
77
77
|
models: new Map
|
|
78
78
|
};
|
|
79
79
|
editor.providers.set(providerID, current);
|
|
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
91
91
|
let record = editor.providers.get(providerID);
|
|
92
92
|
if (!record) {
|
|
93
93
|
record = {
|
|
94
|
-
provider:
|
|
94
|
+
provider: Info27.empty(providerID),
|
|
95
95
|
models: new Map
|
|
96
96
|
};
|
|
97
97
|
editor.providers.set(providerID, record);
|
|
98
98
|
}
|
|
99
|
-
const model = record.models.get(modelID) ??
|
|
99
|
+
const model = record.models.get(modelID) ?? Info26.default(providerID, modelID);
|
|
100
100
|
if (!record.models.has(modelID))
|
|
101
101
|
record.models.set(modelID, model);
|
|
102
102
|
fn(model);
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
130
130
|
}),
|
|
131
131
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
132
132
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
133
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
133
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID14.make(provider.id))));
|
|
134
134
|
})
|
|
135
135
|
},
|
|
136
136
|
model: {
|
|
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
185
185
|
})
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return Service68.of(result);
|
|
189
189
|
}));
|
|
190
190
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
191
|
-
var
|
|
191
|
+
var node73 = makeLocationNode({ service: Service68, layer, deps: [node83, node74] });
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Service68, node73, exports_catalog2, Event16 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-x4wsccvh.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
10
10
|
__export(exports_optimize, {
|
|
11
|
-
AnthropicPlugin: () =>
|
|
11
|
+
AnthropicPlugin: () => AnthropicPlugin2,
|
|
12
12
|
AnthropicToolsPlugin: () => AnthropicToolsPlugin2,
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,13 +374,13 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
381
381
|
return id.includes("gpt-6") ? gpt_astra_default : gpt_default;
|
|
382
382
|
});
|
|
383
|
-
var
|
|
383
|
+
var AnthropicPlugin2 = make("opencode.prompt.anthropic", (model) => {
|
|
384
384
|
const id = model.id.toLowerCase();
|
|
385
385
|
if (!id.includes("claude"))
|
|
386
386
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./pty-b5ybn7cd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./pty-2akhs850.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info3,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service18,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node22
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service18 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service75;
|
|
53
|
+
const bus = yield* Service78;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service18.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node22 = makeLocationNode({
|
|
165
|
+
service: Service18,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node80, node83]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service18, node22, exports_vcs };
|