@opencode/core 0.0.0-dev-19694 → 0.0.0-dev-19696
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 +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-0h0a48ec.js → event-logger-01b47qtp.js} +11 -11
- package/dist/chunks/{location-qmhk62hb.js → event-logger-04tfxcdr.js} +12 -12
- package/dist/chunks/{location-4pkxdsqk.js → event-logger-05v53jqr.js} +16 -16
- package/dist/chunks/{location-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → event-logger-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-jja9acsd.js → event-logger-0vfpb1xb.js} +11 -11
- package/dist/chunks/{location-k9kv5pgr.js → event-logger-0wy3snq7.js} +26 -26
- package/dist/chunks/{location-23sxaqwc.js → event-logger-0z8vjex2.js} +9 -9
- package/dist/chunks/{location-7mamhmm7.js → event-logger-13wq6x1c.js} +4 -4
- package/dist/chunks/{location-9h41vc4j.js → event-logger-179189h4.js} +4 -4
- package/dist/chunks/{location-4b260xn2.js → event-logger-17f1vy2k.js} +16 -16
- package/dist/chunks/{location-kmnqxjps.js → event-logger-188xsh1a.js} +17 -17
- package/dist/chunks/{location-rr7630r8.js → event-logger-19fstv4x.js} +31 -31
- package/dist/chunks/{location-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-5a8cmj9a.js → event-logger-1krkmatr.js} +35 -35
- package/dist/chunks/{location-xsskq6cm.js → event-logger-1sz0q25f.js} +3 -3
- package/dist/chunks/{location-xrzwnsts.js → event-logger-1tmhegch.js} +43 -43
- package/dist/chunks/event-logger-1x11rq2a.js +18 -0
- package/dist/chunks/{location-ekztwtwh.js → event-logger-20pty4bt.js} +1 -1
- package/dist/chunks/{location-21r38tys.js → event-logger-21r38tys.js} +1 -1
- package/dist/chunks/{location-z63w68vq.js → event-logger-29x78va6.js} +6 -6
- package/dist/chunks/{location-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-7dqw4kz8.js → event-logger-2k8khapm.js} +5 -5
- package/dist/chunks/{location-33w4ejhs.js → event-logger-33w4ejhs.js} +2 -2
- package/dist/chunks/{location-g8pm1eg0.js → event-logger-3bnndehn.js} +22 -22
- package/dist/chunks/{location-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-cf88hb9r.js → event-logger-3fzmg2hw.js} +8 -8
- package/dist/chunks/{location-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-ydamxwc3.js → event-logger-3hj4sy0w.js} +20 -20
- package/dist/chunks/{location-z1gcgxr5.js → event-logger-3saaabmq.js} +32 -32
- package/dist/chunks/{location-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-g4damz2s.js → event-logger-3vw29xv7.js} +13 -13
- package/dist/chunks/{location-yvzbnmva.js → event-logger-3x4h1ana.js} +30 -30
- package/dist/chunks/{location-1sn79vb4.js → event-logger-4ax32ygz.js} +15 -15
- package/dist/chunks/{location-5sgk8ws7.js → event-logger-4bj34vg3.js} +13 -13
- package/dist/chunks/{location-8hvvgkp1.js → event-logger-4d1mbfn8.js} +5 -5
- package/dist/chunks/{location-64t5n8f6.js → event-logger-4db5ydnd.js} +12 -12
- package/dist/chunks/{location-fr5ztnz3.js → event-logger-4e3p0ks6.js} +12 -12
- package/dist/chunks/{location-9f3c306s.js → event-logger-4gchpvx5.js} +23 -23
- package/dist/chunks/{location-8dj191es.js → event-logger-4k2yzf3a.js} +33 -33
- package/dist/chunks/{location-fad6j005.js → event-logger-4qm6cy38.js} +11 -11
- package/dist/chunks/{location-htjddf50.js → event-logger-4smwsnvt.js} +19 -19
- package/dist/chunks/{location-1eyeymhy.js → event-logger-4xvgz3xk.js} +3 -3
- package/dist/chunks/{location-57ez7d0k.js → event-logger-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-a1bz86dw.js → event-logger-5c4hm403.js} +3 -3
- package/dist/chunks/{location-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
- package/dist/chunks/{location-pkzh3qng.js → event-logger-5hga1171.js} +10 -10
- package/dist/chunks/{location-ktqj97zq.js → event-logger-5qgsxy42.js} +8 -8
- package/dist/chunks/{location-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-5yzzbxa7.js → event-logger-5xtgfte3.js} +8 -8
- package/dist/chunks/{location-6z0vzmdg.js → event-logger-61x4fbmb.js} +5 -5
- package/dist/chunks/{location-mcf7gtm1.js → event-logger-64m00t7s.js} +25 -25
- package/dist/chunks/{location-669tq793.js → event-logger-669tq793.js} +1 -1
- package/dist/chunks/{location-ztza8yfw.js → event-logger-6d2pv072.js} +8 -8
- package/dist/chunks/{location-2tphjjya.js → event-logger-6dtn2yeh.js} +16 -16
- package/dist/chunks/{location-2402vzrj.js → event-logger-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-hcq3pck3.js → event-logger-6kdtsqv3.js} +17 -17
- package/dist/chunks/{location-6msgmcgs.js → event-logger-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-dk3zb08y.js → event-logger-6pw3x1qa.js} +7 -7
- package/dist/chunks/{location-36pgk13z.js → event-logger-6sn0sakd.js} +3 -3
- package/dist/chunks/{location-ynhykprc.js → event-logger-6t2b8ngt.js} +13 -13
- package/dist/chunks/{location-ynkdr5w5.js → event-logger-72f1ase6.js} +6 -6
- package/dist/chunks/{location-dmwb5j6b.js → event-logger-7648d4x5.js} +2 -2
- package/dist/chunks/{location-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-n0e5d28z.js → event-logger-7dw7qv3b.js} +4 -4
- package/dist/chunks/{location-x4ft4gxn.js → event-logger-7x9ewdc2.js} +43 -43
- package/dist/chunks/{location-9ex8f1cq.js → event-logger-89bb6baa.js} +8 -8
- package/dist/chunks/{location-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-egxr99f1.js → event-logger-8gb5n45w.js} +22 -22
- package/dist/chunks/{location-6sanwebc.js → event-logger-8h4n85cr.js} +25 -25
- package/dist/chunks/event-logger-8h7h57vj.js +247 -0
- package/dist/chunks/{location-wgrtt790.js → event-logger-8p8djd9s.js} +46 -46
- package/dist/chunks/{location-nyp6zeaz.js → event-logger-8wy1nzpa.js} +11 -11
- package/dist/chunks/{location-vcjpcx03.js → event-logger-93677cdp.js} +28 -28
- package/dist/chunks/{location-ycjb11n5.js → event-logger-9ae44cfy.js} +6 -6
- package/dist/chunks/{location-2v0smvdr.js → event-logger-9ejxjpc6.js} +6 -6
- package/dist/chunks/{location-qnkt5fks.js → event-logger-9jxgm3qa.js} +20 -20
- package/dist/chunks/{location-vmgq4x8b.js → event-logger-9kmbd9mt.js} +2 -2
- package/dist/chunks/{location-cjmgn8y7.js → event-logger-9qfe2ja1.js} +26 -26
- package/dist/chunks/{location-kck4086h.js → event-logger-9rzn19qa.js} +22 -22
- package/dist/chunks/{location-4445jz97.js → event-logger-9sknkp5y.js} +20 -20
- package/dist/chunks/{location-zhhtqbvz.js → event-logger-9waqcrmt.js} +44 -44
- package/dist/chunks/{location-224hfwad.js → event-logger-a5zcwyze.js} +15 -15
- package/dist/chunks/{location-59dzktqd.js → event-logger-a6rtf9r8.js} +4 -4
- package/dist/chunks/{location-ay3b2ggg.js → event-logger-a7f6pmj6.js} +8 -8
- package/dist/chunks/{location-m0r31qfn.js → event-logger-a89e0tac.js} +4 -4
- package/dist/chunks/{location-z50dt07a.js → event-logger-a9ank4cb.js} +19 -19
- package/dist/chunks/{location-pvjjmvt0.js → event-logger-aacmedp5.js} +32 -32
- package/dist/chunks/{location-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
- package/dist/chunks/{location-s01fwkep.js → event-logger-afqg5w8y.js} +8 -8
- package/dist/chunks/{location-p0nbrkfy.js → event-logger-ahy3czyv.js} +30 -30
- package/dist/chunks/{location-gg6cnatt.js → event-logger-avkqcmq8.js} +13 -13
- package/dist/chunks/{location-8dem3s5f.js → event-logger-aw3mvnxt.js} +11 -11
- package/dist/chunks/{location-nrgy2ypj.js → event-logger-b0qp2rc8.js} +59 -59
- package/dist/chunks/{location-er54khy7.js → event-logger-b5g7n234.js} +4 -4
- package/dist/chunks/{location-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mqvx4cv3.js → event-logger-b7ve3twh.js} +11 -11
- package/dist/chunks/{location-26k5bknw.js → event-logger-bccb6npm.js} +4 -4
- package/dist/chunks/{location-zxebshr7.js → event-logger-bmsexbt7.js} +7 -7
- package/dist/chunks/{location-nt93nnje.js → event-logger-bntmz9b0.js} +9 -9
- package/dist/chunks/{location-a0kv3qe5.js → event-logger-bqcajhr5.js} +3 -3
- package/dist/chunks/{location-qqegwzzx.js → event-logger-bt4aqhzs.js} +51 -51
- package/dist/chunks/{location-2eegacq4.js → event-logger-c27esgm9.js} +8 -8
- package/dist/chunks/{location-p9psax7t.js → event-logger-c43stmsp.js} +28 -28
- package/dist/chunks/{location-4yv3tfyh.js → event-logger-c68hde1t.js} +23 -23
- package/dist/chunks/{location-3cfzdc8e.js → event-logger-c78bbtc9.js} +5 -5
- package/dist/chunks/{location-0fj5p9dg.js → event-logger-c7qc25s7.js} +43 -43
- package/dist/chunks/{location-hxamr57h.js → event-logger-c8ch9ja0.js} +32 -32
- package/dist/chunks/{location-dcse214k.js → event-logger-c8xqcx36.js} +6 -6
- package/dist/chunks/{location-qteqqeas.js → event-logger-ca99xzkn.js} +20 -20
- package/dist/chunks/{location-0fws8hsh.js → event-logger-cbfw9r1s.js} +39 -39
- package/dist/chunks/event-logger-ce6sxck2.js +26 -0
- package/dist/chunks/{location-zfxxb779.js → event-logger-cpcmeqtm.js} +18 -18
- package/dist/chunks/{location-tgc1gxnk.js → event-logger-cqka59kj.js} +24 -24
- package/dist/chunks/{location-gaxfpy5m.js → event-logger-ctd8n39e.js} +28 -28
- package/dist/chunks/{location-mbzssvbs.js → event-logger-d1h4tmpp.js} +14 -14
- package/dist/chunks/{location-4xcd1knb.js → event-logger-d3sv793z.js} +14 -14
- package/dist/chunks/{location-vncycja5.js → event-logger-dfe8djrf.js} +4 -4
- package/dist/chunks/{location-8p4f9s12.js → event-logger-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-cwa6csj7.js → event-logger-djszqvmq.js} +9 -9
- package/dist/chunks/{location-y71avatq.js → event-logger-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-5gjmv7pj.js → event-logger-dps9xtkj.js} +19 -19
- package/dist/chunks/{location-drwq78ky.js → event-logger-drwq78ky.js} +1 -1
- package/dist/chunks/{location-6et2tsyb.js → event-logger-dsqw74eh.js} +29 -29
- package/dist/chunks/{location-zagjgefr.js → event-logger-e1dnmayq.js} +41 -41
- package/dist/chunks/{location-5qd3pb7m.js → event-logger-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-2qrxnqfp.js → event-logger-ea07kf8j.js} +30 -30
- package/dist/chunks/{location-62kxvbf2.js → event-logger-een8h1ye.js} +22 -22
- package/dist/chunks/{location-ef5x83kb.js → event-logger-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-ctecyn49.js → event-logger-err3782n.js} +5 -5
- package/dist/chunks/{location-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-saskwv33.js → event-logger-ety6crw6.js} +17 -17
- package/dist/chunks/{location-8r6rwc5s.js → event-logger-f1q81vwr.js} +42 -42
- package/dist/chunks/{location-b6a6whtj.js → event-logger-f6r8b46e.js} +22 -22
- package/dist/chunks/{location-t0dpm7yv.js → event-logger-f9qen07q.js} +6 -6
- package/dist/chunks/{location-d2j26fpy.js → event-logger-faq1wr3f.js} +5 -5
- package/dist/chunks/{location-9myg4ep2.js → event-logger-fc2s70hv.js} +4 -4
- package/dist/chunks/{location-wvkrr4sa.js → event-logger-fchh1bgk.js} +6 -6
- package/dist/chunks/{location-mae1tpq4.js → event-logger-fhc8rz2n.js} +4 -4
- package/dist/chunks/{location-8aqjv0nr.js → event-logger-fn208hd8.js} +17 -17
- package/dist/chunks/{location-sw9t6trv.js → event-logger-fn3mjbaf.js} +13 -13
- package/dist/chunks/{location-8bb7e2vp.js → event-logger-ftg4rydt.js} +15 -15
- package/dist/chunks/{location-fxbjtjnd.js → event-logger-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-mg7x2rv6.js → event-logger-g4djwcd0.js} +18 -18
- package/dist/chunks/{location-2acx5bed.js → event-logger-gbt5rka5.js} +32 -32
- package/dist/chunks/{location-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mwth6yg5.js → event-logger-ggwvfage.js} +7 -7
- package/dist/chunks/{location-gv6a8nnw.js → event-logger-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-h03wrkyp.js → event-logger-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-cr9wy6w1.js → event-logger-h6nxw0pd.js} +8 -8
- package/dist/chunks/{location-44h5tttr.js → event-logger-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-f828m53h.js → event-logger-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-gafq8thx.js → event-logger-hm2zm27q.js} +24 -24
- package/dist/chunks/{location-5ap504dp.js → event-logger-hm3w4rrh.js} +9 -9
- package/dist/chunks/{location-wbkyxrgf.js → event-logger-hnr5yq9h.js} +5 -5
- package/dist/chunks/{location-18etdt57.js → event-logger-hps3qd0z.js} +34 -34
- package/dist/chunks/{location-hes91rk8.js → event-logger-hxyn71fx.js} +28 -28
- package/dist/chunks/{location-dgp71kyc.js → event-logger-j138d028.js} +11 -11
- package/dist/chunks/{location-7aath5aj.js → event-logger-j3kw8hdv.js} +21 -21
- package/dist/chunks/{location-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
- package/dist/chunks/{location-95548ppq.js → event-logger-jf0100jp.js} +15 -15
- package/dist/chunks/{location-0hztt1kq.js → event-logger-jkjeh5ca.js} +9 -9
- package/dist/chunks/{location-bha4atvq.js → event-logger-jmphe03k.js} +4 -4
- package/dist/chunks/{location-jppvw2tx.js → event-logger-jppvw2tx.js} +2 -2
- package/dist/chunks/{location-dd1trpre.js → event-logger-jvkzm5xa.js} +11 -11
- package/dist/chunks/{location-v5dkyp31.js → event-logger-k8962brh.js} +7 -7
- package/dist/chunks/{location-q8peyv7x.js → event-logger-k8dasee7.js} +5 -5
- package/dist/chunks/{location-jbwprqzn.js → event-logger-kemwpm5w.js} +20 -20
- package/dist/chunks/{location-knb7evpn.js → event-logger-knb7evpn.js} +2 -2
- package/dist/chunks/{location-qfx1fv8t.js → event-logger-knt2d5dz.js} +37 -37
- package/dist/chunks/{location-tbnvg551.js → event-logger-krz0x7qr.js} +21 -21
- package/dist/chunks/{location-a3hwp3ky.js → event-logger-kwhenx4x.js} +22 -22
- package/dist/chunks/{location-fg0na9z0.js → event-logger-kymbt4nv.js} +5 -5
- package/dist/chunks/{location-cfpkc3c9.js → event-logger-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-78z8y7xk.js → event-logger-m0wrnjqy.js} +15 -15
- package/dist/chunks/{location-m3fdjcah.js → event-logger-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-5cmxdwv8.js → event-logger-mf9m2v67.js} +3 -3
- package/dist/chunks/{location-mhkvc446.js → event-logger-mhkvc446.js} +1 -1
- package/dist/chunks/{location-8w4gja5v.js → event-logger-mj1kzh8e.js} +8 -8
- package/dist/chunks/{location-xzr5bprg.js → event-logger-mrkxfjrm.js} +7 -7
- package/dist/chunks/{location-98s8e1rw.js → event-logger-n9ab4v8a.js} +11 -11
- package/dist/chunks/{location-k3vfx57e.js → event-logger-nhwybaja.js} +8 -8
- package/dist/chunks/{location-nndcbz7q.js → event-logger-nkxhmy90.js} +9 -9
- package/dist/chunks/{location-xbtv5mhj.js → event-logger-nm7k9b47.js} +10 -10
- package/dist/chunks/{location-fhs97t90.js → event-logger-nq7qbqzc.js} +9 -9
- package/dist/chunks/{location-c7q16h9q.js → event-logger-nqa5x1jj.js} +11 -11
- package/dist/chunks/{location-v40pwdea.js → event-logger-ntqvmrke.js} +23 -23
- package/dist/chunks/{location-d2aac7k2.js → event-logger-nxhqveyz.js} +5 -5
- package/dist/chunks/{location-c3jt164g.js → event-logger-nxj8q3z1.js} +13 -13
- package/dist/chunks/{location-0qznmr0s.js → event-logger-nyhn54eh.js} +5 -5
- package/dist/chunks/{location-nzks3jc8.js → event-logger-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-494y9cte.js → event-logger-p1yzh2vf.js} +31 -31
- package/dist/chunks/{location-b80j8sws.js → event-logger-p5std9sz.js} +2 -2
- package/dist/chunks/{location-e4wmmsry.js → event-logger-pe1p1yy9.js} +11 -11
- package/dist/chunks/{location-6z0fr5t2.js → event-logger-pe36w2ba.js} +3 -3
- package/dist/chunks/{location-s2wcapj3.js → event-logger-phj7xkps.js} +5 -5
- package/dist/chunks/{location-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{location-a3mksyy2.js → event-logger-pwbngr23.js} +6 -6
- package/dist/chunks/{location-g82ree5z.js → event-logger-q2ba8v2v.js} +23 -23
- package/dist/chunks/{location-6rtfy69a.js → event-logger-q4aa1wsx.js} +11 -11
- package/dist/chunks/{location-00n4z9c8.js → event-logger-qpmg2b3j.js} +22 -22
- package/dist/chunks/{location-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
- package/dist/chunks/{location-ntcrhfhr.js → event-logger-qzq644bb.js} +9 -9
- package/dist/chunks/{location-mrgw8ysz.js → event-logger-r0tg5n0q.js} +11 -11
- package/dist/chunks/{location-fmveprfr.js → event-logger-r1a0vwxw.js} +87 -87
- package/dist/chunks/{location-xc9yqyqb.js → event-logger-r6a6hdhd.js} +5 -5
- package/dist/chunks/{location-rjqxc1v9.js → event-logger-r8xnyvet.js} +8 -8
- package/dist/chunks/{location-xz6s1xa8.js → event-logger-rdrmz1by.js} +22 -22
- package/dist/chunks/{location-rdw6cm16.js → event-logger-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-ttkf10kh.js → event-logger-rhyygntq.js} +18 -18
- package/dist/chunks/{location-5wpr938k.js → event-logger-rj058vke.js} +13 -13
- package/dist/chunks/{location-1rgdf1rr.js → event-logger-rnxe7nh0.js} +14 -14
- package/dist/chunks/{location-79etttnd.js → event-logger-ryh3zg0t.js} +32 -32
- package/dist/chunks/{location-b97cbvw3.js → event-logger-ryt7pzqc.js} +1 -1
- package/dist/chunks/{location-vnn74pma.js → event-logger-s0gbcvwp.js} +11 -11
- package/dist/chunks/{location-yrznvahk.js → event-logger-s4enseaf.js} +2 -2
- package/dist/chunks/{location-37w33ens.js → event-logger-sak3c8dk.js} +30 -30
- package/dist/chunks/{location-cd9h2kba.js → event-logger-sj5xhsdt.js} +292 -292
- package/dist/chunks/{location-wnbvcgmq.js → event-logger-sk4vs9as.js} +23 -23
- package/dist/chunks/{location-e6hd9jay.js → event-logger-ss0awb04.js} +6 -6
- package/dist/chunks/{location-x5p3q6jj.js → event-logger-ssyjj9wr.js} +31 -31
- package/dist/chunks/{location-kjayet2y.js → event-logger-sx9mw961.js} +20 -20
- package/dist/chunks/{location-7pxh4w28.js → event-logger-t16mb6cm.js} +94 -94
- package/dist/chunks/{location-n4r3xatb.js → event-logger-t2az9yje.js} +4 -4
- package/dist/chunks/{location-2p6gg44v.js → event-logger-t31hm6b2.js} +12 -12
- package/dist/chunks/{location-06t18zr6.js → event-logger-t36q68m4.js} +11 -11
- package/dist/chunks/{location-eaj1djv9.js → event-logger-t550f9t1.js} +8 -8
- package/dist/chunks/{location-5g14qra5.js → event-logger-t5f4yr10.js} +23 -23
- package/dist/chunks/{location-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → event-logger-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → event-logger-tdstcens.js} +1 -1
- package/dist/chunks/{location-ts3vzd1n.js → event-logger-tfsr834s.js} +11 -11
- package/dist/chunks/{location-ahh4p74p.js → event-logger-tj47gbtw.js} +172 -172
- package/dist/chunks/{location-486w7fxe.js → event-logger-tpfb5g91.js} +47 -47
- package/dist/chunks/{location-ek8mqh7t.js → event-logger-tqxxw7kd.js} +3 -3
- package/dist/chunks/{location-25r5rnx4.js → event-logger-tsv8nndt.js} +19 -19
- package/dist/chunks/{location-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
- package/dist/chunks/{location-6k7g8b2m.js → event-logger-v1vcwkx7.js} +1 -1
- package/dist/chunks/{location-cdmrqbam.js → event-logger-v2wypf96.js} +25 -25
- package/dist/chunks/{location-ykn0ce9z.js → event-logger-v377geyv.js} +40 -40
- package/dist/chunks/{location-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
- package/dist/chunks/{location-gv620b2y.js → event-logger-vf6sj15q.js} +32 -32
- package/dist/chunks/{location-7j5hs3da.js → event-logger-vh2tx9xz.js} +25 -25
- package/dist/chunks/{location-xtcpx0xj.js → event-logger-vmaybtjz.js} +66 -66
- package/dist/chunks/{location-dsp1hxq9.js → event-logger-vqr5d69s.js} +27 -27
- package/dist/chunks/{location-92azg307.js → event-logger-vykevjvn.js} +5 -5
- package/dist/chunks/{location-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-hc9acsgr.js → event-logger-w3jg838k.js} +9 -9
- package/dist/chunks/{location-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-4y72ap3v.js → event-logger-w47g9jnr.js} +12 -12
- package/dist/chunks/{location-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{location-gt4y1qkk.js → event-logger-wvjjmvtg.js} +14 -14
- package/dist/chunks/{location-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-cavr175a.js → event-logger-xdk9p2qn.js} +21 -21
- package/dist/chunks/event-logger-xrsqh21y.js +4 -0
- package/dist/chunks/{location-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-y35sf2j4.js → event-logger-y35sf2j4.js} +1 -1
- package/dist/chunks/{location-abe9ad8b.js → event-logger-y4x2wnhh.js} +10 -10
- package/dist/chunks/{location-6hjx5zpb.js → event-logger-y56ehv6b.js} +9 -9
- package/dist/chunks/{location-vxtegm14.js → event-logger-y8fxbhx4.js} +8 -8
- package/dist/chunks/{location-s8h33rd2.js → event-logger-ybksaspp.js} +28 -28
- package/dist/chunks/{location-6a605wbe.js → event-logger-yh95ww3s.js} +56 -56
- package/dist/chunks/{location-8t8275hn.js → event-logger-yjd544d2.js} +9 -9
- package/dist/chunks/{location-bhjnpvv2.js → event-logger-ymetdb9t.js} +11 -11
- package/dist/chunks/{location-r8xr0va3.js → event-logger-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-50hsvrdv.js → event-logger-yrwsfcys.js} +21 -21
- package/dist/chunks/{location-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-1d2mbafx.js → event-logger-z0cjqv7c.js} +13 -13
- package/dist/chunks/{location-mmftb33c.js → event-logger-z1qfhdd8.js} +10 -10
- package/dist/chunks/{location-vnh2skne.js → event-logger-z4vrje5h.js} +14 -14
- package/dist/chunks/{location-0496x3fd.js → event-logger-zaq546np.js} +33 -33
- package/dist/chunks/{location-zwv3ctjf.js → event-logger-zcqt3ngz.js} +42 -42
- package/dist/chunks/{location-zeh9ct20.js → event-logger-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-vmwh049b.js → event-logger-zt6fd653.js} +9 -9
- package/dist/chunks/{location-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- 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 +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +98 -98
- package/dist/git.js +10 -10
- 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 +98 -98
- 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 +356 -356
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- 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 +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- 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 +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- 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 +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-0kdkcf2f.js +0 -26
- package/dist/chunks/location-0mesazry.js +0 -4
- package/dist/chunks/location-f3feb8zp.js +0 -247
- package/dist/chunks/location-rap9a73h.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → event-logger-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → event-logger-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./event-logger-w47g9jnr.js";
|
|
11
11
|
import {
|
|
12
12
|
Service78,
|
|
13
13
|
node82
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-p5std9sz.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID12,
|
|
27
|
+
Service: () => Service70,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node74,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID12 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service70 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const location = yield* Service78;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID12.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service70.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node74 = makeLocationNode({
|
|
144
|
+
service: Service70,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service70, Service70.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service39, Service39.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error5({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID12, Error5, Service70, node74, noopLayer3, exports_snapshot2 };
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service52,
|
|
9
|
+
node54
|
|
10
|
+
} from "./event-logger-9waqcrmt.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-mf9m2v67.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service35,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node37,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service35 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service52;
|
|
77
|
+
return Service35.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node37 = makeLocationNode({ service: Service35, layer, deps: [node54] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service35, resolved2, node37, exports_model };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./event-logger-93677cdp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./event-logger-b0qp2rc8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin47,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin47 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service75;
|
|
57
|
+
const permission = yield* Service48;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name14, description6,
|
|
118
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
|
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./event-logger-17f1vy2k.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
7
|
node82
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-p5std9sz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID7,
|
|
11
|
+
Service51,
|
|
12
|
+
node53
|
|
13
|
+
} from "./event-logger-vqr5d69s.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError6
|
|
16
|
+
} from "./event-logger-zt6fd653.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service49,
|
|
19
|
+
node51
|
|
20
|
+
} from "./event-logger-a9ank4cb.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./event-logger-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service50,
|
|
26
|
+
node52
|
|
27
|
+
} from "./event-logger-9jxgm3qa.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service61,
|
|
30
|
+
node64
|
|
31
|
+
} from "./event-logger-c27esgm9.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
49
|
-
Reply: () =>
|
|
45
|
+
Event: () => Event9,
|
|
46
|
+
ID: () => ID5,
|
|
47
|
+
NotFoundError: () => NotFoundError5,
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
|
+
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
52
|
-
Rule: () =>
|
|
51
|
+
Request: () => Request2,
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service48,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node50
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event9 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID5 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request2 = Permission.Request;
|
|
78
|
+
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID5.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID7.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID5,
|
|
86
|
+
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID5,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID5
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service48 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
130
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service80;
|
|
132
132
|
const location = yield* Service78;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service51;
|
|
134
|
+
const sessions = yield* Service49;
|
|
135
|
+
const saved = yield* Service50;
|
|
136
|
+
const hooks = yield* Service61;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError6({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID5.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError5({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service48.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node50 = makeLocationNode({
|
|
289
|
+
service: Service48,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node84, node82, node53, node51, node52, node64]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID5, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service48, node50, exports_permission, Rule2, Ruleset2, Event9 };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-zt6fd653.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-b0qp2rc8.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-ryh3zg0t.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./event-logger-avkqcmq8.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./event-logger-sx9mw961.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./event-logger-cbfw9r1s.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9ejxjpc6.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin32
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin32 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service56;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service57;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin31 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin32, exports_compatibility };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info9,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info9 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
52
52
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
53
53
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Info9, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./event-logger-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|