@opencode/core 0.0.0-dev-19564 → 0.0.0-dev-19565
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +80 -80
- package/dist/chunks/{location-mutation-0m5s60pw.js → shell-00sskvcy.js} +25 -25
- package/dist/chunks/{location-mutation-0r8s4ygg.js → shell-0kb3qxfv.js} +13 -13
- package/dist/chunks/shell-0mesazry.js +4 -0
- package/dist/chunks/{location-mutation-ebq30a0s.js → shell-0p1crd9d.js} +16 -16
- package/dist/chunks/{location-mutation-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-mutation-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-mutation-155tpmtv.js → shell-170g143j.js} +12 -12
- package/dist/chunks/{location-mutation-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-mutation-7c7hzhbc.js → shell-1jygqsyg.js} +4 -4
- package/dist/chunks/{location-mutation-9910m0jv.js → shell-1k2dysg5.js} +36 -36
- package/dist/chunks/{location-mutation-a2pn1a9k.js → shell-1rmp5py1.js} +28 -28
- package/dist/chunks/{location-mutation-3z3b7hny.js → shell-1vr0zdnx.js} +7 -7
- package/dist/chunks/{location-mutation-bxv7jnj4.js → shell-2130zj7j.js} +11 -11
- package/dist/chunks/{location-mutation-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{location-mutation-7yqjxrmz.js → shell-23pqda6t.js} +6 -6
- package/dist/chunks/{location-mutation-2402vzrj.js → shell-2402vzrj.js} +1 -1
- package/dist/chunks/{location-mutation-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mutation-jeanpfns.js → shell-2arervvz.js} +1 -1
- package/dist/chunks/{location-mutation-m2d0j7c0.js → shell-2bt6bea8.js} +9 -9
- package/dist/chunks/{location-mutation-kc69rtta.js → shell-2dhdmezd.js} +13 -13
- package/dist/chunks/{location-mutation-r9d4hscn.js → shell-2drtf3nf.js} +21 -21
- package/dist/chunks/{location-mutation-ka1skk0q.js → shell-2gg8k579.js} +11 -11
- package/dist/chunks/{location-mutation-2k8khapm.js → shell-2k8khapm.js} +1 -1
- package/dist/chunks/{location-mutation-saszz0tm.js → shell-2s58e736.js} +8 -8
- package/dist/chunks/{location-mutation-6z7pdagf.js → shell-2wy29r93.js} +32 -32
- package/dist/chunks/{location-mutation-by5prp7a.js → shell-2xsz5w2j.js} +13 -13
- package/dist/chunks/{location-mutation-q0cff0df.js → shell-39nqk1vw.js} +5 -5
- package/dist/chunks/{location-mutation-hqkqhxar.js → shell-3ax3r0kt.js} +11 -11
- package/dist/chunks/{location-mutation-rjhg2a6b.js → shell-3bqh7sdc.js} +8 -8
- package/dist/chunks/{location-mutation-tgqjfyja.js → shell-3dn8q124.js} +3 -3
- package/dist/chunks/{location-mutation-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-mutation-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-mutation-xpqchpdr.js → shell-3msn02vx.js} +20 -20
- package/dist/chunks/{location-mutation-qqrzp26h.js → shell-3q16w0pe.js} +22 -22
- package/dist/chunks/{location-mutation-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-mutation-2c6z0znx.js → shell-3t75jh19.js} +18 -18
- package/dist/chunks/{location-mutation-zepncfka.js → shell-3t8eac1t.js} +21 -21
- package/dist/chunks/{location-mutation-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-mutation-xfw70qwk.js → shell-40nnwqw1.js} +9 -9
- package/dist/chunks/{location-mutation-ypa7vnhd.js → shell-498f1par.js} +17 -17
- package/dist/chunks/{location-mutation-61bd1sp4.js → shell-4j2free1.js} +26 -26
- package/dist/chunks/shell-4v7qdvcn.js +18 -0
- package/dist/chunks/{location-mutation-8ddz1vt2.js → shell-50q5na77.js} +54 -54
- package/dist/chunks/{location-mutation-mfqp6xfm.js → shell-56gdpj1q.js} +6 -6
- package/dist/chunks/{location-mutation-0cj6ty0b.js → shell-58mrke4p.js} +18 -18
- package/dist/chunks/{location-mutation-q99ra9zv.js → shell-5cd5fjqe.js} +1 -1
- package/dist/chunks/{location-mutation-g6daz9wc.js → shell-5cwpbnzf.js} +19 -19
- package/dist/chunks/{location-mutation-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{location-mutation-xb0fd5mw.js → shell-5hpynvw8.js} +11 -11
- package/dist/chunks/{location-mutation-91defnq2.js → shell-5j1hak98.js} +5 -5
- package/dist/chunks/{location-mutation-j4wvd8nr.js → shell-5r0fea1g.js} +8 -8
- package/dist/chunks/{location-mutation-ctkv6efh.js → shell-5se65zms.js} +1 -1
- package/dist/chunks/{location-mutation-nd3j4h6h.js → shell-5t1bt779.js} +15 -15
- package/dist/chunks/{location-mutation-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-mutation-xeeebs9m.js → shell-5t96p4mv.js} +18 -18
- package/dist/chunks/{location-mutation-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{location-mutation-azkjskpr.js → shell-6dgetf94.js} +30 -30
- package/dist/chunks/{location-mutation-0w62qmxp.js → shell-6ea2fwcg.js} +6 -6
- package/dist/chunks/{location-mutation-w6ktwb78.js → shell-6ff0ccqs.js} +5 -5
- package/dist/chunks/{location-mutation-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-mutation-cen4xjmh.js → shell-6sdmw969.js} +9 -9
- package/dist/chunks/{location-mutation-71q4at8m.js → shell-71q4at8m.js} +1 -1
- package/dist/chunks/{location-mutation-j028xdjb.js → shell-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-mutation-4e7426jc.js → shell-757464b7.js} +8 -8
- package/dist/chunks/{location-mutation-j12av41v.js → shell-785qyyg3.js} +43 -43
- package/dist/chunks/{location-mutation-5qn0g44r.js → shell-79at1x9v.js} +11 -11
- package/dist/chunks/{location-mutation-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-mutation-5rbfmx4w.js → shell-7dqea38v.js} +27 -27
- package/dist/chunks/{location-mutation-avm8jn6n.js → shell-7gvwkz6m.js} +5 -5
- package/dist/chunks/{location-mutation-qk5wb864.js → shell-7hnvxcfq.js} +26 -26
- package/dist/chunks/{location-mutation-pfvv90k2.js → shell-7smec0s7.js} +13 -13
- package/dist/chunks/{location-mutation-1dxc6w5e.js → shell-7wvqhqmf.js} +2 -2
- package/dist/chunks/{location-mutation-zjsss10y.js → shell-8330sdex.js} +45 -45
- package/dist/chunks/{location-mutation-2xzhcth1.js → shell-83c1hrrs.js} +5 -5
- package/dist/chunks/{location-mutation-3dbc59q6.js → shell-84znd991.js} +39 -39
- package/dist/chunks/shell-8behwj1p.js +466 -0
- package/dist/chunks/{location-mutation-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-mutation-9kqeqy6k.js → shell-8hpa1fbg.js} +8 -8
- package/dist/chunks/{location-mutation-dj2t23y0.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-mutation-svqx5t8q.js → shell-90debe3t.js} +20 -20
- package/dist/chunks/{location-mutation-4y8mn7kc.js → shell-92d8765r.js} +22 -22
- package/dist/chunks/shell-951egb0q.js +26 -0
- package/dist/chunks/{location-mutation-zadsjct7.js → shell-98wx3ph6.js} +16 -16
- package/dist/chunks/{location-mutation-zvzsvx7v.js → shell-9axecy8x.js} +32 -32
- package/dist/chunks/{location-mutation-3ktmg79z.js → shell-9k5ea8vn.js} +9 -9
- package/dist/chunks/{location-mutation-8bq9and0.js → shell-9n54j36e.js} +40 -40
- package/dist/chunks/{location-mutation-5c4hm403.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-mutation-mfgwze5t.js → shell-a1cqmkke.js} +37 -37
- package/dist/chunks/{location-mutation-nza8psrb.js → shell-a4bf359j.js} +35 -35
- package/dist/chunks/{location-mutation-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{location-mutation-3v55e3wy.js → shell-ajf5b5m2.js} +11 -11
- package/dist/chunks/{location-mutation-eck8tbm6.js → shell-anjgpdmv.js} +15 -15
- package/dist/chunks/{location-mutation-1a3hsqby.js → shell-aqh0ftsf.js} +6 -6
- package/dist/chunks/{location-mutation-5xtgfte3.js → shell-asmz7wyz.js} +8 -8
- package/dist/chunks/{location-mutation-havqpvtm.js → shell-b4yscnm6.js} +163 -163
- package/dist/chunks/{location-mutation-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mutation-wk5z6jzv.js → shell-b8b3f19r.js} +9 -9
- package/dist/chunks/{location-mutation-qzngwt2w.js → shell-barpxaxt.js} +12 -12
- package/dist/chunks/{location-mutation-gnx4ytbv.js → shell-bha4atvq.js} +4 -4
- package/dist/chunks/{location-mutation-79sek60j.js → shell-bkpbcw5z.js} +6 -6
- package/dist/chunks/{location-mutation-9d8v8ke2.js → shell-bq71cpr0.js} +10 -10
- package/dist/chunks/shell-bra2cn2r.js +247 -0
- package/dist/chunks/{location-mutation-ag6km62t.js → shell-c6gt1vgb.js} +22 -22
- package/dist/chunks/{location-mutation-eqhfcyge.js → shell-c9de5jy7.js} +24 -24
- package/dist/chunks/{location-mutation-m7y3f53v.js → shell-cdb3968r.js} +4 -4
- package/dist/chunks/{location-mutation-m0jqrx5p.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-mutation-23p1tfef.js → shell-cgfvx4w1.js} +30 -30
- package/dist/chunks/{location-mutation-pjmw00w1.js → shell-cntxze1n.js} +9 -9
- package/dist/chunks/{location-mutation-8bxqq8qq.js → shell-csvt3qn2.js} +17 -17
- package/dist/chunks/{location-mutation-sjn6yd28.js → shell-cvacbsd4.js} +24 -24
- package/dist/chunks/{location-mutation-y8kyqmaw.js → shell-cwae0t4a.js} +6 -6
- package/dist/chunks/{location-mutation-4gdbehx0.js → shell-dgyag7b9.js} +3 -3
- package/dist/chunks/{location-mutation-6gny55sm.js → shell-dnyx0jag.js} +42 -42
- package/dist/chunks/{location-mutation-y71avatq.js → shell-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-mutation-1gbd2vd1.js → shell-ds7hspst.js} +17 -17
- package/dist/chunks/{location-mutation-80n8qn88.js → shell-dx67ej23.js} +4 -4
- package/dist/chunks/{location-mutation-cx72pxrk.js → shell-e01x8cvy.js} +89 -89
- package/dist/chunks/{location-mutation-8fpjdh7x.js → shell-e275f37r.js} +26 -26
- package/dist/chunks/{location-mutation-e5nv3ght.js → shell-e5nv3ght.js} +2 -2
- package/dist/chunks/{location-mutation-ptdkvqj8.js → shell-e5nx0vxc.js} +11 -11
- package/dist/chunks/{location-mutation-rfmxnttp.js → shell-e9ctdnam.js} +33 -33
- package/dist/chunks/{location-mutation-eaj1djv9.js → shell-eaj1djv9.js} +1 -1
- package/dist/chunks/{location-mutation-h15s1ggr.js → shell-eh4y4983.js} +18 -18
- package/dist/chunks/{location-mutation-45mzvrpj.js → shell-ekxg4hsx.js} +15 -15
- package/dist/chunks/{location-mutation-t0c4ga77.js → shell-epf086r6.js} +11 -11
- package/dist/chunks/{location-mutation-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-mutation-fpmq6gma.js → shell-evbgk2k8.js} +5 -5
- package/dist/chunks/{location-mutation-zecqrkk8.js → shell-ew149jxv.js} +15 -15
- package/dist/chunks/{location-mutation-yp2x3t23.js → shell-f2n192rq.js} +4 -4
- package/dist/chunks/{location-mutation-avbgj43b.js → shell-f3b3gm2h.js} +9 -9
- package/dist/chunks/{location-mutation-hdnk95c8.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{location-mutation-81b6h368.js → shell-fb1d3fys.js} +34 -34
- package/dist/chunks/{location-mutation-8a0b7fze.js → shell-ffnvdd3a.js} +4 -4
- package/dist/chunks/{location-mutation-at5d07az.js → shell-fm2qvscf.js} +4 -4
- package/dist/chunks/{location-mutation-s846mwed.js → shell-frgtas0g.js} +18 -18
- package/dist/chunks/{location-mutation-mxhkxpa6.js → shell-fwex87m5.js} +4 -4
- package/dist/chunks/{location-mutation-w1vmy2yk.js → shell-fxb8x6py.js} +41 -41
- package/dist/chunks/{location-mutation-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-mutation-f8n871vd.js → shell-g114gkg7.js} +27 -27
- package/dist/chunks/{location-mutation-p3axd9rw.js → shell-g6etydj3.js} +27 -27
- package/dist/chunks/{location-mutation-5ftfpzwn.js → shell-g7845yqx.js} +9 -9
- package/dist/chunks/{location-mutation-0vh7wtpp.js → shell-g9x8z6es.js} +42 -42
- package/dist/chunks/{location-mutation-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mutation-7rreentk.js → shell-gds7y9rb.js} +26 -26
- package/dist/chunks/{location-mutation-hdsh760p.js → shell-gmqwtf9m.js} +20 -20
- package/dist/chunks/{location-mutation-vpt86awd.js → shell-gqcgtd7m.js} +12 -12
- package/dist/chunks/{location-mutation-6kh673ej.js → shell-gsa21a22.js} +29 -29
- package/dist/chunks/{location-mutation-hn57h045.js → shell-gst7axd9.js} +4 -4
- package/dist/chunks/{location-mutation-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-mutation-3nqb3pr0.js → shell-gy297mxz.js} +9 -9
- package/dist/chunks/{location-mutation-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-mutation-axqcdv2d.js → shell-h3gtxjhp.js} +12 -12
- package/dist/chunks/{location-mutation-nha3eq47.js → shell-h5a39vxc.js} +7 -7
- package/dist/chunks/{location-mutation-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-mutation-evg5mjek.js → shell-h9ah0y31.js} +4 -4
- package/dist/chunks/{location-mutation-hm5k8eah.js → shell-hcn7vb16.js} +5 -5
- package/dist/chunks/{location-mutation-ztr79pxm.js → shell-he81y1nr.js} +15 -15
- package/dist/chunks/{location-mutation-ssns9qef.js → shell-hhsefzea.js} +4 -4
- package/dist/chunks/{location-mutation-vmq7ehpy.js → shell-hnr5yq9h.js} +5 -5
- package/dist/chunks/{location-mutation-njsny4x2.js → shell-hqzvbh4h.js} +4 -4
- package/dist/chunks/{location-mutation-wh3mwy9y.js → shell-hr5bc81f.js} +5 -5
- package/dist/chunks/{location-mutation-cza9j1er.js → shell-hr87xv3p.js} +1 -1
- package/dist/chunks/{location-mutation-x2vke7v6.js → shell-hwcbwms2.js} +26 -26
- package/dist/chunks/{location-mutation-ged9323g.js → shell-hxbwmv2e.js} +23 -23
- package/dist/chunks/{location-mutation-b8q51j9a.js → shell-j2x4pfpm.js} +8 -8
- package/dist/chunks/{location-mutation-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{location-mutation-721tb84k.js → shell-j7wq2tw5.js} +3 -3
- package/dist/chunks/{location-mutation-nca7p386.js → shell-j8zzr2am.js} +6 -6
- package/dist/chunks/{location-mutation-d97067kg.js → shell-jgs86n5s.js} +20 -20
- package/dist/chunks/{location-mutation-jtht6z7a.js → shell-jqzha493.js} +10 -10
- package/dist/chunks/{location-mutation-5d5383gp.js → shell-jva4mgym.js} +4 -4
- package/dist/chunks/{location-mutation-461gn80r.js → shell-jx66ev93.js} +9 -9
- package/dist/chunks/{location-mutation-09nsett5.js → shell-jzmeek8x.js} +15 -15
- package/dist/chunks/{location-mutation-gb4t7546.js → shell-k6n7t8rh.js} +4 -4
- package/dist/chunks/{location-mutation-kg06axw8.js → shell-kg06axw8.js} +1 -1
- package/dist/chunks/{location-mutation-pgjngt2x.js → shell-kn1ewh61.js} +9 -9
- package/dist/chunks/{location-mutation-g14zqp48.js → shell-m1xnp8jy.js} +8 -8
- package/dist/chunks/{location-mutation-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mutation-96te9d4b.js → shell-ma15yhyh.js} +5 -5
- package/dist/chunks/{location-mutation-2dnw6675.js → shell-maj69pyd.js} +18 -18
- package/dist/chunks/{location-mutation-vewqeqd1.js → shell-mhke193m.js} +11 -11
- package/dist/chunks/{location-mutation-3qwwmjvv.js → shell-mjyvg60v.js} +14 -14
- package/dist/chunks/{location-mutation-wctfcgtb.js → shell-mypwhdkk.js} +6 -6
- package/dist/chunks/{location-mutation-a626x82j.js → shell-mzg5sf4x.js} +10 -10
- package/dist/chunks/{location-mutation-b189wbnb.js → shell-n0mh3p3r.js} +25 -25
- package/dist/chunks/{location-mutation-4786se8r.js → shell-na9d8qqg.js} +1 -1
- package/dist/chunks/{location-mutation-hjt4xg1x.js → shell-nhy5jxhy.js} +4 -4
- package/dist/chunks/{location-mutation-c2czmzrr.js → shell-nt9efg4s.js} +36 -36
- package/dist/chunks/{location-mutation-tx9qvpbt.js → shell-nv5vn7qx.js} +6 -6
- package/dist/chunks/{location-mutation-s9r3zx9c.js → shell-nxwydvzq.js} +32 -32
- package/dist/chunks/{location-mutation-j935v87r.js → shell-paphc93g.js} +2 -2
- package/dist/chunks/{location-mutation-e17bkqjz.js → shell-pczwz8kr.js} +1 -1
- package/dist/chunks/{location-mutation-y30m186f.js → shell-pe83jqzf.js} +11 -11
- package/dist/chunks/{location-mutation-6z9fsyfc.js → shell-pfx2qrrs.js} +17 -17
- package/dist/chunks/{location-mutation-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-mutation-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{location-mutation-470e2dhw.js → shell-pyajk535.js} +14 -14
- package/dist/chunks/{location-mutation-42g1c063.js → shell-q7y6yj4h.js} +13 -13
- package/dist/chunks/{location-mutation-j872qyn8.js → shell-qdvd9fa3.js} +9 -9
- package/dist/chunks/{location-mutation-y2rk8dp4.js → shell-qfehbndj.js} +20 -20
- package/dist/chunks/{location-mutation-3c1tgrea.js → shell-qfzde7bh.js} +6 -6
- package/dist/chunks/{location-mutation-zx7qqg4g.js → shell-qp1sevpr.js} +20 -20
- package/dist/chunks/{location-mutation-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{location-mutation-56yb8k9y.js → shell-qse8x9va.js} +43 -43
- package/dist/chunks/{location-mutation-7zvmg7rn.js → shell-r2j209s7.js} +22 -22
- package/dist/chunks/{location-mutation-sv95vjkv.js → shell-r7wttt38.js} +14 -14
- package/dist/chunks/{location-mutation-1gdg00yg.js → shell-r8m16k99.js} +7 -7
- package/dist/chunks/{location-mutation-0fs3kyg5.js → shell-r8tp4xng.js} +22 -22
- package/dist/chunks/{location-mutation-r9mregkx.js → shell-r9mregkx.js} +2 -2
- package/dist/chunks/{location-mutation-rt60rjhz.js → shell-s24xwzhn.js} +27 -27
- package/dist/chunks/{location-mutation-p1q7pebv.js → shell-s594x3a1.js} +16 -16
- package/dist/chunks/{location-mutation-jb6dyfep.js → shell-sba7bcww.js} +22 -22
- package/dist/chunks/{location-mutation-j32h6ccb.js → shell-sbrky0je.js} +5 -5
- package/dist/chunks/{location-mutation-95ex4w9n.js → shell-sccxx93j.js} +11 -11
- package/dist/chunks/{location-mutation-jmrdwkcs.js → shell-sp5ebaa4.js} +11 -11
- package/dist/chunks/{location-mutation-fg7rbsd2.js → shell-srhw5zxk.js} +11 -11
- package/dist/chunks/{location-mutation-g7e74qdq.js → shell-ssybasmv.js} +71 -71
- package/dist/chunks/{location-mutation-8ympxaqs.js → shell-svh6bksy.js} +46 -46
- package/dist/chunks/{location-mutation-6d9mz4vp.js → shell-t0x5rdq8.js} +9 -9
- package/dist/chunks/{location-mutation-3w5k6gvs.js → shell-t7295w2z.js} +87 -87
- package/dist/chunks/{location-mutation-drknmmyh.js → shell-t89hfesc.js} +9 -9
- package/dist/chunks/{location-mutation-3n3mkc0a.js → shell-t97t2t7r.js} +9 -9
- package/dist/chunks/{location-mutation-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-mutation-p0hpbrjm.js → shell-tb2t6pfk.js} +11 -11
- package/dist/chunks/{location-mutation-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-mutation-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{location-mutation-2ve45fd6.js → shell-tjn88awr.js} +5 -5
- package/dist/chunks/{location-mutation-32860tzt.js → shell-tjvj2ye7.js} +16 -16
- package/dist/chunks/{location-mutation-31q0a33n.js → shell-tsmdsbrt.js} +16 -16
- package/dist/chunks/{location-mutation-mpadvkka.js → shell-tvqztyf1.js} +25 -25
- package/dist/chunks/{location-mutation-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{location-mutation-dw1fjyb0.js → shell-txmzda4v.js} +5 -5
- package/dist/chunks/{location-mutation-tw5aca0f.js → shell-v261m4vn.js} +17 -17
- package/dist/chunks/{location-mutation-qcanms4y.js → shell-v38hr624.js} +9 -9
- package/dist/chunks/{location-mutation-5bsh4yae.js → shell-v7n01w8h.js} +13 -13
- package/dist/chunks/{location-mutation-p9zpeys6.js → shell-vag79jb7.js} +22 -22
- package/dist/chunks/{location-mutation-r98e92ep.js → shell-ve4pfa0n.js} +4 -4
- package/dist/chunks/{location-mutation-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{location-mutation-756ebc25.js → shell-vm5yje8t.js} +20 -20
- package/dist/chunks/{location-mutation-4e4x7r7e.js → shell-vmtg2jww.js} +25 -25
- package/dist/chunks/{location-mutation-x353b1jt.js → shell-vyt7er0z.js} +8 -8
- package/dist/chunks/{location-mutation-5797ytnh.js → shell-vyzzed90.js} +10 -10
- package/dist/chunks/{location-mutation-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-mutation-22m95qs7.js → shell-w1k39n5e.js} +4 -4
- package/dist/chunks/{location-mutation-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mutation-ytxwmf2d.js → shell-w5e0rffm.js} +47 -47
- package/dist/chunks/{location-mutation-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{location-mutation-40v84sj9.js → shell-wd8n4s43.js} +20 -20
- package/dist/chunks/{location-mutation-gmrap60s.js → shell-we16zy36.js} +49 -49
- package/dist/chunks/{location-mutation-gk0f8ry6.js → shell-wk8z1bqt.js} +24 -24
- package/dist/chunks/{location-mutation-40dnmwzh.js → shell-wnxjx791.js} +52 -52
- package/dist/chunks/{location-mutation-x9dbpt97.js → shell-wrjtwt5e.js} +18 -18
- package/dist/chunks/{location-mutation-830a973a.js → shell-wrnhm9vn.js} +6 -6
- package/dist/chunks/{location-mutation-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-mutation-1xwjzdvm.js → shell-x3d4jfyq.js} +6 -6
- package/dist/chunks/{location-mutation-bh95vxve.js → shell-x7pryeww.js} +5 -5
- package/dist/chunks/{location-mutation-prktd40w.js → shell-xegjm1yz.js} +13 -13
- package/dist/chunks/{location-mutation-6tsg30fm.js → shell-xg9t41r3.js} +2 -2
- package/dist/chunks/{location-mutation-gfdhz5ky.js → shell-xh2y7gdn.js} +32 -32
- package/dist/chunks/{location-mutation-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-mutation-st8zm3j0.js → shell-y27npyv3.js} +33 -33
- package/dist/chunks/{location-mutation-dz5pbebx.js → shell-y6cbkzy7.js} +20 -20
- package/dist/chunks/{location-mutation-ea8nv0r7.js → shell-y6vkn53y.js} +2 -2
- package/dist/chunks/{location-mutation-rm0t6fxx.js → shell-ybb32c7q.js} +11 -11
- package/dist/chunks/{location-mutation-sj2m2bnv.js → shell-ye4pzvdc.js} +22 -22
- package/dist/chunks/{location-mutation-yvnshmpd.js → shell-yedr9c85.js} +17 -17
- package/dist/chunks/{location-mutation-002t2knz.js → shell-ym00f2st.js} +10 -10
- package/dist/chunks/{location-mutation-2weqeydf.js → shell-yp48q4z8.js} +11 -11
- package/dist/chunks/{location-mutation-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-mutation-s4enseaf.js → shell-yrznvahk.js} +2 -2
- package/dist/chunks/{location-mutation-v8nxbcj1.js → shell-yyqmvdec.js} +18 -18
- package/dist/chunks/{location-mutation-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-mutation-29x78va6.js → shell-z63w68vq.js} +6 -6
- package/dist/chunks/{location-mutation-q2f8db2z.js → shell-z76rvear.js} +4 -4
- package/dist/chunks/{location-mutation-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-mutation-p43178kr.js → shell-zfj5hy1g.js} +30 -30
- package/dist/chunks/{location-mutation-nw7hjf1f.js → shell-zgavb9cq.js} +16 -16
- package/dist/chunks/{location-mutation-gkdvs18m.js → shell-zgda001e.js} +11 -11
- package/dist/chunks/{location-mutation-qmy7xtej.js → shell-zqhama0g.js} +1 -1
- package/dist/chunks/{location-mutation-m44xxmhq.js → shell-zqw1zjbk.js} +32 -32
- package/dist/chunks/{location-mutation-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-mutation-xp4jy0cy.js → shell-zwxne7nm.js} +32 -32
- package/dist/chunks/{location-mutation-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +79 -79
- 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 +210 -210
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +362 -362
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- 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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +92 -92
- 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 +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 +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +352 -352
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +99 -99
- 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/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +119 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +114 -114
- 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 +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- 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 +96 -96
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +85 -85
- 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 +222 -222
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +81 -81
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +114 -114
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/location-mutation-1j3gmg45.js +0 -26
- package/dist/chunks/location-mutation-9qs3tcsp.js +0 -466
- package/dist/chunks/location-mutation-gj0jgfzh.js +0 -247
- package/dist/chunks/location-mutation-jqh9b0xq.js +0 -18
- package/dist/chunks/location-mutation-qapv375x.js +0 -4
- /package/dist/chunks/{location-mutation-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-mutation-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-mutation-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-mutation-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-mutation-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-mutation-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-mutation-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-mutation-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-mutation-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-mutation-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{location-mutation-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-mutation-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-mutation-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-mutation-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-mutation-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-mutation-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-mutation-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-mutation-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{location-mutation-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-mutation-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{location-mutation-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-mutation-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-mutation-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{location-mutation-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-mutation-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-mutation-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{location-mutation-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-mutation-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-mutation-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-mutation-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-mutation-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-mutation-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-mutation-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-mutation-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-mutation-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-mutation-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-mutation-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-mutation-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-mutation-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-mutation-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-mutation-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-mutation-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{location-mutation-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-mutation-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-mutation-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-mutation-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-mutation-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-mutation-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-mutation-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-mutation-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-mutation-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-mutation-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-mutation-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-mutation-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-mutation-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{location-mutation-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-mutation-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{location-mutation-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-mutation-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{location-mutation-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-mutation-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-mutation-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-mutation-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-mutation-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-mutation-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mutation-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-mutation-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-mutation-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-mutation-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-mutation-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-mutation-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-mutation-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-mutation-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-mutation-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-mutation-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-mutation-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-mutation-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-mutation-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-mutation-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-mutation-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-mutation-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-mutation-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-mutation-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-mutation-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-mutation-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-mutation-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{location-mutation-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-mutation-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-mutation-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-mutation-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-mutation-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-mutation-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,117 +1,117 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./shell-2130zj7j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node78
|
|
8
|
+
} from "./shell-zgavb9cq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID18,
|
|
11
|
+
Service76,
|
|
12
|
+
node81
|
|
13
|
+
} from "./shell-s24xwzhn.js";
|
|
14
14
|
import {
|
|
15
15
|
AgentNotFoundError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-1vr0zdnx.js";
|
|
17
17
|
import {
|
|
18
18
|
combine2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-eaj1djv9.js";
|
|
20
20
|
import {
|
|
21
21
|
provenance2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./shell-w1k39n5e.js";
|
|
23
23
|
import {
|
|
24
24
|
entriesForRunner2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./shell-yp48q4z8.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service71,
|
|
28
|
+
node76
|
|
29
|
+
} from "./shell-v261m4vn.js";
|
|
30
30
|
import {
|
|
31
31
|
merge2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./shell-50q5na77.js";
|
|
33
33
|
import {
|
|
34
34
|
Service47,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
node50
|
|
36
|
+
} from "./shell-90debe3t.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
make13
|
|
39
|
+
} from "./shell-t97t2t7r.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service33,
|
|
42
|
+
node37
|
|
43
|
+
} from "./shell-gds7y9rb.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service22,
|
|
46
|
+
node26
|
|
47
|
+
} from "./shell-xegjm1yz.js";
|
|
48
|
+
import {
|
|
49
|
+
Service34,
|
|
50
|
+
node38
|
|
51
|
+
} from "./shell-3q16w0pe.js";
|
|
48
52
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
53
|
+
Service26,
|
|
54
|
+
node31
|
|
55
|
+
} from "./shell-zfj5hy1g.js";
|
|
52
56
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
57
|
+
Service21,
|
|
58
|
+
node25
|
|
59
|
+
} from "./shell-2drtf3nf.js";
|
|
56
60
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
61
|
+
Service28,
|
|
62
|
+
node33
|
|
63
|
+
} from "./shell-98wx3ph6.js";
|
|
60
64
|
import {
|
|
61
65
|
Service27,
|
|
62
66
|
node32
|
|
63
|
-
} from "./
|
|
64
|
-
import {
|
|
65
|
-
Service30,
|
|
66
|
-
node35
|
|
67
|
-
} from "./location-mutation-h15s1ggr.js";
|
|
67
|
+
} from "./shell-eh4y4983.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service25,
|
|
70
|
+
node30
|
|
71
|
+
} from "./shell-s594x3a1.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service23,
|
|
74
|
+
node27
|
|
75
|
+
} from "./shell-cgfvx4w1.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service38,
|
|
78
|
+
node41
|
|
79
|
+
} from "./shell-7smec0s7.js";
|
|
80
80
|
import {
|
|
81
81
|
__export
|
|
82
|
-
} from "./
|
|
82
|
+
} from "./shell-9rqn6x4v.js";
|
|
83
83
|
|
|
84
84
|
// src/session/context.ts
|
|
85
85
|
var exports_context = {};
|
|
86
86
|
__export(exports_context, {
|
|
87
|
-
Service: () =>
|
|
87
|
+
Service: () => Service20,
|
|
88
88
|
SessionContext: () => exports_context,
|
|
89
|
-
node: () =>
|
|
89
|
+
node: () => node24
|
|
90
90
|
});
|
|
91
91
|
import { Model } from "@opencode/schema/model";
|
|
92
92
|
import { Context, Effect, Layer } from "effect";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
|
-
class
|
|
94
|
+
class Service20 extends Context.Service()("@opencode/SessionContext") {
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
97
|
-
const agents = yield*
|
|
98
|
-
const builtins = yield*
|
|
96
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
97
|
+
const agents = yield* Service76;
|
|
98
|
+
const builtins = yield* Service22;
|
|
99
99
|
const catalog = yield* Service47;
|
|
100
|
-
const db = (yield*
|
|
101
|
-
const discovery = yield*
|
|
102
|
-
const entries = yield*
|
|
103
|
-
const location = yield*
|
|
104
|
-
const mcpInstructions = yield*
|
|
105
|
-
const mcpTools = yield*
|
|
106
|
-
const models = yield*
|
|
107
|
-
const request = yield*
|
|
108
|
-
const referenceInstructions = yield*
|
|
109
|
-
const skillInstructions = yield*
|
|
110
|
-
const store = yield*
|
|
111
|
-
const registry = yield*
|
|
100
|
+
const db = (yield* Service80).db;
|
|
101
|
+
const discovery = yield* Service33;
|
|
102
|
+
const entries = yield* Service25;
|
|
103
|
+
const location = yield* Service73;
|
|
104
|
+
const mcpInstructions = yield* Service21;
|
|
105
|
+
const mcpTools = yield* Service26;
|
|
106
|
+
const models = yield* Service38;
|
|
107
|
+
const request = yield* Service23;
|
|
108
|
+
const referenceInstructions = yield* Service28;
|
|
109
|
+
const skillInstructions = yield* Service27;
|
|
110
|
+
const store = yield* Service71;
|
|
111
|
+
const registry = yield* Service34;
|
|
112
112
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
113
113
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
114
|
-
const agent = yield* agents.get(
|
|
114
|
+
const agent = yield* agents.get(ID18.make("title"));
|
|
115
115
|
if (!agent)
|
|
116
116
|
return;
|
|
117
117
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
164
164
|
agent: { ...agent, info: agent.info },
|
|
165
165
|
instructions: combine2([
|
|
166
166
|
loaded.builtins,
|
|
167
|
-
|
|
167
|
+
make13(loaded.tools.codeModeCatalog),
|
|
168
168
|
loaded.discovery,
|
|
169
169
|
loaded.skills,
|
|
170
170
|
loaded.references,
|
|
@@ -186,29 +186,29 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
186
186
|
tools: selection.tools
|
|
187
187
|
};
|
|
188
188
|
});
|
|
189
|
-
return
|
|
189
|
+
return Service20.of({ select, load, resolveModel, selectTitle, request });
|
|
190
190
|
}));
|
|
191
191
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node24 = makeLocationNode({
|
|
193
|
+
service: Service20,
|
|
194
194
|
layer,
|
|
195
195
|
deps: [
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
node81,
|
|
197
|
+
node50,
|
|
198
|
+
node85,
|
|
199
|
+
node26,
|
|
200
|
+
node37,
|
|
201
|
+
node30,
|
|
202
|
+
node78,
|
|
203
|
+
node25,
|
|
204
|
+
node31,
|
|
199
205
|
node33,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
node34,
|
|
204
|
-
node36,
|
|
206
|
+
node41,
|
|
207
|
+
node27,
|
|
208
|
+
node76,
|
|
205
209
|
node32,
|
|
206
|
-
|
|
207
|
-
node39,
|
|
208
|
-
node67,
|
|
209
|
-
node35,
|
|
210
|
-
node49
|
|
210
|
+
node38
|
|
211
211
|
]
|
|
212
212
|
});
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Service20, node24, exports_context };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node78
|
|
8
|
+
} from "./shell-zgavb9cq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service16,
|
|
11
|
+
node19
|
|
12
|
+
} from "./shell-6dgetf94.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,18 +21,18 @@ __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: () => Event4,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
|
-
NotFoundError: () =>
|
|
31
|
+
NotFoundError: () => NotFoundError3,
|
|
32
32
|
ReadInput: () => ReadInput2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service15,
|
|
34
34
|
Submatch: () => Submatch2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node18
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import path from "path";
|
|
@@ -44,7 +44,7 @@ var ReadInput2 = Schema.Struct({
|
|
|
44
44
|
path: RelativePath2
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
48
48
|
path: RelativePath2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
78
78
|
limit: Schema.optionalKey(PositiveInt2)
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
|
-
var
|
|
81
|
+
var Event4 = FileSystem.Event;
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class Service15 extends Context.Service()("@opencode/FileSystem") {
|
|
84
84
|
}
|
|
85
|
-
var baseLayer = Layer.effect(
|
|
85
|
+
var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
86
86
|
const fs = yield* FSUtil.Service;
|
|
87
|
-
const location = yield*
|
|
88
|
-
const search = yield*
|
|
87
|
+
const location = yield* Service73;
|
|
88
|
+
const search = yield* Service16;
|
|
89
89
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
90
90
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
91
91
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -96,15 +96,15 @@ var baseLayer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
96
96
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
97
97
|
return { absolute, real, directory: location.directory };
|
|
98
98
|
});
|
|
99
|
-
return
|
|
99
|
+
return Service15.of({
|
|
100
100
|
find: search.find,
|
|
101
101
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
102
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
103
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
102
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
103
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
104
104
|
if (info.type !== "File")
|
|
105
105
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
106
106
|
return {
|
|
107
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
107
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
|
|
108
108
|
mime: FSUtil.mimeType(target.real)
|
|
109
109
|
};
|
|
110
110
|
}),
|
|
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
131
|
+
var node18 = makeLocationNode({
|
|
132
|
+
service: Service15,
|
|
133
133
|
layer: baseLayer,
|
|
134
|
-
deps: [FSUtil.node,
|
|
134
|
+
deps: [FSUtil.node, node78, node19]
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
-
export { FindInput2, ReadInput2,
|
|
137
|
+
export { FindInput2, ReadInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service15, node18, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-m1xnp8jy.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info22
|
|
11
|
+
} from "./shell-bq71cpr0.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -87,7 +87,7 @@ async function get2(baseURL, headers, existing) {
|
|
|
87
87
|
result.set(id, build(id, current, baseURL, model));
|
|
88
88
|
}
|
|
89
89
|
for (const [id, model] of remote) {
|
|
90
|
-
const key =
|
|
90
|
+
const key = ID8.make(id);
|
|
91
91
|
if (result.has(key))
|
|
92
92
|
continue;
|
|
93
93
|
result.set(key, build(key, model, baseURL));
|
|
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
111
111
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
112
112
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
113
113
|
const released = previous?.time.released || Date.parse(version);
|
|
114
|
-
return
|
|
115
|
-
...
|
|
114
|
+
return Info22.make({
|
|
115
|
+
...Info22.default(ID9.githubCopilot, id),
|
|
116
116
|
id,
|
|
117
|
-
modelID:
|
|
118
|
-
providerID:
|
|
117
|
+
modelID: ID8.make(remote.id),
|
|
118
|
+
providerID: ID9.githubCopilot,
|
|
119
119
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
120
120
|
name: previous?.name ?? remote.name,
|
|
121
121
|
package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./shell-2130zj7j.js";
|
|
1
5
|
import {
|
|
2
6
|
Service79,
|
|
3
7
|
node84
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service78,
|
|
7
|
-
node83
|
|
8
|
-
} from "./location-mutation-31q0a33n.js";
|
|
8
|
+
} from "./shell-tsmdsbrt.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event15,
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info25,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service67,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node71
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID11 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event15 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info25 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID11,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service67 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service80).db;
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info25({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service67.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info25({
|
|
80
|
+
id: ID11.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node71 = makeGlobalNode({ service: Service67, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID11, OAuth3, Key3, Value2, Event15, Info25, Service67, node71, exports_credential };
|
|
@@ -4,29 +4,29 @@ import {
|
|
|
4
4
|
empty3,
|
|
5
5
|
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-eaj1djv9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID12,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service68,
|
|
13
|
+
node73
|
|
14
|
+
} from "./shell-hwcbwms2.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions3 = {};
|
|
21
|
+
__export(exports_instructions3, {
|
|
22
|
+
Service: () => Service27,
|
|
23
|
+
SkillInstructions: () => exports_instructions3,
|
|
24
|
+
node: () => node32
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID12,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,11 +60,11 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service27 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service68;
|
|
67
|
+
return Service27.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node32 = makeLocationNode({ service: Service27, layer, deps: [node73] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service27, node32, exports_instructions3 };
|