@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-af6zfhme.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service78,
|
|
8
|
+
node81
|
|
9
|
+
} from "./form-5jq5wt6a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service53,
|
|
12
|
+
node56
|
|
13
|
+
} from "./form-pb3at1xs.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service81,
|
|
19
19
|
node85
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-z2e4rrbn.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./form-taktjfvt.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./form-3n03h225.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./form-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service54,
|
|
36
|
+
Event13,
|
|
37
|
+
node57
|
|
38
|
+
} from "./form-1va1wqh8.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./form-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
47
|
Options: () => Options7,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service52,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
52
|
layer: () => layer21,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node55,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,7 +71,7 @@ var Options7 = Schema.Struct({
|
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service52 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service52, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var layer21 = (options) => Layer.effect(
|
|
94
|
+
var layer21 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service81;
|
|
97
|
-
const watcher = yield*
|
|
97
|
+
const watcher = yield* Service53;
|
|
98
98
|
const bus = yield* Service84;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service78;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service54;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore" };
|
|
@@ -217,8 +217,8 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
217
217
|
}, (effect) => reloadLock.withPermit(effect));
|
|
218
218
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
219
219
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
-
yield* bus.subscribe(
|
|
221
|
-
yield* bus.subscribe(
|
|
220
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
221
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
222
222
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
223
223
|
if (!wellknown.snapshot().length)
|
|
224
224
|
return Effect.void;
|
|
@@ -246,7 +246,7 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
246
246
|
`);
|
|
247
247
|
yield* requestReload;
|
|
248
248
|
}, (effect) => updateLock.withPermit(effect));
|
|
249
|
-
return
|
|
249
|
+
return Service52.of({
|
|
250
250
|
entries: Effect.fnUntraced(function* () {
|
|
251
251
|
return configs;
|
|
252
252
|
}),
|
|
@@ -258,13 +258,13 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
258
258
|
update
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
function
|
|
261
|
+
function configured7(options) {
|
|
262
262
|
return makeLocationNode({
|
|
263
|
-
service:
|
|
263
|
+
service: Service52,
|
|
264
264
|
layer: layer21(options),
|
|
265
|
-
deps: [
|
|
265
|
+
deps: [node56, node88, FSUtil.node, Global.node, node85, node81, node57]
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
|
-
var
|
|
268
|
+
var node55 = configured7();
|
|
269
269
|
|
|
270
|
-
export { latest2, Options7,
|
|
270
|
+
export { latest2, Options7, Service52, Test2, testLayer2, layer21, configured7, node55, exports_config };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./form-yjytrvhv.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info10
|
|
9
|
+
} from "./form-bfegkxfd.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-82n0fy7d.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./form-5njrdk08.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-8m6m0r52.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./form-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin23
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info10);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin23 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service52;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin11 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID12.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID12.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin23, exports_agent };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin36
|
|
3
|
+
} from "./form-h0vknvkg.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin38
|
|
6
|
+
} from "./form-sp67p2pt.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin35
|
|
9
|
+
} from "./form-0c2d7m56.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin37
|
|
12
|
+
} from "./form-7d1jjv33.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin34
|
|
15
|
+
} from "./form-1jq22t41.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin36,
|
|
20
|
+
Plugin38,
|
|
21
|
+
Plugin35,
|
|
22
|
+
Plugin37,
|
|
23
|
+
Plugin34
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-smk4c7dc.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-af6zfhme.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service66,
|
|
11
|
+
node69
|
|
12
|
+
} from "./form-yb8yygge.js";
|
|
13
13
|
import {
|
|
14
14
|
Service61,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node64
|
|
16
|
+
} from "./form-321x2wtd.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make17
|
|
22
|
+
} from "./form-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service60
|
|
26
|
+
} from "./form-zee1rnkq.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service73,
|
|
29
|
+
node76
|
|
30
|
+
} from "./form-bk4r6et7.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./form-zgrr8q45.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./form-kfdd03hd.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./form-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service59,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
46
|
layer: () => layer23,
|
|
47
47
|
node: () => node63,
|
|
@@ -50,7 +50,7 @@ __export(exports_execution, {
|
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service59 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var layer23 = Layer.effect(
|
|
63
|
-
const store = yield*
|
|
62
|
+
var layer23 = Layer.effect(Service59, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service73;
|
|
64
64
|
const instances = yield* Service61;
|
|
65
65
|
const bus = yield* Service84;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service66;
|
|
67
67
|
const db = (yield* Service85).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer23 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service60.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make17({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer23 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service59.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -124,11 +124,11 @@ var layer23 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
126
|
var node63 = makeGlobalNode({
|
|
127
|
-
service:
|
|
127
|
+
service: Service59,
|
|
128
128
|
layer: layer23,
|
|
129
|
-
deps: [
|
|
129
|
+
deps: [node76, node64, node88, node89, node69]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service59, Service59.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service58, Service58.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service59, terminal2, layer23, node63, noopLayer3, exports_execution };
|
|
@@ -2,42 +2,42 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./form-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service81,
|
|
8
8
|
node85
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-z2e4rrbn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service20,
|
|
12
|
+
node22
|
|
13
|
+
} from "./form-gjkgbs04.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event3,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () =>
|
|
32
|
+
ListInput: () => ListInput2,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError3,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service19,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node21
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
75
75
|
return `Access denied to directory: ${this.directory}`;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var Content2 = Schema.Struct({
|
|
79
79
|
uri: Schema.String,
|
|
80
80
|
name: Schema.String.pipe(Schema.optional),
|
|
81
81
|
content: Schema.String,
|
|
82
82
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
83
83
|
mime: Schema.String
|
|
84
84
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
85
|
-
var
|
|
85
|
+
var ListInput2 = Schema.Struct({
|
|
86
86
|
path: Schema.String.pipe(Schema.optional)
|
|
87
87
|
});
|
|
88
88
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event3 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service19 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
114
|
const location = yield* Service81;
|
|
115
|
-
const search = yield*
|
|
115
|
+
const search = yield* Service20;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError3({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError3({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError3({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service19.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError3({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
147
147
|
}),
|
|
148
148
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
149
149
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
150
|
-
const missing = new
|
|
150
|
+
const missing = new NotFoundError3({ path: RelativePath2.make(input.path ?? ".") });
|
|
151
151
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
152
152
|
if (info.type !== "Directory")
|
|
153
153
|
return yield* missing;
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node21 = makeLocationNode({
|
|
175
|
+
service: Service19,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node, node85,
|
|
177
|
+
deps: [FSUtil.node, node85, node22]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service19, node21, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-sm0ksd3h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./form-17xaq5pa.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service17
|
|
9
|
+
} from "./form-7pk2fpkr.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-0vbcp93d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info4,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-myqp0ysx.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./form-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin10,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin10 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service17;
|
|
104
|
+
const permission = yield* Service72;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin46 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info4,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin10, exports_opencode };
|