@opencode/core 0.0.0-dev-21362 → 0.0.0-dev-21368
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{tool-dnt051dx.js → schema-0dzgkxam.js} +38 -38
- package/dist/chunks/{tool-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-jv204pn8.js → schema-0vfyfqrd.js} +6 -6
- package/dist/chunks/{tool-37nhdnh0.js → schema-1323fv79.js} +4 -4
- package/dist/chunks/{tool-ehkcedfy.js → schema-1bs8104e.js} +8 -8
- package/dist/chunks/{tool-fxyrfkeq.js → schema-1f1kaem6.js} +8 -8
- package/dist/chunks/{tool-3eneve4b.js → schema-1ffg5m5z.js} +46 -46
- package/dist/chunks/{tool-cn8yddnn.js → schema-1knv165j.js} +26 -26
- package/dist/chunks/{tool-0nyyp0wg.js → schema-1rmqtx3n.js} +12 -12
- package/dist/chunks/{tool-f8fhdr9r.js → schema-1skh4z6z.js} +29 -29
- package/dist/chunks/{tool-713g62m8.js → schema-1xy3bbfj.js} +330 -330
- package/dist/chunks/{tool-2ae0q92z.js → schema-2ae0q92z.js} +3 -3
- package/dist/chunks/{tool-2s6t35ks.js → schema-2bep3sk1.js} +4 -4
- package/dist/chunks/{tool-ft3hqk2c.js → schema-2sejkfem.js} +9 -9
- package/dist/chunks/{tool-zc68hza3.js → schema-2yjh3x6q.js} +18 -18
- package/dist/chunks/{tool-mchgfn78.js → schema-2znnk454.js} +14 -14
- package/dist/chunks/{tool-4e8vs6eh.js → schema-30846h32.js} +8 -8
- package/dist/chunks/{tool-z629hdve.js → schema-33srfa0b.js} +10 -10
- package/dist/chunks/{tool-xag3qx04.js → schema-36gdk6sm.js} +17 -17
- package/dist/chunks/{tool-9ay43wn2.js → schema-3cn8netw.js} +21 -21
- package/dist/chunks/{tool-f5ct3k6s.js → schema-3f75xvkg.js} +18 -18
- package/dist/chunks/{tool-wjapg7ww.js → schema-3gasgs0k.js} +5 -5
- package/dist/chunks/{tool-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-3hwn7j4h.js → schema-3hwn7j4h.js} +2 -2
- package/dist/chunks/{tool-nj4kxd9v.js → schema-3q4zrqsz.js} +45 -45
- package/dist/chunks/{tool-yvvvp4gn.js → schema-3rtxz4nr.js} +8 -8
- package/dist/chunks/{tool-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-zpfaeg84.js → schema-4176b2yk.js} +30 -30
- package/dist/chunks/{tool-6mbm070j.js → schema-42kfqa6a.js} +30 -30
- package/dist/chunks/{tool-6kfemk62.js → schema-4459cj4r.js} +28 -28
- package/dist/chunks/{tool-v7z2bvyd.js → schema-44ak30pa.js} +4 -4
- package/dist/chunks/{tool-0r3c1bmw.js → schema-47jkzegy.js} +5 -5
- package/dist/chunks/{tool-arz7hw7x.js → schema-48kw51zw.js} +3 -3
- package/dist/chunks/{tool-8d5fwhns.js → schema-4a32pvx7.js} +1 -1
- package/dist/chunks/{tool-b14jzmzs.js → schema-4bgsdwgm.js} +31 -31
- package/dist/chunks/{tool-0413hwj4.js → schema-4c7g6ymp.js} +40 -40
- package/dist/chunks/{tool-xr8wmf3z.js → schema-4d3127hb.js} +19 -19
- package/dist/chunks/{tool-rdsy7yvm.js → schema-4j4wwavy.js} +12 -12
- package/dist/chunks/{tool-djw0pnbs.js → schema-4j8ys442.js} +92 -92
- package/dist/chunks/{tool-xsft43nm.js → schema-4teq5az6.js} +54 -54
- package/dist/chunks/{tool-wh6zw745.js → schema-4xpgt2w9.js} +5 -5
- package/dist/chunks/{tool-54ma36ye.js → schema-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-5g57z1ma.js → schema-5g57z1ma.js} +1 -1
- package/dist/chunks/{tool-dt8v8cc6.js → schema-5gydnkt7.js} +16 -16
- package/dist/chunks/{tool-zr0b5yc7.js → schema-5j21s5mr.js} +25 -25
- package/dist/chunks/{tool-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-q8nrjm55.js → schema-5mbpffke.js} +10 -10
- package/dist/chunks/{tool-9jtmtwne.js → schema-5t1axb3v.js} +13 -13
- package/dist/chunks/{tool-trj535fm.js → schema-5zscwwge.js} +3 -3
- package/dist/chunks/{tool-vmdagwb0.js → schema-66fgvbn3.js} +19 -19
- package/dist/chunks/{tool-6827pfxn.js → schema-6827pfxn.js} +1 -1
- package/dist/chunks/{tool-4kjbsxnw.js → schema-6fkw3p3r.js} +4 -4
- package/dist/chunks/{tool-w73xcbgf.js → schema-6fyhx42r.js} +17 -17
- package/dist/chunks/{tool-455yydvh.js → schema-6kp05j0h.js} +20 -20
- package/dist/chunks/{tool-6pc27hjz.js → schema-6pc27hjz.js} +2 -2
- package/dist/chunks/{tool-n4rwe75z.js → schema-6pxm0met.js} +47 -47
- package/dist/chunks/{tool-3nmfsz90.js → schema-6w7d1qme.js} +14 -14
- package/dist/chunks/{tool-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
- package/dist/chunks/{tool-ctd2f7xq.js → schema-6xkcg1y6.js} +27 -27
- package/dist/chunks/{tool-hbq1mjfv.js → schema-74mhpw3w.js} +25 -25
- package/dist/chunks/{tool-q846csbm.js → schema-75ytgrqn.js} +21 -21
- package/dist/chunks/{tool-775gj3j1.js → schema-775gj3j1.js} +2 -2
- package/dist/chunks/{tool-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-7dqw4kz8.js → schema-7dqw4kz8.js} +1 -1
- package/dist/chunks/{tool-atsf9aqe.js → schema-7erbtyx3.js} +11 -11
- package/dist/chunks/{tool-zkaac646.js → schema-7pest08f.js} +9 -9
- package/dist/chunks/{tool-asd51m7s.js → schema-7vx8fxzm.js} +87 -87
- package/dist/chunks/{tool-mn1waazh.js → schema-80jay3zv.js} +32 -32
- package/dist/chunks/{tool-81f7vt2z.js → schema-81f7vt2z.js} +1 -1
- package/dist/chunks/{tool-jr4tj8tx.js → schema-825jjjdc.js} +25 -25
- package/dist/chunks/{tool-88jzmhd2.js → schema-84kr3hab.js} +8 -8
- package/dist/chunks/{tool-84txncab.js → schema-84txncab.js} +1 -1
- package/dist/chunks/{tool-t5pnv4sj.js → schema-87n3rrnw.js} +32 -32
- package/dist/chunks/{tool-tcezcvh9.js → schema-89znhe33.js} +4 -4
- package/dist/chunks/{tool-wpj6vp23.js → schema-8m22mfav.js} +32 -32
- package/dist/chunks/{tool-8m6m0r52.js → schema-8m6m0r52.js} +1 -1
- package/dist/chunks/{tool-8mywswrd.js → schema-8mywswrd.js} +1 -1
- package/dist/chunks/{tool-ja6ama36.js → schema-8ngzfdb0.js} +15 -15
- package/dist/chunks/{tool-8x9ys1f9.js → schema-8td2p5q2.js} +34 -34
- package/dist/chunks/{tool-v5e4b0wx.js → schema-92zywa0s.js} +14 -14
- package/dist/chunks/{tool-hqd7seh4.js → schema-9hhtrjbb.js} +14 -14
- package/dist/chunks/{tool-7k4nsz29.js → schema-9n0pq0p1.js} +8 -8
- package/dist/chunks/{tool-vnn07649.js → schema-9nexcd99.js} +6 -6
- package/dist/chunks/{tool-mhrn1b6p.js → schema-9zj7wbnh.js} +48 -48
- package/dist/chunks/{tool-7t04q73r.js → schema-a110k9h9.js} +23 -23
- package/dist/chunks/{tool-a20pjse5.js → schema-a20pjse5.js} +3 -3
- package/dist/chunks/{tool-6efjf592.js → schema-a7scjn5s.js} +15 -15
- package/dist/chunks/{tool-yb5r4v0q.js → schema-ahdc3t4z.js} +10 -10
- package/dist/chunks/{tool-61b1kan1.js → schema-arypdymn.js} +21 -21
- package/dist/chunks/{tool-xypd4wdp.js → schema-at94sxth.js} +9 -9
- package/dist/chunks/{tool-bacj9t34.js → schema-bacj9t34.js} +2 -2
- package/dist/chunks/{tool-ck0e8gek.js → schema-bbcbabsp.js} +25 -25
- package/dist/chunks/{tool-bjx1sjef.js → schema-bjx1sjef.js} +2 -2
- package/dist/chunks/{tool-9wjqfw83.js → schema-bnn3p74r.js} +4 -4
- package/dist/chunks/{tool-myq527w7.js → schema-brgccpge.js} +25 -25
- package/dist/chunks/{tool-dnc7w57r.js → schema-bygmh04z.js} +14 -14
- package/dist/chunks/{tool-bzeyqsqd.js → schema-bzeyqsqd.js} +1 -1
- package/dist/chunks/{tool-v56xwjn6.js → schema-bzwj8dcr.js} +36 -36
- package/dist/chunks/{tool-es1vcfrp.js → schema-c1fqxshp.js} +3 -3
- package/dist/chunks/{tool-52hb404k.js → schema-c8bydgjz.js} +6 -6
- package/dist/chunks/{tool-mzrjd0cd.js → schema-cc9fn44q.js} +11 -11
- package/dist/chunks/{tool-ypcn87gg.js → schema-ccz6qt78.js} +13 -13
- package/dist/chunks/{tool-s8n8peb1.js → schema-cefkz2r6.js} +4 -4
- package/dist/chunks/{tool-twben05b.js → schema-chsnhwb3.js} +13 -13
- package/dist/chunks/{tool-073332rd.js → schema-csndn1v6.js} +20 -20
- package/dist/chunks/{tool-q2dz4afa.js → schema-d0vc93hk.js} +28 -28
- package/dist/chunks/{tool-7shzd1td.js → schema-d5t26v95.js} +26 -26
- package/dist/chunks/{tool-3p3jney2.js → schema-d75x1326.js} +29 -29
- package/dist/chunks/{tool-ph842b28.js → schema-d858xzj7.js} +4 -4
- package/dist/chunks/{tool-tehwna3t.js → schema-d8j0mxkc.js} +7 -7
- package/dist/chunks/{tool-mhe84b87.js → schema-dhsdmd8f.js} +41 -41
- package/dist/chunks/{tool-9eyh9j7p.js → schema-dk1ym1bf.js} +33 -33
- package/dist/chunks/{tool-drwq78ky.js → schema-drwq78ky.js} +1 -1
- package/dist/chunks/{tool-7cnnqjpd.js → schema-dzyrc88t.js} +6 -6
- package/dist/chunks/{tool-f872t808.js → schema-e4771dax.js} +16 -16
- package/dist/chunks/{tool-p56jdh79.js → schema-e5cghe60.js} +1 -1
- package/dist/chunks/{tool-cg9p582w.js → schema-e9vvnvyx.js} +9 -9
- package/dist/chunks/schema-ebe1aw40.js +257 -0
- package/dist/chunks/{tool-txssyqt7.js → schema-ec5r24jz.js} +3 -3
- package/dist/chunks/{tool-eej6y6fw.js → schema-eej6y6fw.js} +2 -2
- package/dist/chunks/{tool-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-a5rre0n2.js → schema-ejvnp2ks.js} +11 -11
- package/dist/chunks/{tool-rns4py0f.js → schema-ek59gnbm.js} +77 -77
- package/dist/chunks/{tool-e2hjzebn.js → schema-embw8kgh.js} +4 -4
- package/dist/chunks/{tool-yh238p43.js → schema-exevrqmg.js} +19 -19
- package/dist/chunks/{tool-6tz1jnny.js → schema-ezc52dw2.js} +16 -7
- package/dist/chunks/{tool-pc58ekcv.js → schema-f4g83bm7.js} +11 -11
- package/dist/chunks/{tool-fcy631f0.js → schema-fcy631f0.js} +1 -1
- package/dist/chunks/{tool-n37c4crj.js → schema-fdms3n6w.js} +9 -9
- package/dist/chunks/{tool-r1rfp8t8.js → schema-fvgp290g.js} +8 -8
- package/dist/chunks/{tool-cw1n2y8y.js → schema-fw9jjgyr.js} +19 -19
- package/dist/chunks/{tool-2fpns0sv.js → schema-fyzv33qs.js} +45 -45
- package/dist/chunks/{tool-esfwjqg1.js → schema-fzz4ftgm.js} +13 -13
- package/dist/chunks/{tool-01rpkdw6.js → schema-g4wty43c.js} +5 -5
- package/dist/chunks/{tool-bec822vs.js → schema-g754c8fk.js} +6 -6
- package/dist/chunks/{tool-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-vx00tebk.js → schema-ghrfrbg4.js} +4 -4
- package/dist/chunks/{tool-4xcz4xpr.js → schema-gjgye92n.js} +17 -17
- package/dist/chunks/{tool-p9e5fkyj.js → schema-gjkbr6zc.js} +18 -18
- package/dist/chunks/{tool-2d2h4qhb.js → schema-gp3kkx05.js} +34 -34
- package/dist/chunks/{tool-aawdsyze.js → schema-gwaz9r47.js} +4 -4
- package/dist/chunks/{tool-3jt1eddq.js → schema-gwj3kssr.js} +59 -59
- package/dist/chunks/{tool-1fqwyhye.js → schema-h6cpwytq.js} +49 -49
- package/dist/chunks/{tool-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-rf0v5n98.js → schema-h9r6r1hy.js} +32 -32
- package/dist/chunks/{tool-7kkywtdn.js → schema-hcgx9r92.js} +14 -14
- package/dist/chunks/{tool-hgz4x7wa.js → schema-hgz4x7wa.js} +1 -1
- package/dist/chunks/{tool-2tny0edy.js → schema-hh0a7fvf.js} +190 -190
- package/dist/chunks/{tool-vbrars45.js → schema-hhyv66vq.js} +8 -8
- package/dist/chunks/schema-hktg20kd.js +26 -0
- package/dist/chunks/{tool-rmc73zzm.js → schema-hp36aydz.js} +24 -24
- package/dist/chunks/{tool-zyx4ag0r.js → schema-hq279geq.js} +29 -29
- package/dist/chunks/{tool-fxaymqdw.js → schema-hq3c8me3.js} +4 -4
- package/dist/chunks/{tool-7vjhz70e.js → schema-htvezcsh.js} +5 -5
- package/dist/chunks/{tool-gftpqfcq.js → schema-hwq6p19n.js} +4 -4
- package/dist/chunks/{tool-7hrceg3g.js → schema-hz7aezfr.js} +35 -35
- package/dist/chunks/{tool-c7hvxrkm.js → schema-j05q090x.js} +25 -25
- package/dist/chunks/{tool-cg54xxwj.js → schema-j6ktnsbj.js} +12 -12
- package/dist/chunks/{tool-he8dq86x.js → schema-j73na0aw.js} +18 -18
- package/dist/chunks/{tool-3493q4kq.js → schema-j9w080ad.js} +14 -14
- package/dist/chunks/{tool-z9hatdac.js → schema-jm1wa9nf.js} +15 -15
- package/dist/chunks/{tool-stcs9p48.js → schema-js1t3555.js} +6 -6
- package/dist/chunks/{tool-1rgsmk43.js → schema-jxda656q.js} +10 -10
- package/dist/chunks/{tool-1pwk8kcs.js → schema-kcfh4jp8.js} +14 -14
- package/dist/chunks/{tool-58vmr7wj.js → schema-ke8th4a0.js} +16 -16
- package/dist/chunks/{tool-b4nzaj04.js → schema-kecqjjhm.js} +5 -5
- package/dist/chunks/{tool-6ysb8vkt.js → schema-kp7tszm4.js} +21 -21
- package/dist/chunks/{tool-kwb1v3vj.js → schema-kwb1v3vj.js} +1 -1
- package/dist/chunks/{tool-w9sgbs7k.js → schema-kwr2em0p.js} +20 -20
- package/dist/chunks/{tool-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-9w4ppqge.js → schema-ma48de29.js} +5 -5
- package/dist/chunks/{tool-5ee0ck5t.js → schema-man2x1hw.js} +24 -24
- package/dist/chunks/{tool-maspj1v3.js → schema-maspj1v3.js} +1 -1
- package/dist/chunks/{tool-hjhxarjg.js → schema-mccws065.js} +2 -2
- package/dist/chunks/{tool-5ehgcgpr.js → schema-mcxxahwh.js} +44 -44
- package/dist/chunks/{tool-tzs5ptya.js → schema-mvg2napp.js} +20 -20
- package/dist/chunks/{tool-addxnjmp.js → schema-mxvxcxwy.js} +4 -4
- package/dist/chunks/{tool-dv6fhex8.js → schema-n46s7c5f.js} +5 -5
- package/dist/chunks/{tool-rwasyrp5.js → schema-n4s909p2.js} +51 -51
- package/dist/chunks/{tool-82ep1r6s.js → schema-nf3p155y.js} +5 -5
- package/dist/chunks/{tool-nd7csjtk.js → schema-nqcscwec.js} +13 -13
- package/dist/chunks/{tool-vw63prre.js → schema-nwwgs0kh.js} +10 -10
- package/dist/chunks/{tool-4k7jacjp.js → schema-nysxgq6d.js} +11 -11
- package/dist/chunks/{tool-0zprb6es.js → schema-p1p7f544.js} +25 -25
- package/dist/chunks/{tool-cmwkp3r5.js → schema-p37cw4rj.js} +8 -8
- package/dist/chunks/{tool-byq8e8jd.js → schema-p4p2ts1j.js} +11 -11
- package/dist/chunks/{tool-86kfezyq.js → schema-pcb8yjd0.js} +7 -7
- package/dist/chunks/{tool-qnw1j25x.js → schema-phq9g6aj.js} +22 -22
- package/dist/chunks/{tool-ztyv0636.js → schema-phse5vhf.js} +27 -27
- package/dist/chunks/{tool-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{tool-rk2kcxcc.js → schema-pv4s4nxr.js} +12 -12
- package/dist/chunks/{tool-b762m4xg.js → schema-pwjp0qa3.js} +26 -26
- package/dist/chunks/{tool-wpafx981.js → schema-q6chj63a.js} +30 -30
- package/dist/chunks/{tool-wy45m17f.js → schema-q9cqhrsb.js} +2 -2
- package/dist/chunks/{tool-m5wnc3h6.js → schema-qa1bwf9y.js} +17 -17
- package/dist/chunks/{tool-fxs30z0y.js → schema-qhfwh6dg.js} +37 -37
- package/dist/chunks/{tool-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-ckjpj2pw.js → schema-qt44r66w.js} +3 -3
- package/dist/chunks/{tool-gybdh0a0.js → schema-qx53j35n.js} +22 -22
- package/dist/chunks/{tool-e80seqcp.js → schema-r2z489rp.js} +3 -3
- package/dist/chunks/{tool-s1d318ea.js → schema-r4mzk1xx.js} +3 -3
- package/dist/chunks/{tool-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-zwevc33g.js → schema-remtvbha.js} +11 -11
- package/dist/chunks/{tool-tkb22qbm.js → schema-rert0e01.js} +2 -2
- package/dist/chunks/{tool-bdx6mn17.js → schema-rhrxssrh.js} +9 -9
- package/dist/chunks/{tool-c41wscbt.js → schema-rj3eygr5.js} +2 -2
- package/dist/chunks/{tool-g44aby64.js → schema-rk5y8ke4.js} +17 -17
- package/dist/chunks/{tool-mmwmp5se.js → schema-rkpm4y6y.js} +11 -11
- package/dist/chunks/{tool-2t1tfy87.js → schema-rp73s9pz.js} +16 -16
- package/dist/chunks/{tool-pd6tx8e2.js → schema-rqkmn7me.js} +21 -21
- package/dist/chunks/{tool-bz29cs86.js → schema-rt2zj1s0.js} +27 -27
- package/dist/chunks/{tool-0mcdt3xm.js → schema-rtka9wvf.js} +22 -22
- package/dist/chunks/{tool-zkkgz3mx.js → schema-rvbf7bre.js} +12 -12
- package/dist/chunks/{tool-x3jgdmpg.js → schema-rw5jw54j.js} +5 -5
- package/dist/chunks/{tool-vymc59vb.js → schema-rz6yywgf.js} +33 -33
- package/dist/chunks/{tool-8yapk0fv.js → schema-s15d9z4p.js} +29 -29
- package/dist/chunks/{tool-76ejvhhr.js → schema-s1y79ssk.js} +15 -15
- package/dist/chunks/{tool-c8ax2afj.js → schema-sa8ekw3f.js} +2 -2
- package/dist/chunks/{tool-mhbktqx9.js → schema-scvzwabm.js} +11 -11
- package/dist/chunks/{tool-ry6831an.js → schema-sqmzwr9m.js} +9 -9
- package/dist/chunks/{tool-zgha0hsw.js → schema-st4zt39s.js} +22 -22
- package/dist/chunks/{tool-syv4x271.js → schema-syv4x271.js} +1 -1
- package/dist/chunks/{tool-rhjbct0v.js → schema-t550f9t1.js} +4 -4
- package/dist/chunks/{tool-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{tool-c3j8ne37.js → schema-tej7bjmy.js} +18 -18
- package/dist/chunks/{tool-tm0kqsz3.js → schema-tm0kqsz3.js} +1 -1
- package/dist/chunks/{tool-zz29nx1c.js → schema-tsftnbvm.js} +11 -11
- package/dist/chunks/{tool-hbb7npd7.js → schema-tt8gc4fv.js} +6 -6
- package/dist/chunks/{tool-cmcz3sb1.js → schema-ttacmzh5.js} +20 -20
- package/dist/chunks/{tool-5bnha4a9.js → schema-txyw6bh0.js} +2 -2
- package/dist/chunks/{tool-tyytaxap.js → schema-tyytaxap.js} +1 -1
- package/dist/chunks/{tool-nz56sr1f.js → schema-v13b12ef.js} +5 -5
- package/dist/chunks/{tool-7def0ggy.js → schema-v20v5pjv.js} +40 -40
- package/dist/chunks/{tool-v210v162.js → schema-v210v162.js} +2 -2
- package/dist/chunks/{tool-pz07xgh4.js → schema-v4b1xa27.js} +11 -11
- package/dist/chunks/{tool-qa3qhgw8.js → schema-v5dkyp31.js} +4 -4
- package/dist/chunks/{tool-v7p4zvkq.js → schema-v7p4zvkq.js} +2 -2
- package/dist/chunks/{tool-hb7c6vf9.js → schema-vag86jwj.js} +13 -13
- package/dist/chunks/{tool-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-0976wqw8.js → schema-vh1fw6yt.js} +25 -25
- package/dist/chunks/schema-vnkjks7b.js +18 -0
- package/dist/chunks/{tool-2nhcazd0.js → schema-vwssb2rn.js} +16 -16
- package/dist/chunks/{tool-6zt8z75t.js → schema-vz2w9rtp.js} +28 -28
- package/dist/chunks/{tool-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-s23kegdt.js → schema-w1ej9fkt.js} +9 -9
- package/dist/chunks/{tool-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-d2ms787s.js → schema-w4q7m0eq.js} +20 -20
- package/dist/chunks/{tool-08vgyj7k.js → schema-wcp8qb9k.js} +18 -18
- package/dist/chunks/{tool-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{tool-793g28qj.js → schema-wg91gmf4.js} +34 -34
- package/dist/chunks/{tool-stf95kdk.js → schema-wp1sg2es.js} +4 -4
- package/dist/chunks/{tool-p1ayhfez.js → schema-xekvc3d8.js} +13 -13
- package/dist/chunks/{tool-krhn2nch.js → schema-xgmhetns.js} +12 -12
- package/dist/chunks/{tool-p19xwqz2.js → schema-xqj10vmz.js} +9 -9
- package/dist/chunks/{tool-kq8anxe4.js → schema-xtpd89cm.js} +11 -11
- package/dist/chunks/{tool-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-dpkg50ah.js → schema-y71avatq.js} +4 -4
- package/dist/chunks/{tool-rpvr12zk.js → schema-y89gydzy.js} +19 -19
- package/dist/chunks/{tool-vvzbhhck.js → schema-ycc3121e.js} +4 -4
- package/dist/chunks/{tool-3f43s8b4.js → schema-ydbf29gx.js} +51 -51
- package/dist/chunks/{tool-cthpwpgv.js → schema-yhc4wv29.js} +50 -50
- package/dist/chunks/{tool-8mv6xfqh.js → schema-yr2aghkb.js} +2 -2
- package/dist/chunks/{tool-g50kefr8.js → schema-yr7e010d.js} +10 -10
- package/dist/chunks/{tool-w4sgd07z.js → schema-yw7v3j12.js} +27 -27
- package/dist/chunks/{tool-hxtet8kv.js → schema-yx0rmv9r.js} +8 -8
- package/dist/chunks/{tool-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-z18fegx4.js → schema-z18fegx4.js} +1 -1
- package/dist/chunks/{tool-0j3c2sb1.js → schema-z41ahr7v.js} +11 -11
- package/dist/chunks/{tool-qdqb97nm.js → schema-z9c610pw.js} +13 -13
- package/dist/chunks/{tool-2kjm689e.js → schema-zdtbn3v6.js} +22 -22
- package/dist/chunks/{tool-x4c1mtyt.js → schema-zqr7hr21.js} +15 -15
- package/dist/chunks/{tool-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-wss5z80w.js → schema-zsep494j.js} +5 -5
- package/dist/chunks/{tool-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-r7epa8w9.js → schema-zzmpqpc3.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +102 -102
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +104 -104
- 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 +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- 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 +77 -77
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/session/error.d.ts +1 -0
- package/dist/types/session/history.d.ts +10 -0
- package/dist/types/session/transfer.d.ts +8 -0
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/tool-4vgve9x2.js +0 -26
- package/dist/chunks/tool-dxj72tfx.js +0 -18
- package/dist/chunks/tool-xrbvcvxz.js +0 -257
- /package/dist/chunks/{tool-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → schema-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → schema-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-pkyv6v7h.js → schema-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{tool-pyv0edze.js → schema-pyv0edze.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wjj7prxr.js → schema-wjj7prxr.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node78
|
|
4
|
+
} from "./schema-rp73s9pz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service20,
|
|
7
|
+
node23
|
|
8
|
+
} from "./schema-4j8ys442.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-6xb47vfp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service9,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node11
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service9 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service20;
|
|
30
|
+
const jobs = yield* Service75;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service9.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node11 = Node.makeGlobalNode({
|
|
68
|
+
service: Service9,
|
|
69
|
+
layer: Layer.effect(Service9, make),
|
|
70
|
+
deps: [node23, node78]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service9, node11, exports_subagent_job };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-xtpd89cm.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-bjx1sjef.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin5,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
|
-
endpoint: () =>
|
|
20
|
+
endpoint: () => endpoint3
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
24
24
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
25
|
-
var
|
|
25
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
26
26
|
var McpInput = Schema.Struct({
|
|
27
27
|
query: Schema.String
|
|
28
28
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin5 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -78,7 +78,7 @@ var Plugin10 = define({
|
|
|
78
78
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
79
79
|
};
|
|
80
80
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
81
|
-
const result = yield* call2(http,
|
|
81
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
82
82
|
const content = result?.content.find((item) => item.text);
|
|
83
83
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
84
84
|
return response?.results.map((item) => ({
|
|
@@ -94,7 +94,7 @@ var Plugin10 = define({
|
|
|
94
94
|
});
|
|
95
95
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
96
96
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
97
|
-
const request = yield* HttpClientRequest.post(
|
|
97
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
98
98
|
jsonrpc: "2.0",
|
|
99
99
|
id: 1,
|
|
100
100
|
method: "initialize",
|
|
@@ -109,7 +109,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
112
|
-
const notification = yield* HttpClientRequest.post(
|
|
112
|
+
const notification = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
113
113
|
jsonrpc: "2.0",
|
|
114
114
|
method: "notifications/initialized"
|
|
115
115
|
}));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { endpoint3, Plugin5, exports_tinyfish };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID15,
|
|
3
|
+
Info25,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-48kw51zw.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service86,
|
|
11
|
+
node90
|
|
12
|
+
} from "./schema-remtvbha.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
+
Service85,
|
|
16
|
+
node89
|
|
17
|
+
} from "./schema-vwssb2rn.js";
|
|
18
|
+
import {
|
|
15
19
|
Service83,
|
|
16
20
|
node87
|
|
17
|
-
} from "./
|
|
18
|
-
import {
|
|
19
|
-
Service82,
|
|
20
|
-
node86
|
|
21
|
-
} from "./tool-6kfemk62.js";
|
|
21
|
+
} from "./schema-4459cj4r.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service49,
|
|
24
|
+
node51
|
|
25
|
+
} from "./schema-c8bydgjz.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./schema-c1fqxshp.js";
|
|
32
32
|
import {
|
|
33
33
|
NotFoundError9,
|
|
34
34
|
InvalidListCursorError2,
|
|
@@ -42,78 +42,78 @@ import {
|
|
|
42
42
|
BusyError2,
|
|
43
43
|
InboxConflictError2,
|
|
44
44
|
SkillNotFoundError2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./schema-ec5r24jz.js";
|
|
46
46
|
import {
|
|
47
47
|
current2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./schema-cefkz2r6.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node50
|
|
51
|
+
} from "./schema-6xkcg1y6.js";
|
|
52
52
|
import {
|
|
53
53
|
snapshot2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./schema-gjkbr6zc.js";
|
|
55
55
|
import {
|
|
56
56
|
Slug2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./schema-gebd4c9n.js";
|
|
58
58
|
import {
|
|
59
59
|
SessionAlreadyProjected2,
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
60
|
+
node25
|
|
61
|
+
} from "./schema-74mhpw3w.js";
|
|
62
62
|
import {
|
|
63
63
|
Metadata2,
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
64
|
+
node63
|
|
65
|
+
} from "./schema-xtpd89cm.js";
|
|
66
66
|
import {
|
|
67
67
|
ListInput4,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
68
|
+
Service66,
|
|
69
|
+
node69
|
|
70
|
+
} from "./schema-a7scjn5s.js";
|
|
71
71
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
72
|
+
Service75,
|
|
73
|
+
node78
|
|
74
|
+
} from "./schema-rp73s9pz.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service46,
|
|
77
|
+
node49
|
|
78
|
+
} from "./schema-dhsdmd8f.js";
|
|
79
79
|
import {
|
|
80
80
|
llmClient2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./schema-775gj3j1.js";
|
|
82
82
|
import {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
83
|
+
Service31,
|
|
84
|
+
node34
|
|
85
|
+
} from "./schema-7erbtyx3.js";
|
|
86
86
|
import {
|
|
87
87
|
generate2
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./schema-9hhtrjbb.js";
|
|
89
89
|
import {
|
|
90
90
|
execute2
|
|
91
|
-
} from "./
|
|
91
|
+
} from "./schema-84kr3hab.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} from "./
|
|
93
|
+
Service68,
|
|
94
|
+
node71
|
|
95
|
+
} from "./schema-7pest08f.js";
|
|
96
96
|
import {
|
|
97
97
|
DestinationNotFoundError2,
|
|
98
98
|
DestinationNotDirectoryError2,
|
|
99
99
|
DestinationUnavailableError2,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
} from "./
|
|
100
|
+
Service21,
|
|
101
|
+
node24
|
|
102
|
+
} from "./schema-gwj3kssr.js";
|
|
103
103
|
import {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from "./
|
|
104
|
+
Service36,
|
|
105
|
+
node39
|
|
106
|
+
} from "./schema-3rtxz4nr.js";
|
|
107
107
|
import {
|
|
108
108
|
make12
|
|
109
|
-
} from "./
|
|
109
|
+
} from "./schema-80jay3zv.js";
|
|
110
110
|
import {
|
|
111
111
|
TurnRangeError2,
|
|
112
112
|
turn2
|
|
113
|
-
} from "./
|
|
113
|
+
} from "./schema-v4b1xa27.js";
|
|
114
114
|
import {
|
|
115
115
|
__export
|
|
116
|
-
} from "./
|
|
116
|
+
} from "./schema-9rqn6x4v.js";
|
|
117
117
|
|
|
118
118
|
// src/session.ts
|
|
119
119
|
var exports_session = {};
|
|
@@ -124,24 +124,24 @@ __export(exports_session, {
|
|
|
124
124
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
125
125
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
126
126
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
127
|
-
ID: () =>
|
|
127
|
+
ID: () => ID15,
|
|
128
128
|
InboxConflictError: () => InboxConflictError2,
|
|
129
|
-
Info: () =>
|
|
129
|
+
Info: () => Info25,
|
|
130
130
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
131
131
|
ListAnchor: () => ListAnchor2,
|
|
132
132
|
ListCursor: () => ListCursor2,
|
|
133
|
-
ListInput: () =>
|
|
133
|
+
ListInput: () => ListInput2,
|
|
134
134
|
MessageDecodeError: () => MessageDecodeError2,
|
|
135
135
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
136
136
|
NotFoundError: () => NotFoundError9,
|
|
137
137
|
PromptConflictError: () => PromptConflictError2,
|
|
138
|
-
Service: () =>
|
|
138
|
+
Service: () => Service20,
|
|
139
139
|
Session: () => exports_session,
|
|
140
140
|
SessionSchema: () => SessionSchema2,
|
|
141
141
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
142
142
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
143
143
|
TurnRangeError: () => TurnRangeError2,
|
|
144
|
-
node: () =>
|
|
144
|
+
node: () => node23
|
|
145
145
|
});
|
|
146
146
|
import { DateTime, Effect, Layer, Schema, Context, Stream } from "effect";
|
|
147
147
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -151,28 +151,28 @@ import { Model } from "@opencode/schema/model";
|
|
|
151
151
|
import path from "path";
|
|
152
152
|
import { Node } from "@opencode/util/effect/app-node";
|
|
153
153
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
154
|
-
var
|
|
154
|
+
var ListInput2 = ListInput4;
|
|
155
155
|
var DefaultListLimit = 50;
|
|
156
|
-
class
|
|
156
|
+
class Service20 extends Context.Service()("@opencode/Session") {
|
|
157
157
|
}
|
|
158
|
-
var layer = Layer.effect(
|
|
158
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
|
-
const database = yield*
|
|
160
|
+
const database = yield* Service86;
|
|
161
161
|
const db = database.db;
|
|
162
|
-
const bus = yield*
|
|
163
|
-
const projects = yield*
|
|
164
|
-
const execution = yield*
|
|
162
|
+
const bus = yield* Service85;
|
|
163
|
+
const projects = yield* Service83;
|
|
164
|
+
const execution = yield* Service46;
|
|
165
165
|
const llm = yield* LLMClient.Service;
|
|
166
|
-
const transport = yield*
|
|
167
|
-
const store = yield*
|
|
168
|
-
const instances = yield*
|
|
169
|
-
const moves = yield*
|
|
170
|
-
const jobs = yield*
|
|
171
|
-
const environments = yield*
|
|
172
|
-
const locations = yield*
|
|
166
|
+
const transport = yield* Service31;
|
|
167
|
+
const store = yield* Service66;
|
|
168
|
+
const instances = yield* Service49;
|
|
169
|
+
const moves = yield* Service21;
|
|
170
|
+
const jobs = yield* Service75;
|
|
171
|
+
const environments = yield* Service36;
|
|
172
|
+
const locations = yield* Service68;
|
|
173
173
|
const sessions = yield* make12();
|
|
174
174
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
175
|
-
const result =
|
|
175
|
+
const result = Service20.of({
|
|
176
176
|
create: Effect.fn("Session.create")(function* (input) {
|
|
177
177
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
178
178
|
const recorded = yield* store.get(sessionID);
|
|
@@ -301,11 +301,11 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
301
301
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
302
302
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
303
303
|
const session = yield* result.get(input.sessionID);
|
|
304
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
304
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service86, database), Effect.provideService(LLMClient.Service, llm));
|
|
305
305
|
}),
|
|
306
306
|
command: Effect.fn("Session.command")(function* (input) {
|
|
307
307
|
const session = yield* result.get(input.sessionID);
|
|
308
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
308
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service49, instances));
|
|
309
309
|
}),
|
|
310
310
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
311
311
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -349,27 +349,27 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
349
349
|
});
|
|
350
350
|
return result;
|
|
351
351
|
}));
|
|
352
|
-
var
|
|
353
|
-
service:
|
|
352
|
+
var node23 = Node.makeGlobalNode({
|
|
353
|
+
service: Service20,
|
|
354
354
|
layer,
|
|
355
355
|
deps: [
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
356
|
+
node78,
|
|
357
|
+
node39,
|
|
358
|
+
node90,
|
|
359
|
+
node89,
|
|
359
360
|
node87,
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
node37,
|
|
361
|
+
node49,
|
|
362
|
+
node34,
|
|
363
363
|
llmClient2,
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
364
|
+
node69,
|
|
365
|
+
node51,
|
|
366
|
+
node50,
|
|
367
|
+
node24,
|
|
368
|
+
node25,
|
|
369
|
+
node71,
|
|
370
370
|
FSUtil.node,
|
|
371
|
-
|
|
371
|
+
node63
|
|
372
372
|
]
|
|
373
373
|
});
|
|
374
374
|
|
|
375
|
-
export { ListAnchor2, ListCursor2,
|
|
375
|
+
export { ListAnchor2, ListCursor2, ListInput2, Service20, node23, exports_session };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service85,
|
|
6
|
+
node89
|
|
7
|
+
} from "./schema-vwssb2rn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service81,
|
|
15
|
-
node85
|
|
16
|
-
} from "./tool-3493q4kq.js";
|
|
9
|
+
Event18,
|
|
10
|
+
Service73,
|
|
11
|
+
node76
|
|
12
|
+
} from "./schema-gp3kkx05.js";
|
|
17
13
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
14
|
+
Service82,
|
|
15
|
+
node86
|
|
16
|
+
} from "./schema-j9w080ad.js";
|
|
21
17
|
import {
|
|
22
|
-
ID16,
|
|
23
18
|
Service80,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
19
|
+
node83
|
|
20
|
+
} from "./schema-hp36aydz.js";
|
|
21
|
+
import {
|
|
22
|
+
ID14,
|
|
23
|
+
Service74,
|
|
24
|
+
node77
|
|
25
|
+
} from "./schema-rt2zj1s0.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID12,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service72,
|
|
34
|
+
node75
|
|
35
|
+
} from "./schema-hq279geq.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./schema-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: () => NotFoundError3,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service32,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node35
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
114
|
+
var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service82;
|
|
116
|
+
const environment = yield* Service80;
|
|
117
|
+
const bus = yield* Service85;
|
|
118
|
+
const forms = yield* Service74;
|
|
119
|
+
const integration = yield* Service72;
|
|
120
|
+
const credentials = yield* Service73;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID12.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError3({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID14.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
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(
|
|
272
|
+
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(Service80, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service32.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service32,
|
|
536
|
+
layer: layer15(options),
|
|
537
|
+
deps: [node86, node83, node89, node77, node75, node76]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node35 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service32, Options3, layer15, configured3, node35, exports_mcp4 };
|