@opencode/core 0.0.0-dev-20850 → 0.0.0-dev-20851
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{command-gbst0gvm.js → form-006m7k99.js} +41 -41
- package/dist/chunks/{command-qkb6y1tc.js → form-06pebr32.js} +21 -21
- package/dist/chunks/{command-x7m2pq7s.js → form-0c2d7m56.js} +9 -9
- package/dist/chunks/{command-4ekscj25.js → form-0cg871e2.js} +5 -5
- package/dist/chunks/{command-4jw9kfxa.js → form-0sakkys5.js} +10 -10
- package/dist/chunks/{command-0vbcp93d.js → form-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-c10fq8yw.js → form-0x8nqgp6.js} +69 -69
- package/dist/chunks/{command-zzqs5kr4.js → form-0xjmb4aw.js} +43 -43
- package/dist/chunks/{command-r5tpv63y.js → form-0y615900.js} +317 -317
- package/dist/chunks/{command-vdwvtvgk.js → form-17xaq5pa.js} +42 -42
- package/dist/chunks/{command-r8xr0va3.js → form-1acjjqhc.js} +4 -4
- package/dist/chunks/{command-7fqkjd9x.js → form-1b0mmj8d.js} +33 -33
- package/dist/chunks/{command-03eecatj.js → form-1bnbz8vf.js} +32 -32
- package/dist/chunks/{command-hyzzdb65.js → form-1dtmr12w.js} +10 -10
- package/dist/chunks/{command-6w6dyk7v.js → form-1jq22t41.js} +9 -9
- package/dist/chunks/{command-1ake5xtc.js → form-1va1wqh8.js} +18 -18
- package/dist/chunks/{command-gnqwsg0j.js → form-1vw01wqx.js} +7 -7
- package/dist/chunks/{command-khmqacep.js → form-1w2wqhfv.js} +4 -4
- package/dist/chunks/{command-trs4csaq.js → form-21r0j0k4.js} +18 -18
- package/dist/chunks/{command-zkgp92a0.js → form-2g5cprqg.js} +16 -16
- package/dist/chunks/{command-7dqw4kz8.js → form-2k8khapm.js} +5 -5
- package/dist/chunks/{command-1tc9ms7v.js → form-2s64xept.js} +80 -80
- package/dist/chunks/{command-c765mh8b.js → form-2sejkfem.js} +9 -9
- package/dist/chunks/{command-2vvh33eb.js → form-2vvh33eb.js} +2 -2
- package/dist/chunks/{command-31xfzrxg.js → form-31xfzrxg.js} +2 -2
- package/dist/chunks/{command-ycjb11n5.js → form-321x2wtd.js} +4 -4
- package/dist/chunks/{command-2ej7p5df.js → form-322x12bj.js} +11 -11
- package/dist/chunks/{command-fcs8jd9f.js → form-38005zny.js} +33 -33
- package/dist/chunks/{command-xxc15cb4.js → form-3a1kt8mx.js} +17 -17
- package/dist/chunks/{command-hes1j7ga.js → form-3b9qt4hj.js} +9 -9
- package/dist/chunks/{command-3fc6dm20.js → form-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
- package/dist/chunks/{command-t5mnyv20.js → form-3n03h225.js} +3 -3
- package/dist/chunks/{command-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-3t1dcsxj.js → form-3zftvv2w.js} +50 -50
- package/dist/chunks/{command-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-mm236w6k.js → form-44w2dvnf.js} +12 -12
- package/dist/chunks/{command-gj71zhbs.js → form-47jkzegy.js} +5 -5
- package/dist/chunks/{command-5ytdfek8.js → form-49t7pbwb.js} +17 -17
- package/dist/chunks/{command-t4g07myj.js → form-4eb95kkt.js} +11 -11
- package/dist/chunks/{command-4ts7tf6z.js → form-4ts7tf6z.js} +2 -2
- package/dist/chunks/{command-54ma36ye.js → form-54ma36ye.js} +1 -1
- package/dist/chunks/{command-51p4tjed.js → form-55b95wm6.js} +20 -20
- package/dist/chunks/{command-48kw51zw.js → form-58072hz9.js} +3 -3
- package/dist/chunks/{command-gj7khvz3.js → form-5fyr2d0m.js} +13 -13
- package/dist/chunks/{command-f5rky6pw.js → form-5hsh8mcs.js} +30 -30
- package/dist/chunks/{command-wh1armcy.js → form-5jq5wt6a.js} +30 -30
- package/dist/chunks/{command-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-bz4h3gj4.js → form-5njrdk08.js} +36 -36
- package/dist/chunks/{command-f6zrmd8m.js → form-5xz0dphx.js} +17 -17
- package/dist/chunks/form-623a4y9d.js +26 -0
- package/dist/chunks/{command-3ggbdzvf.js → form-64mfqs5m.js} +30 -30
- package/dist/chunks/{command-nrxc3w5k.js → form-668vd0mr.js} +31 -31
- package/dist/chunks/{command-4h0vb0gq.js → form-68x95car.js} +15 -15
- package/dist/chunks/{command-njrwvgpc.js → form-6cv38wn1.js} +11 -11
- package/dist/chunks/{command-ryr25ayn.js → form-6hh8tjw2.js} +4 -4
- package/dist/chunks/{command-emhev80g.js → form-6pg3w5wa.js} +25 -25
- package/dist/chunks/{command-wtkbvwtp.js → form-6s49h116.js} +25 -25
- package/dist/chunks/{command-0g7cgnx9.js → form-6t11chne.js} +1 -1
- package/dist/chunks/{command-6xb47vfp.js → form-6xb47vfp.js} +1 -1
- package/dist/chunks/{command-erj4chxm.js → form-79v2228v.js} +11 -11
- package/dist/chunks/{command-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-xpgsdcx2.js → form-7d1jjv33.js} +8 -8
- package/dist/chunks/{command-qmwxrq4q.js → form-7epd78eg.js} +3 -3
- package/dist/chunks/form-7fj5dwt0.js +18 -0
- package/dist/chunks/{command-6v23mrsw.js → form-7hzcx47x.js} +11 -11
- package/dist/chunks/{command-9ygwj23r.js → form-7pk2fpkr.js} +15 -15
- package/dist/chunks/{command-p51cfpkz.js → form-7rasn972.js} +11 -11
- package/dist/chunks/{command-2vn9a9m5.js → form-80yv71a5.js} +13 -13
- package/dist/chunks/{command-7qskwz89.js → form-82jy7me2.js} +12 -12
- package/dist/chunks/{command-684z2rkg.js → form-82n0fy7d.js} +4 -4
- package/dist/chunks/{command-84txncab.js → form-84txncab.js} +1 -1
- package/dist/chunks/{command-m9r522wj.js → form-8ca0q5ge.js} +24 -24
- package/dist/chunks/{command-mxv0ahxn.js → form-8dbkkhxs.js} +34 -34
- package/dist/chunks/{command-ngkkqbqm.js → form-8fydwx36.js} +24 -24
- package/dist/chunks/{command-8m6m0r52.js → form-8m6m0r52.js} +1 -1
- package/dist/chunks/{command-kzdcqyn1.js → form-8y31xnqm.js} +5 -5
- package/dist/chunks/{command-xmmcf9bt.js → form-91f6g28x.js} +1 -1
- package/dist/chunks/{command-91qna3x0.js → form-91qna3x0.js} +3 -3
- package/dist/chunks/{command-yabdq57b.js → form-95m8db81.js} +11 -11
- package/dist/chunks/{command-1078m2ze.js → form-99g2q9zd.js} +11 -11
- package/dist/chunks/{command-c41h4f8s.js → form-9ddc3956.js} +3 -3
- package/dist/chunks/{command-70az54m3.js → form-9hry9nma.js} +21 -21
- package/dist/chunks/{command-dehk00jt.js → form-9t8mnttq.js} +17 -17
- package/dist/chunks/{command-eq3njjjt.js → form-9y14qb5r.js} +24 -24
- package/dist/chunks/{command-3xr281qj.js → form-9y2q36e8.js} +11 -11
- package/dist/chunks/{command-h3k0sdzw.js → form-9zhh23v8.js} +3 -3
- package/dist/chunks/{command-8akyxt9x.js → form-a00fgwp6.js} +146 -146
- package/dist/chunks/{command-nr7p0et9.js → form-a9t50ty0.js} +2 -2
- package/dist/chunks/{command-db2wf4at.js → form-addxnjmp.js} +4 -4
- package/dist/chunks/{command-p6dnv1qh.js → form-adn6ewvy.js} +20 -20
- package/dist/chunks/{command-b4fmh4gz.js → form-af6zfhme.js} +4 -4
- package/dist/chunks/{command-1xfjfm5k.js → form-av3m5zjn.js} +14 -14
- package/dist/chunks/{command-7ad1qpnj.js → form-av8tazrm.js} +16 -16
- package/dist/chunks/{command-p267qznr.js → form-azra3wqg.js} +32 -32
- package/dist/chunks/{command-0r9t40ws.js → form-ba52ty8f.js} +8 -8
- package/dist/chunks/{command-dys7k0s0.js → form-bfegkxfd.js} +8 -8
- package/dist/chunks/{command-8nehyppj.js → form-bhxjw60r.js} +15 -15
- package/dist/chunks/{command-mq9nb5yf.js → form-bk4r6et7.js} +14 -14
- package/dist/chunks/{command-r9vebypt.js → form-bmr4bg0q.js} +16 -16
- package/dist/chunks/{command-waskdk5r.js → form-bmr56wjg.js} +4 -4
- package/dist/chunks/{command-zyfyd078.js → form-byjy60w7.js} +10 -10
- package/dist/chunks/{command-es1vcfrp.js → form-c1fqxshp.js} +3 -3
- package/dist/chunks/{command-54e5rmax.js → form-c1wvkdzc.js} +4 -4
- package/dist/chunks/{command-9a3p6fm2.js → form-c33qfg7v.js} +41 -41
- package/dist/chunks/{command-zynkq0bw.js → form-cbs81czz.js} +10 -10
- package/dist/chunks/{command-zc7432er.js → form-cw3k6n42.js} +30 -30
- package/dist/chunks/{command-f29mbr7f.js → form-d2czbp48.js} +4 -4
- package/dist/chunks/{command-jdz4qjxc.js → form-d3y6n0b6.js} +4 -4
- package/dist/chunks/{command-g686f6pq.js → form-d7x0sh0y.js} +9 -9
- package/dist/chunks/{command-vy8bzexn.js → form-dgteecst.js} +19 -19
- package/dist/chunks/{command-b1nzd013.js → form-dkz4h62m.js} +2 -2
- package/dist/chunks/{command-y71avatq.js → form-dpkg50ah.js} +4 -4
- package/dist/chunks/{command-sefmw985.js → form-e288s6x8.js} +26 -26
- package/dist/chunks/{command-sg56rmc9.js → form-e5f8kc24.js} +5 -5
- package/dist/chunks/{command-y7ppa9zv.js → form-e7he988n.js} +14 -14
- package/dist/chunks/{command-eej6y6fw.js → form-eej6y6fw.js} +2 -2
- package/dist/chunks/{command-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-6rv30qxe.js → form-enm4z0yr.js} +6 -6
- package/dist/chunks/{command-2x98hj2d.js → form-f2vdq2p6.js} +6 -6
- package/dist/chunks/{command-z65krm0a.js → form-f31xyhx6.js} +9 -9
- package/dist/chunks/{command-e87zkmfq.js → form-fb1qtx5j.js} +15 -15
- package/dist/chunks/{command-nt0mjwaw.js → form-fhpwjwfp.js} +5 -5
- package/dist/chunks/{command-mzydhjeg.js → form-g3fthk25.js} +6 -6
- package/dist/chunks/{command-n7syarbg.js → form-g4y5gz37.js} +6 -6
- package/dist/chunks/{command-ts860kc8.js → form-g7swxvb3.js} +13 -13
- package/dist/chunks/{command-npvtjmwq.js → form-g8g0s57g.js} +15 -15
- package/dist/chunks/{command-rqa1jxse.js → form-gccjnz6h.js} +2 -2
- package/dist/chunks/{command-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-0651g2m8.js → form-get0s9tp.js} +21 -21
- package/dist/chunks/{command-9rcsrpay.js → form-gjkgbs04.js} +25 -25
- package/dist/chunks/{command-4n4sjte8.js → form-gk5356zs.js} +15 -15
- package/dist/chunks/{command-gk8qb678.js → form-gk8qb678.js} +1 -1
- package/dist/chunks/{command-s98w7xaq.js → form-gnmx4hex.js} +13 -13
- package/dist/chunks/{command-pz0ytm9k.js → form-h0vknvkg.js} +8 -8
- package/dist/chunks/{command-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
- package/dist/chunks/{command-5faj6gpx.js → form-hjqck59g.js} +24 -24
- package/dist/chunks/{command-k3cg02ta.js → form-ht6dr56k.js} +5 -5
- package/dist/chunks/{command-6qrtx4s9.js → form-hvydwdba.js} +8 -8
- package/dist/chunks/{command-m7jak9xg.js → form-hw0zxg35.js} +20 -20
- package/dist/chunks/{command-hy8hfmse.js → form-j0pd759q.js} +5 -5
- package/dist/chunks/{command-0yz1bb5z.js → form-j2s3779n.js} +4 -4
- package/dist/chunks/{command-j56e64zr.js → form-j56e64zr.js} +1 -1
- package/dist/chunks/{command-hatca7p1.js → form-j8egbxqg.js} +12 -12
- package/dist/chunks/{command-2ztj38qe.js → form-jc31vf16.js} +14 -14
- package/dist/chunks/{command-a89e0tac.js → form-jewzahs7.js} +4 -4
- package/dist/chunks/{command-8k7cnv0y.js → form-jgtkz6r6.js} +1 -1
- package/dist/chunks/{command-reevcg95.js → form-jxz0pj49.js} +16 -16
- package/dist/chunks/{command-524nwbbt.js → form-k0a83kw0.js} +10 -10
- package/dist/chunks/{command-k085ax4w.js → form-k0x9c2f3.js} +11 -11
- package/dist/chunks/{command-kwbgkw7p.js → form-k3s4mzc3.js} +3 -3
- package/dist/chunks/{command-e3mqmg8e.js → form-k3xk6ajn.js} +7 -7
- package/dist/chunks/{command-wymw8b6n.js → form-k5g5emw9.js} +9 -9
- package/dist/chunks/{command-n8cj0r05.js → form-k7c61qyd.js} +1 -1
- package/dist/chunks/{command-x7q2mydz.js → form-k9d4b4p7.js} +6 -6
- package/dist/chunks/{command-ee1byx1z.js → form-kbmnqt40.js} +27 -27
- package/dist/chunks/{command-y9y6emgs.js → form-kck1ngxs.js} +18 -18
- package/dist/chunks/{command-yk0w1sxf.js → form-kdqphf6x.js} +5 -5
- package/dist/chunks/{command-n94jt7k6.js → form-kdxfwdry.js} +11 -11
- package/dist/chunks/{command-hqb6mdaz.js → form-kfdd03hd.js} +16 -16
- package/dist/chunks/{command-m1q8be4e.js → form-kjwtb2ft.js} +4 -4
- package/dist/chunks/{command-gvxf58ty.js → form-kvh3hn5p.js} +10 -10
- package/dist/chunks/{command-b3d0s7yq.js → form-m5ja7mh0.js} +7 -7
- package/dist/chunks/{command-ded7ed65.js → form-m6w2zr8w.js} +12 -12
- package/dist/chunks/{command-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-2w85jf91.js → form-mccv6fhs.js} +1 -1
- package/dist/chunks/{command-tdcm2knz.js → form-myqp0ysx.js} +29 -29
- package/dist/chunks/{command-a2qe2ev9.js → form-n0tq777j.js} +8 -8
- package/dist/chunks/{command-c1p4wns8.js → form-naz1hppr.js} +11 -11
- package/dist/chunks/{command-754hrxp0.js → form-nd57m68f.js} +23 -23
- package/dist/chunks/{command-p42hj8p8.js → form-p4mj4rdp.js} +8 -8
- package/dist/chunks/{command-43b4ysp3.js → form-p6bre1gz.js} +10 -10
- package/dist/chunks/{command-f4ej5vtm.js → form-pb3at1xs.js} +20 -20
- package/dist/chunks/{command-0f74e6s6.js → form-pc5383ba.js} +12 -12
- package/dist/chunks/{command-3grbmg3s.js → form-pdgy07wn.js} +15 -15
- package/dist/chunks/{command-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{command-50waebaf.js → form-pp84f3ng.js} +14 -14
- package/dist/chunks/{command-eaeq0sye.js → form-pxm319h1.js} +7 -7
- package/dist/chunks/{command-rkprpv83.js → form-py3kkmfq.js} +2 -2
- package/dist/chunks/{command-q0xm7vwc.js → form-q0xm7vwc.js} +2 -2
- package/dist/chunks/{command-qnc92qwc.js → form-qnc92qwc.js} +1 -1
- package/dist/chunks/{command-4s7sr0a4.js → form-qq2m2wf4.js} +8 -8
- package/dist/chunks/{command-3b7e2402.js → form-qrhtqstp.js} +11 -11
- package/dist/chunks/{command-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{command-nz5tb3mz.js → form-qsvm9x85.js} +13 -13
- package/dist/chunks/{command-snnejgvy.js → form-qx0zpr7q.js} +23 -23
- package/dist/chunks/{command-00v3p02c.js → form-qyc8th6x.js} +10 -10
- package/dist/chunks/{command-8c2fejh3.js → form-r540veg5.js} +20 -20
- package/dist/chunks/{command-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-tkb22qbm.js → form-rert0e01.js} +2 -2
- package/dist/chunks/{command-eaj1djv9.js → form-rhjbct0v.js} +8 -8
- package/dist/chunks/{command-c41wscbt.js → form-rj3eygr5.js} +2 -2
- package/dist/chunks/{command-d331akc0.js → form-rmbkajqw.js} +29 -29
- package/dist/chunks/{command-ja2a058e.js → form-rr2j5meq.js} +2 -2
- package/dist/chunks/{command-9gz7rpcg.js → form-rsjne1k7.js} +17 -17
- package/dist/chunks/{command-z463bfa6.js → form-s0skt53x.js} +19 -19
- package/dist/chunks/{command-sx7mvmwx.js → form-s3jsmpzc.js} +5 -5
- package/dist/chunks/{command-c8ax2afj.js → form-sa8ekw3f.js} +2 -2
- package/dist/chunks/{command-svcw9x3w.js → form-sm0ksd3h.js} +5 -5
- package/dist/chunks/{command-rhv7vgb3.js → form-smk4c7dc.js} +3 -3
- package/dist/chunks/{command-rvea9875.js → form-sp67p2pt.js} +9 -9
- package/dist/chunks/{command-rg90hx5t.js → form-ssaew880.js} +20 -20
- package/dist/chunks/{command-ed1g29hy.js → form-sxcaecc0.js} +3 -3
- package/dist/chunks/{command-jnyt3wvk.js → form-symeabce.js} +11 -11
- package/dist/chunks/{command-syv4x271.js → form-syv4x271.js} +1 -1
- package/dist/chunks/{command-141ztcwb.js → form-t7jdn7q3.js} +19 -19
- package/dist/chunks/{command-d8npn8xg.js → form-taktjfvt.js} +16 -16
- package/dist/chunks/{command-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tcezcvh9.js → form-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{command-sgfee8yb.js → form-tf3yab8x.js} +3 -3
- package/dist/chunks/{command-ke0v1s51.js → form-thc86arw.js} +33 -33
- package/dist/chunks/{command-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
- package/dist/chunks/{command-zq51jzx2.js → form-tnd9dnxn.js} +21 -21
- package/dist/chunks/{command-266f832d.js → form-tpvm8jgs.js} +3 -3
- package/dist/chunks/{command-gsnj80d9.js → form-tqshb1vy.js} +21 -21
- package/dist/chunks/{command-dtpvhdth.js → form-trqre4ge.js} +7 -7
- package/dist/chunks/{command-7rce4ag1.js → form-tsn6bzsd.js} +11 -11
- package/dist/chunks/{command-tyytaxap.js → form-tyytaxap.js} +1 -1
- package/dist/chunks/{command-v0es1rhs.js → form-v0es1rhs.js} +2 -2
- package/dist/chunks/{command-cccett8t.js → form-v1bss4wk.js} +74 -74
- package/dist/chunks/{command-sf6256ff.js → form-v5ab8yn1.js} +1 -1
- package/dist/chunks/{command-zryp2me0.js → form-v5kdx147.js} +3 -3
- package/dist/chunks/{command-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
- package/dist/chunks/{command-hvtsap7v.js → form-va0k404r.js} +17 -17
- package/dist/chunks/{command-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{command-z4zmw5wd.js → form-vfsj0jkk.js} +35 -35
- package/dist/chunks/{command-9my8cp47.js → form-vgb5yh0c.js} +35 -35
- package/dist/chunks/{command-wggd68j5.js → form-vma9t5wb.js} +4 -4
- package/dist/chunks/{command-5t3310k6.js → form-vs44tbz6.js} +4 -4
- package/dist/chunks/{command-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-7ffperky.js → form-w32deh41.js} +24 -24
- package/dist/chunks/{command-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-886t639t.js → form-w5fskeg8.js} +11 -11
- package/dist/chunks/{command-vea3bt9n.js → form-waz12cep.js} +4 -4
- package/dist/chunks/{command-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{command-99tgmy8e.js → form-wereqxyc.js} +26 -26
- package/dist/chunks/{command-wh6zw745.js → form-wh6zw745.js} +2 -2
- package/dist/chunks/{command-apj6cajm.js → form-wjrwvqye.js} +12 -12
- package/dist/chunks/{command-s5phpar0.js → form-wmqffk39.js} +9 -9
- package/dist/chunks/{command-wkrrhx1g.js → form-wyafh0w1.js} +18 -18
- package/dist/chunks/{command-1e7j80nv.js → form-x4mcqtmr.js} +17 -17
- package/dist/chunks/{command-r0p853b9.js → form-x6r13a6v.js} +19 -19
- package/dist/chunks/{command-00832hy7.js → form-x8gz1y8e.js} +7 -7
- package/dist/chunks/{command-e53ktggx.js → form-x8p4rg84.js} +27 -27
- package/dist/chunks/{command-hzs77mdg.js → form-xcxmemts.js} +19 -19
- package/dist/chunks/{command-drwq78ky.js → form-xfkkasph.js} +4 -4
- package/dist/chunks/{command-bep02zpa.js → form-xhw8kcgn.js} +11 -11
- package/dist/chunks/{command-9xnzsa35.js → form-xk7wqgj3.js} +10 -10
- package/dist/chunks/{command-x8196b4w.js → form-xpxzt0pv.js} +147 -147
- package/dist/chunks/{command-6674vnd9.js → form-xt43jwrv.js} +30 -30
- package/dist/chunks/{command-q5e7cmwt.js → form-xybefm6f.js} +1 -1
- package/dist/chunks/{command-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-h71w788e.js → form-y56ehv6b.js} +9 -9
- package/dist/chunks/{command-zy43x3f1.js → form-y5rf7nzv.js} +4 -4
- package/dist/chunks/{command-125b2gjd.js → form-ya10tbyq.js} +22 -22
- package/dist/chunks/{command-8dmft94a.js → form-yb8yygge.js} +14 -14
- package/dist/chunks/{command-pv5w45yn.js → form-ybqrzh0b.js} +8 -8
- package/dist/chunks/{command-sf0yp864.js → form-yemq3d8b.js} +6 -6
- package/dist/chunks/{command-sd66kwnn.js → form-yh6ztjf0.js} +11 -11
- package/dist/chunks/{command-rmpnsk58.js → form-yjytrvhv.js} +21 -21
- package/dist/chunks/{command-zmekajch.js → form-yk3d35tb.js} +11 -11
- package/dist/chunks/{command-r6a4azr4.js → form-yrk8qwt0.js} +11 -11
- package/dist/chunks/{command-wjr9rjd7.js → form-ywt8jp22.js} +6 -6
- package/dist/chunks/{command-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-x4e9fr25.js → form-z2e4rrbn.js} +2 -2
- package/dist/chunks/{command-gcxv3h2c.js → form-zb363yrd.js} +10 -10
- package/dist/chunks/{command-n4r3xatb.js → form-zee1rnkq.js} +4 -4
- package/dist/chunks/{command-hrvrjbe0.js → form-zgrr8q45.js} +5 -5
- package/dist/chunks/{command-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-5mgptwxw.js → form-zrkdjkwg.js} +9 -9
- package/dist/chunks/{command-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-ztm4jwfz.js → form-zy2t3ddk.js} +4 -4
- package/dist/chunks/{command-hdkng2sj.js → form-zyk1yjk8.js} +5 -5
- 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 +79 -79
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- 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 +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 +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- 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 +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- 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 +93 -93
- package/dist/model-resolver.js +96 -96
- 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 +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +92 -92
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +154 -154
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- 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 +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +106 -106
- 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 +124 -124
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- 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 +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +114 -114
- 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/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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/command-4v7qdvcn.js +0 -18
- package/dist/chunks/command-gzksc6e4.js +0 -26
- /package/dist/chunks/{command-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5qd3pb7m.js → form-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-bw78ga2c.js → form-bw78ga2c.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{command-pyv0edze.js → form-pyv0edze.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-af6zfhme.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_form, {
|
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service79,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer26,
|
|
29
|
+
node: () => node82,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service79 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer26 = Layer.effect(Service79, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service84;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service79.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node82 = makeLocationNode({ service: Service79, layer: layer26, deps: [node88] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export { ID16, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2,
|
|
319
|
+
export { ID16, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer26, node82, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-1dtmr12w.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make9 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make9();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make9, VLLMPlugin2 };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-af6zfhme.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service78,
|
|
11
|
+
node81
|
|
12
|
+
} from "./form-5jq5wt6a.js";
|
|
13
13
|
import {
|
|
14
14
|
Service81,
|
|
15
15
|
node85
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-z2e4rrbn.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service55,
|
|
19
|
+
node58
|
|
20
|
+
} from "./form-tnd9dnxn.js";
|
|
21
21
|
import {
|
|
22
22
|
ID16,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service79,
|
|
24
|
+
node82
|
|
25
|
+
} from "./form-byjy60w7.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./form-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node80
|
|
35
|
+
} from "./form-cw3k6n42.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./form-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
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
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: () => Service37,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
56
|
layer: () => layer16,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node41
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -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 Service37 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 layer16 = (options) => Layer.effect(
|
|
114
|
+
var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
115
115
|
const location = yield* Service81;
|
|
116
|
-
const environment = yield*
|
|
116
|
+
const environment = yield* Service55;
|
|
117
117
|
const bus = yield* Service84;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service79;
|
|
119
|
+
const integration = yield* Service77;
|
|
120
|
+
const credentials = yield* Service78;
|
|
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 layer16 = (options) => Layer.effect(Service31, 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 = ID14.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer16 = (options) => Layer.effect(Service31, 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(Service78, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,7 +161,7 @@ var layer16 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
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(Service78, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
@@ -269,7 +269,7 @@ var layer16 = (options) => Layer.effect(Service31, 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(Service55, 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 layer16 = (options) => Layer.effect(Service31, 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(Event19.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 layer16 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service37.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:
|
|
535
|
+
service: Service37,
|
|
536
536
|
layer: layer16(options),
|
|
537
|
-
deps: [node85,
|
|
537
|
+
deps: [node85, node58, node88, node82, node80, node81]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node41 = 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, NotFoundError4, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service37, Options3, layer16, configured3, node41, exports_mcp4 };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service84,
|
|
4
4
|
node88
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./form-af6zfhme.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service12,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer8,
|
|
17
|
+
node: () => node14
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service12 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer8 = Layer.effect(Service12, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service84;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service12.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node14 = makeGlobalNode({ service: Service12, layer: layer8, deps: [node88] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service12, layer8, node14, exports_sdk };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-af6zfhme.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node81
|
|
10
|
+
} from "./form-5jq5wt6a.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-addxnjmp.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-byjy60w7.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event18,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID14,
|
|
41
|
+
Info: () => Info23,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service77,
|
|
49
|
+
node: () => node80
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
72
|
+
var ID14 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info23 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID14,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service78;
|
|
117
117
|
const bus = yield* Service84;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info23.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service77.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key4.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node80 = makeLocationNode({
|
|
633
|
+
service: Service77,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node81, node88, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node80, exports_integration, Event18 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info19,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info19 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info19, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-rhjbct0v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-c1fqxshp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service7,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service7.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node9 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service7, node9, exports_discovery };
|