@opencode/core 0.0.0-dev-20737 → 0.0.0-dev-20738
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 +80 -80
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{skill-5pyjqqve.js → kv-007agb8z.js} +2 -2
- package/dist/chunks/{skill-yg6nt6v4.js → kv-05xfxpq7.js} +5 -5
- package/dist/chunks/{skill-n4wrc38t.js → kv-0jck1kcq.js} +10 -10
- package/dist/chunks/{skill-djcq789t.js → kv-0p15mrma.js} +42 -42
- package/dist/chunks/{skill-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-pbh0vz0q.js → kv-0re18gy8.js} +14 -14
- package/dist/chunks/{skill-qt9r0byv.js → kv-0v09vagk.js} +13 -13
- package/dist/chunks/{skill-0vbcp93d.js → kv-0vbcp93d.js} +2 -2
- package/dist/chunks/{skill-1ffbm2jk.js → kv-10h2grd6.js} +11 -11
- package/dist/chunks/{skill-72rdzmg5.js → kv-12a3t8vh.js} +46 -46
- package/dist/chunks/{skill-tbhgqgrp.js → kv-13bwbegs.js} +6 -6
- package/dist/chunks/{skill-10q5xqqa.js → kv-1cgd7pha.js} +11 -11
- package/dist/chunks/{skill-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{skill-1dvck2a7.js → kv-1dvck2a7.js} +2 -2
- package/dist/chunks/{skill-zzbsmw59.js → kv-1vq0vbyf.js} +21 -21
- package/dist/chunks/{skill-mfqp6xfm.js → kv-1ygqh575.js} +6 -6
- package/dist/chunks/{skill-wex2zvbh.js → kv-2579kh9d.js} +7 -7
- package/dist/chunks/{skill-yrk4rgjd.js → kv-25py64se.js} +19 -19
- package/dist/chunks/{skill-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-etpqnkca.js → kv-2nyjj8hd.js} +11 -11
- package/dist/chunks/{skill-r2m716tb.js → kv-2sejkfem.js} +9 -9
- package/dist/chunks/{skill-swvjn5a3.js → kv-35a7vcrd.js} +3 -3
- package/dist/chunks/{skill-7s6ywcxg.js → kv-366ph4b8.js} +11 -11
- package/dist/chunks/{skill-3qaj82j9.js → kv-3801kdgp.js} +5 -5
- package/dist/chunks/{skill-dkd21v3p.js → kv-39259x0v.js} +13 -13
- package/dist/chunks/{skill-wex12k0g.js → kv-39eerbas.js} +44 -44
- package/dist/chunks/{skill-38hn9kqs.js → kv-3bh97vej.js} +20 -20
- package/dist/chunks/{skill-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-v0yy4vhd.js → kv-3hxhjqkg.js} +15 -15
- package/dist/chunks/{skill-489wr3gf.js → kv-3k6tstd2.js} +50 -50
- package/dist/chunks/{skill-za34rbws.js → kv-3ptewvj2.js} +47 -47
- package/dist/chunks/{skill-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-sd90cypy.js → kv-3vxensx3.js} +15 -15
- package/dist/chunks/{skill-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
- package/dist/chunks/{skill-6yhjnbtw.js → kv-42t96xj3.js} +24 -24
- package/dist/chunks/{skill-dnk9eqsn.js → kv-45595hde.js} +29 -29
- package/dist/chunks/{skill-jd8va912.js → kv-47mf4edr.js} +19 -19
- package/dist/chunks/{skill-z6rxv4fn.js → kv-4ckpdmry.js} +32 -32
- package/dist/chunks/{skill-fh1gv0p9.js → kv-4ddjjg0p.js} +26 -26
- package/dist/chunks/{skill-fwfdmgk0.js → kv-4drgpw32.js} +5 -5
- package/dist/chunks/{skill-23q06crd.js → kv-4g1zz2v1.js} +8 -8
- package/dist/chunks/{skill-4ts7tf6z.js → kv-4ts7tf6z.js} +2 -2
- package/dist/chunks/{skill-wxzftkw1.js → kv-54fe0yvq.js} +10 -10
- package/dist/chunks/{skill-r94pvvab.js → kv-54ma36ye.js} +4 -4
- package/dist/chunks/{skill-k5s3j7zg.js → kv-5epaq3n7.js} +24 -24
- package/dist/chunks/{skill-ezajbw9f.js → kv-5evczv99.js} +11 -11
- package/dist/chunks/{skill-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{skill-7t1q934f.js → kv-5ymsght2.js} +10 -10
- package/dist/chunks/{skill-w8kt14yd.js → kv-67d2xr1y.js} +19 -19
- package/dist/chunks/{skill-t89fqycx.js → kv-69apea2v.js} +8 -8
- package/dist/chunks/{skill-ztpyyfxw.js → kv-6cdytb58.js} +14 -14
- package/dist/chunks/{skill-c06b7ecc.js → kv-6dtqx3zc.js} +13 -13
- package/dist/chunks/{skill-zv33fkyr.js → kv-6evx7sdp.js} +12 -12
- package/dist/chunks/{skill-43kacva0.js → kv-6fddr8vc.js} +4 -4
- package/dist/chunks/{skill-kk9nk0jx.js → kv-6g5spzhr.js} +27 -27
- package/dist/chunks/{skill-1scbvhtv.js → kv-6rxsm8b2.js} +27 -27
- package/dist/chunks/{skill-xg8xczng.js → kv-6t5kp9rh.js} +15 -15
- package/dist/chunks/{skill-bsprd9wx.js → kv-6w7198b7.js} +6 -6
- package/dist/chunks/{skill-6xb47vfp.js → kv-6xb47vfp.js} +1 -1
- package/dist/chunks/{skill-he27pt63.js → kv-6xcvt31d.js} +1 -1
- package/dist/chunks/{skill-kys24f1n.js → kv-6zz3m0fh.js} +14 -14
- package/dist/chunks/{skill-71az546q.js → kv-71az546q.js} +2 -2
- package/dist/chunks/{skill-xfzxapbj.js → kv-77pjx4k4.js} +27 -27
- package/dist/chunks/{skill-vt7e675m.js → kv-78wqg8jh.js} +8 -8
- package/dist/chunks/{skill-ztj6b4n1.js → kv-79r4g3vq.js} +1 -1
- package/dist/chunks/{skill-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/kv-7gbq6z1m.js +26 -0
- package/dist/chunks/{skill-7pezb3n5.js → kv-7ghw0wmm.js} +3 -3
- package/dist/chunks/{skill-zmfpt6bt.js → kv-7k3bpw74.js} +29 -29
- package/dist/chunks/{skill-84vxcqvw.js → kv-7n34cqd6.js} +13 -13
- package/dist/chunks/{skill-6qtqgym6.js → kv-7wgvetf0.js} +20 -20
- package/dist/chunks/{skill-3pwb08cy.js → kv-808z5t55.js} +3 -3
- package/dist/chunks/{skill-w1eejvng.js → kv-84txncab.js} +5 -5
- package/dist/chunks/{skill-zvbjdhz9.js → kv-84wpbtae.js} +15 -15
- package/dist/chunks/{skill-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{skill-anghpc0j.js → kv-8gqa7j8v.js} +7 -7
- package/dist/chunks/{skill-8m6m0r52.js → kv-8m6m0r52.js} +1 -1
- package/dist/chunks/{skill-s5szkcnr.js → kv-8me8kj13.js} +11 -11
- package/dist/chunks/{skill-cmw5tbtb.js → kv-8n5pds5p.js} +22 -22
- package/dist/chunks/{skill-mkn9c7m3.js → kv-930gsck4.js} +16 -16
- package/dist/chunks/{skill-npvj8sw0.js → kv-948csc8n.js} +18 -18
- package/dist/chunks/{skill-qc8pb49h.js → kv-984x661q.js} +20 -20
- package/dist/chunks/{skill-vqfzq50h.js → kv-9ae44cfy.js} +6 -6
- package/dist/chunks/{skill-9e5bzkjp.js → kv-9e5bzkjp.js} +3 -3
- package/dist/chunks/{skill-r2pqz3tk.js → kv-9jzm7v48.js} +4 -4
- package/dist/chunks/{skill-dw45dz0p.js → kv-9p5sgrfb.js} +86 -86
- package/dist/chunks/{skill-pc4b88sv.js → kv-9x77fmbz.js} +4 -4
- package/dist/chunks/{skill-3wc4h5vb.js → kv-a4r3dq2k.js} +13 -13
- package/dist/chunks/{skill-2k371w3m.js → kv-a5pr435h.js} +29 -29
- package/dist/chunks/{skill-et6w6b4v.js → kv-a68x47kk.js} +24 -24
- package/dist/chunks/{skill-web09d21.js → kv-a998vwew.js} +5 -5
- package/dist/chunks/{skill-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-p780t5np.js → kv-acvt02vq.js} +23 -23
- package/dist/chunks/{skill-a310axxt.js → kv-ajzsbz6h.js} +10 -10
- package/dist/chunks/{skill-9s9cscsz.js → kv-amf37a4y.js} +5 -5
- package/dist/chunks/{skill-esvm55dh.js → kv-ang9sdtn.js} +8 -8
- package/dist/chunks/{skill-38bd0qn4.js → kv-at2kzgpx.js} +15 -15
- package/dist/chunks/{skill-99ts872a.js → kv-azh8f6zy.js} +20 -20
- package/dist/chunks/{skill-y335f8qg.js → kv-b45880ax.js} +34 -34
- package/dist/chunks/{skill-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-f1j5wxkf.js → kv-bfkzbq3x.js} +37 -37
- package/dist/chunks/{skill-25x68gpd.js → kv-bfvwgmyn.js} +10 -10
- package/dist/chunks/{skill-yh35n21a.js → kv-bgj4gnp0.js} +18 -18
- package/dist/chunks/{skill-btm5bz2x.js → kv-bj94ydjv.js} +5 -5
- package/dist/chunks/{skill-cbcz0cm3.js → kv-brhts8he.js} +11 -11
- package/dist/chunks/{skill-s72jh12f.js → kv-bxkg5nem.js} +15 -15
- package/dist/chunks/{skill-z4ztj7g0.js → kv-bydnjh3t.js} +5 -5
- package/dist/chunks/{skill-g1sxm558.js → kv-c27esgm9.js} +8 -8
- package/dist/chunks/{skill-y0hp3gkb.js → kv-cdj8tbqs.js} +1 -1
- package/dist/chunks/{skill-pftnhemm.js → kv-cekf18da.js} +28 -28
- package/dist/chunks/{skill-rqpv8srm.js → kv-ch3jzc50.js} +31 -31
- package/dist/chunks/{skill-g0445xdp.js → kv-cmwkp3r5.js} +4 -4
- package/dist/chunks/{skill-ptt2rvrg.js → kv-cp7jndq9.js} +6 -6
- package/dist/chunks/{skill-19tdy48r.js → kv-ctgn3mrz.js} +16 -16
- package/dist/chunks/{skill-c05ds52p.js → kv-cvv2w4hc.js} +18 -18
- package/dist/chunks/{skill-r0s95t1n.js → kv-cy4egse2.js} +9 -9
- package/dist/chunks/{skill-5psp9g7y.js → kv-d1me7hxe.js} +13 -13
- package/dist/chunks/{skill-9psmcpyj.js → kv-d20y7eht.js} +20 -20
- package/dist/chunks/{skill-7ntjdhca.js → kv-d6mdrvww.js} +24 -24
- package/dist/chunks/{skill-1nzh38e4.js → kv-d737nyfv.js} +9 -9
- package/dist/chunks/{skill-grx4rdsz.js → kv-ddcxhxh9.js} +33 -33
- package/dist/chunks/{skill-hhjqsc24.js → kv-dkhgx6kw.js} +5 -5
- package/dist/chunks/{skill-afg4t0pj.js → kv-dphc24b4.js} +24 -24
- package/dist/chunks/{skill-dpkg50ah.js → kv-dpkg50ah.js} +1 -1
- package/dist/chunks/{skill-1pxz8ven.js → kv-dssbfrwz.js} +5 -5
- package/dist/chunks/{skill-b1rh2849.js → kv-e5tewtqz.js} +5 -5
- package/dist/chunks/{skill-vhryn6dg.js → kv-e9ra3rc2.js} +30 -30
- package/dist/chunks/{skill-ja7j58wk.js → kv-ecfxfkv3.js} +5 -5
- package/dist/chunks/{skill-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-sjnp66q1.js → kv-enf12tk9.js} +5 -5
- package/dist/chunks/{skill-p85f44de.js → kv-etag6te0.js} +23 -23
- package/dist/chunks/{skill-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{skill-pt6ynb3r.js → kv-f3wh3a97.js} +6 -6
- package/dist/chunks/{skill-8eakngdv.js → kv-f96bhag2.js} +36 -36
- package/dist/chunks/{skill-m799t65h.js → kv-fb8mpv19.js} +3 -3
- package/dist/chunks/{skill-2vjrrp5b.js → kv-fhpe866r.js} +9 -9
- package/dist/chunks/{skill-39z6f63w.js → kv-fkz2j366.js} +71 -71
- package/dist/chunks/{skill-q89h793z.js → kv-fmgcz1aj.js} +11 -11
- package/dist/chunks/{skill-waawk074.js → kv-ftkcznmp.js} +4 -4
- package/dist/chunks/{skill-ywfjxz2y.js → kv-fwnbcsnm.js} +11 -11
- package/dist/chunks/{skill-dw07500w.js → kv-fx0gd3c1.js} +3 -3
- package/dist/chunks/{skill-06wsxt2c.js → kv-g0yaekcy.js} +28 -28
- package/dist/chunks/{skill-wnqy2pcn.js → kv-g3a7jf08.js} +17 -17
- package/dist/chunks/{skill-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-3px26116.js → kv-gejbtgaw.js} +20 -20
- package/dist/chunks/{skill-1tw2jwmk.js → kv-gmdr493m.js} +35 -35
- package/dist/chunks/{skill-zxx8wx1f.js → kv-h22y87dx.js} +25 -25
- package/dist/chunks/{skill-h2b79v29.js → kv-h2b79v29.js} +2 -2
- package/dist/chunks/{skill-pgp1nwjn.js → kv-h6310vsd.js} +4 -4
- package/dist/chunks/{skill-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-y7dfz63f.js → kv-h7696n0v.js} +18 -18
- package/dist/chunks/{skill-p4mr7sfp.js → kv-h7bdckh5.js} +28 -28
- package/dist/chunks/{skill-cv3bhqd6.js → kv-hndwyk0r.js} +45 -45
- package/dist/chunks/{skill-zwb3m7a4.js → kv-j2h4gsx3.js} +17 -17
- package/dist/chunks/{skill-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-ddd3fjw8.js → kv-ja01233w.js} +13 -13
- package/dist/chunks/kv-jb1p813v.js +253 -0
- package/dist/chunks/{skill-qhtzv5m2.js → kv-jgegdacd.js} +49 -49
- package/dist/chunks/{skill-szp886pa.js → kv-jsqb560b.js} +22 -22
- package/dist/chunks/{skill-9jcb1sx6.js → kv-k2271zhj.js} +33 -33
- package/dist/chunks/{skill-dpk64jtg.js → kv-k25jt64g.js} +4 -4
- package/dist/chunks/{skill-v3zmb1fx.js → kv-k7gjbccb.js} +22 -22
- package/dist/chunks/{skill-xr713843.js → kv-kyeq8fzm.js} +18 -18
- package/dist/chunks/{skill-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
- package/dist/chunks/{skill-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-fzqzk99w.js → kv-mae2kdyr.js} +21 -21
- package/dist/chunks/{skill-jmgecx2v.js → kv-mb87pwt1.js} +8 -8
- package/dist/chunks/{skill-vpywqx1w.js → kv-mgt2meas.js} +1 -1
- package/dist/chunks/{skill-mvfsc1pv.js → kv-mhkvc446.js} +3 -3
- package/dist/chunks/{skill-grcnrnkn.js → kv-mj4srff6.js} +15 -15
- package/dist/chunks/{skill-jx51jahy.js → kv-mm9h18qq.js} +3 -3
- package/dist/chunks/{skill-9zwvgpfx.js → kv-mnm8ds97.js} +35 -35
- package/dist/chunks/{skill-277t2enf.js → kv-mwb2myx2.js} +8 -8
- package/dist/chunks/{skill-61pe18x3.js → kv-n2kj1sg0.js} +22 -22
- package/dist/chunks/{skill-bqcj8w0k.js → kv-n3ph6zq5.js} +27 -27
- package/dist/chunks/{skill-sjztfj4p.js → kv-n4r13bs7.js} +25 -25
- package/dist/chunks/{skill-ax36eyar.js → kv-n57qrn3a.js} +8 -8
- package/dist/chunks/{skill-j3asptbj.js → kv-ncsnqhtp.js} +20 -20
- package/dist/chunks/{skill-6bb6h48a.js → kv-nnnd3cph.js} +88 -88
- package/dist/chunks/{skill-0wfjtxyk.js → kv-npfvvr87.js} +20 -20
- package/dist/chunks/{skill-cx0wkq69.js → kv-nphwcreh.js} +32 -32
- package/dist/chunks/{skill-mjymc32g.js → kv-nrdmrqsx.js} +4 -4
- package/dist/chunks/{skill-w45mwdha.js → kv-nv1zm4pp.js} +10 -10
- package/dist/chunks/{skill-zsr4wwhv.js → kv-nxe4pcap.js} +4 -4
- package/dist/chunks/{skill-dd39rsm0.js → kv-p87d201m.js} +332 -332
- package/dist/chunks/{skill-v5dkyp31.js → kv-pbfwh0cy.js} +7 -7
- package/dist/chunks/kv-phz3h32g.js +18 -0
- package/dist/chunks/{skill-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{skill-a4xvcdkg.js → kv-pkq59grd.js} +37 -37
- package/dist/chunks/{skill-1p07q0wb.js → kv-py3kkmfq.js} +4 -4
- package/dist/chunks/{skill-q0xm7vwc.js → kv-q0xm7vwc.js} +2 -2
- package/dist/chunks/{skill-bkwdswef.js → kv-q9pqtv1v.js} +16 -16
- package/dist/chunks/{skill-ykvgmq8e.js → kv-qcmtpxqx.js} +13 -13
- package/dist/chunks/{skill-2k8khapm.js → kv-qgn6gcr1.js} +5 -5
- package/dist/chunks/{skill-sjpyckkz.js → kv-qkybe0c6.js} +30 -30
- package/dist/chunks/{skill-qnc92qwc.js → kv-qnc92qwc.js} +1 -1
- package/dist/chunks/{skill-sq06bhpk.js → kv-qne4kd6g.js} +23 -23
- package/dist/chunks/{skill-p4cjcapg.js → kv-qq0p66nj.js} +11 -11
- package/dist/chunks/{skill-g7ff7jg9.js → kv-qq1s2205.js} +22 -22
- package/dist/chunks/{skill-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-qxjc9qry.js → kv-qxjc9qry.js} +3 -3
- package/dist/chunks/{skill-b3f8fkhc.js → kv-qygbw77c.js} +5 -5
- package/dist/chunks/{skill-9svtd541.js → kv-r8pf2rje.js} +32 -32
- package/dist/chunks/{skill-za48msp1.js → kv-rbknh4pb.js} +4 -4
- package/dist/chunks/{skill-8rbyn89s.js → kv-rck9djz0.js} +13 -13
- package/dist/chunks/{skill-50z82c7r.js → kv-rcmda6tc.js} +5 -5
- package/dist/chunks/{skill-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-cz4dmrjy.js → kv-rjgdgsdr.js} +26 -26
- package/dist/chunks/{skill-kefyc7dx.js → kv-rns5tpwh.js} +11 -11
- package/dist/chunks/{skill-79z4s1s6.js → kv-rqyrrfya.js} +20 -20
- package/dist/chunks/{skill-44zr7wmx.js → kv-rszma2xn.js} +4 -4
- package/dist/chunks/{skill-vhhspe0b.js → kv-rty6w89f.js} +2 -2
- package/dist/chunks/{skill-zr91fnzj.js → kv-rvkykd53.js} +20 -20
- package/dist/chunks/{skill-fe06vw8c.js → kv-s4h2qwma.js} +6 -6
- package/dist/chunks/{skill-s8d7rejh.js → kv-s8d7rejh.js} +1 -1
- package/dist/chunks/{skill-n25gp9gg.js → kv-s8g2njyt.js} +29 -29
- package/dist/chunks/{skill-1n3md1y5.js → kv-sajthb1z.js} +16 -16
- package/dist/chunks/{skill-vx3jgdek.js → kv-sjgsw2hk.js} +3 -3
- package/dist/chunks/{skill-fd1vwam1.js → kv-snaz9310.js} +7 -7
- package/dist/chunks/{skill-gh5z95q3.js → kv-srq8z0b0.js} +9 -9
- package/dist/chunks/{skill-f59ep6tb.js → kv-ssabpyyc.js} +11 -11
- package/dist/chunks/{skill-qxwwzzg1.js → kv-syzt422z.js} +14 -14
- package/dist/chunks/{skill-hn57h045.js → kv-t2az9yje.js} +4 -4
- package/dist/chunks/{skill-kx20hmfv.js → kv-t6ymfg4y.js} +18 -18
- package/dist/chunks/{skill-tqdm0hxx.js → kv-t82wkkdn.js} +9 -9
- package/dist/chunks/{skill-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
- package/dist/chunks/{skill-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{skill-psx2xk5v.js → kv-th451jzy.js} +54 -54
- package/dist/chunks/{skill-8bs2why9.js → kv-tpsfpmb6.js} +17 -17
- package/dist/chunks/{skill-1r57angp.js → kv-tsaxfawh.js} +4 -4
- package/dist/chunks/{skill-tg7bkhef.js → kv-v0es1rhs.js} +7 -7
- package/dist/chunks/{skill-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-9sn56ns6.js → kv-vg59hbfz.js} +16 -16
- package/dist/chunks/{skill-ermxvwhp.js → kv-vkfdnwpx.js} +4 -4
- package/dist/chunks/{skill-44ektz7s.js → kv-vqhvr9h8.js} +3 -3
- package/dist/chunks/{skill-dg5q8gvb.js → kv-vw57tvh8.js} +42 -42
- package/dist/chunks/{skill-c1xseb8n.js → kv-vxepadaa.js} +5 -5
- package/dist/chunks/{skill-n90hmzqc.js → kv-vy7h43fk.js} +19 -19
- package/dist/chunks/{skill-2hyensw7.js → kv-vyrrmp6x.js} +11 -11
- package/dist/chunks/{skill-vzs5sf6e.js → kv-vzs5sf6e.js} +1 -1
- package/dist/chunks/{skill-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-6xssvdrk.js → kv-w3zwv4wx.js} +14 -14
- package/dist/chunks/{skill-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{skill-gfjbtf19.js → kv-wdp4gayr.js} +9 -9
- package/dist/chunks/{skill-5x6e9h63.js → kv-wehq120m.js} +11 -11
- package/dist/chunks/{skill-vxcp0z3k.js → kv-wemkyzrv.js} +7 -7
- package/dist/chunks/{skill-snq0zncn.js → kv-wjxa98ap.js} +45 -45
- package/dist/chunks/{skill-7gvtk0qz.js → kv-ws4sjaxf.js} +5 -5
- package/dist/chunks/{skill-x661k3y3.js → kv-x661k3y3.js} +1 -1
- package/dist/chunks/{skill-s244nafr.js → kv-x6byvdkw.js} +3 -3
- package/dist/chunks/{skill-stha93yf.js → kv-xayvb0hr.js} +6 -6
- package/dist/chunks/{skill-mh24axys.js → kv-xdfad79h.js} +43 -43
- package/dist/chunks/{skill-57b9ws8p.js → kv-xfkkasph.js} +7 -7
- package/dist/chunks/{skill-xkntkrq7.js → kv-xkntkrq7.js} +2 -2
- package/dist/chunks/{skill-jj92brwa.js → kv-xmd9wz50.js} +4 -4
- package/dist/chunks/{skill-meh60f5s.js → kv-xpcvy2br.js} +17 -17
- package/dist/chunks/{skill-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-t874xgby.js → kv-yc7nxbe2.js} +186 -186
- package/dist/chunks/{skill-bx0gyb4h.js → kv-ygdna4kr.js} +5 -5
- package/dist/chunks/{skill-ph4ax9de.js → kv-yjkarpge.js} +11 -11
- package/dist/chunks/{skill-ty8gx314.js → kv-ykgnqdw6.js} +9 -9
- package/dist/chunks/{skill-yp2x3t23.js → kv-yp2x3t23.js} +1 -1
- package/dist/chunks/{skill-evd1sev3.js → kv-ys2gqn7k.js} +24 -24
- package/dist/chunks/{skill-ktw2vd1c.js → kv-ys3pca7w.js} +11 -11
- package/dist/chunks/{skill-gpeaf9sh.js → kv-ytyv5eys.js} +38 -38
- package/dist/chunks/{skill-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-6h0170s0.js → kv-z182drtd.js} +27 -27
- package/dist/chunks/{skill-mjqndqed.js → kv-zc5g640q.js} +5 -5
- package/dist/chunks/{skill-zfs8ae4p.js → kv-zfs8ae4p.js} +4 -4
- package/dist/chunks/{skill-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-yknazq4b.js → kv-zszxba2s.js} +19 -19
- package/dist/chunks/{skill-zxq2ej10.js → kv-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 +86 -86
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +67 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- 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 +100 -100
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- 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 +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- 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 +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- 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 +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +211 -211
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +113 -113
- 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 +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/skill-1nrzyvtq.js +0 -253
- package/dist/chunks/skill-9zdhvgqs.js +0 -18
- package/dist/chunks/skill-gsr5nhzc.js +0 -26
- /package/dist/chunks/{skill-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-34c7v6d4.js → kv-34c7v6d4.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3t0ybcrp.js → kv-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → kv-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID10,
|
|
3
|
+
Info17,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-sjgsw2hk.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-35a7vcrd.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-tsaxfawh.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./kv-acvt02vq.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service34,
|
|
24
|
+
node36
|
|
25
|
+
} from "./kv-9ae44cfy.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-9e5bzkjp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node35
|
|
34
|
+
} from "./kv-at2kzgpx.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./kv-zfs8ae4p.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./kv-yjkarpge.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./kv-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node23
|
|
47
|
+
} from "./kv-930gsck4.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node48
|
|
51
|
+
} from "./kv-wehq120m.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError7,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./kv-6w7198b7.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service58,
|
|
68
|
+
node61
|
|
69
|
+
} from "./kv-w3zwv4wx.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service51,
|
|
72
|
+
node54
|
|
73
|
+
} from "./kv-sajthb1z.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service31,
|
|
76
|
+
node34
|
|
77
|
+
} from "./kv-b45880ax.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./kv-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service26,
|
|
83
|
+
node29
|
|
84
|
+
} from "./kv-10h2grd6.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./kv-q9pqtv1v.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./kv-4g1zz2v1.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service49,
|
|
93
|
+
node52
|
|
94
|
+
} from "./kv-t82wkkdn.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service19,
|
|
100
|
+
node22
|
|
101
|
+
} from "./kv-th451jzy.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service38,
|
|
104
|
+
node40
|
|
105
|
+
} from "./kv-69apea2v.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./kv-ch3jzc50.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./kv-5evczv99.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./kv-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID10,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info17,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError7,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service18,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node21
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput4;
|
|
152
|
+
class Service18 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service81;
|
|
160
|
+
const execution = yield* Service31;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service26;
|
|
163
|
+
const store = yield* Service58;
|
|
164
|
+
const instances = yield* Service34;
|
|
165
|
+
const moves = yield* Service19;
|
|
166
|
+
const jobs = yield* Service51;
|
|
167
|
+
const environments = yield* Service38;
|
|
168
|
+
const locations = yield* Service49;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service18.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError7({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service34, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service34, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node21 = Node.makeGlobalNode({
|
|
331
|
+
service: Service18,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node54,
|
|
335
|
+
node40,
|
|
336
336
|
node88,
|
|
337
337
|
node87,
|
|
338
|
-
|
|
339
|
-
node40,
|
|
338
|
+
node85,
|
|
340
339
|
node34,
|
|
341
|
-
llmClient2,
|
|
342
|
-
node70,
|
|
343
|
-
node43,
|
|
344
|
-
node41,
|
|
345
|
-
node28,
|
|
346
340
|
node29,
|
|
347
|
-
|
|
341
|
+
llmClient2,
|
|
342
|
+
node61,
|
|
343
|
+
node36,
|
|
344
|
+
node35,
|
|
345
|
+
node22,
|
|
346
|
+
node23,
|
|
347
|
+
node52,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node48
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service18, node21, exports_session };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-zc5g640q.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service64,
|
|
16
|
+
node67
|
|
17
|
+
} from "./kv-0jck1kcq.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service47,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node50,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service47 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service64;
|
|
110
|
+
return Service47.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node50 = makeGlobalNode({
|
|
171
|
+
service: Service47,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node67]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service47, isError2, validateBranch2, node50, exports_repository_cache };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./kv-42t96xj3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service77,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-qcmtpxqx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service54
|
|
11
|
+
} from "./kv-6t5kp9rh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service57
|
|
14
|
+
} from "./kv-3k6tstd2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service56
|
|
17
|
+
} from "./kv-948csc8n.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input5,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin22,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name5,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name5 = "write";
|
|
39
|
+
var Input5 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin22 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service56;
|
|
56
|
+
const fileMutation = yield* Service77;
|
|
57
|
+
const environment = yield* Service78;
|
|
58
|
+
const formatter = yield* Service54;
|
|
59
|
+
const permission = yield* Service57;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name5,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input5,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name5, Input5, Output4, toModelContent3, Plugin22, exports_write };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info10,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info10 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info10, exports_permission };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./kv-vg59hbfz.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-mae2kdyr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin4,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin4 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
if (location.vcs && location.vcs.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -475,4 +475,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
475
475
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
476
476
|
});
|
|
477
477
|
|
|
478
|
-
export {
|
|
478
|
+
export { Plugin4, exports_git };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-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: () => Info14,
|
|
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 { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info14 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info14, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|