@opencode/core 0.0.0-dev-19515 → 0.0.0-dev-19517
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +74 -74
- package/dist/catalog.js +82 -82
- package/dist/chunks/{provider-sr9wakx4.js → model-00pw3h10.js} +16 -16
- package/dist/chunks/{provider-13pq2pdm.js → model-01ebgy6x.js} +24 -24
- package/dist/chunks/{provider-emv1mhks.js → model-01zqne1p.js} +26 -26
- package/dist/chunks/{provider-cw78x96k.js → model-0393spk4.js} +23 -23
- package/dist/chunks/{provider-e7tmvv6q.js → model-08y7zr51.js} +15 -15
- package/dist/chunks/{provider-4y66k410.js → model-0ajdgxne.js} +5 -5
- package/dist/chunks/{provider-zvg7bzkf.js → model-0dbz5dpj.js} +6 -6
- package/dist/chunks/{provider-gbt6w4kb.js → model-0gdmqesm.js} +8 -8
- package/dist/chunks/{provider-nw2nz702.js → model-0gr7cw0d.js} +4 -4
- package/dist/chunks/{provider-j5exv28m.js → model-0hw9gmp4.js} +69 -69
- package/dist/chunks/model-0mesazry.js +4 -0
- package/dist/chunks/{provider-0paq2nw3.js → model-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-0q0f95c6.js → model-0q0f95c6.js} +1 -1
- package/dist/chunks/{provider-6vj01xgp.js → model-0qbfsv0x.js} +4 -4
- package/dist/chunks/{provider-ztannf4n.js → model-11qz0t8e.js} +8 -8
- package/dist/chunks/{provider-tr6ja7tk.js → model-18ercc3f.js} +47 -47
- package/dist/chunks/{provider-19vf66h0.js → model-19vf66h0.js} +1 -1
- package/dist/chunks/{provider-yp2x3t23.js → model-1acjjqhc.js} +4 -4
- package/dist/chunks/{provider-r5x6zcsm.js → model-1bbkgx8g.js} +3 -3
- package/dist/chunks/{provider-21jzgs9a.js → model-1d13423j.js} +11 -11
- package/dist/chunks/{provider-1dazxqgg.js → model-1dazxqgg.js} +2 -2
- package/dist/chunks/{provider-z4491rhz.js → model-1mty6vw9.js} +12 -12
- package/dist/chunks/{provider-v8ywx32k.js → model-1wtaecq5.js} +7 -7
- package/dist/chunks/{provider-56gdpj1q.js → model-1ygqh575.js} +9 -9
- package/dist/chunks/{provider-21r38tys.js → model-21r38tys.js} +1 -1
- package/dist/chunks/{provider-2402vzrj.js → model-2402vzrj.js} +1 -1
- package/dist/chunks/{provider-n0w16hmp.js → model-25yd6z24.js} +9 -9
- package/dist/chunks/{provider-epk4gxbx.js → model-2653mqwd.js} +10 -10
- package/dist/chunks/{provider-csf2jhsg.js → model-26ym7a2d.js} +4 -4
- package/dist/chunks/{provider-29x78va6.js → model-29x78va6.js} +2 -2
- package/dist/chunks/{provider-2a5m3afh.js → model-2a5m3afh.js} +1 -1
- package/dist/chunks/{provider-t3zsn7tb.js → model-2eknmf3c.js} +16 -16
- package/dist/chunks/{provider-2qp6y8xf.js → model-2f0bjgcj.js} +5 -5
- package/dist/chunks/{provider-vpdr7g8j.js → model-2g4vvh0x.js} +25 -25
- package/dist/chunks/{provider-7m9y9qn0.js → model-33r7arbr.js} +38 -38
- package/dist/chunks/{provider-peejr10p.js → model-34ytdzas.js} +1 -1
- package/dist/chunks/{provider-3fc6dm20.js → model-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-ksgc7bff.js → model-3j9mgshd.js} +24 -24
- package/dist/chunks/{provider-6s1ns7mr.js → model-3q7h00b9.js} +27 -27
- package/dist/chunks/{provider-pb4gtzr9.js → model-3qtwe70s.js} +23 -23
- package/dist/chunks/{provider-9eg1w2ne.js → model-3skdg1nm.js} +31 -31
- package/dist/chunks/{provider-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-p4pgsv82.js → model-427hzfby.js} +6 -6
- package/dist/chunks/{provider-avq7f719.js → model-47ms443m.js} +7 -7
- package/dist/chunks/{provider-6mg3rapr.js → model-47th8ec4.js} +11 -11
- package/dist/chunks/{provider-m950gd3p.js → model-49dhn78k.js} +10 -10
- package/dist/chunks/{provider-0epqkpm1.js → model-4crb2xwh.js} +9 -9
- package/dist/chunks/{provider-kgwk72tj.js → model-4f5d4waw.js} +15 -15
- package/dist/chunks/{provider-tgydxn46.js → model-4fq18jmq.js} +23 -23
- package/dist/chunks/{provider-3f1za49c.js → model-4s650q2q.js} +4 -4
- package/dist/chunks/{provider-g616ba88.js → model-4wbg1ywa.js} +35 -35
- package/dist/chunks/{provider-yzyvjjcs.js → model-4wdant8n.js} +4 -4
- package/dist/chunks/{provider-4mwwxnhq.js → model-5bs4txnv.js} +11 -11
- package/dist/chunks/{provider-5daktx2q.js → model-5daktx2q.js} +1 -1
- package/dist/chunks/{provider-e5bkhh6f.js → model-5j19hd5e.js} +14 -14
- package/dist/chunks/{provider-aep6wmkx.js → model-5m0dtv2d.js} +6 -6
- package/dist/chunks/{provider-rp8jz6x1.js → model-5mdrv3hm.js} +5 -5
- package/dist/chunks/{provider-5t3nmthw.js → model-5t3nmthw.js} +2 -2
- package/dist/chunks/{provider-mddbddvt.js → model-5vtpc8vp.js} +24 -24
- package/dist/chunks/{provider-d32qb1z3.js → model-61jhnvfj.js} +28 -28
- package/dist/chunks/{provider-cncyymjp.js → model-64bd1qya.js} +26 -26
- package/dist/chunks/{provider-669tq793.js → model-669tq793.js} +1 -1
- package/dist/chunks/{provider-5kptn8c0.js → model-6ck2t1rv.js} +9 -9
- package/dist/chunks/{provider-8rq3gmwa.js → model-6fcggqzm.js} +17 -17
- package/dist/chunks/{provider-mgj0eac3.js → model-6h7ssv2c.js} +17 -17
- package/dist/chunks/{provider-s7516gn7.js → model-6hdpz7r5.js} +18 -18
- package/dist/chunks/{provider-6msgmcgs.js → model-6msgmcgs.js} +1 -1
- package/dist/chunks/{provider-e03nkfvf.js → model-6ra2j2vw.js} +41 -41
- package/dist/chunks/{provider-aq39gh99.js → model-6s4by8s0.js} +13 -13
- package/dist/chunks/{provider-nqzeqxym.js → model-6ten4jdj.js} +8 -8
- package/dist/chunks/{provider-71q4at8m.js → model-71q4at8m.js} +1 -1
- package/dist/chunks/{provider-xcx71mhc.js → model-7925xp00.js} +19 -19
- package/dist/chunks/{provider-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-dvm9cexd.js → model-7mv990wx.js} +19 -19
- package/dist/chunks/{provider-jdd9z3zr.js → model-7qq57c1m.js} +9 -9
- package/dist/chunks/{provider-gfvszjcj.js → model-7wdjtyr9.js} +3 -3
- package/dist/chunks/{provider-snw92vp3.js → model-7ydv0qnt.js} +16 -16
- package/dist/chunks/{provider-mjncxbbh.js → model-7yqnf43w.js} +6 -6
- package/dist/chunks/{provider-ysmk5kbm.js → model-89z7vhwa.js} +31 -31
- package/dist/chunks/{provider-tcezcvh9.js → model-89znhe33.js} +4 -4
- package/dist/chunks/{provider-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
- package/dist/chunks/{provider-3dxr2zf4.js → model-8gt682ks.js} +25 -25
- package/dist/chunks/{provider-8p4f9s12.js → model-8p4f9s12.js} +2 -2
- package/dist/chunks/model-91t0qgnn.js +22 -0
- package/dist/chunks/{provider-r25mw0kc.js → model-95a4nxen.js} +12 -12
- package/dist/chunks/{provider-n6x86vy5.js → model-970yf2am.js} +9 -9
- package/dist/chunks/{provider-35eprwbn.js → model-9c2qq6zd.js} +1 -1
- package/dist/chunks/{provider-nwyvgzw7.js → model-9p7k60b1.js} +4 -4
- package/dist/chunks/{provider-44a9ae37.js → model-9qbkfj45.js} +27 -27
- package/dist/chunks/{provider-65ndygh0.js → model-9wc403zm.js} +5 -5
- package/dist/chunks/{provider-p54br4xx.js → model-9wt1dgrq.js} +16 -16
- package/dist/chunks/model-9zdhvgqs.js +18 -0
- package/dist/chunks/{provider-a1bz86dw.js → model-a1bz86dw.js} +3 -3
- package/dist/chunks/{provider-pkkwwmgt.js → model-a5fqa70n.js} +11 -11
- package/dist/chunks/{provider-kh9sx4kg.js → model-a5xy8rps.js} +8 -8
- package/dist/chunks/{provider-x5ttagpj.js → model-a8hpxnmk.js} +13 -13
- package/dist/chunks/{provider-mg0amdr2.js → model-aa9jsfqg.js} +300 -300
- package/dist/chunks/{provider-aaet6srn.js → model-aaet6srn.js} +2 -2
- package/dist/chunks/{provider-xdxq1p02.js → model-af350n58.js} +38 -38
- package/dist/chunks/{provider-vnadph8e.js → model-afw0evk7.js} +23 -23
- package/dist/chunks/{provider-ve4pfa0n.js → model-an7cqtb7.js} +4 -4
- package/dist/chunks/{provider-z3jzy529.js → model-aqtmwthd.js} +45 -45
- package/dist/chunks/{provider-1ddtjyqg.js → model-av9b8y59.js} +32 -32
- package/dist/chunks/{provider-3cz8rj72.js → model-avm8jn6n.js} +5 -5
- package/dist/chunks/{provider-3jp54z3r.js → model-b10jyp57.js} +1 -1
- package/dist/chunks/{provider-b6gygkdw.js → model-b6gygkdw.js} +2 -2
- package/dist/chunks/{provider-xhmq8qgk.js → model-bda9rjxj.js} +9 -9
- package/dist/chunks/{provider-d2v740yb.js → model-bev58rz9.js} +17 -17
- package/dist/chunks/{provider-1jc936zz.js → model-bjgvxsns.js} +23 -23
- package/dist/chunks/{provider-g85wbd3d.js → model-bwmrk78f.js} +17 -17
- package/dist/chunks/{provider-r4bep42t.js → model-bzfw32px.js} +9 -9
- package/dist/chunks/{provider-5mwnqeqx.js → model-c11jf028.js} +10 -10
- package/dist/chunks/{provider-z93n0fe9.js → model-c23d720g.js} +5 -5
- package/dist/chunks/{provider-6agwt34k.js → model-ca43bk3t.js} +28 -28
- package/dist/chunks/{provider-3wfeb9p8.js → model-cdf4b59p.js} +51 -51
- package/dist/chunks/{provider-af1zye0v.js → model-cdxne2ts.js} +10 -10
- package/dist/chunks/{provider-cfpkc3c9.js → model-cfpkc3c9.js} +2 -2
- package/dist/chunks/{provider-f6fv9kt7.js → model-cgtmrgbf.js} +10 -10
- package/dist/chunks/{provider-h6mhsgyz.js → model-cmm96jj5.js} +36 -36
- package/dist/chunks/{provider-7b15y959.js → model-cmwkp3r5.js} +8 -8
- package/dist/chunks/{provider-2jbxqxhr.js → model-cnkpq623.js} +9 -9
- package/dist/chunks/{provider-0wvc6jt9.js → model-d0dbw1j5.js} +22 -22
- package/dist/chunks/{provider-9mjj0np4.js → model-d5c48xqa.js} +8 -8
- package/dist/chunks/{provider-jvf3yq6v.js → model-ddt2bs9e.js} +4 -4
- package/dist/chunks/{provider-9wgrhtqh.js → model-dw1xw5kf.js} +5 -5
- package/dist/chunks/{provider-cdt90cdf.js → model-dwax96b2.js} +2 -2
- package/dist/chunks/{provider-p8y3rg0s.js → model-e09967m1.js} +15 -15
- package/dist/chunks/{provider-20m76snv.js → model-e3mczv1f.js} +47 -47
- package/dist/chunks/{provider-fd3whvwn.js → model-e4dz0fmv.js} +28 -28
- package/dist/chunks/{provider-vq1xkcbr.js → model-emy07np5.js} +23 -23
- package/dist/chunks/{provider-9bgyk126.js → model-ennqj48b.js} +89 -89
- package/dist/chunks/{provider-etq0c3wd.js → model-etq0c3wd.js} +1 -1
- package/dist/chunks/{provider-xbdctb2d.js → model-evy1cf6y.js} +5 -5
- package/dist/chunks/{provider-hqgtbq8y.js → model-f33hbkq0.js} +18 -18
- package/dist/chunks/{provider-f828m53h.js → model-f828m53h.js} +2 -2
- package/dist/chunks/{provider-2m65srx0.js → model-f8ndr4p9.js} +20 -20
- package/dist/chunks/{provider-2bt6bea8.js → model-fhs97t90.js} +9 -9
- package/dist/chunks/{provider-zzd16jny.js → model-fnnbcqtc.js} +22 -22
- package/dist/chunks/{provider-rx6vhxft.js → model-frrmzkpb.js} +19 -19
- package/dist/chunks/{provider-qkrnz1pz.js → model-fs6bp36w.js} +5 -5
- package/dist/chunks/{provider-fxbjtjnd.js → model-fxbjtjnd.js} +1 -1
- package/dist/chunks/{provider-3mc2fgte.js → model-fxd0s1jx.js} +8 -8
- package/dist/chunks/{provider-t33aqq77.js → model-g2y161wv.js} +8 -8
- package/dist/chunks/{provider-zc2xj3qj.js → model-g500fjm7.js} +1 -1
- package/dist/chunks/{provider-880bzhav.js → model-g5p9v76r.js} +18 -18
- package/dist/chunks/{provider-cp65ze15.js → model-g8bpgwc7.js} +4 -4
- package/dist/chunks/{provider-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-3cg8wryf.js → model-gdkxy9zr.js} +9 -9
- package/dist/chunks/{provider-q19b4cjc.js → model-ggcxy6ha.js} +25 -25
- package/dist/chunks/{provider-w7n72ycn.js → model-ggtjpswj.js} +20 -20
- package/dist/chunks/{provider-xambzptg.js → model-gmnnjgny.js} +3 -3
- package/dist/chunks/{provider-gv6a8nnw.js → model-gv6a8nnw.js} +2 -2
- package/dist/chunks/{provider-bbarxbyb.js → model-gy4p1xkh.js} +1 -1
- package/dist/chunks/{provider-h03wrkyp.js → model-h03wrkyp.js} +2 -2
- package/dist/chunks/{provider-gstr6zjx.js → model-h378ch1a.js} +28 -28
- package/dist/chunks/{provider-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-gkc45a82.js → model-hacxhjzv.js} +59 -59
- package/dist/chunks/{provider-d1khqved.js → model-hcz3zddy.js} +5 -5
- package/dist/chunks/{provider-nbwgzt6s.js → model-hdbg4dz4.js} +20 -20
- package/dist/chunks/{provider-pkm07w3p.js → model-hk6wyp9w.js} +33 -33
- package/dist/chunks/{provider-t8f8a47m.js → model-hm6af37m.js} +2 -2
- package/dist/chunks/{provider-eztf1wzg.js → model-hy1g3bgf.js} +1 -1
- package/dist/chunks/{provider-ddcztwyx.js → model-j11b5gx2.js} +13 -13
- package/dist/chunks/{provider-2dvxsv9x.js → model-j55g5gc5.js} +10 -10
- package/dist/chunks/{provider-j56e64zr.js → model-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-e31khs9j.js → model-j8hv5r0n.js} +15 -15
- package/dist/chunks/{provider-fjzk1t67.js → model-jg0hsq4w.js} +18 -18
- package/dist/chunks/{provider-s58ke6q9.js → model-jvz76js5.js} +3 -3
- package/dist/chunks/{provider-y71avatq.js → model-jwcy2c2z.js} +4 -4
- package/dist/chunks/{provider-5vgnmgpm.js → model-jwvj9vdn.js} +22 -22
- package/dist/chunks/{provider-qymjzjax.js → model-k5jh3d8v.js} +43 -43
- package/dist/chunks/{provider-79e6a9cn.js → model-k9scmdec.js} +175 -175
- package/dist/chunks/{provider-ssagvezb.js → model-kfchwe9z.js} +22 -22
- package/dist/chunks/{provider-kg06axw8.js → model-kg06axw8.js} +1 -1
- package/dist/chunks/{provider-bj8pk1h0.js → model-kjcjq4b3.js} +30 -30
- package/dist/chunks/{provider-cfrg58jt.js → model-km3xepye.js} +11 -11
- package/dist/chunks/{provider-dk0zpy9w.js → model-kn2e7a30.js} +6 -6
- package/dist/chunks/{provider-cz4prtxp.js → model-kx7xa2sp.js} +4 -4
- package/dist/chunks/{provider-0aq61y81.js → model-kyf2eze9.js} +13 -13
- package/dist/chunks/{provider-e78zjprw.js → model-m3j98nth.js} +11 -11
- package/dist/chunks/{provider-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-eqcjdke8.js → model-mtgrzfqg.js} +29 -29
- package/dist/chunks/{provider-bb10rvgt.js → model-n5wh41er.js} +15 -15
- package/dist/chunks/{provider-nkwppv5y.js → model-n6zxgjsd.js} +11 -11
- package/dist/chunks/{provider-s3vjz8f8.js → model-ndaxx38h.js} +17 -17
- package/dist/chunks/{provider-c2bh7n43.js → model-ng8mejvs.js} +8 -8
- package/dist/chunks/{provider-hjt4xg1x.js → model-nhy5jxhy.js} +4 -4
- package/dist/chunks/{provider-pye8sh6e.js → model-njr1pezb.js} +6 -6
- package/dist/chunks/{provider-9zy2xjhp.js → model-nq6g47t1.js} +33 -33
- package/dist/chunks/{provider-rk93ac63.js → model-nsexsark.js} +5 -5
- package/dist/chunks/{provider-da6kr1wx.js → model-nv5vn7qx.js} +2 -2
- package/dist/chunks/{provider-917zdv8c.js → model-nwywsssq.js} +16 -16
- package/dist/chunks/model-p57y74xn.js +247 -0
- package/dist/chunks/{provider-cgwzkpq9.js → model-pagpqc31.js} +29 -29
- package/dist/chunks/{provider-yw4pw9zd.js → model-pfhdynjr.js} +29 -29
- package/dist/chunks/{provider-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{provider-8r08b25s.js → model-pnsrke6y.js} +18 -18
- package/dist/chunks/{provider-dptdzbd5.js → model-pw609sjz.js} +26 -26
- package/dist/chunks/{provider-6s9nm4sm.js → model-px95k3y4.js} +52 -52
- package/dist/chunks/{provider-by4xtjq4.js → model-q0awa4pk.js} +6 -6
- package/dist/chunks/{provider-fqa85krr.js → model-qf49agjw.js} +30 -30
- package/dist/chunks/{provider-2k8khapm.js → model-qgn6gcr1.js} +5 -5
- package/dist/chunks/{provider-y17fffc9.js → model-qkevazrs.js} +12 -12
- package/dist/chunks/{provider-crn6nz6p.js → model-qqmmpd78.js} +13 -13
- package/dist/chunks/{provider-6jtjhyr8.js → model-qqt871ed.js} +41 -41
- package/dist/chunks/{provider-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-0vt2xqgk.js → model-r08zwg3r.js} +18 -18
- package/dist/chunks/{provider-vm1jjz87.js → model-r608fp9k.js} +9 -9
- package/dist/chunks/{provider-had4kgfk.js → model-r7nsrefv.js} +6 -6
- package/dist/chunks/{provider-r9mregkx.js → model-r9mregkx.js} +2 -2
- package/dist/chunks/{provider-tn3zdbs0.js → model-rbzvkf7k.js} +30 -30
- package/dist/chunks/{provider-c9nd8tak.js → model-rfxdn812.js} +45 -45
- package/dist/chunks/{provider-8c7y8dn0.js → model-rsb1fe67.js} +5 -5
- package/dist/chunks/{provider-zgajvhgj.js → model-rsym84ch.js} +9 -9
- package/dist/chunks/{provider-vk9n42km.js → model-rtrzf183.js} +26 -26
- package/dist/chunks/{provider-tp9ndsvq.js → model-rwdp7x1n.js} +9 -9
- package/dist/chunks/{provider-t832p3z2.js → model-s437nttj.js} +28 -28
- package/dist/chunks/{provider-s4enseaf.js → model-s4enseaf.js} +2 -2
- package/dist/chunks/{provider-xkwgppqg.js → model-s77a7x78.js} +11 -11
- package/dist/chunks/{provider-xdk9p2qn.js → model-s8j6jbjj.js} +4 -4
- package/dist/chunks/{provider-jnmqjdkf.js → model-s9yxznb6.js} +4 -4
- package/dist/chunks/{provider-razh1rh3.js → model-sd864pem.js} +17 -17
- package/dist/chunks/{provider-qah718a2.js → model-sn1q4jhb.js} +11 -11
- package/dist/chunks/{provider-xzjvqte7.js → model-sp4p9hk5.js} +31 -31
- package/dist/chunks/{provider-y7p08kvk.js → model-sqetbg69.js} +10 -10
- package/dist/chunks/{provider-js4pqfak.js → model-stbyfcvy.js} +13 -13
- package/dist/chunks/{provider-r4jwy59m.js → model-sypghty7.js} +10 -10
- package/dist/chunks/{provider-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{provider-1p8j09kx.js → model-tj0j24wc.js} +12 -12
- package/dist/chunks/{provider-b6hy6gkz.js → model-trn0ebkj.js} +2 -2
- package/dist/chunks/{provider-tvtrv512.js → model-tvtrv512.js} +1 -1
- package/dist/chunks/{provider-43dgb45m.js → model-tyhtmtb1.js} +13 -13
- package/dist/chunks/{provider-cg8rhwe6.js → model-v2bqrexr.js} +7 -7
- package/dist/chunks/{provider-n3wdcy6w.js → model-v5w9803s.js} +8 -8
- package/dist/chunks/{provider-059fs9mx.js → model-v8bbbck7.js} +25 -25
- package/dist/chunks/{provider-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-qe863w20.js → model-vj40030b.js} +35 -35
- package/dist/chunks/{provider-t002jccf.js → model-vkxpz7g2.js} +4 -4
- package/dist/chunks/{provider-x280j3tq.js → model-vnk050b0.js} +89 -89
- package/dist/chunks/{provider-zh8yrkqv.js → model-vs57cc1w.js} +13 -13
- package/dist/chunks/{provider-bj92tvmk.js → model-vstdng3x.js} +53 -53
- package/dist/chunks/{provider-3sxz0rca.js → model-vvqyasfx.js} +32 -32
- package/dist/chunks/{provider-a6abw5cg.js → model-vvx5a9vg.js} +22 -22
- package/dist/chunks/{provider-vzcthcp8.js → model-vzcthcp8.js} +1 -1
- package/dist/chunks/{provider-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-kzdcqyn1.js → model-w8xr7nv8.js} +5 -5
- package/dist/chunks/{provider-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{provider-ydr0mbyb.js → model-wn601hgc.js} +8 -8
- package/dist/chunks/{provider-agwgt4ts.js → model-wtbqz04z.js} +3 -3
- package/dist/chunks/{provider-x1ezjp6w.js → model-x1ezjp6w.js} +1 -1
- package/dist/chunks/{provider-8qt0rzb8.js → model-x5wa15pd.js} +21 -21
- package/dist/chunks/{provider-82n8eww3.js → model-xb43fy6r.js} +23 -23
- package/dist/chunks/{provider-70g36m39.js → model-xcs774s4.js} +11 -11
- package/dist/chunks/{provider-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-cgpav5ev.js → model-y5aw8mtm.js} +14 -14
- package/dist/chunks/{provider-yfztj9my.js → model-yn2b00qa.js} +18 -18
- package/dist/chunks/{provider-hmtkpfat.js → model-yqbkvtfa.js} +32 -32
- package/dist/chunks/{provider-yrhqyw5v.js → model-yrhqyw5v.js} +1 -1
- package/dist/chunks/{provider-63n4gx86.js → model-ysj42rak.js} +11 -11
- package/dist/chunks/{provider-pjrv1sn1.js → model-yyfky2bj.js} +1 -1
- package/dist/chunks/{provider-2s89973z.js → model-yzf6cb4v.js} +35 -35
- package/dist/chunks/{provider-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-6tzc8vz6.js → model-z1bp4kmj.js} +26 -26
- package/dist/chunks/{provider-5nmhxvv8.js → model-z1cqpf8w.js} +32 -32
- package/dist/chunks/{provider-ff0htmxq.js → model-zcqf6png.js} +6 -6
- package/dist/chunks/{provider-bf375p48.js → model-zde5750y.js} +6 -6
- package/dist/chunks/{provider-zeh9ct20.js → model-zeh9ct20.js} +2 -2
- package/dist/chunks/{provider-cg1ew3t4.js → model-zfcp8yb0.js} +3 -3
- package/dist/chunks/{provider-em5e1hc8.js → model-znfzvn2k.js} +3 -3
- package/dist/chunks/{provider-jsydqds2.js → model-zpn9qnw3.js} +4 -4
- package/dist/chunks/{provider-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-xcjhgh37.js → model-zrs7pmt3.js} +6 -6
- package/dist/chunks/{provider-g7tzfezq.js → model-zs4k4bm4.js} +15 -15
- package/dist/chunks/{provider-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/chunks/{provider-4614hqwg.js → model-zzsqbm8r.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- 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 +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +103 -103
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +85 -85
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +5 -5
- 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 +93 -93
- package/dist/reference/instructions.js +83 -83
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +116 -116
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/provider-27zn5j18.js +0 -22
- package/dist/chunks/provider-6kdq0pjd.js +0 -4
- package/dist/chunks/provider-7fj5dwt0.js +0 -18
- package/dist/chunks/provider-7s83b9yk.js +0 -247
- /package/dist/chunks/{provider-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3w5fmr99.js → model-3w5fmr99.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-922hggd3.js → model-922hggd3.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hjbc5kem.js → model-hjbc5kem.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-hrnqkpcd.js → model-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-j935v87r.js → model-j935v87r.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-sk3qaz4a.js → model-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-twg0f83k.js → model-twg0f83k.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8cydn3q.js → model-y8cydn3q.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service44
|
|
4
|
+
} from "./model-5vtpc8vp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service74
|
|
7
|
+
} from "./model-6h7ssv2c.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service61
|
|
10
|
+
} from "./model-18ercc3f.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service65,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-7925xp00.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./model-ennqj48b.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make9
|
|
20
|
+
} from "./model-5bs4txnv.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin29
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin29 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service61;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin5 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service74;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service65;
|
|
60
|
+
const sessions = yield* Service18;
|
|
61
|
+
const agents = yield* Service44;
|
|
62
|
+
const subagents = yield* make9;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin5 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin29, exports_command2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-znfzvn2k.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node82
|
|
8
|
+
} from "./model-y5aw8mtm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service39,
|
|
11
|
+
node42
|
|
12
|
+
} from "./model-zcqf6png.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service75,
|
|
19
|
+
node80
|
|
20
|
+
} from "./model-qqt871ed.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Ref4
|
|
23
|
+
} from "./model-6h7ssv2c.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service67,
|
|
26
|
+
node71
|
|
27
|
+
} from "./model-c11jf028.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError6
|
|
33
|
+
} from "./model-zde5750y.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service36
|
|
39
|
+
} from "./model-ddt2bs9e.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service42,
|
|
42
|
+
node45
|
|
43
|
+
} from "./model-5j19hd5e.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service37,
|
|
48
|
+
node40,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./model-xb43fy6r.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service35,
|
|
53
|
+
node39
|
|
54
|
+
} from "./model-6ra2j2vw.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node24
|
|
57
|
+
} from "./model-x5wa15pd.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./model-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service19,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node23
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service19 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service75;
|
|
92
|
+
const locations = yield* Service67;
|
|
93
|
+
const store = yield* Service42;
|
|
94
|
+
const execution = yield* Service35;
|
|
95
|
+
const instances = yield* Service39;
|
|
96
|
+
const admission = yield* Service37;
|
|
97
97
|
const database = yield* Service80;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service77;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError6({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref4.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service36.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service19.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node23 = makeGlobalNode({
|
|
167
|
+
service: Service19,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
node59,
|
|
172
|
+
node80,
|
|
173
|
+
node71,
|
|
175
174
|
node45,
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
node39,
|
|
176
|
+
node42,
|
|
177
|
+
node40,
|
|
178
178
|
node85,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node82,
|
|
180
|
+
node24
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node23, exports_move };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info20,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info20 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info23 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info20, exports_provider2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./model-j55g5gc5.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service79,
|
|
16
|
+
node84
|
|
17
|
+
} from "./model-cdxne2ts.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-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,13 +101,13 @@ 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
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service76;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service79;
|
|
110
|
+
return Service47.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service59, 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,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node81, Global.node, node84]
|
|
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,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node81
|
|
10
|
+
} from "./model-j55g5gc5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service74,
|
|
13
|
+
node79
|
|
14
|
+
} from "./model-6h7ssv2c.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-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: () => Error2,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service31,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node35,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
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 ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 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 Service31 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service76;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service74;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service70, 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 Error2({ 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(Service70, 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 Error2({ 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(Service70, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service31.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node35 = makeLocationNode({
|
|
139
|
+
service: Service31,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node81, Global.node, node79]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service70, Service70.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error2({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID4, Error2, Service31, node35, noopLayer2, exports_snapshot2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-7wdjtyr9.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./model-18ercc3f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./model-vstdng3x.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin31,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin31 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service61;
|
|
28
|
+
const mcp = yield* Service29;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin31, register2, exports_mcp2 };
|