@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
|
@@ -2,42 +2,42 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service81,
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
node85
|
|
9
|
+
} from "./command-x4e9fr25.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service43,
|
|
12
|
+
node46
|
|
13
|
+
} from "./command-9rcsrpay.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
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: () => Event7,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () =>
|
|
32
|
+
ListInput: () => ListInput3,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError5,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service42,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node45
|
|
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 NotFoundError5 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 Content3 = 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 ListInput3 = 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 Event7 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service42 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
114
|
const location = yield* Service81;
|
|
115
|
-
const search = yield*
|
|
115
|
+
const search = yield* Service43;
|
|
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(Service15, 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 NotFoundError5({ 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 NotFoundError5({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ 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 NotFoundError5({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service42.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 NotFoundError5({ 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 NotFoundError5({ 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(Service15, 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 NotFoundError5({ 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(Service15, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node45 = makeLocationNode({
|
|
175
|
+
service: Service42,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
177
|
+
deps: [FSUtil.node, node85, node46]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service42, node45, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-70az54m3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service65,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node69
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID9,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service65 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service65, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service65.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node69 = makeLocationNode({ service: Service65, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service65, locationLayer2, node69, exports_aisdk };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./command-f4ej5vtm.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-z5v4ffb3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service71
|
|
13
|
+
} from "./command-sefmw985.js";
|
|
14
14
|
import {
|
|
15
15
|
Service81
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-x4e9fr25.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin2
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { sameDirectory } from "@opencode/util/path";
|
|
31
31
|
import { dirname, join } from "path";
|
|
32
32
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin2 = define({
|
|
34
34
|
id: "opencode.config.instruction",
|
|
35
35
|
effect: Effect.fn(function* () {
|
|
36
|
-
const discovery = yield*
|
|
36
|
+
const discovery = yield* Service71;
|
|
37
37
|
if (!discovery.project && !discovery.global)
|
|
38
38
|
return;
|
|
39
39
|
yield* Effect.gen(function* () {
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const location = yield* Service81;
|
|
43
|
-
const watcher = yield*
|
|
43
|
+
const watcher = yield* Service55;
|
|
44
44
|
const changes = yield* PubSub.sliding(1);
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
|
|
|
115
115
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { Plugin2, exports_instruction };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./command-zq51jzx2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service17,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-2vn9a9m5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service16
|
|
11
|
+
} from "./command-t4g07myj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service75
|
|
14
|
+
} from "./command-vdwvtvgk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./command-9ygwj23r.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input7,
|
|
29
|
+
Output: () => Output6,
|
|
30
|
+
Plugin: () => Plugin42,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name7,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name7 = "write";
|
|
39
|
+
var Input7 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output6 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin42 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service14;
|
|
56
|
+
const fileMutation = yield* Service17;
|
|
57
|
+
const environment = yield* Service53;
|
|
58
|
+
const formatter = yield* Service16;
|
|
59
|
+
const permission = yield* Service75;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name7,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input7,
|
|
69
|
+
output: Output6,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name7, Input7, Output6, toModelContent4, Plugin42, exports_write };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service9,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node11
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service9 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node11 = makeLocationNode({
|
|
19
|
+
service: Service9,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service9, Service9.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service9, node11, bound2, exports_instance2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service36
|
|
7
|
+
} from "./command-emhev80g.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-48kw51zw.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-h3k0sdzw.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-es1vcfrp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service36;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./command-f4ej5vtm.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-x4e9fr25.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./command-bz4h3gj4.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-z65krm0a.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service13
|
|
20
|
+
} from "./command-g686f6pq.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-m1q8be4e.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill = {};
|
|
30
|
+
__export(exports_skill, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
+
Plugin: () => Plugin12
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin12 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service54;
|
|
43
|
+
const discovery = yield* Service13;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service81;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service55;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin25 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin12, exports_skill };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-48kw51zw.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-h3k0sdzw.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-es1vcfrp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-jdz4qjxc.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-f29mbr7f.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load5,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|