@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z2e4rrbn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./form-5njrdk08.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service18
|
|
9
|
+
} from "./form-4eb95kkt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make4
|
|
12
|
+
} from "./form-sxcaecc0.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin32
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,11 +29,11 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin32 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service52;
|
|
36
|
+
const formatter = yield* Service18;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const location = yield* Service81;
|
|
@@ -44,7 +44,7 @@ var Plugin14 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make4({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin32, exports_formatter };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-58072hz9.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service75
|
|
4
|
+
} from "./form-yjytrvhv.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-z2e4rrbn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service52
|
|
10
|
+
} from "./form-5njrdk08.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service58,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-xcxmemts.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service27
|
|
17
|
+
} from "./form-v1bss4wk.js";
|
|
18
18
|
import {
|
|
19
19
|
Service10
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-yk3d35tb.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-8m6m0r52.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./form-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin31
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin31 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service52;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,9 +56,9 @@ var Plugin17 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service81;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
59
|
+
const shell = yield* Service58;
|
|
60
|
+
const sessions = yield* Service27;
|
|
61
|
+
const agents = yield* Service75;
|
|
62
62
|
const subagents = yield* Service10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
@@ -80,7 +80,7 @@ var Plugin17 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID12.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin31, exports_command };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-z2e4rrbn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service21,
|
|
10
|
+
node23
|
|
11
|
+
} from "./form-wyafh0w1.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service20,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer10,
|
|
29
|
+
node: () => node22,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service20 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service20, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service81;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service21;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service20.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service20, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service81;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service20.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service20.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service81;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer17 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service20, layer: layer10(options), deps: [node85, node23] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node22 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service20, ripgrepLayer2, fffLayer2, layer10, configured2, node22, exports_search };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-tsn6bzsd.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-af6zfhme.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service78
|
|
11
|
+
} from "./form-5jq5wt6a.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-cw3k6n42.js";
|
|
16
16
|
import {
|
|
17
17
|
ID9,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-9hry9nma.js";
|
|
20
20
|
import {
|
|
21
21
|
ID8,
|
|
22
22
|
VariantID2,
|
|
23
23
|
Info17
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-21r0j0k4.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./form-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./form-54ma36ye.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/chatgpt.ts
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -41,7 +41,7 @@ var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
|
41
41
|
var resource = "https://api.openai.com/v1";
|
|
42
42
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
43
43
|
var providerID = ID9.openai;
|
|
44
|
-
var integrationID =
|
|
44
|
+
var integrationID = ID14.make("openai");
|
|
45
45
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
46
46
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
47
47
|
var fallbackModels = new Set([
|
|
@@ -177,7 +177,7 @@ var ChatGPTPlugin2 = define({
|
|
|
177
177
|
id: "opencode.provider.chatgpt",
|
|
178
178
|
effect: Effect.fn(function* (ctx) {
|
|
179
179
|
const bus = yield* Service84;
|
|
180
|
-
const credentials = yield*
|
|
180
|
+
const credentials = yield* Service78;
|
|
181
181
|
const loading = Semaphore.makeUnsafe(1);
|
|
182
182
|
let chatgpt;
|
|
183
183
|
let source;
|
|
@@ -192,7 +192,7 @@ var ChatGPTPlugin2 = define({
|
|
|
192
192
|
yield* ctx.integration.transform((editor) => {
|
|
193
193
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
194
194
|
});
|
|
195
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
195
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
196
196
|
const value = entry.value;
|
|
197
197
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
198
198
|
return Effect.void;
|
|
@@ -263,7 +263,7 @@ var ChatGPTPlugin2 = define({
|
|
|
263
263
|
}
|
|
264
264
|
});
|
|
265
265
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
266
|
-
yield* bus.subscribe(
|
|
266
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
267
267
|
})
|
|
268
268
|
});
|
|
269
269
|
function headers(app) {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-z2e4rrbn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service52
|
|
9
|
+
} from "./form-5njrdk08.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service24
|
|
12
|
+
} from "./form-2g5cprqg.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin21
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin21 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service52;
|
|
34
34
|
const location = yield* Service81;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service24;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin13 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin21, exports_worktree };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-ywt8jp22.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin36,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin36 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin24 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin36, exports_exa };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-af6zfhme.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-sm0ksd3h.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-z2e4rrbn.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-7fj5dwt0.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service53,
|
|
18
|
+
node56
|
|
19
|
+
} from "./form-pb3at1xs.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node24
|
|
22
|
+
} from "./form-av3m5zjn.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service11,
|
|
25
|
+
node13
|
|
26
|
+
} from "./form-2sejkfem.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./form-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node4
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service81;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service53;
|
|
48
48
|
const bus = yield* Service84;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service83;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service11;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node4 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node56, FSUtil.node, node85, node87, node88, node24, node13]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node4, exports_location_watcher };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./form-cw3k6n42.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service77;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|