@opencode/core 0.0.0-dev-20077 → 0.0.0-dev-20081
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 +77 -77
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{persistent-pty-w7trrfxg.js → provider-046r0309.js} +6 -6
- package/dist/chunks/{persistent-pty-qe4kd680.js → provider-0dtxedqk.js} +12 -12
- package/dist/chunks/{persistent-pty-qt6mstr8.js → provider-0nb8tj3r.js} +11 -11
- package/dist/chunks/{persistent-pty-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-rbhtsr62.js → provider-0x5b3vy1.js} +6 -6
- package/dist/chunks/{persistent-pty-0xezjjjn.js → provider-0xezjjjn.js} +1 -1
- package/dist/chunks/{persistent-pty-3h2x9zep.js → provider-11shpjhc.js} +3 -3
- package/dist/chunks/{persistent-pty-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-4697qq0h.js → provider-1dg03anb.js} +2 -2
- package/dist/chunks/{persistent-pty-g7gngde7.js → provider-1e9cjvdj.js} +10 -10
- package/dist/chunks/{persistent-pty-jfqtm2ew.js → provider-1g7epwpd.js} +7 -7
- package/dist/chunks/{persistent-pty-h18k85sj.js → provider-1n7vwgcr.js} +32 -32
- package/dist/chunks/{persistent-pty-mtzk9mcs.js → provider-1p8x96d2.js} +11 -11
- package/dist/chunks/{persistent-pty-8nqnatqw.js → provider-1pgwehn0.js} +125 -125
- package/dist/chunks/{persistent-pty-5n6xt7h3.js → provider-1tmaqf5z.js} +9 -9
- package/dist/chunks/{persistent-pty-g4de2dpr.js → provider-1w85egtv.js} +16 -16
- package/dist/chunks/{persistent-pty-56gdpj1q.js → provider-1ygqh575.js} +9 -9
- package/dist/chunks/{persistent-pty-a6mwbtq0.js → provider-21981gj5.js} +4 -4
- package/dist/chunks/{persistent-pty-21r38tys.js → provider-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2402vzrj.js → provider-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-9fy1pcrd.js → provider-25wm0g8j.js} +10 -10
- package/dist/chunks/{persistent-pty-09pa4m3v.js → provider-289htsz9.js} +31 -31
- package/dist/chunks/{persistent-pty-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-xga9dy9m.js → provider-2j5dfjra.js} +17 -17
- package/dist/chunks/{persistent-pty-jc8m90n4.js → provider-2jhntd1c.js} +30 -30
- package/dist/chunks/{persistent-pty-d4he2qe1.js → provider-2sejkfem.js} +9 -9
- package/dist/chunks/{persistent-pty-8pv6180c.js → provider-3dv8501d.js} +7 -7
- package/dist/chunks/{persistent-pty-thfsr13d.js → provider-3eghbq6c.js} +23 -23
- package/dist/chunks/{persistent-pty-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-1zsz5cte.js → provider-3qmd0ebz.js} +12 -12
- package/dist/chunks/{persistent-pty-00x4qneg.js → provider-3rtxz4nr.js} +8 -8
- package/dist/chunks/{persistent-pty-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-an4t2was.js → provider-41bwr5r8.js} +24 -24
- package/dist/chunks/{persistent-pty-qdyeg9tz.js → provider-444r4drm.js} +26 -26
- package/dist/chunks/{persistent-pty-hcha2833.js → provider-483kse91.js} +9 -9
- package/dist/chunks/{persistent-pty-jx35jf7z.js → provider-48e6h404.js} +17 -17
- package/dist/chunks/{persistent-pty-sd9ps8hc.js → provider-4m2hcyae.js} +26 -26
- package/dist/chunks/{persistent-pty-0ke265bw.js → provider-57ez7d0k.js} +5 -5
- package/dist/chunks/{persistent-pty-zjstjz92.js → provider-57qh049z.js} +11 -11
- package/dist/chunks/{persistent-pty-c15wgtb8.js → provider-583e1kgc.js} +17 -17
- package/dist/chunks/{persistent-pty-5daktx2q.js → provider-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-5ekn9679.js → provider-5ekn9679.js} +1 -1
- package/dist/chunks/{persistent-pty-zrk49733.js → provider-5f8r53dv.js} +1 -1
- package/dist/chunks/{persistent-pty-hq1v3zy8.js → provider-5fwmp4v5.js} +4 -4
- package/dist/chunks/provider-5syzq0vf.js +26 -0
- package/dist/chunks/{persistent-pty-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-vrgxsb1e.js → provider-626ykbw3.js} +13 -13
- package/dist/chunks/{persistent-pty-669tq793.js → provider-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-xy3zq42w.js → provider-6cbkac1a.js} +14 -14
- package/dist/chunks/{persistent-pty-jdd6ya46.js → provider-6ey51n48.js} +10 -10
- package/dist/chunks/{persistent-pty-q0x8zzpj.js → provider-6gcfy764.js} +12 -12
- package/dist/chunks/{persistent-pty-3n9k99kr.js → provider-6kbcyghs.js} +10 -10
- package/dist/chunks/{persistent-pty-6msgmcgs.js → provider-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-py3kkmfq.js → provider-6pc27hjz.js} +6 -6
- package/dist/chunks/{persistent-pty-p7zyvqxs.js → provider-6r79s7vx.js} +5 -5
- package/dist/chunks/{persistent-pty-bhv2qxb3.js → provider-6w0yw6t0.js} +9 -9
- package/dist/chunks/{persistent-pty-8s07ccs3.js → provider-6zn87t6x.js} +43 -43
- package/dist/chunks/{persistent-pty-e1a8gcn8.js → provider-7289fqfg.js} +14 -14
- package/dist/chunks/{persistent-pty-y7kpdk7a.js → provider-72j1trj5.js} +18 -18
- package/dist/chunks/{persistent-pty-teryqt5v.js → provider-73f5j550.js} +3 -3
- package/dist/chunks/{persistent-pty-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-9r70zj9f.js → provider-7nrrz4vd.js} +3 -3
- package/dist/chunks/{persistent-pty-n7rbchxd.js → provider-7pqtqgjh.js} +30 -30
- package/dist/chunks/{persistent-pty-wbt9zsn3.js → provider-7v81x33d.js} +9 -9
- package/dist/chunks/{persistent-pty-131medm0.js → provider-886a4kvd.js} +32 -32
- package/dist/chunks/{persistent-pty-b09qp47b.js → provider-8bxtdccr.js} +10 -10
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-aakph5ea.js → provider-8fwstqvg.js} +9 -9
- package/dist/chunks/{persistent-pty-7x9j1zsm.js → provider-8tn24nrr.js} +7 -7
- package/dist/chunks/{persistent-pty-h75wmkrs.js → provider-8wry8wmy.js} +7 -7
- package/dist/chunks/{persistent-pty-2ap5w51g.js → provider-8y2fx2dx.js} +41 -41
- package/dist/chunks/{persistent-pty-gfvb90ym.js → provider-94ek1h2f.js} +2 -2
- package/dist/chunks/{persistent-pty-fevnpa4j.js → provider-983tcqe7.js} +12 -12
- package/dist/chunks/{persistent-pty-kfh0cw1f.js → provider-9cfx1f1g.js} +8 -8
- package/dist/chunks/{persistent-pty-bjn91642.js → provider-9e3vcssh.js} +4 -4
- package/dist/chunks/{persistent-pty-bxf6ahcf.js → provider-9e8epedj.js} +12 -12
- package/dist/chunks/{persistent-pty-ycjb11n5.js → provider-9gea571p.js} +6 -6
- package/dist/chunks/{persistent-pty-0ar9x5a3.js → provider-9jtm8sj6.js} +27 -27
- package/dist/chunks/{persistent-pty-5p0mp6ge.js → provider-9m3e72t0.js} +1 -1
- package/dist/chunks/{persistent-pty-j6dx4cjd.js → provider-9mdnhvbk.js} +1 -1
- package/dist/chunks/{persistent-pty-b2m85fba.js → provider-9tfb63c1.js} +13 -13
- package/dist/chunks/{persistent-pty-2f0bjgcj.js → provider-9xvq3m7s.js} +5 -5
- package/dist/chunks/{persistent-pty-8cw38amn.js → provider-9z7dfynh.js} +19 -19
- package/dist/chunks/{persistent-pty-xwmca76c.js → provider-9zzqfxsg.js} +1 -1
- package/dist/chunks/{persistent-pty-4mpw8txs.js → provider-a25v8pqq.js} +5 -5
- package/dist/chunks/{persistent-pty-a3r4dcrj.js → provider-a3r4dcrj.js} +2 -2
- package/dist/chunks/{persistent-pty-jtefkk5f.js → provider-a56n2bgv.js} +26 -26
- package/dist/chunks/{persistent-pty-magykp64.js → provider-a8bn8zg0.js} +4 -4
- package/dist/chunks/{persistent-pty-aaet6srn.js → provider-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-px6v4n28.js → provider-aekkhrjq.js} +4 -4
- package/dist/chunks/{persistent-pty-gwrhg37m.js → provider-ah363fah.js} +27 -27
- package/dist/chunks/{persistent-pty-t8xra3xv.js → provider-anj6srtj.js} +10 -10
- package/dist/chunks/{persistent-pty-s13hgdhw.js → provider-atzrj6z4.js} +8 -8
- package/dist/chunks/{persistent-pty-dz39j9yq.js → provider-avk2ac34.js} +32 -32
- package/dist/chunks/{persistent-pty-em8t1d4b.js → provider-ax84d1xf.js} +23 -23
- package/dist/chunks/{persistent-pty-0q07yjwe.js → provider-b2att0km.js} +17 -17
- package/dist/chunks/{persistent-pty-tjhtcc6s.js → provider-b658d458.js} +14 -14
- package/dist/chunks/{persistent-pty-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-74rrnwt7.js → provider-b7j7903f.js} +12 -12
- package/dist/chunks/{persistent-pty-g9se4cjc.js → provider-brdwt0ds.js} +35 -35
- package/dist/chunks/{persistent-pty-0g3je6g8.js → provider-bw7ephcx.js} +27 -27
- package/dist/chunks/{persistent-pty-mcnp5paj.js → provider-c08eebd0.js} +22 -22
- package/dist/chunks/{persistent-pty-0j290fjy.js → provider-c0se6qj2.js} +2 -2
- package/dist/chunks/{persistent-pty-gy4yc5qs.js → provider-c74pjr4b.js} +13 -13
- package/dist/chunks/{persistent-pty-0qmb29gv.js → provider-c8b4sgfz.js} +46 -46
- package/dist/chunks/{persistent-pty-0rxys545.js → provider-cavfk19g.js} +2 -2
- package/dist/chunks/{persistent-pty-9sfevq5x.js → provider-cfx7m4ef.js} +15 -15
- package/dist/chunks/{persistent-pty-9ppvxvx2.js → provider-cjwqz1xn.js} +11 -11
- package/dist/chunks/{persistent-pty-54tcyq79.js → provider-ckecvw8r.js} +2 -2
- package/dist/chunks/{persistent-pty-8qf8qbfj.js → provider-csqp4m5b.js} +8 -8
- package/dist/chunks/{persistent-pty-83tqnnyb.js → provider-csrebfve.js} +11 -11
- package/dist/chunks/{persistent-pty-jwkmn8w3.js → provider-cx0f5p4g.js} +3 -3
- package/dist/chunks/{persistent-pty-95ntde08.js → provider-cz2kfr7d.js} +14 -14
- package/dist/chunks/{persistent-pty-kkp8zx71.js → provider-d858xzj7.js} +4 -4
- package/dist/chunks/{persistent-pty-jv7ffsz1.js → provider-dc7b9519.js} +12 -12
- package/dist/chunks/{persistent-pty-dg2cj1yd.js → provider-dg2cj1yd.js} +1 -1
- package/dist/chunks/{persistent-pty-e4jg4zfm.js → provider-djyzjjqa.js} +17 -17
- package/dist/chunks/{persistent-pty-xfkkasph.js → provider-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-dydfzrfg.js → provider-dwhz4sb6.js} +3 -3
- package/dist/chunks/{persistent-pty-2hzw9kex.js → provider-dxr1feyg.js} +20 -20
- package/dist/chunks/{persistent-pty-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-erw5rpbs.js → provider-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-qsky8txg.js → provider-esj47bpe.js} +43 -43
- package/dist/chunks/{persistent-pty-fmhgq1sm.js → provider-et9e7fw3.js} +26 -26
- package/dist/chunks/{persistent-pty-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-1tbcb674.js → provider-ex7nm40d.js} +9 -9
- package/dist/chunks/{persistent-pty-fqdw0qb0.js → provider-f0ce8fyc.js} +10 -10
- package/dist/chunks/{persistent-pty-jh8z11nh.js → provider-f0g62jwn.js} +36 -36
- package/dist/chunks/{persistent-pty-2gbcq7ge.js → provider-f5krr7qf.js} +15 -15
- package/dist/chunks/{persistent-pty-2vk85jev.js → provider-f5mwwqd1.js} +8 -8
- package/dist/chunks/{persistent-pty-n4r3xatb.js → provider-f73rjn58.js} +4 -4
- package/dist/chunks/{persistent-pty-v7w3wckr.js → provider-f8wkwma2.js} +33 -33
- package/dist/chunks/{persistent-pty-nwsnnm7q.js → provider-f8y27661.js} +12 -12
- package/dist/chunks/{persistent-pty-fqcgpcra.js → provider-fdms3n6w.js} +9 -9
- package/dist/chunks/{persistent-pty-xc9wkb25.js → provider-ff7nd16b.js} +17 -17
- package/dist/chunks/{persistent-pty-2xkrv8r8.js → provider-g182t41k.js} +52 -52
- package/dist/chunks/{persistent-pty-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-bc7x5p7s.js → provider-gfbdweg3.js} +8 -8
- package/dist/chunks/{persistent-pty-1xntmtej.js → provider-gp0s93m5.js} +21 -21
- package/dist/chunks/{persistent-pty-y8vstp7v.js → provider-gqvaak2s.js} +1 -1
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → provider-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-tp9rhsw7.js → provider-gvv1stch.js} +33 -33
- package/dist/chunks/{persistent-pty-4hcxqz1j.js → provider-gwnkz9kd.js} +8 -8
- package/dist/chunks/provider-gyce5qg1.js +18 -0
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → provider-h6r3nrb9.js} +1 -1
- package/dist/chunks/{persistent-pty-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-zd30eb5w.js → provider-hbyhqfhs.js} +5 -5
- package/dist/chunks/{persistent-pty-2pbd4axt.js → provider-hmjryk6b.js} +77 -77
- package/dist/chunks/{persistent-pty-smyzvreh.js → provider-ht5dkjxb.js} +24 -24
- package/dist/chunks/{persistent-pty-k8aese3t.js → provider-hz0q9sdq.js} +8 -8
- package/dist/chunks/{persistent-pty-j56e64zr.js → provider-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-t7vxnrsg.js → provider-jbfcvfnq.js} +10 -10
- package/dist/chunks/{persistent-pty-sqgptjkv.js → provider-jg5jybkd.js} +6 -6
- package/dist/chunks/{persistent-pty-a5vb42nz.js → provider-jk28b3wq.js} +35 -35
- package/dist/chunks/{persistent-pty-5w50106y.js → provider-jw3ammcf.js} +20 -20
- package/dist/chunks/{persistent-pty-k3c624dm.js → provider-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-k53npxr2.js → provider-k53npxr2.js} +1 -1
- package/dist/chunks/{persistent-pty-qpf5xtm9.js → provider-kbt7gmx1.js} +6 -6
- package/dist/chunks/{persistent-pty-m030b1ec.js → provider-kcvawfm7.js} +21 -21
- package/dist/chunks/{persistent-pty-33nwj033.js → provider-kfcyjpg8.js} +43 -43
- package/dist/chunks/{persistent-pty-0sz7h9zd.js → provider-kkagwda7.js} +15 -15
- package/dist/chunks/{persistent-pty-was7srj9.js → provider-m28tfe1w.js} +8 -8
- package/dist/chunks/{persistent-pty-sv56s9vz.js → provider-m38g9vj0.js} +4 -4
- package/dist/chunks/{persistent-pty-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → provider-mhkvc446.js} +3 -3
- package/dist/chunks/{persistent-pty-eyaegrqq.js → provider-mnbh32fx.js} +8 -8
- package/dist/chunks/{persistent-pty-7ndvrzgb.js → provider-mp0zvkr9.js} +20 -20
- package/dist/chunks/{persistent-pty-htcezajs.js → provider-mpjm327k.js} +11 -11
- package/dist/chunks/{persistent-pty-bzd9xh3w.js → provider-msf09fhm.js} +9 -9
- package/dist/chunks/{persistent-pty-ehdcnawv.js → provider-mt4r3ktz.js} +13 -13
- package/dist/chunks/{persistent-pty-x2659m4s.js → provider-mtv0dtrw.js} +18 -18
- package/dist/chunks/{persistent-pty-q7azfttr.js → provider-mvksx64m.js} +4 -4
- package/dist/chunks/{persistent-pty-5b9pa3q7.js → provider-n46pycax.js} +8 -8
- package/dist/chunks/{persistent-pty-nms3vxe4.js → provider-n9srjkx5.js} +20 -20
- package/dist/chunks/{persistent-pty-59z0gf60.js → provider-nd8t3rxx.js} +23 -23
- package/dist/chunks/{persistent-pty-sh3cnwks.js → provider-ngqyks8r.js} +12 -12
- package/dist/chunks/{persistent-pty-1jap1q27.js → provider-njfpvtym.js} +22 -22
- package/dist/chunks/{persistent-pty-nppa2k1t.js → provider-nq2bdnnt.js} +18 -18
- package/dist/chunks/{persistent-pty-h9p2zxhd.js → provider-nve209ha.js} +28 -28
- package/dist/chunks/{persistent-pty-5mhrsa16.js → provider-nwprk3pz.js} +4 -4
- package/dist/chunks/{persistent-pty-4mgmwwhc.js → provider-nxf437fc.js} +18 -18
- package/dist/chunks/{persistent-pty-ymfjs49y.js → provider-nxhte90z.js} +14 -14
- package/dist/chunks/{persistent-pty-p42hj8p8.js → provider-p37cw4rj.js} +8 -8
- package/dist/chunks/{persistent-pty-ead3g9p8.js → provider-p44d8wdy.js} +5 -5
- package/dist/chunks/{persistent-pty-jgaqdvsy.js → provider-pcfctzn4.js} +20 -20
- package/dist/chunks/{persistent-pty-bhscgnbe.js → provider-pe68j9z1.js} +19 -19
- package/dist/chunks/{persistent-pty-k2mdnn2s.js → provider-pgahk4v0.js} +11 -11
- package/dist/chunks/{persistent-pty-4r3r3wqp.js → provider-pgs636hh.js} +1 -1
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-dfe8djrf.js → provider-pmr4s4kc.js} +4 -4
- package/dist/chunks/{persistent-pty-9wnraymz.js → provider-ppb0jbcv.js} +12 -12
- package/dist/chunks/{persistent-pty-7p0ydzsf.js → provider-q38jyk3g.js} +9 -9
- package/dist/chunks/{persistent-pty-tg4v6ybm.js → provider-qaqqfk1g.js} +8 -8
- package/dist/chunks/{persistent-pty-m2d0j7c0.js → provider-qg0jgkcp.js} +9 -9
- package/dist/chunks/{persistent-pty-2k8khapm.js → provider-qgn6gcr1.js} +5 -5
- package/dist/chunks/{persistent-pty-kwhxm0rt.js → provider-qhvf1q99.js} +82 -82
- package/dist/chunks/{persistent-pty-se3n0aez.js → provider-qkjm0tr9.js} +36 -36
- package/dist/chunks/{persistent-pty-mg5rbkhq.js → provider-qm204dz4.js} +14 -14
- package/dist/chunks/{persistent-pty-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-gc5brfvv.js → provider-qvk0gew2.js} +32 -32
- package/dist/chunks/{persistent-pty-978gy482.js → provider-r1b6zck5.js} +11 -11
- package/dist/chunks/{persistent-pty-5yae57x6.js → provider-r3pam6y0.js} +24 -24
- package/dist/chunks/{persistent-pty-k0h4vbz7.js → provider-r3rxn5pd.js} +26 -26
- package/dist/chunks/{persistent-pty-rhraev7y.js → provider-r8xr0va3.js} +4 -4
- package/dist/chunks/{persistent-pty-7npttpkb.js → provider-rb0gn87w.js} +22 -22
- package/dist/chunks/{persistent-pty-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-a2q4hhkc.js → provider-rgtdre32.js} +23 -23
- package/dist/chunks/{persistent-pty-eaj1djv9.js → provider-rhjbct0v.js} +8 -8
- package/dist/chunks/{persistent-pty-dfzjqex4.js → provider-rmk2c50f.js} +5 -5
- package/dist/chunks/{persistent-pty-6kj2kzkg.js → provider-rtbgwnjd.js} +13 -13
- package/dist/chunks/{persistent-pty-agwz5jq8.js → provider-rzz71nkp.js} +68 -68
- package/dist/chunks/{persistent-pty-jqnmytps.js → provider-s1neazx1.js} +21 -21
- package/dist/chunks/{persistent-pty-msks4rpe.js → provider-s736366c.js} +7 -7
- package/dist/chunks/{persistent-pty-0j8mf7cg.js → provider-sw9z901w.js} +3 -3
- package/dist/chunks/{persistent-pty-3jgsjshs.js → provider-sya0r9rt.js} +23 -23
- package/dist/chunks/{persistent-pty-e8p1kpnk.js → provider-sz6yn7q3.js} +5 -5
- package/dist/chunks/{persistent-pty-gbpvysbe.js → provider-t18fb8m5.js} +14 -14
- package/dist/chunks/{persistent-pty-69c49fy8.js → provider-t19n1wc4.js} +21 -21
- package/dist/chunks/{persistent-pty-g2dc85z0.js → provider-t6rqekt4.js} +4 -4
- package/dist/chunks/{persistent-pty-sw03m82y.js → provider-t9cmg2g5.js} +30 -30
- package/dist/chunks/{persistent-pty-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-q7hsqcry.js → provider-tesvfhj5.js} +22 -22
- package/dist/chunks/{persistent-pty-d7hggpe0.js → provider-tgsp8mvr.js} +19 -19
- package/dist/chunks/{persistent-pty-a4r3ry0g.js → provider-thynrszz.js} +14 -14
- package/dist/chunks/{persistent-pty-mtg6ts2t.js → provider-tkkrdc9c.js} +48 -48
- package/dist/chunks/{persistent-pty-tvtrv512.js → provider-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-9qp60kxg.js → provider-v0tcgb28.js} +20 -20
- package/dist/chunks/{persistent-pty-krxy378t.js → provider-v8ew62n7.js} +6 -6
- package/dist/chunks/{persistent-pty-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-8x24e6zw.js → provider-vg2ry8eg.js} +6 -6
- package/dist/chunks/{persistent-pty-m2eqy9a3.js → provider-vmax8pys.js} +11 -11
- package/dist/chunks/{persistent-pty-9cyfspf3.js → provider-vtxr0yy2.js} +5 -5
- package/dist/chunks/{persistent-pty-vzcthcp8.js → provider-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-pf2hb43r.js → provider-w4arg62q.js} +4 -4
- package/dist/chunks/{persistent-pty-psazpmmj.js → provider-wd3x2cqz.js} +2 -2
- package/dist/chunks/{persistent-pty-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-50t6b855.js → provider-wntb1c0g.js} +6 -6
- package/dist/chunks/{persistent-pty-pv3n2ae1.js → provider-wppc7r2t.js} +16 -16
- package/dist/chunks/{persistent-pty-w0ekr5w4.js → provider-wx7bb5kt.js} +4 -4
- package/dist/chunks/{persistent-pty-k7k6eexb.js → provider-wxv20f1z.js} +25 -25
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → provider-x1ezjp6w.js} +1 -1
- package/dist/chunks/provider-x77c26sk.js +252 -0
- package/dist/chunks/provider-x7whjj4n.js +507 -0
- package/dist/chunks/{persistent-pty-xs53z2pm.js → provider-xf0nr9dv.js} +4 -4
- package/dist/chunks/{persistent-pty-bx27tg5g.js → provider-xjg1npdn.js} +15 -15
- package/dist/chunks/{persistent-pty-4bbdhcnf.js → provider-xz41y20a.js} +37 -37
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-fdjyeynq.js → provider-y5dj3dxk.js} +6 -6
- package/dist/chunks/{persistent-pty-dpkg50ah.js → provider-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-b1h1c68h.js → provider-y7x142mt.js} +8 -8
- package/dist/chunks/{persistent-pty-ybhbtxjg.js → provider-ybhbtxjg.js} +3 -3
- package/dist/chunks/{persistent-pty-1nwp9f3z.js → provider-ydh4z9kh.js} +39 -39
- package/dist/chunks/{persistent-pty-8vm1nfxe.js → provider-yfsnday6.js} +37 -37
- package/dist/chunks/{persistent-pty-0r7yqxbf.js → provider-yjptyezs.js} +5 -5
- package/dist/chunks/{persistent-pty-kv0rj397.js → provider-ykkx6rx5.js} +28 -28
- package/dist/chunks/{persistent-pty-ndqtf2h8.js → provider-yq2cczkq.js} +7 -7
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → provider-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → provider-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-zqfjm1r3.js → provider-z006jn0q.js} +9 -9
- package/dist/chunks/{persistent-pty-bjtzbw4r.js → provider-z07pqspn.js} +3 -3
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-aj1cmtrn.js → provider-z1x1gfhs.js} +22 -22
- package/dist/chunks/{persistent-pty-h0yyr0gy.js → provider-z2d9ad0a.js} +10 -10
- package/dist/chunks/{persistent-pty-qhexs5yx.js → provider-z4ygwn82.js} +16 -16
- package/dist/chunks/{persistent-pty-z63w68vq.js → provider-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-w3wzfs1e.js → provider-z9rwy7fx.js} +22 -22
- package/dist/chunks/{persistent-pty-svvemcs6.js → provider-zcqg046m.js} +8 -8
- package/dist/chunks/{persistent-pty-79sb0qv2.js → provider-zed4mej1.js} +11 -11
- package/dist/chunks/{persistent-pty-zeh9ct20.js → provider-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-8xqgb62y.js → provider-zh0v86tx.js} +13 -13
- package/dist/chunks/{persistent-pty-jbnt79dx.js → provider-zjnvhswx.js} +7 -7
- package/dist/chunks/{persistent-pty-ecnmd6j5.js → provider-znn6tx0t.js} +22 -22
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-7dz95w49.js → provider-zs9c6f6y.js} +12 -12
- package/dist/chunks/{persistent-pty-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- 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 +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +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 +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +122 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +91 -91
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- 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 +99 -99
- 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 +362 -362
- 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 +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +124 -124
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- 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 +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- 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 +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- 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 +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +102 -102
- 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 +123 -123
- 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 +116 -116
- 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 +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +92 -92
- 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 +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- 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 +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-9sh4wc5j.js +0 -18
- package/dist/chunks/persistent-pty-ntfxyrp8.js +0 -26
- package/dist/chunks/persistent-pty-peathsrz.js +0 -507
- package/dist/chunks/persistent-pty-xjrs478y.js +0 -252
- /package/dist/chunks/{persistent-pty-0mesazry.js → provider-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → provider-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → provider-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → provider-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → provider-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jexxy024.js → provider-jexxy024.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → provider-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service40,
|
|
3
|
+
node43
|
|
4
|
+
} from "./provider-z1x1gfhs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./provider-qm204dz4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service39,
|
|
11
|
+
node42
|
|
12
|
+
} from "./provider-esj47bpe.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service12,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer7,
|
|
28
|
+
node: () => node14
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service12 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service39;
|
|
40
|
+
const watcher = yield* Service40;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service12.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node14 = makeLocationNode({
|
|
74
|
+
service: Service12,
|
|
75
|
+
layer: layer7,
|
|
76
|
+
deps: [node42, FSUtil.node, node43, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service12,
|
|
80
|
+
layer: Layer.succeed(Service12, Service12.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service12, layer7, node14, empty2, exports_source };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node77
|
|
7
|
+
} from "./provider-ykkx6rx5.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service41,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer17,
|
|
20
|
+
node: () => node44
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service41 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service73;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service41.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node44 = makeLocationNode({
|
|
69
|
+
service: Service41,
|
|
70
|
+
layer: layer17,
|
|
71
|
+
deps: [node77, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service41, layer17, node44, exports_generate2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-rgtdre32.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./provider-esj47bpe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./provider-c8b4sgfz.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin41,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin41 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service39;
|
|
28
|
+
const mcp = yield* Service32;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin41, register2, exports_mcp2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-21981gj5.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./provider-z9rwy7fx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./provider-qm204dz4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service50,
|
|
19
19
|
node53
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-pe68j9z1.js";
|
|
21
21
|
import {
|
|
22
22
|
ID16,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service79,
|
|
24
|
+
node83
|
|
25
|
+
} from "./provider-zs9c6f6y.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./provider-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node81
|
|
35
|
+
} from "./provider-nd8t3rxx.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./provider-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: () => NotFoundError5,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service32,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
|
+
layer: () => layer14,
|
|
58
|
+
node: () => node35
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service80;
|
|
106
|
+
const environment = yield* Service50;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service79;
|
|
109
|
+
const integration = yield* Service77;
|
|
110
|
+
const credentials = yield* Service78;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -135,7 +135,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,14 +144,14 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError5({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
@@ -259,7 +259,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
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(
|
|
262
|
+
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(Service50, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service32.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured4(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
521
|
+
service: Service32,
|
|
522
|
+
layer: layer14(options),
|
|
523
|
+
deps: [node84, node53, node87, node83, node81, node82]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node35 = configured4();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service32, Options4, layer14, configured4, node35, exports_mcp4 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-3dv8501d.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./provider-z1x1gfhs.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service55
|
|
13
|
+
} from "./provider-r3rxn5pd.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service80
|
|
16
|
+
} from "./provider-qm204dz4.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin32
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin32 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service55;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service80;
|
|
42
|
+
const watcher = yield* Service40;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin32, exports_instruction };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./provider-zs9c6f6y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./provider-1n7vwgcr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service79;
|
|
57
|
+
const permission = yield* Service65;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name14, description6,
|
|
118
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-wd3x2cqz.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-mpjm327k.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin10,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin10 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin40 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin40 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin10, exports_tavily };
|