@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-hdkgpk5r.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event15,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID13,
|
|
20
|
+
Info: () => Info22,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service72,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer27,
|
|
29
|
+
node: () => node76,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event15 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID13 = Form.ID;
|
|
39
|
+
var Info22 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID13
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID13
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID13
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID13,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service72 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer27 = Layer.effect(Service72, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID13.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service72.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node76 = makeLocationNode({ service: Service72, layer: layer27, deps: [node89] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID13, Info22, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service72, layer27, node76, validateAnswer2, validateFields2, exports_form, Event15 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-9df7hht8.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
17
17
|
__export(exports_parse, {
|
|
18
18
|
ShellParse: () => exports_parse,
|
|
19
|
-
scan: () =>
|
|
19
|
+
scan: () => scan2,
|
|
20
20
|
scanPortable: () => scanPortable2
|
|
21
21
|
});
|
|
22
22
|
import { Effect } from "effect";
|
|
@@ -166,7 +166,7 @@ var ARITY = {
|
|
|
166
166
|
"yarn run": 3
|
|
167
167
|
};
|
|
168
168
|
var PREFIX_LENGTH = Math.max(...Object.values(ARITY));
|
|
169
|
-
var
|
|
169
|
+
var scan2 = Effect.fnUntraced(function* (command, shell, cwd, options) {
|
|
170
170
|
if (options?.portable || (options?.wasm ?? shellParserWasm).bash === "")
|
|
171
171
|
return yield* scanPortable2(command, shell, cwd);
|
|
172
172
|
return yield* scanLegacy(command, shell, cwd);
|
|
@@ -353,4 +353,4 @@ async function initialize() {
|
|
|
353
353
|
return { bash, ps };
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
export {
|
|
356
|
+
export { scan2, scanPortable2, exports_parse };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-hdkgpk5r.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_sdk, {
|
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
14
|
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
17
|
node: () => node5
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
@@ -22,7 +22,7 @@ var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
|
22
22
|
|
|
23
23
|
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service85;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
@@ -33,6 +33,6 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var node5 = makeGlobalNode({ service: Service4, layer:
|
|
36
|
+
var node5 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node89] });
|
|
37
37
|
|
|
38
|
-
export { Updated2, Service4,
|
|
38
|
+
export { Updated2, Service4, layer4, node5, exports_sdk };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-rtjqkxxy.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service63,
|
|
6
|
+
node66
|
|
7
|
+
} from "./git-r1rse4mj.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service19,
|
|
17
|
+
node: () => node22,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service19 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service63;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service19.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node22 = makeLocationNode({ service: Service19, layer, deps: [node66] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service19, readText2, syncTextBom2, node22, exports_file_mutation };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-b11a7tx7.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-fvtbw1ps.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-rm9a2m7z.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-hdkgpk5r.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-azwe5p1w.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID12,
|
|
14
|
+
Service71,
|
|
15
|
+
node75,
|
|
16
|
+
Event14
|
|
17
|
+
} from "./git-h9hy2g73.js";
|
|
18
18
|
import {
|
|
19
19
|
Service81,
|
|
20
20
|
node85
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-7ww6rt9p.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
42
|
+
Event: () => Event13,
|
|
43
|
+
ID: () => ID11,
|
|
44
|
+
Info: () => Info19,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service70,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node74,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event13 } from "@opencode/schema/provider";
|
|
75
|
+
var ID11 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -283,9 +283,9 @@ var Request3 = Provider.Request;
|
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info19 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service70 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,9 +298,9 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
301
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service85;
|
|
303
|
-
const integrations = yield*
|
|
303
|
+
const integrations = yield* Service71;
|
|
304
304
|
const location = yield* Service81;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info19.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID12.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service70.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node74 = makeLocationNode({ service: Service70, layer, deps: [node89, node75, node85] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info19, Service70, node74, exports_provider3, Event13 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-5fjb7ams.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin5,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin5 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin5, exports_tool_input_repair };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./git-r1rse4mj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service19,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-fnkqbbf8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service20
|
|
11
|
+
} from "./git-z935fmwk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service52
|
|
14
|
+
} from "./git-cvza8xe0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service16
|
|
17
|
+
} from "./git-vr1hykcj.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input4,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin20,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name4,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name4 = "write";
|
|
39
|
+
var Input4 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin20 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service16;
|
|
56
|
+
const fileMutation = yield* Service19;
|
|
57
|
+
const environment = yield* Service63;
|
|
58
|
+
const formatter = yield* Service20;
|
|
59
|
+
const permission = yield* Service52;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name4,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input4,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name4, Input4, Output4, toModelContent2, Plugin20, exports_write };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-7ww6rt9p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID10,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-rm9a2m7z.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service57
|
|
10
|
+
} from "./git-1n6d85fv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./git-r1rse4mj.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-khmqacep.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-7yap2ahf.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,8 +32,8 @@ 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(
|
|
35
|
+
const config = yield* Service57;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service63);
|
|
37
37
|
const location = yield* Effect.serviceOption(Service81);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || 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) };
|
|
@@ -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 = ID10.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 = {
|