@opencode/core 0.0.0-dev-20847 → 0.0.0-dev-20850
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{instruction-discovery-b6syrwy2.js → command-00832hy7.js} +8 -8
- package/dist/chunks/{instruction-discovery-sm4j4wt5.js → command-00v3p02c.js} +12 -12
- package/dist/chunks/{instruction-discovery-zp551mt7.js → command-03eecatj.js} +32 -32
- package/dist/chunks/{instruction-discovery-yeyrdzm0.js → command-0651g2m8.js} +26 -26
- package/dist/chunks/{instruction-discovery-ne89875c.js → command-0f74e6s6.js} +16 -16
- package/dist/chunks/{instruction-discovery-fqp3mcfq.js → command-0g7cgnx9.js} +1 -1
- package/dist/chunks/{instruction-discovery-8tzwp5sx.js → command-0r9t40ws.js} +16 -16
- package/dist/chunks/{instruction-discovery-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{instruction-discovery-5pbz2dd0.js → command-0yz1bb5z.js} +4 -4
- package/dist/chunks/{instruction-discovery-ggsp0fny.js → command-1078m2ze.js} +11 -11
- package/dist/chunks/{instruction-discovery-0qwsa8cf.js → command-125b2gjd.js} +16 -16
- package/dist/chunks/{instruction-discovery-ezzmrcry.js → command-141ztcwb.js} +30 -30
- package/dist/chunks/{instruction-discovery-ssgq4v3h.js → command-1ake5xtc.js} +19 -19
- package/dist/chunks/{instruction-discovery-99rzeaw0.js → command-1e7j80nv.js} +18 -18
- package/dist/chunks/{instruction-discovery-njm3x30h.js → command-1tc9ms7v.js} +90 -90
- package/dist/chunks/{instruction-discovery-q17sgkmf.js → command-1xfjfm5k.js} +18 -18
- package/dist/chunks/{instruction-discovery-18tb8vc6.js → command-266f832d.js} +22 -22
- package/dist/chunks/{instruction-discovery-1j9vsfxy.js → command-2ej7p5df.js} +17 -17
- package/dist/chunks/{instruction-discovery-xyc3y5xg.js → command-2vn9a9m5.js} +13 -13
- package/dist/chunks/{instruction-discovery-2vvh33eb.js → command-2vvh33eb.js} +2 -2
- package/dist/chunks/{instruction-discovery-qms70dv9.js → command-2w85jf91.js} +3 -3
- package/dist/chunks/{instruction-discovery-7yw2sx3r.js → command-2x98hj2d.js} +6 -6
- package/dist/chunks/{instruction-discovery-yztevfhp.js → command-2ztj38qe.js} +20 -20
- package/dist/chunks/{instruction-discovery-h7s7r6s9.js → command-31xfzrxg.js} +5 -5
- package/dist/chunks/{instruction-discovery-hw2yy5aw.js → command-3b7e2402.js} +11 -11
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-ksek9mqj.js → command-3ggbdzvf.js} +38 -38
- package/dist/chunks/{instruction-discovery-afz809yg.js → command-3grbmg3s.js} +17 -17
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-hay4m1s6.js → command-3t1dcsxj.js} +50 -50
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-nvakrpsp.js → command-3xr281qj.js} +12 -12
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-byr661vw.js → command-43b4ysp3.js} +13 -13
- package/dist/chunks/{instruction-discovery-arz7hw7x.js → command-48kw51zw.js} +3 -3
- package/dist/chunks/{instruction-discovery-vrzt526f.js → command-4ekscj25.js} +5 -5
- package/dist/chunks/{instruction-discovery-5fa8zajf.js → command-4h0vb0gq.js} +15 -15
- package/dist/chunks/{instruction-discovery-988cxgr8.js → command-4jw9kfxa.js} +10 -10
- package/dist/chunks/{instruction-discovery-4w7gm2tt.js → command-4n4sjte8.js} +20 -20
- package/dist/chunks/{instruction-discovery-e0pxcnmw.js → command-4s7sr0a4.js} +8 -8
- package/dist/chunks/{instruction-discovery-2ccvkpx1.js → command-4ts7tf6z.js} +2 -2
- package/dist/chunks/command-4v7qdvcn.js +18 -0
- package/dist/chunks/{instruction-discovery-ewk422xx.js → command-50waebaf.js} +14 -14
- package/dist/chunks/{instruction-discovery-h4y0jjzh.js → command-51p4tjed.js} +20 -20
- package/dist/chunks/{instruction-discovery-x7bx6zs0.js → command-524nwbbt.js} +10 -10
- package/dist/chunks/{instruction-discovery-janq1scx.js → command-54e5rmax.js} +4 -4
- package/dist/chunks/{instruction-discovery-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{instruction-discovery-xqt608y9.js → command-5faj6gpx.js} +30 -30
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-b9srm8rz.js → command-5mgptwxw.js} +11 -11
- package/dist/chunks/{instruction-discovery-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instruction-discovery-ts8qfj50.js → command-5t3310k6.js} +4 -4
- package/dist/chunks/{instruction-discovery-pwpq1fb6.js → command-5ytdfek8.js} +20 -20
- package/dist/chunks/{instruction-discovery-y1qj9qp6.js → command-6674vnd9.js} +28 -28
- package/dist/chunks/{instruction-discovery-97y7hxer.js → command-684z2rkg.js} +14 -12
- package/dist/chunks/{instruction-discovery-548fqp7q.js → command-6qrtx4s9.js} +8 -8
- package/dist/chunks/{instruction-discovery-tqenhx9q.js → command-6rv30qxe.js} +6 -6
- package/dist/chunks/{instruction-discovery-vezvtjyv.js → command-6v23mrsw.js} +11 -11
- package/dist/chunks/{instruction-discovery-myrhaa8e.js → command-6w6dyk7v.js} +9 -9
- package/dist/chunks/{instruction-discovery-6xb47vfp.js → command-6xb47vfp.js} +1 -1
- package/dist/chunks/{instruction-discovery-38mem431.js → command-70az54m3.js} +31 -31
- package/dist/chunks/{instruction-discovery-kppw7hr6.js → command-754hrxp0.js} +26 -26
- package/dist/chunks/{instruction-discovery-7nazv9sg.js → command-7ad1qpnj.js} +20 -20
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-2k8khapm.js → command-7dqw4kz8.js} +5 -5
- package/dist/chunks/{instruction-discovery-2san2fa0.js → command-7ffperky.js} +25 -25
- package/dist/chunks/{instruction-discovery-g678yp76.js → command-7fqkjd9x.js} +33 -33
- package/dist/chunks/{instruction-discovery-zkskjjqs.js → command-7qskwz89.js} +18 -18
- package/dist/chunks/{instruction-discovery-wby3r2te.js → command-7rce4ag1.js} +11 -11
- package/dist/chunks/{instruction-discovery-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{instruction-discovery-xk3qqngr.js → command-886t639t.js} +11 -11
- package/dist/chunks/{instruction-discovery-svysebdv.js → command-8akyxt9x.js} +180 -180
- package/dist/chunks/{instruction-discovery-vhjwdtv8.js → command-8c2fejh3.js} +45 -45
- package/dist/chunks/{instruction-discovery-d15wnv4q.js → command-8dmft94a.js} +16 -16
- package/dist/chunks/{instruction-discovery-zamq423t.js → command-8k7cnv0y.js} +1 -1
- package/dist/chunks/{instruction-discovery-8m6m0r52.js → command-8m6m0r52.js} +1 -1
- package/dist/chunks/{instruction-discovery-gjqhxvm8.js → command-8nehyppj.js} +18 -18
- package/dist/chunks/{instruction-discovery-91qna3x0.js → command-91qna3x0.js} +3 -3
- package/dist/chunks/{instruction-discovery-4r59zyn6.js → command-99tgmy8e.js} +36 -36
- package/dist/chunks/{instruction-discovery-terdh6tz.js → command-9a3p6fm2.js} +46 -46
- package/dist/chunks/{instruction-discovery-yc7106p4.js → command-9gz7rpcg.js} +20 -20
- package/dist/chunks/{instruction-discovery-9jcxats4.js → command-9my8cp47.js} +43 -43
- package/dist/chunks/{instruction-discovery-j9ysnh0t.js → command-9rcsrpay.js} +26 -26
- package/dist/chunks/{instruction-discovery-j6a2evck.js → command-9xnzsa35.js} +18 -18
- package/dist/chunks/{instruction-discovery-85z0h67f.js → command-9ygwj23r.js} +16 -16
- package/dist/chunks/{instruction-discovery-4a0nv7mx.js → command-a2qe2ev9.js} +8 -8
- package/dist/chunks/{instruction-discovery-ph842b28.js → command-a89e0tac.js} +4 -4
- package/dist/chunks/{instruction-discovery-wf98qgyv.js → command-apj6cajm.js} +15 -15
- package/dist/chunks/{instruction-discovery-xkfm5vcm.js → command-b1nzd013.js} +2 -2
- package/dist/chunks/{instruction-discovery-wpemy600.js → command-b3d0s7yq.js} +7 -7
- package/dist/chunks/{instruction-discovery-5r4v0xwy.js → command-b4fmh4gz.js} +11 -11
- package/dist/chunks/{instruction-discovery-c5w8pbd1.js → command-bep02zpa.js} +14 -14
- package/dist/chunks/{instruction-discovery-yh9g6p3v.js → command-bz4h3gj4.js} +40 -40
- package/dist/chunks/{instruction-discovery-7dpqhkm4.js → command-c10fq8yw.js} +73 -73
- package/dist/chunks/{instruction-discovery-0bs9zzzx.js → command-c1p4wns8.js} +11 -11
- package/dist/chunks/{instruction-discovery-048wpaqz.js → command-c41h4f8s.js} +3 -3
- package/dist/chunks/{instruction-discovery-c41wscbt.js → command-c41wscbt.js} +2 -2
- package/dist/chunks/{instruction-discovery-djszqvmq.js → command-c765mh8b.js} +9 -9
- package/dist/chunks/{instruction-discovery-c8ax2afj.js → command-c8ax2afj.js} +2 -2
- package/dist/chunks/{instruction-discovery-nbyj5sqq.js → command-cccett8t.js} +91 -91
- package/dist/chunks/{instruction-discovery-gcqzh3f4.js → command-d331akc0.js} +24 -24
- package/dist/chunks/{instruction-discovery-vz2yvhh5.js → command-d8npn8xg.js} +18 -18
- package/dist/chunks/{instruction-discovery-addxnjmp.js → command-db2wf4at.js} +4 -4
- package/dist/chunks/{instruction-discovery-9hy8acjf.js → command-ded7ed65.js} +13 -13
- package/dist/chunks/{instruction-discovery-1th27d95.js → command-dehk00jt.js} +18 -18
- package/dist/chunks/{instruction-discovery-57b9ws8p.js → command-drwq78ky.js} +5 -5
- package/dist/chunks/{instruction-discovery-d0ak8zy9.js → command-dtpvhdth.js} +7 -7
- package/dist/chunks/{instruction-discovery-x5wrmng7.js → command-dys7k0s0.js} +11 -11
- package/dist/chunks/{instruction-discovery-58ytqwj2.js → command-e3mqmg8e.js} +7 -7
- package/dist/chunks/{instruction-discovery-r2a2vjc6.js → command-e53ktggx.js} +45 -45
- package/dist/chunks/{instruction-discovery-qgezrw5d.js → command-e87zkmfq.js} +22 -22
- package/dist/chunks/{instruction-discovery-z5hqtv59.js → command-eaeq0sye.js} +7 -7
- package/dist/chunks/{instruction-discovery-rhjbct0v.js → command-eaj1djv9.js} +8 -8
- package/dist/chunks/{instruction-discovery-e80seqcp.js → command-ed1g29hy.js} +3 -3
- package/dist/chunks/{instruction-discovery-y8ptd9jv.js → command-ee1byx1z.js} +28 -28
- package/dist/chunks/{instruction-discovery-eej6y6fw.js → command-eej6y6fw.js} +2 -2
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-9w9w77gc.js → command-emhev80g.js} +28 -28
- package/dist/chunks/{instruction-discovery-bt2dtkh7.js → command-eq3njjjt.js} +29 -29
- package/dist/chunks/{instruction-discovery-p097c2sx.js → command-erj4chxm.js} +14 -14
- package/dist/chunks/{instruction-discovery-es1vcfrp.js → command-es1vcfrp.js} +3 -3
- package/dist/chunks/{instruction-discovery-5dkn69vz.js → command-f29mbr7f.js} +4 -4
- package/dist/chunks/{instruction-discovery-wp8sj255.js → command-f4ej5vtm.js} +24 -24
- package/dist/chunks/{instruction-discovery-qhm1kmbp.js → command-f5rky6pw.js} +30 -30
- package/dist/chunks/{instruction-discovery-3dytr8s2.js → command-f6zrmd8m.js} +20 -20
- package/dist/chunks/{instruction-discovery-xz5716ww.js → command-fcs8jd9f.js} +31 -31
- package/dist/chunks/{instruction-discovery-r70na3yp.js → command-g686f6pq.js} +9 -9
- package/dist/chunks/{instruction-discovery-7np5bmja.js → command-gbst0gvm.js} +44 -44
- package/dist/chunks/{instruction-discovery-nzbbc5k0.js → command-gcxv3h2c.js} +10 -10
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-z6c3x22d.js → command-gj71zhbs.js} +5 -5
- package/dist/chunks/{instruction-discovery-tppqj79j.js → command-gj7khvz3.js} +13 -13
- package/dist/chunks/{instruction-discovery-gk8qb678.js → command-gk8qb678.js} +1 -1
- package/dist/chunks/{instruction-discovery-350x23wf.js → command-gnqwsg0j.js} +9 -9
- package/dist/chunks/{instruction-discovery-71dzwqxr.js → command-gsnj80d9.js} +47 -98
- package/dist/chunks/{instruction-discovery-rtbh45rc.js → command-gvxf58ty.js} +13 -13
- package/dist/chunks/command-gzksc6e4.js +26 -0
- package/dist/chunks/{instruction-discovery-5hj7q0js.js → command-h3k0sdzw.js} +9 -9
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-b4s8ej7r.js → command-h71w788e.js} +9 -9
- package/dist/chunks/{instruction-discovery-ky9vbweg.js → command-hatca7p1.js} +25 -25
- package/dist/chunks/{instruction-discovery-scgrse2b.js → command-hdkng2sj.js} +5 -5
- package/dist/chunks/{instruction-discovery-h04zhhvt.js → command-hes1j7ga.js} +9 -9
- package/dist/chunks/{instruction-discovery-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
- package/dist/chunks/{instruction-discovery-rwbpmje9.js → command-hqb6mdaz.js} +26 -26
- package/dist/chunks/{instruction-discovery-ykmz0d95.js → command-hrvrjbe0.js} +5 -5
- package/dist/chunks/{instruction-discovery-y147vcw1.js → command-hvtsap7v.js} +17 -17
- package/dist/chunks/{instruction-discovery-2vr7dket.js → command-hy8hfmse.js} +5 -5
- package/dist/chunks/{instruction-discovery-k2xcv0kf.js → command-hyzzdb65.js} +12 -12
- package/dist/chunks/{instruction-discovery-1qs5jxd8.js → command-hzs77mdg.js} +16 -16
- package/dist/chunks/{instruction-discovery-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-vky023fh.js → command-ja2a058e.js} +4 -4
- package/dist/chunks/{instruction-discovery-2ryng5r3.js → command-jdz4qjxc.js} +4 -4
- package/dist/chunks/{instruction-discovery-c8ses4bc.js → command-jnyt3wvk.js} +13 -13
- package/dist/chunks/{instruction-discovery-dzdcg5g9.js → command-k085ax4w.js} +11 -11
- package/dist/chunks/{instruction-discovery-r75v65gt.js → command-k3cg02ta.js} +5 -5
- package/dist/chunks/{instruction-discovery-r8kkzarz.js → command-ke0v1s51.js} +41 -41
- package/dist/chunks/{instruction-discovery-khmqacep.js → command-khmqacep.js} +1 -1
- package/dist/chunks/{instruction-discovery-mnv9vkrs.js → command-kwbgkw7p.js} +3 -3
- package/dist/chunks/{instruction-discovery-dtqg9ce1.js → command-kzdcqyn1.js} +5 -5
- package/dist/chunks/{instruction-discovery-jgbvdr9r.js → command-m1q8be4e.js} +4 -4
- package/dist/chunks/{instruction-discovery-j47qf441.js → command-m7jak9xg.js} +20 -20
- package/dist/chunks/{instruction-discovery-zest4r3s.js → command-m9r522wj.js} +23 -23
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-sp61bypy.js → command-mm236w6k.js} +17 -17
- package/dist/chunks/{instruction-discovery-ereph1h9.js → command-mq9nb5yf.js} +17 -17
- package/dist/chunks/{instruction-discovery-b6qa6035.js → command-mxv0ahxn.js} +31 -31
- package/dist/chunks/{instruction-discovery-dhhqcq64.js → command-mzydhjeg.js} +11 -11
- package/dist/chunks/{instruction-discovery-8gxqpgph.js → command-n4r3xatb.js} +4 -4
- package/dist/chunks/{instruction-discovery-0n8a0ffz.js → command-n7syarbg.js} +6 -6
- package/dist/chunks/{instruction-discovery-h4ps1sgr.js → command-n8cj0r05.js} +3 -3
- package/dist/chunks/{instruction-discovery-ketq9gmb.js → command-n94jt7k6.js} +11 -11
- package/dist/chunks/{instruction-discovery-na4dcjrg.js → command-ngkkqbqm.js} +26 -26
- package/dist/chunks/{instruction-discovery-ge2q9s3y.js → command-njrwvgpc.js} +11 -11
- package/dist/chunks/{instruction-discovery-adejxgct.js → command-npvtjmwq.js} +15 -15
- package/dist/chunks/{instruction-discovery-eefd4g5w.js → command-nr7p0et9.js} +5 -5
- package/dist/chunks/{instruction-discovery-n3aya5hh.js → command-nrxc3w5k.js} +32 -32
- package/dist/chunks/{instruction-discovery-h11z96pq.js → command-nt0mjwaw.js} +11 -11
- package/dist/chunks/{instruction-discovery-qyjj4w9t.js → command-nz5tb3mz.js} +13 -13
- package/dist/chunks/{instruction-discovery-vt28d6rb.js → command-p267qznr.js} +32 -32
- package/dist/chunks/{instruction-discovery-cmwkp3r5.js → command-p42hj8p8.js} +8 -8
- package/dist/chunks/{instruction-discovery-ch67yd34.js → command-p51cfpkz.js} +11 -11
- package/dist/chunks/{instruction-discovery-sddgd5f8.js → command-p6dnv1qh.js} +20 -20
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-4swz1dz7.js → command-pv5w45yn.js} +11 -11
- package/dist/chunks/{instruction-discovery-wnk72qpq.js → command-pz0ytm9k.js} +5 -5
- package/dist/chunks/{instruction-discovery-0j77ygfz.js → command-q0xm7vwc.js} +6 -6
- package/dist/chunks/{instruction-discovery-jhdf29st.js → command-q5e7cmwt.js} +1 -1
- package/dist/chunks/{instruction-discovery-q78nszrx.js → command-qkb6y1tc.js} +30 -30
- package/dist/chunks/{instruction-discovery-26n2nh92.js → command-qmwxrq4q.js} +3 -3
- package/dist/chunks/{instruction-discovery-qnc92qwc.js → command-qnc92qwc.js} +1 -1
- package/dist/chunks/{instruction-discovery-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-8evda89h.js → command-r0p853b9.js} +29 -29
- package/dist/chunks/command-r5tpv63y.js +513 -0
- package/dist/chunks/{instruction-discovery-2ewrd21j.js → command-r6a4azr4.js} +11 -11
- package/dist/chunks/{instruction-discovery-yp2x3t23.js → command-r8xr0va3.js} +4 -4
- package/dist/chunks/{instruction-discovery-88qvqy1e.js → command-r9vebypt.js} +17 -17
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-v8pa3zp8.js → command-reevcg95.js} +18 -18
- package/dist/chunks/{instruction-discovery-69enf89f.js → command-rg90hx5t.js} +24 -24
- package/dist/chunks/{instruction-discovery-z4dcjezs.js → command-rhv7vgb3.js} +11 -11
- package/dist/chunks/{instruction-discovery-1p07q0wb.js → command-rkprpv83.js} +4 -4
- package/dist/chunks/{instruction-discovery-gq58s3m0.js → command-rmpnsk58.js} +25 -25
- package/dist/chunks/{instruction-discovery-nqxj0yn4.js → command-rqa1jxse.js} +2 -2
- package/dist/chunks/{instruction-discovery-fng9jkm1.js → command-rvea9875.js} +9 -9
- package/dist/chunks/{instruction-discovery-qa3qhgw8.js → command-ryr25ayn.js} +4 -4
- package/dist/chunks/{instruction-discovery-tym1zfxs.js → command-s5phpar0.js} +9 -9
- package/dist/chunks/{instruction-discovery-204e7tx6.js → command-s98w7xaq.js} +13 -13
- package/dist/chunks/{instruction-discovery-2jtaszgg.js → command-sd66kwnn.js} +8 -8
- package/dist/chunks/{instruction-discovery-xzdfrpe2.js → command-sefmw985.js} +26 -26
- package/dist/chunks/{instruction-discovery-wvej1134.js → command-sf0yp864.js} +6 -6
- package/dist/chunks/{instruction-discovery-7vsab7jg.js → command-sf6256ff.js} +4 -4
- package/dist/chunks/{instruction-discovery-yng1p9nw.js → command-sg56rmc9.js} +9 -9
- package/dist/chunks/{instruction-discovery-5qec7rge.js → command-sgfee8yb.js} +5 -5
- package/dist/chunks/{instruction-discovery-mf2nfva2.js → command-snnejgvy.js} +17 -17
- package/dist/chunks/{instruction-discovery-xacpwdh9.js → command-svcw9x3w.js} +8 -8
- package/dist/chunks/{instruction-discovery-vw6bdczd.js → command-sx7mvmwx.js} +5 -5
- package/dist/chunks/{instruction-discovery-syv4x271.js → command-syv4x271.js} +1 -1
- package/dist/chunks/{instruction-discovery-j4c2xja6.js → command-t4g07myj.js} +13 -13
- package/dist/chunks/{instruction-discovery-2hqksm5k.js → command-t5mnyv20.js} +3 -3
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-2j1vbg91.js → command-tdcm2knz.js} +31 -31
- package/dist/chunks/{instruction-discovery-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-tkb22qbm.js → command-tkb22qbm.js} +2 -2
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → command-tm0kqsz3.js} +26 -2
- package/dist/chunks/{instruction-discovery-mkkx2xvk.js → command-trs4csaq.js} +29 -29
- package/dist/chunks/{instruction-discovery-2c7hjkzv.js → command-ts860kc8.js} +17 -17
- package/dist/chunks/{instruction-discovery-tyytaxap.js → command-tyytaxap.js} +1 -1
- package/dist/chunks/{instruction-discovery-v0es1rhs.js → command-v0es1rhs.js} +2 -2
- package/dist/chunks/{instruction-discovery-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
- package/dist/chunks/{instruction-discovery-s9bfrye6.js → command-vdwvtvgk.js} +56 -56
- package/dist/chunks/{instruction-discovery-0cz3jc0p.js → command-vea3bt9n.js} +8 -8
- package/dist/chunks/{instruction-discovery-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-5a9zf81m.js → command-vy8bzexn.js} +22 -22
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-1j6m29mr.js → command-waskdk5r.js} +9 -9
- package/dist/chunks/{instruction-discovery-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-g0z1em0w.js → command-wggd68j5.js} +4 -4
- package/dist/chunks/{instruction-discovery-aahhmcvt.js → command-wh1armcy.js} +32 -32
- package/dist/chunks/{instruction-discovery-4xpgt2w9.js → command-wh6zw745.js} +5 -5
- package/dist/chunks/{instruction-discovery-bjx1sjef.js → command-wjr9rjd7.js} +6 -6
- package/dist/chunks/{instruction-discovery-mbkrq27a.js → command-wkrrhx1g.js} +18 -18
- package/dist/chunks/{instruction-discovery-81gd8ewx.js → command-wtkbvwtp.js} +25 -25
- package/dist/chunks/{instruction-discovery-tvmrjeqd.js → command-wymw8b6n.js} +12 -12
- package/dist/chunks/{instruction-discovery-ksqr7yfe.js → command-x4e9fr25.js} +7 -7
- package/dist/chunks/{instruction-discovery-n3jw88fx.js → command-x7m2pq7s.js} +9 -9
- package/dist/chunks/{instruction-discovery-1sc6p60b.js → command-x7q2mydz.js} +6 -6
- package/dist/chunks/command-x8196b4w.js +253 -0
- package/dist/chunks/{instruction-discovery-fz79ktw5.js → command-xmmcf9bt.js} +5 -5
- package/dist/chunks/{instruction-discovery-d9kdwp41.js → command-xpgsdcx2.js} +8 -8
- package/dist/chunks/{instruction-discovery-d3sk2mbt.js → command-xxc15cb4.js} +17 -17
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-jwcy2c2z.js → command-y71avatq.js} +4 -4
- package/dist/chunks/{instruction-discovery-d5fxhgcy.js → command-y7ppa9zv.js} +11 -11
- package/dist/chunks/{instruction-discovery-wr0v3f2s.js → command-y9y6emgs.js} +36 -36
- package/dist/chunks/{instruction-discovery-pw6jj9n3.js → command-yabdq57b.js} +15 -15
- package/dist/chunks/{instruction-discovery-xcd0eash.js → command-ycjb11n5.js} +6 -6
- package/dist/chunks/{instruction-discovery-jpen4qdf.js → command-yk0w1sxf.js} +5 -5
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-rb0m5pb6.js → command-z463bfa6.js} +22 -22
- package/dist/chunks/{instruction-discovery-zmbx7t07.js → command-z4zmw5wd.js} +47 -47
- package/dist/chunks/{instruction-discovery-dx2h6xhc.js → command-z65krm0a.js} +18 -18
- package/dist/chunks/{instruction-discovery-171zjyze.js → command-zc7432er.js} +31 -31
- package/dist/chunks/{instruction-discovery-pznx5chc.js → command-zkgp92a0.js} +19 -19
- package/dist/chunks/{instruction-discovery-w96a8yrh.js → command-zmekajch.js} +19 -19
- package/dist/chunks/{instruction-discovery-wt4s349c.js → command-zq51jzx2.js} +22 -22
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-z2qawcf3.js → command-zryp2me0.js} +23 -23
- package/dist/chunks/{instruction-discovery-2jb6nwe1.js → command-ztm4jwfz.js} +4 -4
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-j34bs4nz.js → command-zy43x3f1.js} +4 -4
- package/dist/chunks/{instruction-discovery-wwyp4jt6.js → command-zyfyd078.js} +8 -8
- package/dist/chunks/{instruction-discovery-jvx148y3.js → command-zynkq0bw.js} +11 -11
- package/dist/chunks/{instruction-discovery-prhrtzb1.js → command-zzqs5kr4.js} +55 -55
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- 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 +120 -120
- package/dist/config/plugin/command.js +209 -209
- 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 +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- 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 +118 -118
- 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 +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +74 -74
- 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 +368 -368
- 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 +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +85 -85
- 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 +75 -75
- package/dist/location-activity.js +134 -134
- 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 +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- 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 +117 -117
- 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 +78 -78
- package/dist/plugin/command.js +104 -104
- 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 -119
- 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 +127 -127
- 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 +348 -348
- 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 +5 -5
- 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 +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +103 -103
- 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 +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +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 +100 -100
- 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 +207 -207
- 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 +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- 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 +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/plugin/provider/azure.d.ts +2 -3
- package/dist/types/v1/config/migrate.d.ts +9 -3
- package/dist/types/v1/config/provider-options.d.ts +8 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +3 -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 +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-34hyh64q.js +0 -253
- package/dist/chunks/instruction-discovery-6xgwma86.js +0 -26
- package/dist/chunks/instruction-discovery-jqh9b0xq.js +0 -18
- package/dist/chunks/instruction-discovery-p1z95xa2.js +0 -513
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bw78ga2c.js → command-bw78ga2c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pyv0edze.js → command-pyv0edze.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node88
|
|
4
|
+
} from "./command-b4fmh4gz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node85
|
|
8
|
+
} from "./command-x4e9fr25.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service53,
|
|
11
|
+
node57
|
|
12
|
+
} from "./command-zq51jzx2.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service52,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node56
|
|
20
|
+
} from "./command-hzs77mdg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service79,
|
|
23
|
+
node83
|
|
24
|
+
} from "./command-a2qe2ev9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service50,
|
|
27
|
+
node54
|
|
28
|
+
} from "./command-00832hy7.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-48kw51zw.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service54,
|
|
35
|
+
node58
|
|
36
|
+
} from "./command-bz4h3gj4.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./command-6v23mrsw.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./command-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError7,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service49,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node53
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service49 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service49, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service84;
|
|
92
92
|
const location = yield* Service81;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service52;
|
|
95
|
+
const environment = yield* Service53;
|
|
96
|
+
const hooks = yield* Service79;
|
|
97
|
+
const environments = yield* Service50;
|
|
98
|
+
const config = yield* Service54;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError7({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError7({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service49.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node53 = makeLocationNode({
|
|
329
|
+
service: Service49,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
|
-
|
|
333
|
-
|
|
332
|
+
node88,
|
|
333
|
+
node85,
|
|
334
334
|
Global.node,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
335
|
+
node56,
|
|
336
|
+
node57,
|
|
337
|
+
node83,
|
|
338
|
+
node54,
|
|
339
|
+
node58,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, Service49, cleanup2, node53, exports_shell4 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node88
|
|
4
|
+
} from "./command-b4fmh4gz.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-vdwvtvgk.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
21
|
ID: () => ID6,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info8,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service46,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available3,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node50,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event9 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
42
|
+
var Info8 = Skill.Info;
|
|
43
43
|
var ID6 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service46 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service84;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service46.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node50 = makeLocationNode({
|
|
112
|
+
service: Service46,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node88]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID6, Name2, available3, toModelOutput3, prepare3, Service46, node50, exports_skill5, Event9 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node88
|
|
4
|
+
} from "./command-b4fmh4gz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service70,
|
|
9
|
+
node74
|
|
10
|
+
} from "./command-wh1armcy.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-db2wf4at.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-zyfyd078.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event15,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID10,
|
|
41
|
+
Info: () => Info19,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service69,
|
|
49
|
+
node: () => node73
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event15 } from "@opencode/schema/integration";
|
|
72
|
+
var ID10 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info19 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID10,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service69 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service70;
|
|
117
117
|
const bus = yield* Service84;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info19.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service69.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node73 = makeLocationNode({
|
|
633
|
+
service: Service69,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node74, node88, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info19, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service69, node73, exports_integration, Event15 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node87
|
|
6
|
+
} from "./command-svcw9x3w.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
node85
|
|
10
|
+
} from "./command-x4e9fr25.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make15
|
|
16
|
+
} from "./command-6rv30qxe.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service41,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node44
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service41 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
36
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
37
37
|
const location = yield* Service81;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make15;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service41.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node44 = makeLocationNode({
|
|
61
|
+
service: Service41,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node85, Global.node, node87, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service41, node44, exports_strategies };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service63,
|
|
3
|
+
node67
|
|
4
|
+
} from "./command-8dmft94a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service21,
|
|
7
|
+
node24
|
|
8
|
+
} from "./command-cccett8t.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-6xb47vfp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service10,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node12
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service10 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service21;
|
|
30
|
+
const jobs = yield* Service63;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service10.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node12 = Node.makeGlobalNode({
|
|
68
|
+
service: Service10,
|
|
69
|
+
layer: Layer.effect(Service10, make),
|
|
70
|
+
deps: [node24, node67]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service10, node12, exports_subagent_job };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-v7p4zvkq.js";
|
|
16
16
|
import {
|
|
17
17
|
Service81,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
node85
|
|
19
|
+
} from "./command-x4e9fr25.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service57,
|
|
22
|
+
node61
|
|
23
|
+
} from "./command-r0p853b9.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service53,
|
|
33
|
+
node: () => node57
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service53,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node57,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service53 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service81;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service57;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service53.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node57 = makeLocationNode({
|
|
71
|
+
service: Service53,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node85, node61]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service53, node57, exports_environment2, makeFiles2, exports_environment3 };
|