@opencode-ai/core 0.0.0-dev-19227 → 0.0.0-dev-19229
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{repository-a1a70af0.js → pty-008qgtj7.js} +6 -6
- package/dist/chunks/{repository-zk55j7wg.js → pty-04ws37x2.js} +4 -4
- package/dist/chunks/{repository-gst7axd9.js → pty-06x8he3q.js} +4 -4
- package/dist/chunks/{repository-ahzps5cf.js → pty-0bdpkccw.js} +27 -27
- package/dist/chunks/{repository-0e0xafbb.js → pty-0e0xafbb.js} +2 -2
- package/dist/chunks/{repository-r33ff4dw.js → pty-0gaj4617.js} +4 -4
- package/dist/chunks/{repository-s9xw578h.js → pty-0mvbe19h.js} +26 -26
- package/dist/chunks/{repository-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-0s9ayhjt.js → pty-0s9ayhjt.js} +1 -1
- package/dist/chunks/{repository-8njxrwph.js → pty-0tx0adwb.js} +37 -37
- package/dist/chunks/{repository-bktgpvfr.js → pty-0v90h9aj.js} +3 -3
- package/dist/chunks/{repository-5v0sb5a7.js → pty-0ywnm299.js} +7 -7
- package/dist/chunks/{repository-zx162x07.js → pty-11j2pf0e.js} +19 -19
- package/dist/chunks/{repository-1ct4r87x.js → pty-1ct4r87x.js} +1 -1
- package/dist/chunks/{repository-cmt3my0x.js → pty-1hvsz6d3.js} +30 -30
- package/dist/chunks/pty-1pds8yh5.js +22 -0
- package/dist/chunks/{repository-j3cr4ywj.js → pty-1wbp7xjh.js} +4 -4
- package/dist/chunks/pty-1x11rq2a.js +18 -0
- package/dist/chunks/{repository-n95nq84g.js → pty-1ydgq2r4.js} +5 -5
- package/dist/chunks/{repository-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{repository-d55w04y1.js → pty-2484jmj1.js} +16 -16
- package/dist/chunks/{repository-29x78va6.js → pty-29x78va6.js} +2 -2
- package/dist/chunks/{repository-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-v17t8k55.js → pty-2dag43m9.js} +22 -22
- package/dist/chunks/{repository-gj0rsp4v.js → pty-2ddeeh7p.js} +14 -14
- package/dist/chunks/{repository-2ht70gj7.js → pty-2ht70gj7.js} +1 -1
- package/dist/chunks/{repository-6a1kjwtr.js → pty-2r7k3mcn.js} +13 -13
- package/dist/chunks/{repository-9k3textf.js → pty-2vqvv9q6.js} +17 -17
- package/dist/chunks/{repository-s3eqpch7.js → pty-2wkcjqsg.js} +1 -1
- package/dist/chunks/{repository-ps0vfq4b.js → pty-2xfyk68w.js} +11 -11
- package/dist/chunks/{repository-x3bycmm1.js → pty-313d55j7.js} +20 -20
- package/dist/chunks/{repository-ymb3m0z2.js → pty-31hgssyn.js} +24 -24
- package/dist/chunks/{repository-56gdpj1q.js → pty-33w4ejhs.js} +6 -6
- package/dist/chunks/{repository-6524p9ym.js → pty-37gqmzmx.js} +78 -78
- package/dist/chunks/{repository-xf7vmmxs.js → pty-3dkp8r4p.js} +10 -10
- package/dist/chunks/{repository-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-0xd2d7hb.js → pty-3jj6bjb6.js} +5 -5
- package/dist/chunks/{repository-vxzf7v58.js → pty-3jzbymb5.js} +5 -5
- package/dist/chunks/{repository-3qzbfqsy.js → pty-3qzbfqsy.js} +2 -2
- package/dist/chunks/{repository-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-646fqd7r.js → pty-3wx44s71.js} +6 -6
- package/dist/chunks/{repository-fdrj6t4f.js → pty-3yqrwd3c.js} +54 -54
- package/dist/chunks/{repository-0ar19swb.js → pty-3zhxwkvq.js} +4 -4
- package/dist/chunks/{repository-y6nt3k22.js → pty-44xh2db3.js} +2 -2
- package/dist/chunks/{repository-454k5vzh.js → pty-454k5vzh.js} +1 -1
- package/dist/chunks/{repository-216r9qw3.js → pty-4fj3kv51.js} +14 -14
- package/dist/chunks/{repository-j8cmgfqe.js → pty-4krtzqk5.js} +4 -4
- package/dist/chunks/{repository-j3yg687r.js → pty-4nc7k1rh.js} +11 -11
- package/dist/chunks/{repository-0vrp93wg.js → pty-4qpmcwxv.js} +11 -11
- package/dist/chunks/{repository-4r2nyarf.js → pty-4r2nyarf.js} +1 -1
- package/dist/chunks/{repository-b3tx8t10.js → pty-4v76mm5w.js} +46 -46
- package/dist/chunks/{repository-8wm8yswe.js → pty-4vp46et4.js} +6 -6
- package/dist/chunks/{repository-r5w2ssxe.js → pty-4x0nmcjx.js} +9 -9
- package/dist/chunks/{repository-d6fjckwq.js → pty-4x2rz8aw.js} +18 -18
- package/dist/chunks/{repository-520y7ngx.js → pty-5496546h.js} +30 -30
- package/dist/chunks/{repository-mcxg6pmm.js → pty-577gck9x.js} +1 -1
- package/dist/chunks/{repository-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-5fmxt4p5.js → pty-5fmxt4p5.js} +1 -1
- package/dist/chunks/{repository-5jvc5tg2.js → pty-5jvc5tg2.js} +1 -1
- package/dist/chunks/{repository-zzjwypeh.js → pty-5meqwk0k.js} +6 -6
- package/dist/chunks/{repository-arnm81e4.js → pty-5nt034rp.js} +31 -31
- package/dist/chunks/{repository-mf7fv2he.js → pty-5sa6p9bm.js} +17 -17
- package/dist/chunks/{repository-1z2fdmmw.js → pty-62gk5m9w.js} +64 -64
- package/dist/chunks/{repository-dembj6c3.js → pty-64cwafvq.js} +20 -20
- package/dist/chunks/{repository-6h73sxmp.js → pty-6h73sxmp.js} +1 -1
- package/dist/chunks/{repository-y18qbtn0.js → pty-6kzqb55n.js} +1 -1
- package/dist/chunks/{repository-jsx4vw42.js → pty-6mdfharv.js} +31 -31
- package/dist/chunks/{repository-c1f0ep7b.js → pty-6my8ebcr.js} +4 -4
- package/dist/chunks/{repository-9e0shq8y.js → pty-6ryfpt65.js} +2 -2
- package/dist/chunks/{repository-vy3st0bb.js → pty-6sbnbvmk.js} +21 -21
- package/dist/chunks/{repository-y13tcavy.js → pty-6vpfhv95.js} +24 -24
- package/dist/chunks/{repository-711hfp6y.js → pty-711hfp6y.js} +2 -2
- package/dist/chunks/{repository-72nftnjy.js → pty-72nftnjy.js} +2 -2
- package/dist/chunks/{repository-18se47gg.js → pty-759pz1a2.js} +8 -8
- package/dist/chunks/{repository-cmxwz19g.js → pty-782hb7rq.js} +14 -14
- package/dist/chunks/{repository-nvhkh8pe.js → pty-783p8az6.js} +46 -46
- package/dist/chunks/{repository-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-521f3kbz.js → pty-7dfpr722.js} +26 -26
- package/dist/chunks/{repository-qgn6gcr1.js → pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{repository-ghx7c3me.js → pty-7mx0sbrp.js} +11 -11
- package/dist/chunks/{repository-zx2y32kr.js → pty-7pfa80tx.js} +8 -8
- package/dist/chunks/{repository-5tfkdpd8.js → pty-7tyy48z3.js} +155 -155
- package/dist/chunks/{repository-7w3s9kd0.js → pty-7w3s9kd0.js} +1 -1
- package/dist/chunks/{repository-qh3bf2gn.js → pty-7xjwb2wc.js} +19 -19
- package/dist/chunks/{repository-xgjy9czn.js → pty-80dxa4k8.js} +9 -9
- package/dist/chunks/{repository-p3pprd5k.js → pty-8a8365eh.js} +39 -39
- package/dist/chunks/{repository-c85n2w16.js → pty-8q6tmnwr.js} +17 -17
- package/dist/chunks/{repository-d1mk12gb.js → pty-8yr65315.js} +4 -4
- package/dist/chunks/{repository-93a8yfjt.js → pty-93a8yfjt.js} +2 -2
- package/dist/chunks/{repository-75yf2d83.js → pty-97f5v037.js} +8 -8
- package/dist/chunks/{repository-stjpcstc.js → pty-9avzg735.js} +4 -4
- package/dist/chunks/{repository-637qq8n2.js → pty-9d4vrqc0.js} +9 -9
- package/dist/chunks/{repository-4b1kvyc4.js → pty-9hq8x1wg.js} +2 -2
- package/dist/chunks/{repository-rbef7fg5.js → pty-9j9x4q1b.js} +5 -5
- package/dist/chunks/{repository-8jdsxdvp.js → pty-9s9nhjw5.js} +18 -18
- package/dist/chunks/{repository-mqr22tc5.js → pty-9y3z1s6a.js} +9 -9
- package/dist/chunks/pty-9zwhrd2p.js +4 -0
- package/dist/chunks/{repository-36vsdr69.js → pty-a4rgs0hc.js} +6 -6
- package/dist/chunks/{repository-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-24k0wsrv.js → pty-ak81qg5h.js} +10 -10
- package/dist/chunks/{repository-kef9hxxt.js → pty-amb2dgbz.js} +5 -5
- package/dist/chunks/{repository-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-b9wsbatv.js → pty-b9wsbatv.js} +1 -1
- package/dist/chunks/{repository-dqyjf61q.js → pty-bby1yxzv.js} +9 -9
- package/dist/chunks/{repository-bphmvjfp.js → pty-bcezcar3.js} +5 -5
- package/dist/chunks/{repository-an7cqtb7.js → pty-bct739vz.js} +4 -4
- package/dist/chunks/{repository-kh9gy2kd.js → pty-bj2c3eqn.js} +9 -9
- package/dist/chunks/{repository-mmtwyc4h.js → pty-bjz2p863.js} +32 -32
- package/dist/chunks/{repository-cm2hkdj5.js → pty-bkpep2vd.js} +15 -15
- package/dist/chunks/{repository-eyjw8at6.js → pty-c08189m0.js} +10 -10
- package/dist/chunks/{repository-z8e5602f.js → pty-cp01dnm5.js} +26 -26
- package/dist/chunks/{repository-sbzv84es.js → pty-cq8wrtqn.js} +9 -9
- package/dist/chunks/{repository-xq1bnqe3.js → pty-cxd5pse7.js} +32 -32
- package/dist/chunks/{repository-v1rcw9rf.js → pty-cxrffcy9.js} +13 -13
- package/dist/chunks/{repository-hvnbaqaj.js → pty-cznc2qrv.js} +9 -9
- package/dist/chunks/{repository-pdzf71x5.js → pty-d6grxaaw.js} +8 -8
- package/dist/chunks/{repository-jahdars8.js → pty-d9staddt.js} +9 -9
- package/dist/chunks/{repository-czf4td9e.js → pty-dbqqhdnr.js} +15 -15
- package/dist/chunks/{repository-y71avatq.js → pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{repository-kz6jns89.js → pty-dtd9rmq8.js} +11 -11
- package/dist/chunks/{repository-deyjdq06.js → pty-dx66qyny.js} +3 -3
- package/dist/chunks/{repository-j1t7wvny.js → pty-e1qz7z1t.js} +18 -18
- package/dist/chunks/{repository-9vqmy5ka.js → pty-e5d8p3ek.js} +21 -21
- package/dist/chunks/{repository-kt0nczr2.js → pty-e8qk6bfz.js} +9 -9
- package/dist/chunks/{repository-ssyzy7e3.js → pty-e9z8h0rr.js} +45 -45
- package/dist/chunks/{repository-jqjrsf97.js → pty-ea3aq44s.js} +6 -6
- package/dist/chunks/{repository-3sy2qy7n.js → pty-eab9zk3a.js} +1 -1
- package/dist/chunks/{repository-sczkr8aw.js → pty-eb56tdfp.js} +11 -11
- package/dist/chunks/{repository-xhjawfjm.js → pty-efa01jjy.js} +8 -8
- package/dist/chunks/{repository-xd0w8zcg.js → pty-efcq2w3s.js} +39 -39
- package/dist/chunks/{repository-tck7srdn.js → pty-efd04m0z.js} +20 -20
- package/dist/chunks/{repository-egrfns5h.js → pty-en5z9xq9.js} +25 -25
- package/dist/chunks/{repository-5h8c9s3h.js → pty-erhqyaxy.js} +19 -19
- package/dist/chunks/{repository-5k3f87xj.js → pty-f3x8qm6h.js} +1 -1
- package/dist/chunks/{repository-7903amxd.js → pty-f9sfmbx4.js} +9 -9
- package/dist/chunks/{repository-qhrsz7yd.js → pty-fawa5e74.js} +18 -18
- package/dist/chunks/{repository-c5r9qmwn.js → pty-fk423tcf.js} +6 -6
- package/dist/chunks/{repository-p2qvkabr.js → pty-fqathm57.js} +43 -43
- package/dist/chunks/{repository-wyxewmgt.js → pty-fr4822z7.js} +20 -20
- package/dist/chunks/{repository-3dtmfhz9.js → pty-fsx1nawq.js} +18 -18
- package/dist/chunks/{repository-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-fxypknc8.js → pty-fxypknc8.js} +1 -1
- package/dist/chunks/{repository-e5b0qn1c.js → pty-fyzy9awj.js} +1 -1
- package/dist/chunks/{repository-hrvm11jt.js → pty-g2dy4bvs.js} +3 -3
- package/dist/chunks/{repository-d72308c8.js → pty-g2gt0w0k.js} +2 -2
- package/dist/chunks/{repository-eybqrqre.js → pty-g6sn775a.js} +27 -27
- package/dist/chunks/{repository-b27vhd2z.js → pty-g8d3gcyj.js} +7 -7
- package/dist/chunks/{repository-1gx3eyp8.js → pty-g8s9endd.js} +5 -5
- package/dist/chunks/{repository-4549037v.js → pty-gc46ge9f.js} +9 -9
- package/dist/chunks/{repository-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-8386pees.js → pty-gjmr4gz7.js} +18 -18
- package/dist/chunks/{repository-1r0p0r0p.js → pty-gmxhbycn.js} +11 -11
- package/dist/chunks/{repository-kvkdkkmd.js → pty-gngv63rf.js} +11 -11
- package/dist/chunks/{repository-mj412fan.js → pty-gqy5b3zq.js} +20 -20
- package/dist/chunks/{repository-f0h4gp14.js → pty-gxae5phx.js} +7 -7
- package/dist/chunks/{repository-5nr8a6qv.js → pty-gy57ja53.js} +12 -12
- package/dist/chunks/{repository-7yscfpph.js → pty-h5th8w0s.js} +7 -7
- package/dist/chunks/{repository-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-5javy32f.js → pty-hctfpb5b.js} +13 -13
- package/dist/chunks/{repository-et113mn9.js → pty-hdyt65fn.js} +54 -54
- package/dist/chunks/{repository-heyhwy2w.js → pty-heyhwy2w.js} +1 -1
- package/dist/chunks/{repository-86s3977f.js → pty-hhv3cd3z.js} +1 -1
- package/dist/chunks/{repository-7fc2tyyc.js → pty-hj9w58t8.js} +20 -20
- package/dist/chunks/{repository-nhy5jxhy.js → pty-hjt4xg1x.js} +4 -4
- package/dist/chunks/pty-hvbsrnf8.js +247 -0
- package/dist/chunks/{repository-svbway3g.js → pty-hy60paza.js} +20 -20
- package/dist/chunks/{repository-54c49xcz.js → pty-hzraneqh.js} +15 -15
- package/dist/chunks/{repository-mnd58001.js → pty-j54kfte4.js} +292 -292
- package/dist/chunks/{repository-17e2cac1.js → pty-j68ej5p1.js} +15 -15
- package/dist/chunks/{repository-mckf4h7b.js → pty-jv6tbxxe.js} +8 -8
- package/dist/chunks/{repository-pxqnf0q6.js → pty-jysfrgga.js} +2 -2
- package/dist/chunks/{repository-wgcrfrpe.js → pty-k0zpnkm5.js} +6 -6
- package/dist/chunks/{repository-g7gjgfn7.js → pty-k1j94ffd.js} +26 -26
- package/dist/chunks/{repository-k4bwy1x5.js → pty-k4bwy1x5.js} +1 -1
- package/dist/chunks/{repository-sh95761y.js → pty-kdm6jke6.js} +14 -14
- package/dist/chunks/{repository-bkbc32ev.js → pty-kec10mhb.js} +7 -7
- package/dist/chunks/{repository-7x2gvtfy.js → pty-kerhshr9.js} +5 -5
- package/dist/chunks/{repository-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-n9exgbrm.js → pty-kn27nyen.js} +17 -17
- package/dist/chunks/{repository-aavna2dv.js → pty-ktffyxsn.js} +20 -20
- package/dist/chunks/{repository-8x24h8zy.js → pty-ktjrcgzc.js} +37 -37
- package/dist/chunks/{repository-kvsjn1dr.js → pty-kvsjn1dr.js} +2 -2
- package/dist/chunks/{repository-vhft001p.js → pty-m1e4fd8e.js} +4 -4
- package/dist/chunks/{repository-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-vdeyz17d.js → pty-mbxr96qs.js} +15 -15
- package/dist/chunks/{repository-a5p1gb3w.js → pty-mcz3mdrd.js} +24 -24
- package/dist/chunks/{repository-ya37e1jf.js → pty-mgbhega2.js} +35 -35
- package/dist/chunks/{repository-r5x6zcsm.js → pty-mhkvc446.js} +3 -3
- package/dist/chunks/{repository-mp96a8ap.js → pty-n1gk9b32.js} +21 -21
- package/dist/chunks/{repository-p80jqttc.js → pty-n5gsaee6.js} +82 -82
- package/dist/chunks/{repository-ptyagnnt.js → pty-n8177zz8.js} +11 -11
- package/dist/chunks/{repository-14hmenm3.js → pty-p3ds9s6g.js} +1 -1
- package/dist/chunks/{repository-rpg7esye.js → pty-p92k0peb.js} +5 -5
- package/dist/chunks/{repository-pfbkq6dw.js → pty-p9j9asx5.js} +6 -6
- package/dist/chunks/{repository-rfe25t4r.js → pty-pavxtxna.js} +22 -22
- package/dist/chunks/{repository-14vmxtzv.js → pty-pgzg68km.js} +13 -13
- package/dist/chunks/{repository-7jhqwxfr.js → pty-pj9g9jn9.js} +9 -9
- package/dist/chunks/{repository-w7k23gy3.js → pty-pjdhfn7p.js} +30 -30
- package/dist/chunks/{repository-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-wk24c8hc.js → pty-pk9c5e8x.js} +24 -24
- package/dist/chunks/{repository-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{repository-ff988e7x.js → pty-q04ns22w.js} +29 -29
- package/dist/chunks/{repository-8qwh3cj8.js → pty-qazyzvt1.js} +26 -26
- package/dist/chunks/{repository-rhht6sz9.js → pty-qcm9e7mh.js} +25 -25
- package/dist/chunks/{repository-27nn4kjr.js → pty-qe902fgv.js} +31 -31
- package/dist/chunks/{repository-9zr85f9w.js → pty-qepd2pkj.js} +2 -2
- package/dist/chunks/{repository-gv2rbrfw.js → pty-qmwe3ze8.js} +4 -4
- package/dist/chunks/{repository-rwcr18vm.js → pty-qs70785c.js} +11 -11
- package/dist/chunks/{repository-g41n1fn3.js → pty-qs7zdahm.js} +1 -1
- package/dist/chunks/{repository-cz502rww.js → pty-qs8bcfem.js} +15 -15
- package/dist/chunks/{repository-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-f5dz1snd.js → pty-qspbgrbh.js} +20 -20
- package/dist/chunks/{repository-9qm9egsn.js → pty-qvbcabdc.js} +2 -2
- package/dist/chunks/{repository-cbcjq80e.js → pty-qw7f0bey.js} +20 -20
- package/dist/chunks/{repository-e1k6gfhf.js → pty-r7dsrs90.js} +26 -26
- package/dist/chunks/{repository-r8dhm0tv.js → pty-r8dhm0tv.js} +1 -1
- package/dist/chunks/{repository-jmkzhvvt.js → pty-rbp2bqea.js} +20 -20
- package/dist/chunks/{repository-r7htbek4.js → pty-rgnb5s7e.js} +4 -4
- package/dist/chunks/{repository-md938vcw.js → pty-rhrwrhed.js} +10 -10
- package/dist/chunks/{repository-8z0e6skk.js → pty-rj2dy46x.js} +8 -8
- package/dist/chunks/{repository-mw549vfz.js → pty-rj9m8b0p.js} +19 -19
- package/dist/chunks/{repository-zn2pq4p8.js → pty-rp0x3qp0.js} +2 -2
- package/dist/chunks/{repository-1p24r0z9.js → pty-s0gfpzhy.js} +8 -8
- package/dist/chunks/{repository-ntxfskr5.js → pty-s2bsqmqa.js} +14 -14
- package/dist/chunks/{repository-zyjd7p9g.js → pty-s3pjgy5b.js} +30 -30
- package/dist/chunks/{repository-0k2w8cze.js → pty-sb910js5.js} +4 -4
- package/dist/chunks/{repository-sba4qhjf.js → pty-sba4qhjf.js} +1 -1
- package/dist/chunks/{repository-f6j6vcqb.js → pty-sbk29tnb.js} +16 -16
- package/dist/chunks/{repository-hdbbx1z1.js → pty-sf50aah2.js} +10 -10
- package/dist/chunks/{repository-e8231kzn.js → pty-ssqhww7x.js} +31 -31
- package/dist/chunks/{repository-pc1drx98.js → pty-sxqgp07b.js} +17 -17
- package/dist/chunks/{repository-vyeecrgp.js → pty-t0v4ch2z.js} +20 -20
- package/dist/chunks/{repository-p0waw8z6.js → pty-t33fapxs.js} +8 -8
- package/dist/chunks/{repository-sh9g6256.js → pty-t3jgv66k.js} +11 -11
- package/dist/chunks/{repository-n2jjjgj8.js → pty-t58ewwpp.js} +13 -13
- package/dist/chunks/{repository-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-k658mhdw.js → pty-tcbp8xmm.js} +5 -5
- package/dist/chunks/{repository-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-4z6b0fg6.js → pty-tdt6s1r3.js} +4 -4
- package/dist/chunks/{repository-tjykrgmx.js → pty-tjykrgmx.js} +1 -1
- package/dist/chunks/{repository-h5w795g4.js → pty-ty6v1d9r.js} +9 -9
- package/dist/chunks/{repository-w8m662mr.js → pty-v5b2djhb.js} +8 -8
- package/dist/chunks/{repository-dgs3awdm.js → pty-vadapd1k.js} +21 -21
- package/dist/chunks/{repository-4qaz9hm5.js → pty-vg046jzb.js} +34 -34
- package/dist/chunks/{repository-xb965kmd.js → pty-vg2y9t9r.js} +27 -27
- package/dist/chunks/{repository-5pe07s8d.js → pty-vp07xytb.js} +36 -36
- package/dist/chunks/{repository-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-8d01wbmh.js → pty-wbz7qeky.js} +16 -16
- package/dist/chunks/{repository-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{repository-sxhwk0c0.js → pty-wg50y0d7.js} +4 -4
- package/dist/chunks/{repository-s0nha49h.js → pty-wmp3ywfp.js} +9 -9
- package/dist/chunks/{repository-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-s554zfmc.js → pty-xc46y3dk.js} +5 -5
- package/dist/chunks/{repository-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-gdbh8d6a.js → pty-y4s8p0xv.js} +9 -9
- package/dist/chunks/{repository-0memrhjz.js → pty-yca9m8pm.js} +38 -38
- package/dist/chunks/{repository-kk3rr3qh.js → pty-yfbd16n1.js} +5 -5
- package/dist/chunks/{repository-jwy9k677.js → pty-yfj9ye14.js} +2 -2
- package/dist/chunks/{repository-ajtjthsy.js → pty-yg7sb877.js} +2 -2
- package/dist/chunks/{repository-zs9ar1yn.js → pty-ynsekjh4.js} +12 -12
- package/dist/chunks/{repository-1acjjqhc.js → pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-xqsy6kp0.js → pty-ythy6836.js} +1 -1
- package/dist/chunks/{repository-dag0bf4c.js → pty-ytrgf914.js} +6 -6
- package/dist/chunks/{repository-z1k01bn4.js → pty-z1k01bn4.js} +2 -2
- package/dist/chunks/{repository-v6xa52v7.js → pty-z468ybv7.js} +7 -7
- package/dist/chunks/{repository-z2ebnr8e.js → pty-z70g020t.js} +8 -8
- package/dist/chunks/{repository-yzd93mfj.js → pty-z78tg67p.js} +5 -5
- package/dist/chunks/{repository-vsfqe0hb.js → pty-z843syy3.js} +24 -24
- package/dist/chunks/{repository-4d5n00wb.js → pty-zbab1cyk.js} +33 -33
- package/dist/chunks/{repository-xfr9p690.js → pty-zbqrk12b.js} +19 -19
- package/dist/chunks/{repository-x1mdv4e1.js → pty-zckdcmqe.js} +43 -43
- package/dist/chunks/{repository-wbdywdx4.js → pty-zkpmw5vh.js} +10 -10
- package/dist/chunks/{repository-nayt11ps.js → pty-zq8b9kne.js} +6 -6
- package/dist/chunks/{repository-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +3 -3
- 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/id/id.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 +350 -350
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +127 -127
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +347 -347
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +117 -117
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +3 -3
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +86 -86
- 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 +116 -116
- package/dist/tool/plugin/edit.js +112 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +113 -113
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +101 -101
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +108 -108
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +1 -1
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +7 -7
- package/dist/chunks/repository-6wf4fw8k.js +0 -22
- package/dist/chunks/repository-b59cpyg0.js +0 -247
- package/dist/chunks/repository-dxj72tfx.js +0 -18
- package/dist/chunks/repository-z5h5yern.js +0 -4
- /package/dist/chunks/{repository-0fabt78z.js → pty-0fabt78z.js} +0 -0
- /package/dist/chunks/{repository-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3t738kvx.js → pty-3t738kvx.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-41nvscxy.js → pty-41nvscxy.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-982e01ww.js → pty-982e01ww.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-j935v87r.js → pty-j935v87r.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mntxs535.js → pty-mntxs535.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-p8qxwesx.js → pty-p8qxwesx.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-se0s1eqw.js → pty-se0s1eqw.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x1b8g1yb.js → pty-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{repository-zbjnn3ac.js → pty-zbjnn3ac.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-h5th8w0s.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node77
|
|
8
|
+
} from "./pty-2vqvv9q6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service16,
|
|
11
|
+
node19
|
|
12
|
+
} from "./pty-pjdhfn7p.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event2,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service15,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node18
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event2 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service15 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service72;
|
|
82
|
+
const search = yield* Service16;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service15.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node18 = makeLocationNode({
|
|
126
|
+
service: Service15,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node77, node19]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node18, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-z1k01bn4.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service72,
|
|
18
|
+
node77
|
|
19
|
+
} from "./pty-2vqvv9q6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service67,
|
|
22
|
+
node71
|
|
23
|
+
} from "./pty-cp01dnm5.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-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: () => Service66,
|
|
33
|
+
node: () => node70
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service66,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node70,
|
|
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 Service66 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service72;
|
|
66
|
+
const workspace = yield* Service67;
|
|
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 Service66.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node70 = makeLocationNode({
|
|
71
|
+
service: Service66,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node77, node71]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service66, node70, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-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: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
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(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service62
|
|
4
|
+
} from "./pty-fqathm57.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./pty-zbqrk12b.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin33
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin33 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service62;
|
|
27
|
+
const shell = yield* Service71;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin13 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin33, exports_shell2 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./pty-fqathm57.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service66
|
|
13
|
+
} from "./pty-6vpfhv95.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service43
|
|
16
|
+
} from "./pty-8q6tmnwr.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePath2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service17
|
|
20
|
+
} from "./pty-wbz7qeky.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service53
|
|
23
|
+
} from "./pty-3yqrwd3c.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service71,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-zbqrk12b.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service60
|
|
37
|
+
} from "./pty-e9z8h0rr.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service25
|
|
40
|
+
} from "./pty-n5gsaee6.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./pty-6my8ebcr.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./pty-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin7,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name6 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input6 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin7 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service25;
|
|
122
|
+
const jobs = yield* Service43;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const mutation = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service66;
|
|
125
|
+
const mutation = yield* Service17;
|
|
126
|
+
const shell = yield* Service60;
|
|
127
|
+
const shellSelect = yield* Service71;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service53;
|
|
130
|
+
const config = yield* Service62;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -155,7 +155,7 @@ var Plugin28 = {
|
|
|
155
155
|
});
|
|
156
156
|
if (parsed.commands.length > 0)
|
|
157
157
|
yield* permission.assert({
|
|
158
|
-
action:
|
|
158
|
+
action: name6,
|
|
159
159
|
resources: parsed.commands.map((command) => command.resource),
|
|
160
160
|
save: parsed.commands.map((command) => command.save),
|
|
161
161
|
sessionID: context.sessionID,
|
|
@@ -192,10 +192,10 @@ var Plugin28 = {
|
|
|
192
192
|
yield* jobs.completeBackground(info.notificationID);
|
|
193
193
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
194
194
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
195
|
-
name:
|
|
195
|
+
name: name6,
|
|
196
196
|
options: { codemode: false },
|
|
197
197
|
description: description(),
|
|
198
|
-
input:
|
|
198
|
+
input: Input6,
|
|
199
199
|
output: Output,
|
|
200
200
|
execute: (input, context) => Effect.gen(function* () {
|
|
201
201
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -214,7 +214,7 @@ var Plugin28 = {
|
|
|
214
214
|
const run = Effect.gen(function* () {
|
|
215
215
|
const result = yield* shell.result(info);
|
|
216
216
|
if (!result.capture)
|
|
217
|
-
return yield* new
|
|
217
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
218
218
|
const output = output2(result);
|
|
219
219
|
return {
|
|
220
220
|
...output,
|
|
@@ -228,7 +228,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
228
228
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
229
229
|
const job = yield* jobs.start({
|
|
230
230
|
id: info.id,
|
|
231
|
-
type:
|
|
231
|
+
type: name6,
|
|
232
232
|
title: info.command,
|
|
233
233
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
234
234
|
recovery: {
|
|
@@ -258,7 +258,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
258
258
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
259
259
|
})).pipe(Effect.orDie);
|
|
260
260
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
261
|
-
const tool = event.tools[
|
|
261
|
+
const tool = event.tools[name6];
|
|
262
262
|
if (!tool)
|
|
263
263
|
return;
|
|
264
264
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin7, exports_shell };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-9avzg735.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event10,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID6,
|
|
20
|
+
Info: () => Info7,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError4,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service50,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer22,
|
|
29
|
+
node: () => node54,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode-ai/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event10 } from "@opencode-ai/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID6 = Form.ID;
|
|
39
|
+
var Info7 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError4 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID6
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID6
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID6
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID6,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service50 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError4({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID6.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer24 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service50.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node54 = makeLocationNode({ service: Service50, layer: layer22, deps: [node84] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID6, Info7, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError4, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service50, layer22, node54, validateAnswer2, validateFields2, exports_form, Event10 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options9,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|