@opencode/core 0.0.0-dev-20791 → 0.0.0-dev-20792
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{provider-n9henkkh.js → git-005h5010.js} +28 -28
- package/dist/chunks/{provider-1fgp8xwn.js → git-054q1sxb.js} +26 -26
- package/dist/chunks/{provider-vsnf9nwj.js → git-05p6bsrn.js} +18 -18
- package/dist/chunks/{provider-yykvs157.js → git-0ak58yta.js} +17 -17
- package/dist/chunks/{provider-h2jbhxpy.js → git-0dejx7qs.js} +10 -10
- package/dist/chunks/{provider-70kn96kt.js → git-0fmvb2b0.js} +11 -11
- package/dist/chunks/{provider-wt1nksa6.js → git-0jvn049w.js} +12 -12
- package/dist/chunks/{provider-fcrkznn8.js → git-0jwsre1p.js} +5 -5
- package/dist/chunks/{provider-bvmsv81p.js → git-0nh12e3w.js} +21 -21
- package/dist/chunks/{provider-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-2kqaa06v.js → git-0pyctmxn.js} +28 -28
- package/dist/chunks/{provider-ws53rjxg.js → git-0sj5yny1.js} +32 -32
- package/dist/chunks/{provider-3f6waj75.js → git-0tp1tt1j.js} +36 -36
- package/dist/chunks/{provider-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{provider-2e7wrvcp.js → git-0zd0p9vj.js} +5 -5
- package/dist/chunks/{provider-b65scesz.js → git-15k6ffdt.js} +33 -33
- package/dist/chunks/{provider-mxc9h5jw.js → git-18rx02e6.js} +11 -11
- package/dist/chunks/{provider-1ffvrpkg.js → git-1ffvrpkg.js} +2 -2
- package/dist/chunks/{provider-e8vwfchq.js → git-1n632r5x.js} +6 -6
- package/dist/chunks/{provider-fxgpk5d8.js → git-2bv980vf.js} +2 -2
- package/dist/chunks/{provider-6rf3xdqr.js → git-2p7nscxg.js} +7 -7
- package/dist/chunks/{provider-9kc6pycg.js → git-2trnmt9t.js} +34 -34
- package/dist/chunks/{provider-2vvh33eb.js → git-2vvh33eb.js} +2 -2
- package/dist/chunks/{provider-nggw558s.js → git-2wy543en.js} +32 -32
- package/dist/chunks/{provider-85b4mqzk.js → git-2z3ts8x2.js} +6 -6
- package/dist/chunks/{provider-5xd5tp9x.js → git-338vv87z.js} +34 -34
- package/dist/chunks/{provider-6e3qzxz7.js → git-36m4j9rs.js} +40 -40
- package/dist/chunks/{provider-3cegwx68.js → git-3cegwx68.js} +2 -2
- package/dist/chunks/{provider-bfsxa3aj.js → git-3cskn803.js} +9 -9
- package/dist/chunks/{provider-9yq3t2hf.js → git-3d0jer83.js} +1 -1
- package/dist/chunks/{provider-76geegwy.js → git-3danyvha.js} +20 -20
- package/dist/chunks/{provider-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-q5e7cmwt.js → git-3g8j9he4.js} +1 -1
- package/dist/chunks/{provider-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3hwn7j4h.js → git-3hwn7j4h.js} +2 -2
- package/dist/chunks/{provider-vejsh113.js → git-3pyamhks.js} +23 -23
- package/dist/chunks/{provider-h7a371x4.js → git-3qahdm0h.js} +27 -27
- package/dist/chunks/{provider-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-38adaqc0.js → git-3tt1qkhr.js} +5 -5
- package/dist/chunks/{provider-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-pawgp0r2.js → git-3vpz37r5.js} +23 -23
- package/dist/chunks/{provider-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{provider-0vtm6bxs.js → git-4cj6mfq5.js} +12 -12
- package/dist/chunks/{provider-m30y0s1n.js → git-4e4wxq1q.js} +7 -7
- package/dist/chunks/{provider-zjtrsxny.js → git-4ekscj25.js} +5 -5
- package/dist/chunks/{provider-w144htxh.js → git-4mdqemj8.js} +4 -4
- package/dist/chunks/{provider-4jgvg5sf.js → git-4p3fqmky.js} +51 -51
- package/dist/chunks/{provider-4ts7tf6z.js → git-4ts7tf6z.js} +2 -2
- package/dist/chunks/{provider-26zrht65.js → git-4vy44jd7.js} +5 -5
- package/dist/chunks/{provider-amxsreew.js → git-53jdsm2k.js} +6 -6
- package/dist/chunks/{provider-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{provider-x2arpr3q.js → git-57g2ppnc.js} +34 -34
- package/dist/chunks/{provider-62jnxtzq.js → git-5gne999t.js} +13 -13
- package/dist/chunks/{provider-4b6t6vp9.js → git-5kvcaca5.js} +11 -11
- package/dist/chunks/{provider-5m9w47nd.js → git-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-29wxprpz.js → git-5q0gmhc9.js} +13 -13
- package/dist/chunks/{provider-hhgjrq7n.js → git-5q6cycwa.js} +6 -6
- package/dist/chunks/{provider-r7jvaf8c.js → git-5whb5ts8.js} +318 -318
- package/dist/chunks/{provider-xxbftrs5.js → git-60xqjdyw.js} +11 -11
- package/dist/chunks/{provider-w4jn1cxa.js → git-61b845kx.js} +11 -11
- package/dist/chunks/{provider-92vpqabm.js → git-63k8pmst.js} +38 -38
- package/dist/chunks/{provider-nk5pjz5k.js → git-68cr4y1w.js} +20 -20
- package/dist/chunks/{provider-f78dsz6n.js → git-6fjvkjmf.js} +11 -11
- package/dist/chunks/{provider-sv3kqa3f.js → git-6jr8wev5.js} +87 -87
- package/dist/chunks/{provider-cn00qjjk.js → git-6nxrzbtn.js} +35 -35
- package/dist/chunks/{provider-r5w6n4cv.js → git-6p4h1e3w.js} +25 -25
- package/dist/chunks/{provider-37rmtkzf.js → git-6rsa73sz.js} +13 -13
- package/dist/chunks/{provider-6xb47vfp.js → git-6xb47vfp.js} +1 -1
- package/dist/chunks/{provider-atm02tjg.js → git-72apfe7j.js} +17 -17
- package/dist/chunks/{provider-82v73sw7.js → git-72sxpf59.js} +3 -3
- package/dist/chunks/{provider-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-eh0k18hk.js → git-7enz7xcv.js} +26 -26
- package/dist/chunks/{provider-45hw2ke2.js → git-7qq3ahcc.js} +6 -6
- package/dist/chunks/{provider-1z89szcw.js → git-7ys7tymf.js} +24 -24
- package/dist/chunks/{provider-84h8c373.js → git-84h8c373.js} +2 -2
- package/dist/chunks/{provider-84txncab.js → git-84txncab.js} +1 -1
- package/dist/chunks/{provider-0ftbr9pt.js → git-87nprvex.js} +4 -4
- package/dist/chunks/{provider-dvf4d4yx.js → git-87r11qxp.js} +7 -7
- package/dist/chunks/{provider-tcezcvh9.js → git-89znhe33.js} +4 -4
- package/dist/chunks/{provider-047jqq3p.js → git-8af82va7.js} +28 -28
- package/dist/chunks/{provider-s1dh365q.js → git-8cjeyp9d.js} +5 -5
- package/dist/chunks/{provider-rc8hhhh7.js → git-8d17r613.js} +18 -18
- package/dist/chunks/{provider-8m6m0r52.js → git-8m6m0r52.js} +1 -1
- package/dist/chunks/{provider-8gn0smby.js → git-91qqg4w4.js} +14 -14
- package/dist/chunks/{provider-myz3c1x1.js → git-936t622p.js} +14 -14
- package/dist/chunks/{provider-k621mz99.js → git-9b0xmrgy.js} +9 -9
- package/dist/chunks/{provider-0d84vz2x.js → git-9dd12mjb.js} +17 -17
- package/dist/chunks/git-9gv5xd61.js +253 -0
- package/dist/chunks/{provider-1ajx6rf5.js → git-9hn6k4tm.js} +8 -8
- package/dist/chunks/{provider-j9sn2hmy.js → git-9kx1kxek.js} +58 -58
- package/dist/chunks/{provider-apq16njp.js → git-9pk1vssy.js} +43 -43
- package/dist/chunks/{provider-mv3a9vfa.js → git-9vy95dxc.js} +33 -33
- package/dist/chunks/{provider-4spa2hfp.js → git-9wdmpm2y.js} +5 -5
- package/dist/chunks/git-9zdhvgqs.js +18 -0
- package/dist/chunks/{provider-wcgx21r5.js → git-a1hjsv5v.js} +22 -22
- package/dist/chunks/{provider-nzqd0z95.js → git-aevwv9my.js} +20 -20
- package/dist/chunks/{provider-4d2ssmng.js → git-amzhydp5.js} +19 -19
- package/dist/chunks/{provider-q2zbepsx.js → git-arv02hz5.js} +23 -23
- package/dist/chunks/{provider-ss358qx3.js → git-arz7hw7x.js} +3 -3
- package/dist/chunks/{provider-7f2fthed.js → git-atr81m35.js} +18 -18
- package/dist/chunks/{provider-sds13m34.js → git-ay8pchpw.js} +11 -11
- package/dist/chunks/{provider-vk40tmth.js → git-azy71b5p.js} +10 -10
- package/dist/chunks/{provider-cngbv4vx.js → git-b2we9szf.js} +15 -15
- package/dist/chunks/{provider-e5bq21fb.js → git-b2zceas0.js} +39 -39
- package/dist/chunks/{provider-scgrse2b.js → git-b3f8fkhc.js} +5 -5
- package/dist/chunks/{provider-ck5v4t4h.js → git-ba6dhfmr.js} +13 -13
- package/dist/chunks/{provider-1pb85ckn.js → git-bfa8f5s9.js} +3 -3
- package/dist/chunks/{provider-3403f573.js → git-bg8br9r2.js} +11 -11
- package/dist/chunks/{provider-2ptgxraj.js → git-bhsmb1tr.js} +15 -15
- package/dist/chunks/{provider-14y0d454.js → git-btaae2v7.js} +16 -16
- package/dist/chunks/{provider-t7n9q6bq.js → git-ca7w653e.js} +4 -4
- package/dist/chunks/{provider-6t6v4r2b.js → git-cg75ja73.js} +29 -29
- package/dist/chunks/{provider-rmjt2b52.js → git-cgpds6rt.js} +37 -37
- package/dist/chunks/{provider-zkzvxy35.js → git-d7y267ps.js} +16 -16
- package/dist/chunks/{provider-thm5q0xs.js → git-d95qzp3c.js} +22 -22
- package/dist/chunks/{provider-tjnp7r6e.js → git-df6n04fa.js} +15 -15
- package/dist/chunks/{provider-dpkg50ah.js → git-dpkg50ah.js} +1 -1
- package/dist/chunks/{provider-xfkkasph.js → git-drwq78ky.js} +4 -4
- package/dist/chunks/{provider-weqgmzm7.js → git-dvdpagf6.js} +21 -21
- package/dist/chunks/{provider-pv6pvbp0.js → git-dwf7v6w9.js} +14 -14
- package/dist/chunks/{provider-r4kk7qr4.js → git-e1kk85xw.js} +32 -32
- package/dist/chunks/{provider-a9gv15q4.js → git-e1vkjn76.js} +35 -35
- package/dist/chunks/{provider-9hgbqvyk.js → git-e54sm1p5.js} +17 -17
- package/dist/chunks/{provider-9v6yecg3.js → git-e81wkxmg.js} +9 -9
- package/dist/chunks/{provider-ryr25ayn.js → git-edrmdtr5.js} +7 -7
- package/dist/chunks/{provider-eej6y6fw.js → git-eej6y6fw.js} +2 -2
- package/dist/chunks/{provider-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-tby2y51h.js → git-ehbmtb60.js} +2 -2
- package/dist/chunks/{provider-m98yqj1g.js → git-emgz884k.js} +13 -13
- package/dist/chunks/{provider-6dktpyb5.js → git-epde7s1t.js} +36 -36
- package/dist/chunks/{provider-fmp9231c.js → git-ev5twtdq.js} +10 -10
- package/dist/chunks/{provider-3vyzva02.js → git-ey18w044.js} +54 -54
- package/dist/chunks/{provider-1acjjqhc.js → git-f2n192rq.js} +4 -4
- package/dist/chunks/{provider-335g9ndw.js → git-f2pfreyh.js} +46 -46
- package/dist/chunks/{provider-f75zav2x.js → git-f75zav2x.js} +2 -2
- package/dist/chunks/{provider-zxjj126v.js → git-fapm90ze.js} +17 -17
- package/dist/chunks/{provider-kkq6mwcr.js → git-fj7bh802.js} +14 -14
- package/dist/chunks/{provider-8xxzf2da.js → git-fpvxm61y.js} +2 -2
- package/dist/chunks/{provider-4xpgt2w9.js → git-g6yfr6ja.js} +5 -5
- package/dist/chunks/{provider-0xwgk9vz.js → git-gb1kdh0r.js} +3 -3
- package/dist/chunks/{provider-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-cwa6csj7.js → git-gjwgx2c5.js} +9 -9
- package/dist/chunks/{provider-gk8qb678.js → git-gk8qb678.js} +1 -1
- package/dist/chunks/{provider-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-h7s7r6s9.js → git-h7s7r6s9.js} +2 -2
- package/dist/chunks/{provider-f3njbn8g.js → git-hebgbgn9.js} +26 -26
- package/dist/chunks/{provider-g249fj17.js → git-hevyx578.js} +5 -5
- package/dist/chunks/{provider-b42z8asq.js → git-hgrbd8h2.js} +22 -22
- package/dist/chunks/{provider-3hrm5za2.js → git-hgtyqm20.js} +19 -19
- package/dist/chunks/{provider-hgz4x7wa.js → git-hgz4x7wa.js} +1 -1
- package/dist/chunks/{provider-jxjmkhwe.js → git-hypva3mf.js} +75 -75
- package/dist/chunks/{provider-p2kw5rbw.js → git-j0k9182s.js} +9 -9
- package/dist/chunks/{provider-mkdknv6v.js → git-j3d60m5d.js} +96 -96
- package/dist/chunks/{provider-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-vvccsdf3.js → git-j5w2yx54.js} +6 -6
- package/dist/chunks/{provider-g7758hjd.js → git-jhfavzp9.js} +35 -35
- package/dist/chunks/{provider-q95xegsv.js → git-jj5pmedj.js} +43 -43
- package/dist/chunks/{provider-d883x9cj.js → git-jnv35ebs.js} +33 -33
- package/dist/chunks/{provider-1zvzsdwq.js → git-jsj7r8tb.js} +4 -4
- package/dist/chunks/{provider-kb9j3d72.js → git-kb9j3d72.js} +3 -3
- package/dist/chunks/{provider-y7f9yaqr.js → git-kbh69d3n.js} +13 -13
- package/dist/chunks/{provider-cd6yk4zv.js → git-kgkgbtzn.js} +12 -12
- package/dist/chunks/{provider-t6waa6vr.js → git-kj5pxtse.js} +11 -11
- package/dist/chunks/{provider-4gnvd7qm.js → git-kjvgn7cb.js} +9 -9
- package/dist/chunks/{provider-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{provider-8saax5z0.js → git-m9gwdyxg.js} +3 -3
- package/dist/chunks/{provider-4wbp889g.js → git-m9t1q5g7.js} +8 -8
- package/dist/chunks/{provider-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-bkec5w72.js → git-mb3de71v.js} +17 -17
- package/dist/chunks/{provider-32qtf6eh.js → git-mj33qvve.js} +49 -49
- package/dist/chunks/{provider-52y26bc1.js → git-mn51j4dq.js} +11 -11
- package/dist/chunks/{provider-dv078rhj.js → git-mq9b3447.js} +19 -19
- package/dist/chunks/{provider-mp6d0dty.js → git-ms93yq6r.js} +8 -8
- package/dist/chunks/{provider-95fdcy0x.js → git-mx3e9kbd.js} +3 -3
- package/dist/chunks/{provider-f29mbr7f.js → git-n1n192bv.js} +4 -4
- package/dist/chunks/{provider-s9qpn53w.js → git-n4jactnr.js} +16 -16
- package/dist/chunks/{provider-n5yd7gvm.js → git-n5yd7gvm.js} +2 -2
- package/dist/chunks/{provider-1281thgj.js → git-n6ywrw5r.js} +18 -18
- package/dist/chunks/{provider-7feea0h6.js → git-n94jt7k6.js} +11 -11
- package/dist/chunks/{provider-zdj1medq.js → git-nj4y9v71.js} +11 -11
- package/dist/chunks/{provider-dzzj39sc.js → git-nks4h03n.js} +24 -24
- package/dist/chunks/{provider-e80seqcp.js → git-nma959mg.js} +3 -3
- package/dist/chunks/{provider-p6hhy8bg.js → git-nn81w468.js} +22 -22
- package/dist/chunks/{provider-ebwxn0bv.js → git-npw39rc8.js} +8 -8
- package/dist/chunks/{provider-63db42yp.js → git-nqxj0yn4.js} +2 -2
- package/dist/chunks/{provider-x0q5m72f.js → git-p32a36b2.js} +8 -8
- package/dist/chunks/{provider-emrckeyb.js → git-pan6pma5.js} +28 -28
- package/dist/chunks/{provider-5zageasv.js → git-pf3z77yb.js} +11 -11
- package/dist/chunks/{provider-dg0xkvw5.js → git-pfbtahck.js} +45 -45
- package/dist/chunks/{provider-6p4dxar3.js → git-pgn4sp2k.js} +8 -8
- package/dist/chunks/{provider-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-49q5ax9f.js → git-pk16sceg.js} +23 -23
- package/dist/chunks/{provider-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{provider-a2qe2ev9.js → git-pnaxc6j9.js} +8 -8
- package/dist/chunks/{provider-xnfh7z4s.js → git-prqsh0gh.js} +24 -24
- package/dist/chunks/{provider-gtkn8gkd.js → git-q0n429jm.js} +28 -28
- package/dist/chunks/{provider-cjggxxw5.js → git-q0se85t4.js} +5 -5
- package/dist/chunks/{provider-q0xm7vwc.js → git-q0xm7vwc.js} +2 -2
- package/dist/chunks/{provider-qnc92qwc.js → git-qnc92qwc.js} +1 -1
- package/dist/chunks/{provider-t91hcw5k.js → git-qp3kq2y9.js} +28 -28
- package/dist/chunks/{provider-c59j4z19.js → git-qrqn981e.js} +49 -49
- package/dist/chunks/{provider-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-8k33st31.js → git-qsy7xj6s.js} +35 -35
- package/dist/chunks/{provider-6an8s7fn.js → git-qvz5vvt5.js} +4 -4
- package/dist/chunks/{provider-pt6k7v6r.js → git-r0wqwj5k.js} +15 -15
- package/dist/chunks/{provider-8r1jb4je.js → git-r17tmn3b.js} +3 -3
- package/dist/chunks/{provider-q5xvhvda.js → git-r1qq3cts.js} +7 -14
- package/dist/chunks/{provider-dtkcvn89.js → git-r95pf28y.js} +26 -26
- package/dist/chunks/{provider-fwwk8vbp.js → git-r9w3djhf.js} +9 -9
- package/dist/chunks/{provider-0hb4wmm5.js → git-ra4xyxax.js} +3 -3
- package/dist/chunks/{provider-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-9cppds89.js → git-rfx9ekrq.js} +17 -17
- package/dist/chunks/{provider-8sze2n9a.js → git-rkprpv83.js} +6 -6
- package/dist/chunks/{provider-03g00rc2.js → git-rqk1fa9v.js} +11 -11
- package/dist/chunks/{provider-xasyx0as.js → git-rx9ava5n.js} +4 -4
- package/dist/chunks/{provider-1sw2bjqg.js → git-s7d29e54.js} +22 -22
- package/dist/chunks/{provider-eaj1djv9.js → git-s8d7rejh.js} +6 -6
- package/dist/chunks/{provider-y6fmmag9.js → git-sa9zrgkt.js} +15 -15
- package/dist/chunks/{provider-660vws5y.js → git-samkme8z.js} +11 -11
- package/dist/chunks/{provider-zec2tej3.js → git-sbcdpbwn.js} +9 -9
- package/dist/chunks/{provider-2cbec54g.js → git-sj5qkpbh.js} +48 -48
- package/dist/chunks/{provider-qrhkshcm.js → git-sjcsfe4s.js} +33 -33
- package/dist/chunks/{provider-rf8f0yt3.js → git-sjysn7g8.js} +8 -8
- package/dist/chunks/{provider-waskdk5r.js → git-sz15zhhw.js} +4 -4
- package/dist/chunks/{provider-wzwfmfap.js → git-t11fnep0.js} +4 -4
- package/dist/chunks/{provider-fj6865vy.js → git-t29ezq2f.js} +18 -18
- package/dist/chunks/{provider-9h4qydt5.js → git-t44gf9cv.js} +13 -13
- package/dist/chunks/{provider-880p7epb.js → git-t6qketva.js} +9 -9
- package/dist/chunks/{provider-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{provider-v0es1rhs.js → git-tg7bkhef.js} +7 -7
- package/dist/chunks/{provider-vee0vrgv.js → git-tq912ctx.js} +9 -9
- package/dist/chunks/{provider-fjw2kstf.js → git-twy5v6rf.js} +35 -35
- package/dist/chunks/{provider-tyytaxap.js → git-tyytaxap.js} +1 -1
- package/dist/chunks/{provider-g686f6pq.js → git-v1vh7s4p.js} +9 -9
- package/dist/chunks/{provider-avqctdqx.js → git-v30kbkq4.js} +16 -16
- package/dist/chunks/{provider-qwgxfp2a.js → git-v5c0f40n.js} +3 -3
- package/dist/chunks/{provider-v7p4zvkq.js → git-v7p4zvkq.js} +2 -2
- package/dist/chunks/{provider-xa42b6m5.js → git-va0fbs7b.js} +10 -10
- package/dist/chunks/{provider-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-td1bkjex.js → git-vfdxn3h0.js} +22 -22
- package/dist/chunks/{provider-zee0z0hh.js → git-vfyehk9r.js} +11 -11
- package/dist/chunks/{provider-pssynsjy.js → git-vmgrvd8m.js} +13 -13
- package/dist/chunks/{provider-cscw30g0.js → git-vvtbyngz.js} +21 -21
- package/dist/chunks/{provider-ashwz6j6.js → git-vwd6rghw.js} +24 -24
- package/dist/chunks/{provider-dj10tw80.js → git-vyn3fbe9.js} +9 -9
- package/dist/chunks/{provider-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{provider-t1ab5pxs.js → git-w1w80knf.js} +15 -15
- package/dist/chunks/{provider-62vm8mpr.js → git-w20e8fcc.js} +25 -25
- package/dist/chunks/git-w3nk0s7b.js +26 -0
- package/dist/chunks/{provider-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{provider-zw2hpfmh.js → git-x661k3y3.js} +4 -4
- package/dist/chunks/{provider-30405gqp.js → git-x6xwpcb6.js} +11 -11
- package/dist/chunks/{provider-2h977fq8.js → git-xerck34f.js} +57 -57
- package/dist/chunks/{provider-kancfa1f.js → git-xk53et4p.js} +6 -6
- package/dist/chunks/{provider-3xks077t.js → git-xrg0ka6s.js} +9 -9
- package/dist/chunks/{provider-7ev5skf9.js → git-y1e2eb1c.js} +15 -15
- package/dist/chunks/{provider-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-2aftvdxj.js → git-y8y7y9jr.js} +21 -21
- package/dist/chunks/{provider-wh8ssgqw.js → git-y9et92tf.js} +22 -22
- package/dist/chunks/{provider-b674v2dg.js → git-ygdna4kr.js} +5 -5
- package/dist/chunks/{provider-qjqmwmzb.js → git-ygewtjhv.js} +10 -10
- package/dist/chunks/{provider-jthxwa51.js → git-yrhvba5s.js} +4 -4
- package/dist/chunks/{provider-fff0xyha.js → git-yt8g5aa9.js} +19 -19
- package/dist/chunks/{provider-6m6pfhdc.js → git-yvap468f.js} +4 -4
- package/dist/chunks/{provider-s26hbv8p.js → git-z0aj456m.js} +4 -4
- package/dist/chunks/{provider-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-kmyvz7s7.js → git-z2p2vv02.js} +186 -186
- package/dist/chunks/{provider-pr7pa2x1.js → git-z7fpb30e.js} +8 -8
- package/dist/chunks/{provider-ke3v7s92.js → git-zendj55v.js} +4 -4
- package/dist/chunks/{provider-shrjyxtz.js → git-zgkba261.js} +1 -1
- package/dist/chunks/{provider-bnhfyrbt.js → git-zknpef82.js} +16 -16
- package/dist/chunks/{provider-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-4yyqrevp.js → git-zrb6st9f.js} +32 -32
- package/dist/chunks/{provider-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/chunks/{provider-0xqyf95c.js → git-zy43x3f1.js} +4 -4
- package/dist/chunks/{provider-j9cyargr.js → git-zz93myh2.js} +8 -8
- 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 +85 -85
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- 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 +119 -119
- package/dist/config/plugin/mcp.js +124 -124
- 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 +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +136 -136
- 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 +116 -116
- 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 +86 -86
- 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 +366 -366
- 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 +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +75 -75
- 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 +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +92 -92
- 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 +357 -357
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +354 -354
- 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 +110 -110
- 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 +92 -92
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- 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 +114 -114
- 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 +75 -75
- package/dist/plugin/command.js +101 -101
- 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 +5 -5
- package/dist/plugin/internal.js +329 -329
- 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 +4 -4
- package/dist/plugin/plan.js +101 -101
- 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/databricks.js +1 -1
- 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 +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +96 -96
- 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 +159 -159
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- 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 +1 -1
- 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 +218 -218
- 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 +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- 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 +3 -3
- 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 +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- 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 +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +214 -214
- 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 +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 +113 -113
- 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 +110 -110
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +75 -75
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +83 -83
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/provider-58247qtm.js +0 -26
- package/dist/chunks/provider-by5v678g.js +0 -18
- package/dist/chunks/provider-ejhexyp6.js +0 -253
- /package/dist/chunks/{provider-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-34c7v6d4.js → git-34c7v6d4.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-84wd9syh.js → git-84wd9syh.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-bw78ga2c.js → git-bw78ga2c.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jze0r7bz.js → git-jze0r7bz.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-pyv0edze.js → git-pyv0edze.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-ve7vex1e.js → git-ve7vex1e.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service45
|
|
4
|
+
} from "./git-mj33qvve.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service82
|
|
7
|
+
} from "./git-amzhydp5.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin38
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin38 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service45;
|
|
27
|
+
const shell = yield* Service82;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin43 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin38, exports_shell2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service80,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node84
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
100
100
|
}) {
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service80 extends Context.Service()("@opencode/Git") {
|
|
104
104
|
}
|
|
105
|
-
var layer = Layer.effect(
|
|
105
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const proc = yield* AppProcess.Service;
|
|
108
108
|
const locks = makeUnsafe2();
|
|
@@ -717,7 +717,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
717
717
|
kind: index === 0 ? "main" : "linked"
|
|
718
718
|
}));
|
|
719
719
|
});
|
|
720
|
-
return
|
|
720
|
+
return Service80.of({
|
|
721
721
|
repo: { discover, clone, create },
|
|
722
722
|
remote: { get: remote },
|
|
723
723
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -734,7 +734,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
734
734
|
objects: { pack: packObjects }
|
|
735
735
|
});
|
|
736
736
|
}));
|
|
737
|
-
var
|
|
737
|
+
var node84 = makeGlobalNode({ service: Service80, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
738
738
|
function run(cwd, proc, args) {
|
|
739
739
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
740
740
|
}
|
|
@@ -801,4 +801,4 @@ function resolvePath(cwd, value) {
|
|
|
801
801
|
return path.resolve(cwd, normalized);
|
|
802
802
|
}
|
|
803
803
|
|
|
804
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
804
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service80, node84, exports_git3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options6,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options6 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options6]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options6, Spec2, exports_plugin3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-xerck34f.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service26,
|
|
12
|
+
node30
|
|
13
|
+
} from "./git-ey18w044.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-0pyctmxn.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions4 = {};
|
|
24
|
+
__export(exports_instructions4, {
|
|
25
|
+
McpInstructions: () => exports_instructions4,
|
|
26
|
+
Service: () => Service24,
|
|
27
|
+
layer: () => layer10,
|
|
28
|
+
node: () => node28
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service24 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer10 = Layer.effect(Service24, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service26;
|
|
68
|
+
return Service24.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
70
|
const source = (value) => make21({
|
|
71
|
-
key:
|
|
71
|
+
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -96,6 +96,6 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node28 = makeLocationNode({ service: Service24, layer: layer10, deps: [node30] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service24, layer10, node28, exports_instructions4 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./git-4cj6mfq5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service26,
|
|
7
|
+
node30
|
|
8
|
+
} from "./git-ey18w044.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service66,
|
|
11
|
+
node70
|
|
12
|
+
} from "./git-xerck34f.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service31,
|
|
15
|
+
node34
|
|
16
|
+
} from "./git-6p4h1e3w.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service25,
|
|
26
|
+
layer: () => layer11,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node29
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service25 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer11 = Layer.effect(Service25, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service26;
|
|
42
|
+
const tools = yield* Service31;
|
|
43
|
+
const bus = yield* Service84;
|
|
44
|
+
const permission = yield* Service66;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service25.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node29 = makeLocationNode({
|
|
124
|
+
service: Service25,
|
|
125
|
+
layer: layer11,
|
|
126
|
+
deps: [node34, node30, node88, node70]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service25, layer11, node29, exports_mcp3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./git-0jvn049w.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service78,
|
|
13
|
+
node82
|
|
14
|
+
} from "./git-zknpef82.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-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: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service42,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node44,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, 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 ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 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 Service42 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service74, 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 Error3({ 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)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID5.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node44 = makeLocationNode({
|
|
153
|
+
service: Service42,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node84, Global.node, node82]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer3 = Layer.succeed(
|
|
157
|
+
var noopLayer3 = Layer.succeed(Service42, Service42.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer3 = Layer.succeed(Service74, Service74.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error3({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID5, Error3, Service42, node44, noopLayer3, exports_snapshot2 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./git-4cj6mfq5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./git-r95pf28y.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./git-e1kk85xw.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service78,
|
|
16
|
+
node82
|
|
17
|
+
} from "./git-zknpef82.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-e81wkxmg.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service66,
|
|
26
|
+
node70
|
|
27
|
+
} from "./git-xerck34f.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service52,
|
|
30
|
+
node54
|
|
31
|
+
} from "./git-n6ywrw5r.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./git-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service51,
|
|
41
|
+
node: () => node53
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service51 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service84;
|
|
52
|
+
const location = yield* Service78;
|
|
53
|
+
const permission = yield* Service66;
|
|
54
|
+
const forms = yield* Service77;
|
|
55
|
+
const rpc = yield* Service52;
|
|
56
|
+
const project = yield* Service79;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service51.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node53 = makeLocationNode({
|
|
84
|
+
service: Service51,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node88, node82, node70, node83, node81, node54]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service51, node53, exports_location_lifecycle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./git-qsy7xj6s.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
|
|
|
35
35
|
})))).filter(Boolean).toSorted();
|
|
36
36
|
yield* ctx.integration.transform((editor) => {
|
|
37
37
|
editor.method.update({
|
|
38
|
-
integrationID:
|
|
38
|
+
integrationID: ID13.amazonBedrock,
|
|
39
39
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
40
40
|
});
|
|
41
41
|
editor.method.update({
|
|
42
|
-
integrationID:
|
|
42
|
+
integrationID: ID13.amazonBedrock,
|
|
43
43
|
method: { type: "key", label: "Bedrock API key" }
|
|
44
44
|
});
|
|
45
45
|
editor.method.update({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID13.amazonBedrock,
|
|
47
47
|
method: {
|
|
48
48
|
id: "aws-profile",
|
|
49
49
|
type: "external",
|