@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,32 +1,32 @@
|
|
|
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
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./git-dr294h6q.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-h9hy2g73.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID11,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-fvtbw1ps.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-54ma36ye.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-7yap2ahf.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
50
50
|
}));
|
|
51
51
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
52
52
|
var browser = (app) => ({
|
|
53
|
-
integrationID:
|
|
53
|
+
integrationID: ID12.make("openai"),
|
|
54
54
|
method: {
|
|
55
55
|
id: browserMethodID,
|
|
56
56
|
type: "oauth",
|
|
@@ -123,7 +123,7 @@ function addressInUse(error) {
|
|
|
123
123
|
return "code" in error && error.code === "EADDRINUSE";
|
|
124
124
|
}
|
|
125
125
|
var headless = (app) => ({
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID12.make("openai"),
|
|
127
127
|
method: {
|
|
128
128
|
id: headlessMethodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -183,9 +183,9 @@ var OpenAIPlugin3 = define({
|
|
|
183
183
|
editor.method.update(headless(ctx.app));
|
|
184
184
|
});
|
|
185
185
|
yield* load();
|
|
186
|
-
const configured = yield* configuredSettings2(
|
|
186
|
+
const configured = yield* configuredSettings2(ID11.openai);
|
|
187
187
|
yield* ctx.provider.transform((providers) => {
|
|
188
|
-
const item = providers.get(
|
|
188
|
+
const item = providers.get(ID11.openai);
|
|
189
189
|
if (!item)
|
|
190
190
|
return;
|
|
191
191
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -205,7 +205,7 @@ var OpenAIPlugin3 = define({
|
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
yield* ctx.model.transform((models) => {
|
|
208
|
-
for (const model of models.list(
|
|
208
|
+
for (const model of models.list(ID11.openai)) {
|
|
209
209
|
models.update(model.providerID, model.id, (draft) => {
|
|
210
210
|
if (!chatgpt)
|
|
211
211
|
return;
|
|
@@ -236,14 +236,14 @@ var OpenAIPlugin3 = define({
|
|
|
236
236
|
}));
|
|
237
237
|
evt.headers.originator = "opencode";
|
|
238
238
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID11.openai });
|
|
240
240
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
241
241
|
delete evt.options.maxTokens;
|
|
242
242
|
});
|
|
243
243
|
for (const name of ["context", "compaction"])
|
|
244
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
244
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID11.openai });
|
|
245
245
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
246
|
-
yield* bus.subscribe(
|
|
246
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
function headers(contentType, app) {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-ya38tq17.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./git-c8bydgjz.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-619r8v3y.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-jqrqgbm9.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-d8pehzym.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service27
|
|
18
|
+
} from "./git-9r8etyzv.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-fcy631f0.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service49;
|
|
36
36
|
const database = yield* Service86;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service27;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-7ww6rt9p.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service20,
|
|
17
|
+
node: () => node23
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service20 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service81;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service20.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node23 = makeLocationNode({
|
|
91
|
+
service: Service20,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node85, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service20, node23, exports_formatter2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./git-cvza8xe0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service42
|
|
10
|
+
} from "./git-wgqskqg5.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
|
+
Input: () => Input2,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin18,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name2,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name2 = "skill";
|
|
30
|
+
var Input2 = Schema.Struct({
|
|
31
|
+
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin18 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service42;
|
|
51
|
+
const permission = yield* Service52;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name2,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input2,
|
|
57
|
+
output: Output2,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name2,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin45 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name2, Input2, Output2, description2, toModelOutput2, Plugin18, exports_skill2 };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-hdkgpk5r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node76
|
|
8
|
+
} from "./git-f1860mdz.js";
|
|
9
9
|
import {
|
|
10
10
|
Service82,
|
|
11
11
|
node86
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-3bs3s307.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
15
|
Service81,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-7ww6rt9p.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-rkgn1fma.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service52,
|
|
26
|
+
node54
|
|
27
|
+
} from "./git-cvza8xe0.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service23,
|
|
30
|
+
node26
|
|
31
|
+
} from "./git-59q5jpsh.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./git-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service13,
|
|
41
|
+
node: () => node15
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service13 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service85;
|
|
52
52
|
const location = yield* Service81;
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
53
|
+
const permission = yield* Service52;
|
|
54
|
+
const forms = yield* Service72;
|
|
55
|
+
const rpc = yield* Service23;
|
|
56
56
|
const project = yield* Service82;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service13.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node15 = makeLocationNode({
|
|
89
|
+
service: Service13,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node89, node85,
|
|
91
|
+
deps: [node89, node85, node54, node86, node76, node26]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service13, node15, exports_location_lifecycle };
|
|
@@ -1,46 +1,46 @@
|
|
|
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
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./git-dr294h6q.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-azwe5p1w.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-h9hy2g73.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service18
|
|
21
|
+
} from "./git-38g0rc9e.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID11,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-fvtbw1ps.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-rm9a2m7z.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-yh6fzqae.js";
|
|
34
34
|
import {
|
|
35
35
|
InvalidRequestError2,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
UnavailableError4,
|
|
37
|
+
Service66
|
|
38
|
+
} from "./git-qpa60a4m.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
ID3,
|
|
41
41
|
Input14,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-1558q6r0.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import {
|
|
@@ -78,7 +78,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
78
78
|
var RemoteResponse = Schema.Struct({
|
|
79
79
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
80
80
|
websearch: Schema.Struct({
|
|
81
|
-
providerID:
|
|
81
|
+
providerID: ID3
|
|
82
82
|
}).pipe(Schema.optional),
|
|
83
83
|
mcp: Schema.Struct({
|
|
84
84
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -136,7 +136,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
136
136
|
}
|
|
137
137
|
function oauth(http) {
|
|
138
138
|
return {
|
|
139
|
-
integrationID:
|
|
139
|
+
integrationID: ID12.make("opencode"),
|
|
140
140
|
method: {
|
|
141
141
|
id: methodID,
|
|
142
142
|
type: "oauth",
|
|
@@ -204,8 +204,8 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
const bus = yield* Service85;
|
|
205
205
|
const client = yield* HttpClient.HttpClient;
|
|
206
206
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
207
|
-
const managed = yield*
|
|
208
|
-
const voice = yield*
|
|
207
|
+
const managed = yield* Service18;
|
|
208
|
+
const voice = yield* Service66;
|
|
209
209
|
const scope = yield* Scope.Scope;
|
|
210
210
|
const loading = Semaphore.makeUnsafe(1);
|
|
211
211
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -257,22 +257,22 @@ var OpencodePlugin2 = define({
|
|
|
257
257
|
}).pipe(Effect.provideService(FetchHttpClient.RequestInit, { redirect: "error" }), Effect.scoped, Effect.timeoutOrElse({
|
|
258
258
|
duration: Duration.seconds(20),
|
|
259
259
|
orElse: () => Effect.fail(new Error("OpenCode Console didn't answer in time"))
|
|
260
|
-
}), Effect.mapError((cause) => new
|
|
260
|
+
}), Effect.mapError((cause) => new UnavailableError4({
|
|
261
261
|
service: "opencode",
|
|
262
262
|
message: cause instanceof Error ? cause.message : String(cause)
|
|
263
263
|
})), Effect.flatMap((reply) => {
|
|
264
264
|
if (reply.status >= 200 && reply.status < 300)
|
|
265
265
|
return Effect.succeed(reply.text);
|
|
266
266
|
if (reply.status === 401)
|
|
267
|
-
return Effect.fail(new
|
|
267
|
+
return Effect.fail(new UnavailableError4({ service: "opencode", message: `${signedOutMessage}.` }));
|
|
268
268
|
const message = Option.getOrUndefined(Schema.decodeUnknownOption(InferenceError)(reply.text))?.error.message ?? `OpenCode Console refused the voice request (HTTP ${reply.status})`;
|
|
269
|
-
return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new
|
|
269
|
+
return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new UnavailableError4({ service: "opencode", message }));
|
|
270
270
|
}));
|
|
271
271
|
return {
|
|
272
272
|
integration: "opencode",
|
|
273
273
|
models: offer.models,
|
|
274
274
|
workspace: offer.workspace,
|
|
275
|
-
session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new
|
|
275
|
+
session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new UnavailableError4({
|
|
276
276
|
service: "opencode",
|
|
277
277
|
message: "OpenCode Console returned an invalid voice session"
|
|
278
278
|
})))), Effect.map((created) => ({
|
|
@@ -306,7 +306,7 @@ var OpencodePlugin2 = define({
|
|
|
306
306
|
providers.update(providerID, (provider) => {
|
|
307
307
|
if (source && source.provider !== provider)
|
|
308
308
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
309
|
-
provider.integrationID =
|
|
309
|
+
provider.integrationID = ID12.make("opencode");
|
|
310
310
|
if (item.canonical !== undefined)
|
|
311
311
|
provider.canonical = item.canonical;
|
|
312
312
|
if (item.name !== undefined)
|
|
@@ -380,7 +380,7 @@ var OpencodePlugin2 = define({
|
|
|
380
380
|
sourceConnection: snapshot.connection
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
const item = providers.get(
|
|
383
|
+
const item = providers.get(ID11.opencode);
|
|
384
384
|
if (!item)
|
|
385
385
|
return;
|
|
386
386
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -392,7 +392,7 @@ var OpencodePlugin2 = define({
|
|
|
392
392
|
});
|
|
393
393
|
});
|
|
394
394
|
yield* ctx.model.transform((models) => {
|
|
395
|
-
const item = models.provider.get(
|
|
395
|
+
const item = models.provider.get(ID11.opencode);
|
|
396
396
|
if (!item)
|
|
397
397
|
return;
|
|
398
398
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -481,7 +481,7 @@ var OpencodePlugin2 = define({
|
|
|
481
481
|
});
|
|
482
482
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
483
483
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
484
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
484
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID11.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
485
485
|
});
|
|
486
486
|
yield* guard(snapshot);
|
|
487
487
|
const polling = yield* FiberHandle.make();
|
|
@@ -492,7 +492,7 @@ var OpencodePlugin2 = define({
|
|
|
492
492
|
onlyIfMissing: true
|
|
493
493
|
});
|
|
494
494
|
});
|
|
495
|
-
yield* bus.subscribe(
|
|
495
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
496
496
|
yield* poll();
|
|
497
497
|
})
|
|
498
498
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service74,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node78
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service74 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service74.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node78 = makeLocationNode({
|
|
143
|
+
service: Service74,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service74, node78, exports_tool_output2 };
|