@opencode/core 0.0.0-dev-876 → 0.0.0-dev-877
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +238 -238
- package/dist/bus.js +84 -84
- package/dist/chunks/{worktree-y90ccvgh.js → git-00varkfn.js} +12 -12
- package/dist/chunks/{worktree-034tev2y.js → git-034tev2y.js} +2 -2
- package/dist/chunks/{worktree-g54w9w6m.js → git-03bqgv3d.js} +21 -21
- package/dist/chunks/{worktree-3adw4bt5.js → git-04whjz6n.js} +9 -9
- package/dist/chunks/{worktree-qrs8q7n9.js → git-0cty9tzn.js} +6 -6
- package/dist/chunks/{worktree-th8bndh3.js → git-0frc0r1x.js} +28 -28
- package/dist/chunks/{worktree-h2jaypqm.js → git-0gqnrxt9.js} +27 -27
- package/dist/chunks/{worktree-1d15302f.js → git-0jb5754p.js} +17 -17
- package/dist/chunks/{worktree-y52b0xvd.js → git-0m3b16eq.js} +11 -11
- package/dist/chunks/{worktree-0ma9gw4f.js → git-0ma9gw4f.js} +2 -2
- package/dist/chunks/{worktree-qqmgvvew.js → git-0q8f2k41.js} +18 -18
- package/dist/chunks/{worktree-1b81r9ak.js → git-0qak39qg.js} +11 -11
- package/dist/chunks/{worktree-2bzmwc8c.js → git-0x3y91hs.js} +16 -16
- package/dist/chunks/{worktree-375ef93n.js → git-0z761sfe.js} +19 -19
- package/dist/chunks/{worktree-1aqsckx4.js → git-1aqsckx4.js} +1 -1
- package/dist/chunks/{worktree-d5c055qx.js → git-1d9m9zxv.js} +28 -28
- package/dist/chunks/{worktree-64ws81xy.js → git-1djj0b5c.js} +9 -9
- package/dist/chunks/{worktree-mt8hy3hj.js → git-1ecdfnj3.js} +4 -4
- package/dist/chunks/{worktree-1ep2p91f.js → git-1ep2p91f.js} +2 -2
- package/dist/chunks/{worktree-cg3fcpn4.js → git-1mjfhd2z.js} +6 -6
- package/dist/chunks/{worktree-ykvdsdrm.js → git-1r07hmxk.js} +3 -3
- package/dist/chunks/{worktree-1x2knyw4.js → git-1x2knyw4.js} +1 -1
- package/dist/chunks/{worktree-ywv6jdkf.js → git-1xckstgy.js} +4 -4
- package/dist/chunks/{worktree-69v4073s.js → git-20hs46rx.js} +2 -2
- package/dist/chunks/{worktree-904zz7ha.js → git-20sbf82m.js} +9 -9
- package/dist/chunks/{worktree-8b3vzgkx.js → git-25h84942.js} +4 -4
- package/dist/chunks/{worktree-pp4f2fj0.js → git-2dahv1c9.js} +8 -8
- package/dist/chunks/{worktree-avtn9qcw.js → git-2eze3ev9.js} +11 -11
- package/dist/chunks/{worktree-2fc7eemy.js → git-2fc7eemy.js} +1 -1
- package/dist/chunks/{worktree-rh63n522.js → git-2g9wma4e.js} +48 -48
- package/dist/chunks/{worktree-hf6jneh0.js → git-2h7yn6a1.js} +4 -4
- package/dist/chunks/{worktree-ad21tgm2.js → git-2p60zmnr.js} +4 -4
- package/dist/chunks/{worktree-ch37w9fq.js → git-2pvm1zmp.js} +4 -4
- package/dist/chunks/{worktree-v8xpr2tt.js → git-31avdb49.js} +11 -11
- package/dist/chunks/{worktree-ecmwbb5v.js → git-36qg6swj.js} +7 -7
- package/dist/chunks/{worktree-2gy4tjja.js → git-394p07bv.js} +18 -18
- package/dist/chunks/{worktree-ymqredyb.js → git-39sgvy3e.js} +4 -4
- package/dist/chunks/{worktree-0smjzh1v.js → git-3ewxmk4s.js} +15 -15
- package/dist/chunks/{worktree-w76xjer3.js → git-3gv0spa2.js} +4 -4
- package/dist/chunks/{worktree-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3nnrz6f6.js → git-3nnrz6f6.js} +1 -1
- package/dist/chunks/{worktree-8t99kr38.js → git-3qgwywyc.js} +4 -4
- package/dist/chunks/{worktree-myrazpsb.js → git-3zz32vjr.js} +33 -33
- package/dist/chunks/{worktree-40y6dtc2.js → git-40y6dtc2.js} +1 -1
- package/dist/chunks/{worktree-n0pmqs7d.js → git-41q5jgkh.js} +3 -3
- package/dist/chunks/{worktree-g05xnsqx.js → git-44h066km.js} +18 -18
- package/dist/chunks/{worktree-twhtcdx9.js → git-44pmzq9c.js} +4 -4
- package/dist/chunks/{worktree-5e0d172x.js → git-49433ye1.js} +10 -10
- package/dist/chunks/{worktree-90k5dtdd.js → git-4a6d9e1s.js} +10 -10
- package/dist/chunks/{worktree-88grwdsf.js → git-4cbycqt3.js} +10 -10
- package/dist/chunks/{worktree-y0qtmf1c.js → git-4ckwpsmh.js} +6 -6
- package/dist/chunks/{worktree-2mk49qmx.js → git-4csvnawe.js} +9 -9
- package/dist/chunks/{worktree-4dx1dgte.js → git-4dx1dgte.js} +1 -1
- package/dist/chunks/{worktree-r542h3bh.js → git-4f25tdd0.js} +5 -5
- package/dist/chunks/{worktree-f9xadq7v.js → git-4k4h4j8h.js} +11 -11
- package/dist/chunks/{worktree-4pyp9zr9.js → git-4pyp9zr9.js} +1 -1
- package/dist/chunks/{worktree-gsf1mcs1.js → git-4rbegt9x.js} +27 -27
- package/dist/chunks/{worktree-bxx79vyn.js → git-4s2fjq3h.js} +6 -6
- package/dist/chunks/{worktree-8qs9z106.js → git-4t2sgz32.js} +23 -23
- package/dist/chunks/{worktree-4v008n1t.js → git-4v008n1t.js} +1 -1
- package/dist/chunks/{worktree-dwd418qm.js → git-4vsk53av.js} +25 -25
- package/dist/chunks/{worktree-hvqd4bvc.js → git-4y1dkp2x.js} +11 -11
- package/dist/chunks/{worktree-n33nyn98.js → git-53yc0731.js} +9 -9
- package/dist/chunks/{worktree-w2eysc6j.js → git-5enarcya.js} +6 -6
- package/dist/chunks/{worktree-5m9w47nd.js → git-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-p332nbp2.js → git-5pf1s9ew.js} +48 -48
- package/dist/chunks/{worktree-24f2x2dk.js → git-5ssd9z4k.js} +8 -8
- package/dist/chunks/{worktree-8cg7mtm3.js → git-5whx36p1.js} +4 -4
- package/dist/chunks/{worktree-nrnxe7g4.js → git-5z0ewh0k.js} +27 -27
- package/dist/chunks/{worktree-0gmcev4p.js → git-60tvtmqn.js} +10 -10
- package/dist/chunks/{worktree-h2pwbspx.js → git-611b2d5d.js} +3 -3
- package/dist/chunks/{worktree-scmk72rv.js → git-61qraad9.js} +5 -5
- package/dist/chunks/{worktree-p0tsr9h6.js → git-63xym3gh.js} +4 -4
- package/dist/chunks/{worktree-6yb0qn0r.js → git-6795q8e3.js} +11 -11
- package/dist/chunks/{worktree-8dsy49kh.js → git-6a8yk7g9.js} +3 -3
- package/dist/chunks/{worktree-2djbjr8n.js → git-6gmb6c3p.js} +15 -15
- package/dist/chunks/{worktree-9tvpxs1q.js → git-6ss6ngz0.js} +4 -4
- package/dist/chunks/{worktree-fm4hmcbf.js → git-6t40r86m.js} +11 -11
- package/dist/chunks/{worktree-775hqbnd.js → git-775hqbnd.js} +3 -3
- package/dist/chunks/{worktree-z5dy9mcm.js → git-7862g246.js} +26 -26
- package/dist/chunks/{worktree-0ne6p79n.js → git-78q90azy.js} +15 -15
- package/dist/chunks/{worktree-tgqk8ax3.js → git-7b03s8dy.js} +35 -35
- package/dist/chunks/{worktree-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-5rxgzxpx.js → git-7ke2z32d.js} +6 -6
- package/dist/chunks/{worktree-p2whz3dm.js → git-7ms6p5ct.js} +40 -40
- package/dist/chunks/{worktree-57yekzay.js → git-7twge7vh.js} +9 -9
- package/dist/chunks/{worktree-7w2ypzdf.js → git-7w2ypzdf.js} +1 -1
- package/dist/chunks/{worktree-7weczvnd.js → git-7weczvnd.js} +1 -1
- package/dist/chunks/{worktree-tqvm73pp.js → git-7z34tv57.js} +11 -11
- package/dist/chunks/{worktree-vnv757bt.js → git-83shbj64.js} +17 -17
- package/dist/chunks/{worktree-89287pr7.js → git-89287pr7.js} +1 -1
- package/dist/chunks/{worktree-d0rayg98.js → git-8kpj8dgw.js} +30 -30
- package/dist/chunks/{worktree-8sxe6kv8.js → git-8sxe6kv8.js} +2 -2
- package/dist/chunks/{worktree-p43zptcs.js → git-8v80kk81.js} +92 -92
- package/dist/chunks/{worktree-8wtp7s3z.js → git-8wtp7s3z.js} +1 -1
- package/dist/chunks/{worktree-dy308w4s.js → git-8wyfgy84.js} +58 -58
- package/dist/chunks/{worktree-yts2a8qm.js → git-8xz27cp9.js} +4 -4
- package/dist/chunks/{worktree-8zv0xmg5.js → git-8zv0xmg5.js} +1 -1
- package/dist/chunks/{worktree-fr6q3a25.js → git-91pq3adq.js} +5 -5
- package/dist/chunks/{worktree-b7j26gq9.js → git-92x12kkd.js} +12 -12
- package/dist/chunks/{worktree-f837n8dq.js → git-92y7h8dm.js} +5 -5
- package/dist/chunks/{worktree-941r128d.js → git-963hk181.js} +9 -9
- package/dist/chunks/{worktree-8xz3r9v3.js → git-97d9kncm.js} +12 -12
- package/dist/chunks/git-98j9v5dh.js +577 -0
- package/dist/chunks/{worktree-pm74ahej.js → git-9b3g47fp.js} +18 -18
- package/dist/chunks/{worktree-gx8s1m7d.js → git-9cgrg5sn.js} +34 -34
- package/dist/chunks/{worktree-pgf5czva.js → git-9csbj8z0.js} +5 -5
- package/dist/chunks/{worktree-b14wh7ra.js → git-9d9y7nf6.js} +10 -10
- package/dist/chunks/{worktree-s5qfgb0b.js → git-9j9dggvf.js} +29 -29
- package/dist/chunks/{worktree-vn85b901.js → git-9n47qn5z.js} +26 -26
- package/dist/chunks/{worktree-zby73h3y.js → git-9trbd0dd.js} +9 -9
- package/dist/chunks/{worktree-ytk5wrf7.js → git-9vmsqv1h.js} +5 -5
- package/dist/chunks/{worktree-cvvjmy0s.js → git-9ycj3fcq.js} +14 -14
- package/dist/chunks/{worktree-d50vzyxe.js → git-9zxzvr8s.js} +32 -32
- package/dist/chunks/{worktree-208nbn7x.js → git-a4h8tact.js} +4 -4
- package/dist/chunks/{worktree-wbkev1sj.js → git-a96kghqz.js} +12 -12
- package/dist/chunks/{worktree-g905b71m.js → git-abgnc9fg.js} +8 -8
- package/dist/chunks/{worktree-dmeswyfq.js → git-aqsf8b5y.js} +6 -6
- package/dist/chunks/{worktree-ayjs7tqn.js → git-ayjs7tqn.js} +2 -2
- package/dist/chunks/{worktree-9yra9w35.js → git-azzq76h2.js} +32 -32
- package/dist/chunks/{worktree-tp1jb13k.js → git-b26ddj6h.js} +7 -7
- package/dist/chunks/{worktree-9818xe2a.js → git-b5h8zkmc.js} +16 -16
- package/dist/chunks/{worktree-x7p4v2nc.js → git-b8ba6mjn.js} +6 -6
- package/dist/chunks/{worktree-1yq9hg58.js → git-bdhd9h6e.js} +5 -5
- package/dist/chunks/{worktree-r0zvtrp7.js → git-bfef7565.js} +36 -36
- package/dist/chunks/{worktree-bqkj7jx5.js → git-bqzcd44k.js} +8 -8
- package/dist/chunks/{worktree-bstexjd6.js → git-bstexjd6.js} +1 -1
- package/dist/chunks/{worktree-kyknme5q.js → git-bvtjjqvm.js} +40 -40
- package/dist/chunks/{worktree-9vjq21ta.js → git-bwrw929x.js} +8 -8
- package/dist/chunks/{worktree-e4cp3w0r.js → git-bx2ghzcj.js} +36 -36
- package/dist/chunks/{worktree-htnqgwg1.js → git-bybkjpkj.js} +25 -25
- package/dist/chunks/{worktree-bagyajxr.js → git-c019f3c1.js} +62 -62
- package/dist/chunks/{worktree-ap0byz54.js → git-c4zh2v72.js} +6 -6
- package/dist/chunks/{worktree-3t9b5ztq.js → git-cp6k9vjq.js} +4 -4
- package/dist/chunks/{worktree-16r388aq.js → git-cqa12jg5.js} +16 -16
- package/dist/chunks/{worktree-fnm34e0k.js → git-cr44ae3x.js} +5 -5
- package/dist/chunks/{worktree-9jnhvaxx.js → git-cshqytk6.js} +32 -32
- package/dist/chunks/{worktree-v3ztkqce.js → git-cvs0tqag.js} +4 -4
- package/dist/chunks/{worktree-cwrgdav8.js → git-cwrgdav8.js} +2 -2
- package/dist/chunks/{worktree-d4v9tmah.js → git-d4v9tmah.js} +2 -2
- package/dist/chunks/{worktree-6hp0vh1z.js → git-d5z6mkpf.js} +9 -9
- package/dist/chunks/{worktree-203qqadr.js → git-dfsy2zcm.js} +5 -5
- package/dist/chunks/{worktree-2xajh5zb.js → git-dkhpjg5z.js} +11 -11
- package/dist/chunks/{worktree-dt77769w.js → git-dt77769w.js} +1 -1
- package/dist/chunks/{worktree-5t3d7a3k.js → git-e388bv6v.js} +7 -7
- package/dist/chunks/{worktree-e834z07m.js → git-e834z07m.js} +1 -1
- package/dist/chunks/{worktree-0t1acx1g.js → git-e8m9b6pv.js} +8 -8
- package/dist/chunks/{worktree-3gt45yws.js → git-eb8qw4j6.js} +21 -21
- package/dist/chunks/{worktree-f8xhtnpd.js → git-ec3jn864.js} +10 -10
- package/dist/chunks/{worktree-eqw4pqj1.js → git-eqw4pqj1.js} +2 -2
- package/dist/chunks/{worktree-v5ddwjkq.js → git-ew421enx.js} +43 -43
- package/dist/chunks/{worktree-e4f0vapy.js → git-ezh572rb.js} +35 -35
- package/dist/chunks/{worktree-p1s6h0e3.js → git-f4pvszhr.js} +19 -19
- package/dist/chunks/{worktree-df56s2wf.js → git-f8y715rk.js} +17 -17
- package/dist/chunks/{worktree-pxzaa117.js → git-f9zhf18s.js} +8 -8
- package/dist/chunks/git-fcwwbh22.js +26 -0
- package/dist/chunks/{worktree-s5pfmh0r.js → git-fd7zzepq.js} +5 -5
- package/dist/chunks/{worktree-kz03g9q9.js → git-fekv06st.js} +34 -34
- package/dist/chunks/{worktree-fffv3p7h.js → git-fffv3p7h.js} +1 -1
- package/dist/chunks/{worktree-fg9p65nk.js → git-fg9p65nk.js} +2 -2
- package/dist/chunks/{worktree-ztfy9ymt.js → git-fhagczq0.js} +20 -20
- package/dist/chunks/{worktree-580gg2hr.js → git-fjydg50v.js} +16 -16
- package/dist/chunks/{worktree-4fm65zrg.js → git-fmz0vg6g.js} +23 -23
- package/dist/chunks/{worktree-06y6qy68.js → git-fnx943sm.js} +12 -12
- package/dist/chunks/{worktree-mjjmsc0q.js → git-fregt7rm.js} +5 -5
- package/dist/chunks/{worktree-1y0e0ryk.js → git-frv9eft2.js} +35 -35
- package/dist/chunks/{worktree-my4zabxr.js → git-fyfzbt3s.js} +3 -3
- package/dist/chunks/{worktree-qz8t2q7x.js → git-fyg08hs0.js} +17 -17
- package/dist/chunks/{worktree-vyk5wav3.js → git-g1s7606r.js} +10 -10
- package/dist/chunks/{worktree-6fat5w0g.js → git-g4sh17b8.js} +56 -56
- package/dist/chunks/{worktree-bqjbz6yh.js → git-g5ysjf19.js} +11 -11
- package/dist/chunks/{worktree-c98qqzty.js → git-g71ss1xn.js} +16 -16
- package/dist/chunks/{worktree-kn36w4dj.js → git-gb1g2x4k.js} +31 -31
- package/dist/chunks/{worktree-gbjdnr5j.js → git-gbjdnr5j.js} +2 -2
- package/dist/chunks/{worktree-ktck1cjp.js → git-ggx84v7x.js} +6 -6
- package/dist/chunks/{worktree-sdt5j0rm.js → git-ghrv1g9c.js} +4 -4
- package/dist/chunks/{worktree-kg4exk81.js → git-gnkmn8c6.js} +1 -1
- package/dist/chunks/{worktree-yss0fc0k.js → git-gr3xza4k.js} +7 -7
- package/dist/chunks/{worktree-34gaj1rj.js → git-gtxqc62w.js} +25 -25
- package/dist/chunks/{worktree-shx2t69h.js → git-gvr1wrwc.js} +17 -17
- package/dist/chunks/{worktree-betqdr7d.js → git-gw8qytxn.js} +34 -34
- package/dist/chunks/{worktree-r3434bb1.js → git-gwv2mpj6.js} +42 -42
- package/dist/chunks/{worktree-tg7s7b5t.js → git-gxs71cxp.js} +4 -4
- package/dist/chunks/{worktree-8ptg7hdn.js → git-h1x2z473.js} +32 -32
- package/dist/chunks/{worktree-0fjqr56q.js → git-h3bkzmev.js} +48 -48
- package/dist/chunks/{worktree-9exxrxam.js → git-h9bh2nqk.js} +8 -8
- package/dist/chunks/{worktree-mhnvv647.js → git-h9jz8k2w.js} +48 -48
- package/dist/chunks/{worktree-3bgf9gas.js → git-hced1q2j.js} +4 -4
- package/dist/chunks/{worktree-hgzwgvze.js → git-hgzwgvze.js} +2 -2
- package/dist/chunks/{worktree-jepy0x0m.js → git-hh6wnwm8.js} +35 -35
- package/dist/chunks/{worktree-e92yqwkf.js → git-hkaenk79.js} +13 -13
- package/dist/chunks/{worktree-rmc2q4zv.js → git-hrav46rw.js} +11 -11
- package/dist/chunks/{worktree-jgnk4836.js → git-hvqp069m.js} +9 -9
- package/dist/chunks/{worktree-ddvn7d3w.js → git-hw621kav.js} +4 -4
- package/dist/chunks/{worktree-hz4ry9me.js → git-j384620m.js} +18 -18
- package/dist/chunks/{worktree-9tmrbz05.js → git-j3kswyhf.js} +8 -8
- package/dist/chunks/{worktree-qwxe55kh.js → git-j41w8xdk.js} +23 -23
- package/dist/chunks/{worktree-j9nxzz3g.js → git-j9nxzz3g.js} +3 -3
- package/dist/chunks/{worktree-nc4e8w7g.js → git-jfw03jt9.js} +5 -5
- package/dist/chunks/{worktree-jm70asfg.js → git-jm70asfg.js} +1 -1
- package/dist/chunks/{worktree-pt5ehxk6.js → git-jp5e8g4e.js} +24 -24
- package/dist/chunks/{worktree-qtw7g3dn.js → git-jsc8ycs5.js} +22 -22
- package/dist/chunks/{worktree-79mk3d4k.js → git-jtsrwzj5.js} +8 -8
- package/dist/chunks/{worktree-mmgdhjjn.js → git-jw32pn92.js} +20 -20
- package/dist/chunks/{worktree-htftdbas.js → git-jxqms9w4.js} +13 -13
- package/dist/chunks/{worktree-8ps23s3r.js → git-kj8281nx.js} +4 -4
- package/dist/chunks/{worktree-g9z7bzmd.js → git-kk89jyzz.js} +23 -23
- package/dist/chunks/{worktree-qyn0da8d.js → git-kq493ejx.js} +25 -25
- package/dist/chunks/{worktree-6qwmnac3.js → git-kqnb2wzg.js} +31 -31
- package/dist/chunks/{worktree-k84nyyd0.js → git-kv1m4r0t.js} +19 -19
- package/dist/chunks/{worktree-v438kgpn.js → git-kvmx4gfp.js} +3 -3
- package/dist/chunks/{worktree-w6dtqm7y.js → git-kwhhx56s.js} +14 -14
- package/dist/chunks/{worktree-qnv3v84h.js → git-kxhqpggx.js} +20 -20
- package/dist/chunks/{worktree-kzczzf4v.js → git-kzczzf4v.js} +1 -1
- package/dist/chunks/{worktree-9gt8dvnd.js → git-kzva7xr5.js} +27 -27
- package/dist/chunks/{worktree-m1714858.js → git-m1714858.js} +1 -1
- package/dist/chunks/{worktree-ymj14byy.js → git-m3m5k6hy.js} +18 -18
- package/dist/chunks/{worktree-aerrpmfy.js → git-m8zx2yvr.js} +3 -3
- package/dist/chunks/{worktree-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-mb7mbhnz.js → git-mb7mbhnz.js} +3 -3
- package/dist/chunks/{worktree-fr1mmx5p.js → git-mbk8h3wg.js} +9 -9
- package/dist/chunks/{worktree-mk65jrrt.js → git-md69vhb1.js} +16 -16
- package/dist/chunks/{worktree-mm06edep.js → git-mm06edep.js} +1 -1
- package/dist/chunks/{worktree-nm267vgp.js → git-mm27w63f.js} +11 -11
- package/dist/chunks/{worktree-7nqkf5r1.js → git-mrpnjyvf.js} +6 -6
- package/dist/chunks/{worktree-47qexrcb.js → git-n320gsn2.js} +4 -4
- package/dist/chunks/{worktree-jnd2yggj.js → git-nbkgmrnq.js} +9 -9
- package/dist/chunks/{worktree-p54rz49h.js → git-nf2d1zh5.js} +39 -39
- package/dist/chunks/{worktree-2bjpcdwq.js → git-nh2md1vs.js} +11 -11
- package/dist/chunks/{worktree-gb2tz0v7.js → git-nteew1ty.js} +21 -21
- package/dist/chunks/{worktree-b4k47k2s.js → git-ntzzxe9p.js} +5 -5
- package/dist/chunks/{worktree-msbwm9am.js → git-nyjexfs1.js} +59 -59
- package/dist/chunks/{worktree-wvr8xscb.js → git-nyxvvj5y.js} +4 -4
- package/dist/chunks/{worktree-any1n6rk.js → git-p0tjaf5p.js} +88 -88
- package/dist/chunks/{worktree-2a8qswhe.js → git-p29q87c6.js} +15 -15
- package/dist/chunks/{worktree-6fkpvdwx.js → git-p7kjdt1b.js} +17 -17
- package/dist/chunks/{worktree-qgfj628s.js → git-p82q7yen.js} +24 -24
- package/dist/chunks/{worktree-gsmn3gxm.js → git-p9605bcp.js} +13 -13
- package/dist/chunks/{worktree-r6tpngtj.js → git-pavzvnye.js} +32 -32
- package/dist/chunks/{worktree-zkb9xe9g.js → git-pb9ydyhq.js} +26 -26
- package/dist/chunks/{worktree-mc5f456h.js → git-pcyqp9fj.js} +26 -26
- package/dist/chunks/{worktree-gb1ff4ap.js → git-pekb3kta.js} +32 -32
- package/dist/chunks/{worktree-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-brfdd9qz.js → git-pnvbew7m.js} +24 -24
- package/dist/chunks/{worktree-y1h7p9cg.js → git-pty4hktj.js} +29 -29
- package/dist/chunks/{worktree-4tnarq1t.js → git-pxrqm68d.js} +10 -10
- package/dist/chunks/{worktree-vv84mwdr.js → git-q0yp49a8.js} +36 -36
- package/dist/chunks/{worktree-7emmk19a.js → git-q9z2tc81.js} +39 -39
- package/dist/chunks/{worktree-1mnq2rn5.js → git-qax158c6.js} +5 -5
- package/dist/chunks/{worktree-qdaxnh4s.js → git-qaytk5qx.js} +20 -20
- package/dist/chunks/{worktree-qp7r0hxv.js → git-qp7r0hxv.js} +1 -1
- package/dist/chunks/{worktree-k3cx6fhe.js → git-qsdghx1p.js} +4 -4
- package/dist/chunks/{worktree-6t8vew8t.js → git-qz8etm46.js} +4 -4
- package/dist/chunks/{worktree-0na2v0kx.js → git-r0jctb9s.js} +2 -2
- package/dist/chunks/{worktree-q8vtkh3p.js → git-r169pjrs.js} +6 -6
- package/dist/chunks/{worktree-4nye5q1n.js → git-r4ra5fvg.js} +33 -33
- package/dist/chunks/{worktree-918maj3v.js → git-r6z5xtd7.js} +4 -4
- package/dist/chunks/{worktree-593f2610.js → git-r7zrbnjn.js} +4 -4
- package/dist/chunks/{worktree-rb9dy4dg.js → git-rb9dy4dg.js} +1 -1
- package/dist/chunks/{worktree-pgwwkgmt.js → git-rfyfdpdh.js} +23 -23
- package/dist/chunks/{worktree-rgc9cx3e.js → git-rgc9cx3e.js} +2 -2
- package/dist/chunks/{worktree-f341sazs.js → git-rj7jtxy8.js} +3 -3
- package/dist/chunks/{worktree-kwmph2q0.js → git-rk1rnymw.js} +20 -20
- package/dist/chunks/{worktree-b6m2m06e.js → git-rsfbxv4d.js} +15 -15
- package/dist/chunks/{worktree-ebq998nt.js → git-rt18gyq5.js} +9 -9
- package/dist/chunks/{worktree-rt5dr6hb.js → git-rt5dr6hb.js} +1 -1
- package/dist/chunks/{worktree-rzg6y5rp.js → git-rzg6y5rp.js} +1 -1
- package/dist/chunks/{worktree-s26c8eb5.js → git-s26c8eb5.js} +1 -1
- package/dist/chunks/{worktree-xcg1njma.js → git-s2t1sdmb.js} +14 -14
- package/dist/chunks/{worktree-e1jeyye4.js → git-s49mjxh7.js} +5 -5
- package/dist/chunks/{worktree-nkmw6x8p.js → git-s8xvt5rk.js} +6 -6
- package/dist/chunks/{worktree-sbya78hr.js → git-sbya78hr.js} +1 -1
- package/dist/chunks/{worktree-dkz3ms8m.js → git-scfsrjt6.js} +21 -21
- package/dist/chunks/{worktree-vcgv1jvt.js → git-sj3sd7dm.js} +13 -13
- package/dist/chunks/{worktree-7hdxzzg1.js → git-sjj4ev8f.js} +16 -16
- package/dist/chunks/{worktree-xp2necrq.js → git-sp3g7ra2.js} +8 -8
- package/dist/chunks/{worktree-0j7gp832.js → git-sqjzf8x2.js} +4 -4
- package/dist/chunks/{worktree-svcy3p9a.js → git-svcy3p9a.js} +1 -1
- package/dist/chunks/{worktree-8hfctyyf.js → git-sx27c7qs.js} +4 -4
- package/dist/chunks/{worktree-tbpn7jtk.js → git-tbpn7jtk.js} +1 -1
- package/dist/chunks/{worktree-6javb3e4.js → git-tcp6xf8t.js} +22 -22
- package/dist/chunks/{worktree-tczq8hjw.js → git-tczq8hjw.js} +1 -1
- package/dist/chunks/{worktree-x08jbc1h.js → git-tn46mmh5.js} +4 -4
- package/dist/chunks/{worktree-312kjg9w.js → git-tp0ex5xf.js} +43 -43
- package/dist/chunks/{worktree-q39s8syp.js → git-tq5mrxsw.js} +1 -1
- package/dist/chunks/{worktree-fmkapcpn.js → git-tqqy5sm4.js} +31 -31
- package/dist/chunks/{worktree-jht64jd1.js → git-tr8x705m.js} +4 -4
- package/dist/chunks/{worktree-wjsw3cxz.js → git-tsz3kxr2.js} +18 -18
- package/dist/chunks/{worktree-twssxy5n.js → git-twssxy5n.js} +2 -2
- package/dist/chunks/{worktree-mmx1mfjr.js → git-v0t96s7a.js} +4 -4
- package/dist/chunks/{worktree-v2r1d0zg.js → git-v2r1d0zg.js} +1 -1
- package/dist/chunks/{worktree-694dpcrp.js → git-v4bj6baw.js} +5 -5
- package/dist/chunks/{worktree-b6pxc0bj.js → git-v56pf686.js} +31 -31
- package/dist/chunks/{worktree-w3vqc4ke.js → git-v758rt9q.js} +8 -8
- package/dist/chunks/{worktree-sd8pfm1b.js → git-va4hdphv.js} +26 -26
- package/dist/chunks/git-vdh3rgac.js +18 -0
- package/dist/chunks/{worktree-v1vpa7ms.js → git-vevq54rd.js} +22 -22
- package/dist/chunks/{worktree-7dzfrn01.js → git-vgrhwy1q.js} +31 -31
- package/dist/chunks/{worktree-vjf35v1f.js → git-vjf35v1f.js} +1 -1
- package/dist/chunks/{worktree-wwxyxtgy.js → git-vk5ee1tp.js} +16 -16
- package/dist/chunks/{worktree-vmqe41cb.js → git-vmqe41cb.js} +1 -1
- package/dist/chunks/{worktree-m4e3sh4x.js → git-vs8t80zk.js} +9 -9
- package/dist/chunks/{worktree-vt2d6wap.js → git-vt2d6wap.js} +1 -1
- package/dist/chunks/{worktree-hn432qw4.js → git-vveecbvg.js} +12 -12
- package/dist/chunks/{worktree-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-wwg86t57.js → git-w4vxjk9w.js} +51 -51
- package/dist/chunks/{worktree-wr3re1en.js → git-w687dnns.js} +4 -4
- package/dist/chunks/{worktree-wakvkjy4.js → git-wakvkjy4.js} +1 -1
- package/dist/chunks/{worktree-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-wegkxhrn.js → git-wegkxhrn.js} +2 -2
- package/dist/chunks/{worktree-q2xrrvxt.js → git-wer643hq.js} +5 -5
- package/dist/chunks/{worktree-z88rdk3t.js → git-wgz5mth4.js} +5 -5
- package/dist/chunks/{worktree-bdezwmdf.js → git-wjxd5znf.js} +13 -13
- package/dist/chunks/{worktree-652cxmf2.js → git-wq7h4fzf.js} +13 -13
- package/dist/chunks/{worktree-yj3eevqz.js → git-ws6bkvx4.js} +15 -15
- package/dist/chunks/{worktree-c7cw818c.js → git-wt99tj4q.js} +5 -5
- package/dist/chunks/{worktree-ebrhe4rp.js → git-wtr4aekm.js} +25 -25
- package/dist/chunks/{worktree-yjkye314.js → git-x2cyss11.js} +20 -20
- package/dist/chunks/{worktree-d2q2w57c.js → git-x7p75687.js} +5 -5
- package/dist/chunks/{worktree-11k30d3q.js → git-x95n2smq.js} +27 -27
- package/dist/chunks/{worktree-rewxhgdy.js → git-x9aygtt9.js} +12 -12
- package/dist/chunks/{worktree-m0a7g44c.js → git-x9g5m248.js} +20 -20
- package/dist/chunks/{worktree-cp2gts92.js → git-xsskj9ss.js} +9 -9
- package/dist/chunks/{worktree-zajhp84f.js → git-xtevw68n.js} +15 -15
- package/dist/chunks/{worktree-xxschbft.js → git-xxschbft.js} +1 -1
- package/dist/chunks/{worktree-8akjpyn6.js → git-y1n277rb.js} +3 -3
- package/dist/chunks/{worktree-vq0qa3sh.js → git-y9x9m3cp.js} +9 -9
- package/dist/chunks/{worktree-yb20nhc3.js → git-yb20nhc3.js} +1 -1
- package/dist/chunks/git-yczr3d9p.js +265 -0
- package/dist/chunks/{worktree-m0w1fft5.js → git-ye3hegqv.js} +85 -85
- package/dist/chunks/{worktree-76jjydz9.js → git-yhwpy9x1.js} +188 -188
- package/dist/chunks/{worktree-8gharz4h.js → git-yjs4xt5n.js} +14 -14
- package/dist/chunks/{worktree-be1z6a4n.js → git-ykerj1ry.js} +40 -40
- package/dist/chunks/{worktree-yr705xyq.js → git-yr705xyq.js} +1 -1
- package/dist/chunks/{worktree-yvtc2x31.js → git-yvtc2x31.js} +1 -1
- package/dist/chunks/{worktree-gshxjf2t.js → git-yxvhnmhq.js} +1 -1
- package/dist/chunks/{worktree-5pgy0sqj.js → git-z0c26qk4.js} +2 -2
- package/dist/chunks/{worktree-18z9xd8w.js → git-znw5ah2c.js} +22 -22
- package/dist/chunks/{worktree-by8ty0bx.js → git-zpdbqgja.js} +4 -4
- package/dist/chunks/{worktree-kq17g8gv.js → git-zpzp6d8n.js} +6 -6
- package/dist/chunks/{worktree-7e0eevm2.js → git-zx9gjdah.js} +17 -17
- package/dist/chunks/{worktree-4xsb4cgd.js → git-zy7phst8.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +108 -108
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +127 -127
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- 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 +112 -112
- 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/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +431 -431
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +114 -114
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +251 -251
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -107
- package/dist/reference/instructions.js +97 -97
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -257
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- 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 +254 -254
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +144 -144
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +251 -251
- package/dist/session/usage.js +3 -3
- package/dist/session.js +243 -243
- package/dist/shared-cache.js +5 -5
- 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 +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +104 -104
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +245 -245
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +169 -169
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +239 -239
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +238 -238
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- 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 +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/worktree-7yv5xa0k.js +0 -18
- package/dist/chunks/worktree-86k87xt5.js +0 -577
- package/dist/chunks/worktree-v4e9jq5d.js +0 -26
- package/dist/chunks/worktree-z69atzdp.js +0 -265
- /package/dist/chunks/{worktree-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-108x4f4w.js → git-108x4f4w.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kah00gy.js → git-1kah00gy.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2bv980vf.js → git-2bv980vf.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3af0jn4w.js → git-3af0jn4w.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4qk9sjk2.js → git-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5w3e23ze.js → git-5w3e23ze.js} +0 -0
- /package/dist/chunks/{worktree-6agm2x70.js → git-6agm2x70.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-84wd9syh.js → git-84wd9syh.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-beh6qq61.js → git-beh6qq61.js} +0 -0
- /package/dist/chunks/{worktree-bhmrqjy3.js → git-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cqv5kn06.js → git-cqv5kn06.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-ean2d8b5.js → git-ean2d8b5.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fkpq3x5p.js → git-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hcxmzztb.js → git-hcxmzztb.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jwr30sdr.js → git-jwr30sdr.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-m18g726c.js → git-m18g726c.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-nh4v3znn.js → git-nh4v3znn.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-p71gwv9c.js → git-p71gwv9c.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-syrav9an.js → git-syrav9an.js} +0 -0
- /package/dist/chunks/{worktree-t03h4f5z.js → git-t03h4f5z.js} +0 -0
- /package/dist/chunks/{worktree-ty7weeps.js → git-ty7weeps.js} +0 -0
- /package/dist/chunks/{worktree-ve7vex1e.js → git-ve7vex1e.js} +0 -0
- /package/dist/chunks/{worktree-vtarvj67.js → git-vtarvj67.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x4th4bpe.js → git-x4th4bpe.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-z0h12gs8.js → git-z0h12gs8.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → git-z9919s4g.js} +0 -0
- /package/dist/chunks/{worktree-zxpyjp51.js → git-zxpyjp51.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
makeFiles2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-rgc9cx3e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service92,
|
|
9
|
+
node96
|
|
10
|
+
} from "./git-fnx943sm.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-5whx36p1.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node82
|
|
18
|
+
} from "./git-zpzp6d8n.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID15,
|
|
31
|
+
Info: () => Info18,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service78,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured10,
|
|
36
|
+
node: () => node81
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID15 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info18 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID15,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,25 +52,25 @@ class Info28 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID15 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID15,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service78 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service78,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node96, node82]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
73
|
-
const db = (yield*
|
|
72
|
+
var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
73
|
+
const db = (yield* Service92).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
76
76
|
const connections = new Map;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service83, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info18({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -161,9 +161,9 @@ var layer = (options) => Layer.effect(Service83, Effect.gen(function* () {
|
|
|
161
161
|
yield* Scope.close(connection.scope, Exit.void);
|
|
162
162
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
163
163
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
164
|
-
return
|
|
164
|
+
return Service78.of({
|
|
165
165
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
166
|
-
const workspaceID = input.id ??
|
|
166
|
+
const workspaceID = input.id ?? ID15.create();
|
|
167
167
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
168
168
|
if (existing) {
|
|
169
169
|
if (existing.provider === input.provider)
|
|
@@ -239,6 +239,6 @@ var layer = (options) => Layer.effect(Service83, Effect.gen(function* () {
|
|
|
239
239
|
})
|
|
240
240
|
});
|
|
241
241
|
}));
|
|
242
|
-
var
|
|
242
|
+
var node81 = configured10();
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { ID15, Info18, NotFound2, CreateConflict2, Service78, configured10, node81, exports_workspace };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-60tvtmqn.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-3zz32vjr.js";
|
|
7
7
|
import {
|
|
8
8
|
key3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-n320gsn2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID18,
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9j9dggvf.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID17,
|
|
16
16
|
aisdk2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service84
|
|
18
|
+
} from "./git-r4ra5fvg.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
ID16,
|
|
21
|
+
Info24
|
|
22
|
+
} from "./git-hh6wnwm8.js";
|
|
23
23
|
import {
|
|
24
24
|
success2,
|
|
25
25
|
error2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-yb20nhc3.js";
|
|
27
27
|
import {
|
|
28
28
|
onSwitch2,
|
|
29
29
|
reloadIfChanged2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-53yc0731.js";
|
|
31
31
|
import {
|
|
32
32
|
credentialSettings2,
|
|
33
33
|
metadataSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./git-c4zh2v72.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/gitlab.ts
|
|
37
37
|
import os from "os";
|
|
@@ -39,8 +39,8 @@ import { Clock, Deferred, Effect, Equal, Exit, Option, Schema, Semaphore } from
|
|
|
39
39
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
40
40
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
41
41
|
import { Form } from "@opencode/schema/form";
|
|
42
|
-
var providerID =
|
|
43
|
-
var integrationID =
|
|
42
|
+
var providerID = ID17.gitlab;
|
|
43
|
+
var integrationID = ID18.make("gitlab");
|
|
44
44
|
var methodID = MethodID2.make("pkce");
|
|
45
45
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
46
46
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -61,7 +61,7 @@ var refreshRetention = 60000;
|
|
|
61
61
|
var GitLabPlugin2 = define({
|
|
62
62
|
id: "opencode.provider.gitlab",
|
|
63
63
|
effect: Effect.fn(function* (ctx) {
|
|
64
|
-
const providers = yield*
|
|
64
|
+
const providers = yield* Service84;
|
|
65
65
|
const http = yield* HttpClient.HttpClient;
|
|
66
66
|
const loading = Semaphore.makeUnsafe(1);
|
|
67
67
|
const loaded = {};
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
models: [
|
|
197
197
|
...item.models.values(),
|
|
198
198
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
199
|
-
...
|
|
199
|
+
...Info24.default(providerID, ID16.make(model.id)),
|
|
200
200
|
name: `Agent Platform (${model.name})`,
|
|
201
201
|
package: aisdk2("gitlab-ai-provider"),
|
|
202
202
|
settings: { workflowRef: model.ref },
|
|
@@ -249,7 +249,7 @@ var GitLabPlugin2 = define({
|
|
|
249
249
|
aiGatewayHeaders: evt.options.aiGatewayHeaders,
|
|
250
250
|
featureFlags
|
|
251
251
|
});
|
|
252
|
-
}), { providerID:
|
|
252
|
+
}), { providerID: ID17.gitlab });
|
|
253
253
|
})
|
|
254
254
|
});
|
|
255
255
|
function resolveDefaultInstanceUrl() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make16
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-s26c8eb5.js";
|
|
4
4
|
import {
|
|
5
5
|
make15
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-sx27c7qs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/query-options.ts
|
|
12
12
|
var exports_query_options = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service88
|
|
3
|
+
} from "./git-0x3y91hs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID16,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-hh6wnwm8.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service79
|
|
10
|
+
} from "./git-g4sh17b8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./git-qaytk5qx.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-w687dnns.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-aqsf8b5y.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service79;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service77);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service88);
|
|
38
38
|
const defaultOrigin = origin ?? (photonWasm === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID16.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node95
|
|
4
|
+
} from "./git-fjydg50v.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
evaluate3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-h9jz8k2w.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/skill.ts
|
|
17
17
|
var exports_skill5 = {};
|
|
18
18
|
__export(exports_skill5, {
|
|
19
19
|
DirectorySource: () => DirectorySource2,
|
|
20
20
|
EmbeddedSource: () => EmbeddedSource2,
|
|
21
|
-
Event: () =>
|
|
21
|
+
Event: () => Event5,
|
|
22
22
|
ID: () => ID7,
|
|
23
|
-
Info: () =>
|
|
23
|
+
Info: () => Info7,
|
|
24
24
|
Name: () => Name2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
26
|
Skill: () => exports_skill5,
|
|
27
27
|
Source: () => Source3,
|
|
28
28
|
UrlSource: () => UrlSource2,
|
|
29
29
|
available: () => available3,
|
|
30
30
|
isUri: () => isUri2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node40,
|
|
32
32
|
prepare: () => prepare3,
|
|
33
33
|
toModelOutput: () => toModelOutput3,
|
|
34
34
|
uri: () => uri2
|
|
@@ -38,12 +38,12 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
38
38
|
import path from "path";
|
|
39
39
|
import { Context, Effect, Layer } from "effect";
|
|
40
40
|
import { Skill } from "@opencode/schema/skill";
|
|
41
|
-
import { Event as
|
|
41
|
+
import { Event as Event5 } from "@opencode/schema/skill";
|
|
42
42
|
var DirectorySource2 = Skill.DirectorySource;
|
|
43
43
|
var UrlSource2 = Skill.UrlSource;
|
|
44
44
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
45
45
|
var Source3 = Skill.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info7 = Skill.Info;
|
|
47
47
|
var ID7 = Skill.ID;
|
|
48
48
|
var Name2 = Skill.Name;
|
|
49
49
|
var available3 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
|
|
@@ -91,10 +91,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill, virtualFiles) {
|
|
|
91
91
|
};
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service37 extends Context.Service()("@opencode/Skill") {
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
97
|
-
const bus = yield*
|
|
96
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
97
|
+
const bus = yield* Service91;
|
|
98
98
|
const state = create4({
|
|
99
99
|
name: "skill",
|
|
100
100
|
initial: () => ({ skills: new Map, files: new Map }),
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
129
129
|
Array.from(data.files, ([id, entries]) => [id, Array.from(entries)])
|
|
130
130
|
], () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service37.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -144,10 +144,10 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
144
144
|
})
|
|
145
145
|
});
|
|
146
146
|
}));
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
147
|
+
var node40 = makeLocationNode({
|
|
148
|
+
service: Service37,
|
|
149
149
|
layer,
|
|
150
|
-
deps: [
|
|
150
|
+
deps: [node95]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
153
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID7, Name2, available3, uri2, isUri2, toModelOutput3, prepare3, Service37, node40, exports_skill5, Event5 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-f9zhf18s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID18,
|
|
7
|
+
Service85,
|
|
8
|
+
node89
|
|
9
|
+
} from "./git-9j9dggvf.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info17,
|
|
18
|
+
Service: () => Service75,
|
|
19
|
+
UnavailableError: () => UnavailableError5,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer25,
|
|
22
|
+
node: () => node77
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info17 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError5 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service75 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer25 = Layer.effect(Service75, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service85;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID18.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError5({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer11 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError5({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer11 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service75.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node77 = makeLocationNode({
|
|
72
|
+
service: Service75,
|
|
73
|
+
layer: layer25,
|
|
74
|
+
deps: [node89, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info17, UnavailableError5, Service75, layer25, node77, exports_usage_limits };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service91
|
|
3
|
-
} from "./worktree-06y6qy68.js";
|
|
4
1
|
import {
|
|
5
2
|
Service92
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./git-fnx943sm.js";
|
|
4
|
+
import {
|
|
5
|
+
Service52
|
|
6
|
+
} from "./git-mbk8h3wg.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-vdh3rgac.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service70
|
|
15
|
+
} from "./git-sp3g7ra2.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-7ke2z32d.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read4
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-xsskj9ss.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service37
|
|
30
|
+
} from "./git-kxhqpggx.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service70;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service37;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -142,14 +142,14 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
142
142
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
143
143
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
144
144
|
return { data: Base64.make(data), mime };
|
|
145
|
-
const image = yield*
|
|
145
|
+
const image = yield* Service52;
|
|
146
146
|
const label = attachmentLabel(input);
|
|
147
147
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
148
148
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
149
149
|
return { data: Base64.make(normalized.content), mime: normalized.mime };
|
|
150
150
|
});
|
|
151
151
|
var readBlobAttachment = Effect.fn("SessionPrompt.readBlobAttachment")(function* (uri) {
|
|
152
|
-
const { db } = yield*
|
|
152
|
+
const { db } = yield* Service92;
|
|
153
153
|
const blob = yield* read4(db, refHash2(uri));
|
|
154
154
|
if (!blob)
|
|
155
155
|
return yield* new AttachmentError2({ uri, message: `Attachment is no longer stored: ${uri}` });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RecoverySchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-gnkmn8c6.js";
|
|
4
4
|
import {
|
|
5
5
|
JobTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-kzczzf4v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/job/list.ts
|
|
12
12
|
var exports_list = {};
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-034tev2y.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { blob, sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|