@opencode/core 0.0.0-dev-21474 → 0.0.0-dev-21479
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{shell-02mvvr71.js → git-02mvvr71.js} +3 -3
- package/dist/chunks/{shell-034tev2y.js → git-034tev2y.js} +2 -2
- package/dist/chunks/{shell-kqv3x6rj.js → git-045nn9pc.js} +4 -4
- package/dist/chunks/{shell-sp1mwpas.js → git-078079dq.js} +13 -13
- package/dist/chunks/{shell-vvp3kbkr.js → git-0cah4r3x.js} +35 -35
- package/dist/chunks/{shell-0javqkgf.js → git-0javqkgf.js} +2 -2
- package/dist/chunks/{shell-h66t4gvj.js → git-0m03zc7j.js} +8 -8
- package/dist/chunks/{shell-wbgabvvj.js → git-0r3c1bmw.js} +5 -5
- package/dist/chunks/{shell-fw81v0b3.js → git-0seqkkzs.js} +24 -24
- package/dist/chunks/{shell-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{shell-4x3rb0w8.js → git-0vzwrjx3.js} +3 -3
- package/dist/chunks/{shell-pdb5khhv.js → git-1558q6r0.js} +14 -14
- package/dist/chunks/{shell-1ep2p91f.js → git-1ep2p91f.js} +2 -2
- package/dist/chunks/{shell-bzeyqsqd.js → git-1ep4rre3.js} +4 -4
- package/dist/chunks/{shell-5m0z0vbp.js → git-1n6d85fv.js} +41 -41
- package/dist/chunks/{shell-q4fmv0xv.js → git-1nwxscpy.js} +5 -5
- package/dist/chunks/{shell-fkedvtkk.js → git-1qw4ts2x.js} +1 -1
- package/dist/chunks/{shell-031dz6qq.js → git-200cc897.js} +11 -11
- package/dist/chunks/{shell-hbb7npd7.js → git-25yddszk.js} +6 -6
- package/dist/chunks/{shell-bacyadyn.js → git-2k71kv7p.js} +4 -4
- package/dist/chunks/{shell-aw9wggsx.js → git-2m1b2gxc.js} +16 -16
- package/dist/chunks/{shell-c3zvns2h.js → git-32dg1e2h.js} +5 -5
- package/dist/chunks/{shell-am1tmpj5.js → git-38g0rc9e.js} +9 -9
- package/dist/chunks/{shell-30846h32.js → git-3a83a0n4.js} +8 -8
- package/dist/chunks/{shell-b4w8vgnn.js → git-3bs3s307.js} +8 -8
- package/dist/chunks/{shell-d6cmegr0.js → git-3bshcq1y.js} +4 -4
- package/dist/chunks/{shell-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3hwn7j4h.js → git-3hwn7j4h.js} +2 -2
- package/dist/chunks/{shell-9pga77eq.js → git-3p22f2sh.js} +12 -12
- package/dist/chunks/{shell-q9pe90t0.js → git-3tbr4qg5.js} +13 -13
- package/dist/chunks/{shell-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-hszpjbfe.js → git-3zpf0rnh.js} +21 -21
- package/dist/chunks/{shell-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{shell-9gxde5n1.js → git-3zzpf6s7.js} +2 -2
- package/dist/chunks/{shell-t9sq8qeg.js → git-4k7c3fdp.js} +42 -42
- package/dist/chunks/{shell-xsgrs5rf.js → git-4q29416s.js} +321 -321
- package/dist/chunks/{shell-6t4hr8r6.js → git-4v7ngy20.js} +4 -4
- package/dist/chunks/{shell-d9h00asa.js → git-4w5b9j1r.js} +5 -5
- package/dist/chunks/{shell-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{shell-xfkkasph.js → git-57b9ws8p.js} +7 -7
- package/dist/chunks/{shell-8q2dnp38.js → git-59q5jpsh.js} +11 -11
- package/dist/chunks/{shell-5g57z1ma.js → git-5g57z1ma.js} +1 -1
- package/dist/chunks/{shell-5drt1p2d.js → git-5gygys90.js} +13 -13
- package/dist/chunks/{shell-5m9w47nd.js → git-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-czfptnv9.js → git-5yzzbxa7.js} +8 -8
- package/dist/chunks/{shell-8tmj3wng.js → git-605sfam9.js} +15 -15
- package/dist/chunks/git-619r8v3y.js +18 -0
- package/dist/chunks/{shell-6827pfxn.js → git-6827pfxn.js} +1 -1
- package/dist/chunks/{shell-zmbfn0by.js → git-6ar8hrwm.js} +24 -24
- package/dist/chunks/{shell-dn54e1vc.js → git-6nrms7n5.js} +23 -23
- package/dist/chunks/{shell-1cn4jcr5.js → git-6tqbt9db.js} +33 -33
- package/dist/chunks/{shell-6xb47vfp.js → git-6xb47vfp.js} +1 -1
- package/dist/chunks/{shell-q2pe6j31.js → git-72c6mf2q.js} +24 -24
- package/dist/chunks/{shell-9ctqrb5b.js → git-76e6tftv.js} +14 -14
- package/dist/chunks/{shell-775gj3j1.js → git-775gj3j1.js} +2 -2
- package/dist/chunks/{shell-xayssg3h.js → git-78gtrtbe.js} +5 -5
- package/dist/chunks/{shell-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-zfvfcy7q.js → git-7e2qk7cj.js} +8 -8
- package/dist/chunks/{shell-ey8ah1zs.js → git-7mb88a95.js} +16 -16
- package/dist/chunks/{shell-sa4r6z7r.js → git-7n6txb6t.js} +21 -21
- package/dist/chunks/{shell-s7w7kyay.js → git-7thw3n08.js} +24 -24
- package/dist/chunks/{shell-w2q1tvs9.js → git-7ww6rt9p.js} +2 -2
- package/dist/chunks/{shell-qqafxchd.js → git-7yap2ahf.js} +6 -6
- package/dist/chunks/{shell-84txncab.js → git-84txncab.js} +1 -1
- package/dist/chunks/{shell-d1b87mp8.js → git-85p8adcg.js} +6 -6
- package/dist/chunks/{shell-prq96jqy.js → git-85qr6vt3.js} +15 -15
- package/dist/chunks/{shell-905zhqsw.js → git-88gnhbh7.js} +31 -31
- package/dist/chunks/{shell-tcezcvh9.js → git-89znhe33.js} +4 -4
- package/dist/chunks/{shell-eb0txge1.js → git-8d1x81hy.js} +11 -11
- package/dist/chunks/{shell-7rdmhycs.js → git-8jktj0qw.js} +27 -27
- package/dist/chunks/{shell-8m6m0r52.js → git-8m6m0r52.js} +1 -1
- package/dist/chunks/{shell-8mywswrd.js → git-8mywswrd.js} +1 -1
- package/dist/chunks/{shell-7ka0b1x2.js → git-8txfkpqn.js} +35 -35
- package/dist/chunks/{shell-4y64nfaj.js → git-91m580gt.js} +18 -18
- package/dist/chunks/{shell-r8f8vm0g.js → git-9df7hht8.js} +19 -19
- package/dist/chunks/{shell-avvce0kw.js → git-9hxgbxmm.js} +4 -4
- package/dist/chunks/{shell-qtbmwfhq.js → git-9j60mqkr.js} +11 -11
- package/dist/chunks/{shell-fpzg53qc.js → git-9r8etyzv.js} +82 -82
- package/dist/chunks/{shell-9wev2pgg.js → git-9wev2pgg.js} +1 -1
- package/dist/chunks/{shell-xdbrd9pk.js → git-a3bkarxs.js} +17 -17
- package/dist/chunks/{shell-967benbv.js → git-a8t88929.js} +11 -11
- package/dist/chunks/{shell-h0a9te69.js → git-a9mdymkz.js} +17 -17
- package/dist/chunks/{shell-6rfh3hr4.js → git-agncyf5y.js} +10 -10
- package/dist/chunks/{shell-10fdd7m2.js → git-ahfrvp8e.js} +8 -8
- package/dist/chunks/{shell-0y52mb4t.js → git-as0rc94k.js} +7 -7
- package/dist/chunks/git-ay4dh4hp.js +257 -0
- package/dist/chunks/{shell-ahkdh84r.js → git-az32jagd.js} +34 -34
- package/dist/chunks/{shell-addxnjmp.js → git-azwe5p1w.js} +4 -4
- package/dist/chunks/{shell-b11a7tx7.js → git-b11a7tx7.js} +1 -1
- package/dist/chunks/{shell-cd0efadx.js → git-b45fb4vj.js} +8 -8
- package/dist/chunks/{shell-edex00km.js → git-bhbvgsmn.js} +20 -20
- package/dist/chunks/{shell-wjr9rjd7.js → git-bjx1sjef.js} +6 -6
- package/dist/chunks/{shell-k1znrbj8.js → git-brg3ghwg.js} +5 -5
- package/dist/chunks/{shell-qkynqyav.js → git-bvq8t8gc.js} +3 -3
- package/dist/chunks/{shell-5z3ty1st.js → git-c82keb0s.js} +11 -11
- package/dist/chunks/{shell-51f5btjf.js → git-c8bydgjz.js} +6 -6
- package/dist/chunks/{shell-n7d88tpn.js → git-c8zwaxmp.js} +3 -3
- package/dist/chunks/{shell-masm6h4a.js → git-cdsx0e8y.js} +11 -11
- package/dist/chunks/{shell-wb3h0med.js → git-ce72n6fj.js} +8 -8
- package/dist/chunks/{shell-qcprd6de.js → git-cktnysrk.js} +25 -25
- package/dist/chunks/{shell-5d607bsg.js → git-cpneeje0.js} +9 -9
- package/dist/chunks/{shell-azvj0qaf.js → git-csntcvgq.js} +17 -17
- package/dist/chunks/{shell-nx3vsr5t.js → git-ctkkzvg7.js} +12 -12
- package/dist/chunks/{shell-vc5fxanm.js → git-cv4k33jc.js} +6 -6
- package/dist/chunks/{shell-bf4y5pbw.js → git-cvza8xe0.js} +46 -46
- package/dist/chunks/{shell-grpwpbkn.js → git-d8pehzym.js} +30 -30
- package/dist/chunks/{shell-dgzq35zb.js → git-dgzq35zb.js} +3 -3
- package/dist/chunks/{shell-pc1v25hk.js → git-dh62xe4r.js} +3 -3
- package/dist/chunks/{shell-qj5ta0kd.js → git-dhjfm1wm.js} +15 -15
- package/dist/chunks/{shell-zcrspsvn.js → git-dhmh7aw6.js} +4 -4
- package/dist/chunks/{shell-gkdfaqyz.js → git-djkp474z.js} +45 -45
- package/dist/chunks/{shell-y71avatq.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/{shell-c1qkpkxj.js → git-dr294h6q.js} +30 -30
- package/dist/chunks/{shell-b7gzk9zn.js → git-dsx6a57s.js} +14 -14
- package/dist/chunks/{shell-73cvp0d7.js → git-dwfwpy83.js} +30 -30
- package/dist/chunks/{shell-t550f9t1.js → git-eaj1djv9.js} +8 -8
- package/dist/chunks/{shell-eej6y6fw.js → git-eej6y6fw.js} +2 -2
- package/dist/chunks/{shell-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-9zwayr6v.js → git-eg99zdc0.js} +11 -11
- package/dist/chunks/{shell-ek150c57.js → git-eh0dtbcs.js} +13 -13
- package/dist/chunks/{shell-e0xgvc2t.js → git-ejb6r5n5.js} +14 -14
- package/dist/chunks/{shell-jwsejh1z.js → git-ekg02csz.js} +20 -20
- package/dist/chunks/{shell-8jcfdq83.js → git-em208xvc.js} +15 -15
- package/dist/chunks/{shell-1eezgq1q.js → git-es2mt76j.js} +14 -14
- package/dist/chunks/{shell-rmxqhsb7.js → git-etr37avf.js} +4 -4
- package/dist/chunks/{shell-sc7vxha7.js → git-f1860mdz.js} +24 -24
- package/dist/chunks/{shell-z9z5kemy.js → git-f3rqa553.js} +7 -7
- package/dist/chunks/{shell-fcy631f0.js → git-fcy631f0.js} +1 -1
- package/dist/chunks/{shell-akbpfsbh.js → git-fdj2wyrs.js} +6 -6
- package/dist/chunks/{shell-kgkxj8pd.js → git-ffjr7bk7.js} +3 -3
- package/dist/chunks/{shell-d5sr47tk.js → git-fnkqbbf8.js} +13 -13
- package/dist/chunks/{shell-zmjz8g0x.js → git-fvae25xa.js} +4 -4
- package/dist/chunks/{shell-v9xc3wdb.js → git-fvtbw1ps.js} +27 -27
- package/dist/chunks/{shell-p8dm3ep0.js → git-fzmgk69d.js} +5 -5
- package/dist/chunks/{shell-nzgfnq9c.js → git-g6zeyhbf.js} +32 -32
- package/dist/chunks/{shell-xxv9hwag.js → git-g7semt5k.js} +12 -12
- package/dist/chunks/{shell-4f0dxzkx.js → git-g814k5hs.js} +43 -43
- package/dist/chunks/{shell-2ksy28s1.js → git-gafq12ew.js} +20 -20
- package/dist/chunks/{shell-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-fpneb7zf.js → git-gj1rejx4.js} +6 -6
- package/dist/chunks/{shell-b0v2f3d7.js → git-gk2m5qpw.js} +18 -18
- package/dist/chunks/{shell-rk96c1vx.js → git-gk7yd4ff.js} +21 -21
- package/dist/chunks/{shell-9p1sbxph.js → git-gngf0wfh.js} +45 -45
- package/dist/chunks/{shell-7fdk8hc2.js → git-h45f43kn.js} +43 -43
- package/dist/chunks/{shell-9dm4tzrk.js → git-h63qpt9b.js} +22 -22
- package/dist/chunks/{shell-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-18c04net.js → git-h9hy2g73.js} +30 -30
- package/dist/chunks/{shell-0r1sze87.js → git-hdhpzd46.js} +26 -26
- package/dist/chunks/{shell-v640fphy.js → git-hdkgpk5r.js} +4 -4
- package/dist/chunks/{shell-hgz4x7wa.js → git-hgz4x7wa.js} +1 -1
- package/dist/chunks/{shell-f5sdy3zr.js → git-hkv9jwhg.js} +50 -50
- package/dist/chunks/{shell-fey4ts1c.js → git-hsms78xt.js} +20 -20
- package/dist/chunks/{shell-r6rbj50z.js → git-j1v11s00.js} +18 -18
- package/dist/chunks/{shell-3e6t89rp.js → git-j6rfa7dw.js} +5 -5
- package/dist/chunks/{shell-vf6nq1yq.js → git-jasvhrrp.js} +14 -14
- package/dist/chunks/{shell-t7rj6shc.js → git-jfeqebap.js} +32 -32
- package/dist/chunks/{shell-r61qxybf.js → git-jn0tk1mz.js} +8 -8
- package/dist/chunks/{shell-ythqyp3b.js → git-jqrqgbm9.js} +8 -8
- package/dist/chunks/{shell-5vkfphhp.js → git-k0qjhrm4.js} +22 -22
- package/dist/chunks/{shell-99js1k2h.js → git-k3bbdj91.js} +19 -19
- package/dist/chunks/{shell-n46qfe0v.js → git-k3f29ntv.js} +11 -11
- package/dist/chunks/{shell-q6v6amn1.js → git-k4pq24kd.js} +11 -11
- package/dist/chunks/{shell-pnkbpv6t.js → git-k7myrtme.js} +9 -9
- package/dist/chunks/{shell-r75ymksz.js → git-k8n34jy8.js} +4 -4
- package/dist/chunks/{shell-xevw8b9b.js → git-kcve38p7.js} +27 -27
- package/dist/chunks/{shell-fxaymqdw.js → git-khmqacep.js} +4 -4
- package/dist/chunks/{shell-h83xjv7f.js → git-kjdm35cs.js} +5 -5
- package/dist/chunks/{shell-2405xxdm.js → git-kmt4h04r.js} +17 -17
- package/dist/chunks/{shell-kwb1v3vj.js → git-kwb1v3vj.js} +1 -1
- package/dist/chunks/{shell-e0vjet6h.js → git-m1ppqtea.js} +7 -7
- package/dist/chunks/{shell-gp1qp977.js → git-m4c0swtf.js} +7 -7
- package/dist/chunks/{shell-y5prcm51.js → git-m6ebyez9.js} +4 -4
- package/dist/chunks/{shell-j9pc77qk.js → git-m9c621cz.js} +18 -18
- package/dist/chunks/{shell-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-maspj1v3.js → git-maspj1v3.js} +1 -1
- package/dist/chunks/{shell-cd2jam34.js → git-maywb9z2.js} +69 -69
- package/dist/chunks/{shell-v4rmv62r.js → git-mmkn5258.js} +30 -30
- package/dist/chunks/{shell-tq6we1s0.js → git-mn5t5fa7.js} +16 -16
- package/dist/chunks/{shell-gk0wee00.js → git-mtj52ym5.js} +7 -7
- package/dist/chunks/{shell-gwq75z1b.js → git-n2se56j1.js} +11 -11
- package/dist/chunks/{shell-m12xqqkm.js → git-n9g83tx9.js} +46 -46
- package/dist/chunks/{shell-8dqakt6y.js → git-nccy3da8.js} +11 -11
- package/dist/chunks/{shell-xzp9n4gz.js → git-ngzhnc9a.js} +24 -24
- package/dist/chunks/{shell-7erbtyx3.js → git-nvcb2me1.js} +11 -11
- package/dist/chunks/{shell-tzxxmegj.js → git-nx9zwmb9.js} +14 -14
- package/dist/chunks/{shell-v13b12ef.js → git-nz56sr1f.js} +5 -5
- package/dist/chunks/{shell-1djwqam2.js → git-p27t94xr.js} +16 -16
- package/dist/chunks/{shell-qe3epw5x.js → git-p7ev6qnr.js} +11 -11
- package/dist/chunks/{shell-6gb59z7y.js → git-pgt61v87.js} +2 -2
- package/dist/chunks/{shell-tjrg3twb.js → git-pjcyby8a.js} +171 -171
- package/dist/chunks/{shell-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-9k8pcz7j.js → git-pjvyabz4.js} +28 -28
- package/dist/chunks/{shell-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{shell-cvhewn3n.js → git-pm2y453h.js} +23 -23
- package/dist/chunks/{shell-trehngv2.js → git-pq5a4ran.js} +11 -11
- package/dist/chunks/{shell-6gw3719p.js → git-pqjcpngk.js} +25 -25
- package/dist/chunks/{shell-3z47e1q3.js → git-pqyspz9z.js} +13 -13
- package/dist/chunks/{shell-kp8q1t60.js → git-prq7hedt.js} +9 -9
- package/dist/chunks/{shell-d6sm0xhg.js → git-prxss26z.js} +14 -14
- package/dist/chunks/{shell-5yedj4sq.js → git-q045kj7b.js} +8 -8
- package/dist/chunks/{shell-jdgd2e3k.js → git-q464k4a6.js} +17 -17
- package/dist/chunks/{shell-eh45hhbp.js → git-q5hqqeac.js} +4 -4
- package/dist/chunks/{shell-svh0p8w5.js → git-qdvvjbfp.js} +16 -16
- package/dist/chunks/{shell-7dqw4kz8.js → git-qgn6gcr1.js} +5 -5
- package/dist/chunks/{shell-wkvsvh4e.js → git-qpa60a4m.js} +24 -24
- package/dist/chunks/{shell-cmhag69x.js → git-qr731nbc.js} +20 -20
- package/dist/chunks/{shell-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-9b5ejg1q.js → git-qyh37hhk.js} +18 -18
- package/dist/chunks/{shell-yg3cazfx.js → git-qzf8qtbx.js} +79 -79
- package/dist/chunks/{shell-kk5caf58.js → git-r1rse4mj.js} +21 -21
- package/dist/chunks/{shell-hkr0b4h7.js → git-r3wyhjqy.js} +33 -33
- package/dist/chunks/{shell-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-ybjc3k76.js → git-rgzdvt91.js} +9 -9
- package/dist/chunks/{shell-8c464aba.js → git-rkgn1fma.js} +9 -9
- package/dist/chunks/{shell-zhhedqrt.js → git-rm9a2m7z.js} +29 -29
- package/dist/chunks/{shell-ewrpj132.js → git-rnynx9aw.js} +22 -22
- package/dist/chunks/{shell-j429n2jr.js → git-rtjqkxxy.js} +50 -50
- package/dist/chunks/{shell-b27vhd2z.js → git-ryr25ayn.js} +4 -4
- package/dist/chunks/{shell-e0yd8g35.js → git-s7wzxfez.js} +35 -35
- package/dist/chunks/{shell-4mpfc065.js → git-sb84grnh.js} +15 -15
- package/dist/chunks/{shell-4zkkyyzw.js → git-sgrqfx2c.js} +21 -21
- package/dist/chunks/{shell-1a4k3fgm.js → git-sm06pc4g.js} +24 -24
- package/dist/chunks/{shell-1y4t10jc.js → git-srmfrpqt.js} +11 -11
- package/dist/chunks/{shell-3db5z6nj.js → git-stacx7tb.js} +27 -27
- package/dist/chunks/{shell-5vtnzdvh.js → git-svw6f5x1.js} +4 -4
- package/dist/chunks/{shell-syv4x271.js → git-syv4x271.js} +1 -1
- package/dist/chunks/{shell-advv0bgh.js → git-t7gdp873.js} +12 -12
- package/dist/chunks/{shell-55m81wnp.js → git-t95zrypp.js} +5 -5
- package/dist/chunks/{shell-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-jky0s88p.js → git-tdspb0v5.js} +6 -6
- package/dist/chunks/{shell-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{shell-2bgg218e.js → git-tfzdz0jf.js} +22 -22
- package/dist/chunks/{shell-274qjpyr.js → git-tpfmwr0g.js} +6 -6
- package/dist/chunks/{shell-tyytaxap.js → git-tyytaxap.js} +1 -1
- package/dist/chunks/{shell-k63k4b0t.js → git-v0fadmm9.js} +20 -20
- package/dist/chunks/{shell-ra67jj04.js → git-v1vh7s4p.js} +9 -9
- package/dist/chunks/{shell-p9czke70.js → git-v36djqsc.js} +5 -5
- package/dist/chunks/{shell-v7p4zvkq.js → git-v7p4zvkq.js} +2 -2
- package/dist/chunks/{shell-x48888jx.js → git-vep09gcq.js} +2 -2
- package/dist/chunks/{shell-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-6fp2d1d9.js → git-vr1hykcj.js} +15 -15
- package/dist/chunks/{shell-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{shell-z65fybyq.js → git-w11ge2qy.js} +4 -4
- package/dist/chunks/{shell-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-d9jtx293.js → git-w4ca3e8f.js} +6 -6
- package/dist/chunks/{shell-mvfdckk2.js → git-w6zk8pbt.js} +8 -8
- package/dist/chunks/{shell-m46yv57x.js → git-w89a0he1.js} +26 -26
- package/dist/chunks/{shell-8sze2n9a.js → git-w92k2e0p.js} +4 -4
- package/dist/chunks/{shell-wakvkjy4.js → git-wakvkjy4.js} +1 -1
- package/dist/chunks/git-wb8h950a.js +26 -0
- package/dist/chunks/{shell-vx3rapja.js → git-wc27sy1k.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{shell-asypmx3c.js → git-wdagq6eq.js} +36 -36
- package/dist/chunks/{shell-ajwh877x.js → git-wgqskqg5.js} +24 -24
- package/dist/chunks/{shell-s7tme0tc.js → git-wqep6wv0.js} +21 -21
- package/dist/chunks/{shell-atbdcssm.js → git-x19mcxm9.js} +5 -5
- package/dist/chunks/{shell-z3qxvmgt.js → git-x2xnwx9t.js} +8 -8
- package/dist/chunks/{shell-518cpg7m.js → git-x4a11yf2.js} +5 -5
- package/dist/chunks/{shell-53z78fmx.js → git-x5gg2x23.js} +9 -9
- package/dist/chunks/{shell-ggqrcf80.js → git-x5h1z4jc.js} +15 -15
- package/dist/chunks/{shell-txf768b9.js → git-xe5c1mcr.js} +34 -34
- package/dist/chunks/{shell-f4bbp22f.js → git-xngs254n.js} +33 -33
- package/dist/chunks/{shell-fxz1hm3d.js → git-xqk5648a.js} +1 -1
- package/dist/chunks/{shell-xw9fg8fb.js → git-xw9fg8fb.js} +2 -2
- package/dist/chunks/{shell-gjrenmtf.js → git-y0p0xn3x.js} +48 -48
- package/dist/chunks/{shell-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-myarde17.js → git-ya38tq17.js} +3 -3
- package/dist/chunks/{shell-4mysfaem.js → git-yh6fzqae.js} +3 -3
- package/dist/chunks/{shell-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-2s6dvjm8.js → git-z0d2xsg0.js} +19 -19
- package/dist/chunks/{shell-z18fegx4.js → git-z18fegx4.js} +1 -1
- package/dist/chunks/{shell-1wdr2gyj.js → git-z3qbvfgt.js} +12 -12
- package/dist/chunks/{shell-z1ycdyr0.js → git-z935fmwk.js} +11 -11
- package/dist/chunks/{shell-p9jtbmhc.js → git-ze22k4ya.js} +28 -28
- package/dist/chunks/{shell-3h206gsx.js → git-zgt9y5t0.js} +27 -27
- package/dist/chunks/{shell-x4bpn50y.js → git-zjzgbraa.js} +31 -31
- package/dist/chunks/{shell-syv6ahra.js → git-zn7y4wfm.js} +11 -11
- package/dist/chunks/{shell-gcpky43g.js → git-zn9kb932.js} +12 -12
- package/dist/chunks/{shell-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- 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 +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +128 -128
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +94 -94
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/shell-kq2taeak.js +0 -257
- package/dist/chunks/shell-qc068m1q.js +0 -18
- package/dist/chunks/shell-vy0yhs8z.js +0 -26
- /package/dist/chunks/{shell-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → git-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5fjb7ams.js → git-5fjb7ams.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → git-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e3qxr5gk.js → git-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → git-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jze0r7bz.js → git-jze0r7bz.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → git-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-pkyv6v7h.js → git-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → git-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wjj7prxr.js → git-wjj7prxr.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-t95zrypp.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service76,
|
|
16
|
+
node80
|
|
17
|
+
} from "./git-agncyf5y.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service44,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node47,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service44 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service83;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service76;
|
|
110
|
+
return Service44.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node47 = makeGlobalNode({
|
|
171
|
+
service: Service44,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node87, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node80]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service44, isError2, validateBranch2, node47, exports_repository_cache };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info14
|
|
7
|
+
} from "./git-045nn9pc.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent3,
|
|
16
|
+
Info: () => Info12
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info14)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info12 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info12, exports_agent3 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-pq5a4ran.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-hdkgpk5r.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service73
|
|
11
|
+
} from "./git-dr294h6q.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID12,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service71
|
|
16
|
+
} from "./git-h9hy2g73.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID11
|
|
23
|
+
} from "./git-fvtbw1ps.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-7yap2ahf.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID11.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID12.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service73;
|
|
57
|
+
const integrations = yield* Service71;
|
|
58
58
|
const bus = yield* Service85;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-ya38tq17.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service76,
|
|
17
|
+
node: () => node80
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service76 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service86).db;
|
|
26
|
-
return
|
|
26
|
+
return Service76.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node90] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service76, node80, exports_kv };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-7ww6rt9p.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3,
|
|
17
17
|
preferencePaths: () => preferencePaths2,
|
|
18
18
|
stripPreferenceMetadata: () => stripPreferenceMetadata2,
|
|
19
19
|
systemDirectory: () => systemDirectory2
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Global } from "@opencode/util/global";
|
|
26
|
-
var
|
|
26
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
27
27
|
function systemDirectory2(platform = process.platform, env = process.env) {
|
|
28
28
|
if (platform === "darwin")
|
|
29
29
|
return AbsolutePath2.make("/Library/Application Support/opencode");
|
|
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
71
71
|
const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
72
72
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
73
73
|
const parent = yield* fs.resolve(directory);
|
|
74
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
74
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
75
75
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
76
76
|
const globalEnabled = options?.global !== false;
|
|
77
|
-
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) =>
|
|
77
|
+
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names3.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
|
|
78
78
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
79
79
|
const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
|
|
80
80
|
return {
|
|
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
99
99
|
};
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
export {
|
|
102
|
+
export { names3, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-hdkgpk5r.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-rm9a2m7z.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service22,
|
|
9
|
+
Event5
|
|
10
|
+
} from "./git-0cah4r3x.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service22;
|
|
42
42
|
const bus = yield* Service85;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event5.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node88
|
|
3
|
+
} from "./git-ngzhnc9a.js";
|
|
4
|
+
import {
|
|
5
|
+
node76
|
|
6
|
+
} from "./git-f1860mdz.js";
|
|
7
|
+
import {
|
|
8
|
+
node75
|
|
9
|
+
} from "./git-h9hy2g73.js";
|
|
10
|
+
import {
|
|
11
|
+
node85,
|
|
12
|
+
boundNode2
|
|
13
|
+
} from "./git-7ww6rt9p.js";
|
|
14
|
+
import {
|
|
15
|
+
node74
|
|
16
|
+
} from "./git-fvtbw1ps.js";
|
|
17
|
+
import {
|
|
18
|
+
node73
|
|
19
|
+
} from "./git-3p22f2sh.js";
|
|
20
|
+
import {
|
|
21
|
+
node72
|
|
22
|
+
} from "./git-rm9a2m7z.js";
|
|
23
|
+
import {
|
|
24
|
+
node46
|
|
25
|
+
} from "./git-wqep6wv0.js";
|
|
26
|
+
import {
|
|
27
|
+
configured6,
|
|
28
|
+
node60
|
|
29
|
+
} from "./git-1n6d85fv.js";
|
|
30
|
+
import {
|
|
31
|
+
node66
|
|
32
|
+
} from "./git-r1rse4mj.js";
|
|
33
|
+
import {
|
|
34
|
+
node22
|
|
35
|
+
} from "./git-fnkqbbf8.js";
|
|
36
|
+
import {
|
|
37
|
+
node23
|
|
38
|
+
} from "./git-z935fmwk.js";
|
|
39
|
+
import {
|
|
40
|
+
node64
|
|
41
|
+
} from "./git-stacx7tb.js";
|
|
42
|
+
import {
|
|
43
|
+
DirectoryNotFoundError2,
|
|
44
|
+
node63
|
|
45
|
+
} from "./git-kcve38p7.js";
|
|
46
|
+
import {
|
|
47
|
+
node71
|
|
48
|
+
} from "./git-gngf0wfh.js";
|
|
49
|
+
import {
|
|
50
|
+
node27
|
|
51
|
+
} from "./git-91m580gt.js";
|
|
52
|
+
import {
|
|
53
|
+
node70
|
|
54
|
+
} from "./git-qpa60a4m.js";
|
|
55
|
+
import {
|
|
56
|
+
node44
|
|
57
|
+
} from "./git-k7myrtme.js";
|
|
58
|
+
import {
|
|
59
|
+
node37
|
|
60
|
+
} from "./git-y0p0xn3x.js";
|
|
61
|
+
import {
|
|
62
|
+
Service49,
|
|
63
|
+
node51
|
|
64
|
+
} from "./git-c8bydgjz.js";
|
|
65
|
+
import {
|
|
66
|
+
node38
|
|
67
|
+
} from "./git-csntcvgq.js";
|
|
68
|
+
import {
|
|
69
|
+
node62
|
|
70
|
+
} from "./git-3a83a0n4.js";
|
|
71
|
+
import {
|
|
72
|
+
node54
|
|
73
|
+
} from "./git-cvza8xe0.js";
|
|
74
|
+
import {
|
|
75
|
+
node50
|
|
76
|
+
} from "./git-078079dq.js";
|
|
77
|
+
import {
|
|
78
|
+
configured10,
|
|
79
|
+
node81
|
|
80
|
+
} from "./git-cktnysrk.js";
|
|
81
|
+
import {
|
|
82
|
+
node33
|
|
83
|
+
} from "./git-2m1b2gxc.js";
|
|
84
|
+
import {
|
|
85
|
+
node42
|
|
86
|
+
} from "./git-rnynx9aw.js";
|
|
87
|
+
import {
|
|
88
|
+
node78
|
|
89
|
+
} from "./git-zn7y4wfm.js";
|
|
90
|
+
import {
|
|
91
|
+
node36
|
|
92
|
+
} from "./git-em208xvc.js";
|
|
93
|
+
import {
|
|
94
|
+
node35
|
|
95
|
+
} from "./git-s7wzxfez.js";
|
|
96
|
+
import {
|
|
97
|
+
node43
|
|
98
|
+
} from "./git-w89a0he1.js";
|
|
99
|
+
import {
|
|
100
|
+
node41
|
|
101
|
+
} from "./git-qr731nbc.js";
|
|
102
|
+
import {
|
|
103
|
+
node45
|
|
104
|
+
} from "./git-wgqskqg5.js";
|
|
105
|
+
import {
|
|
106
|
+
node32
|
|
107
|
+
} from "./git-sgrqfx2c.js";
|
|
108
|
+
import {
|
|
109
|
+
node31
|
|
110
|
+
} from "./git-9r8etyzv.js";
|
|
111
|
+
import {
|
|
112
|
+
node69
|
|
113
|
+
} from "./git-h63qpt9b.js";
|
|
114
|
+
import {
|
|
115
|
+
node84
|
|
116
|
+
} from "./git-9df7hht8.js";
|
|
117
|
+
import {
|
|
118
|
+
node58
|
|
119
|
+
} from "./git-g814k5hs.js";
|
|
120
|
+
import {
|
|
121
|
+
node26
|
|
122
|
+
} from "./git-59q5jpsh.js";
|
|
123
|
+
import {
|
|
124
|
+
node82
|
|
125
|
+
} from "./git-kmt4h04r.js";
|
|
126
|
+
import {
|
|
127
|
+
node20
|
|
128
|
+
} from "./git-1558q6r0.js";
|
|
129
|
+
import {
|
|
130
|
+
node18
|
|
131
|
+
} from "./git-nx9zwmb9.js";
|
|
132
|
+
import {
|
|
133
|
+
node16
|
|
134
|
+
} from "./git-gafq12ew.js";
|
|
135
|
+
import {
|
|
136
|
+
node6
|
|
137
|
+
} from "./git-sm06pc4g.js";
|
|
138
|
+
import {
|
|
139
|
+
Service13,
|
|
140
|
+
node15
|
|
141
|
+
} from "./git-zgt9y5t0.js";
|
|
142
|
+
import {
|
|
143
|
+
node19
|
|
144
|
+
} from "./git-vr1hykcj.js";
|
|
145
|
+
import {
|
|
146
|
+
node3,
|
|
147
|
+
bound2
|
|
148
|
+
} from "./git-5yzzbxa7.js";
|
|
149
|
+
import {
|
|
150
|
+
node13
|
|
151
|
+
} from "./git-4k7c3fdp.js";
|
|
152
|
+
import {
|
|
153
|
+
node11
|
|
154
|
+
} from "./git-ctkkzvg7.js";
|
|
155
|
+
import {
|
|
156
|
+
node2
|
|
157
|
+
} from "./git-8txfkpqn.js";
|
|
158
|
+
import {
|
|
159
|
+
node83
|
|
160
|
+
} from "./git-xngs254n.js";
|
|
161
|
+
import {
|
|
162
|
+
node14
|
|
163
|
+
} from "./git-7thw3n08.js";
|
|
164
|
+
import {
|
|
165
|
+
node10
|
|
166
|
+
} from "./git-maywb9z2.js";
|
|
167
|
+
import {
|
|
168
|
+
__export
|
|
169
|
+
} from "./git-9rqn6x4v.js";
|
|
170
|
+
|
|
171
|
+
// src/instance.ts
|
|
172
|
+
var exports_instance = {};
|
|
173
|
+
__export(exports_instance, {
|
|
174
|
+
Instance: () => exports_instance,
|
|
175
|
+
Service: () => Service49,
|
|
176
|
+
graph: () => graph2,
|
|
177
|
+
layer: () => layer2,
|
|
178
|
+
node: () => node51
|
|
179
|
+
});
|
|
180
|
+
import { Context, Effect, Layer } from "effect";
|
|
181
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
182
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
183
|
+
var nodes = [
|
|
184
|
+
node85,
|
|
185
|
+
node15,
|
|
186
|
+
node66,
|
|
187
|
+
node60,
|
|
188
|
+
node88,
|
|
189
|
+
node46,
|
|
190
|
+
node43,
|
|
191
|
+
node26,
|
|
192
|
+
node20,
|
|
193
|
+
node75,
|
|
194
|
+
node74,
|
|
195
|
+
node72,
|
|
196
|
+
node71,
|
|
197
|
+
node73,
|
|
198
|
+
node16,
|
|
199
|
+
node62,
|
|
200
|
+
node3,
|
|
201
|
+
node2,
|
|
202
|
+
node18,
|
|
203
|
+
node64,
|
|
204
|
+
node63,
|
|
205
|
+
node84,
|
|
206
|
+
node83,
|
|
207
|
+
node58,
|
|
208
|
+
node45,
|
|
209
|
+
node33,
|
|
210
|
+
node81,
|
|
211
|
+
node19,
|
|
212
|
+
node22,
|
|
213
|
+
node23,
|
|
214
|
+
node37,
|
|
215
|
+
node54,
|
|
216
|
+
node42,
|
|
217
|
+
node78,
|
|
218
|
+
node44,
|
|
219
|
+
node32,
|
|
220
|
+
node41,
|
|
221
|
+
node38,
|
|
222
|
+
node76,
|
|
223
|
+
node27,
|
|
224
|
+
node70,
|
|
225
|
+
node36,
|
|
226
|
+
node35,
|
|
227
|
+
node11,
|
|
228
|
+
node50,
|
|
229
|
+
node13,
|
|
230
|
+
node14,
|
|
231
|
+
node31,
|
|
232
|
+
node69,
|
|
233
|
+
node10,
|
|
234
|
+
node82,
|
|
235
|
+
node6
|
|
236
|
+
];
|
|
237
|
+
var graph2 = LayerNode.group(nodes);
|
|
238
|
+
var vanillaReplacements = [
|
|
239
|
+
node60.replace(configured6({ project: false, global: false })),
|
|
240
|
+
node81.replace(configured10({ project: false, global: false }))
|
|
241
|
+
];
|
|
242
|
+
function layer2(ref, options = {}) {
|
|
243
|
+
const startedAt = performance.now();
|
|
244
|
+
const replacements = [
|
|
245
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
246
|
+
...options.replacements ?? [],
|
|
247
|
+
node85.replace(boundNode2(ref)),
|
|
248
|
+
node3.replace(bound2(options.plugins ?? []))
|
|
249
|
+
];
|
|
250
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service13).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
|
|
251
|
+
directory: ref.directory,
|
|
252
|
+
workspaceID: ref.workspaceID,
|
|
253
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
254
|
+
})));
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export { graph2, layer2, exports_instance };
|