@opencode/core 0.0.0-dev-21465 → 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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{form-a20pjse5.js → git-02mvvr71.js} +3 -3
- package/dist/chunks/{form-034tev2y.js → git-034tev2y.js} +2 -2
- package/dist/chunks/{form-rkg4v3e5.js → git-045nn9pc.js} +4 -4
- package/dist/chunks/{form-knax8rr9.js → git-078079dq.js} +13 -13
- package/dist/chunks/{form-ggbxennn.js → git-0cah4r3x.js} +35 -35
- package/dist/chunks/{form-0javqkgf.js → git-0javqkgf.js} +2 -2
- package/dist/chunks/{form-dtnfggyv.js → git-0m03zc7j.js} +10 -10
- package/dist/chunks/{form-b674v2dg.js → git-0r3c1bmw.js} +5 -5
- package/dist/chunks/{form-01cqkeg5.js → git-0seqkkzs.js} +21 -21
- package/dist/chunks/{form-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-b5sf85zq.js → git-0vzwrjx3.js} +6 -6
- package/dist/chunks/{form-kmy8rgmt.js → git-1558q6r0.js} +16 -16
- package/dist/chunks/{form-1ep2p91f.js → git-1ep2p91f.js} +2 -2
- package/dist/chunks/{form-bzeyqsqd.js → git-1ep4rre3.js} +4 -4
- package/dist/chunks/{form-smctgjrc.js → git-1n6d85fv.js} +38 -38
- package/dist/chunks/{form-8dff8bqa.js → git-1nwxscpy.js} +5 -5
- package/dist/chunks/{form-q8ddfw9c.js → git-1qw4ts2x.js} +1 -1
- package/dist/chunks/{form-tdwynqds.js → git-200cc897.js} +11 -11
- package/dist/chunks/{form-3t06g8dq.js → git-25yddszk.js} +6 -6
- package/dist/chunks/{form-4bm5ja14.js → git-2k71kv7p.js} +4 -4
- package/dist/chunks/{form-6mb40wrd.js → git-2m1b2gxc.js} +17 -17
- package/dist/chunks/{form-k9t01da4.js → git-32dg1e2h.js} +5 -5
- package/dist/chunks/{form-cj2gcgr0.js → git-38g0rc9e.js} +10 -10
- package/dist/chunks/{form-5y480sgp.js → git-3a83a0n4.js} +8 -8
- package/dist/chunks/{form-20v7rmhc.js → git-3bs3s307.js} +14 -14
- package/dist/chunks/{form-tdev1d3v.js → git-3bshcq1y.js} +4 -4
- package/dist/chunks/{form-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → git-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-n9mdxvj7.js → git-3p22f2sh.js} +18 -23
- package/dist/chunks/{form-s7gb32a0.js → git-3tbr4qg5.js} +13 -13
- package/dist/chunks/{form-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-14mvz572.js → git-3zpf0rnh.js} +21 -21
- package/dist/chunks/{form-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-m3g1rwfa.js → git-3zzpf6s7.js} +2 -2
- package/dist/chunks/{form-3mgfngs8.js → git-4k7c3fdp.js} +42 -42
- package/dist/chunks/{form-pvmfrnx8.js → git-4q29416s.js} +327 -327
- package/dist/chunks/{form-x3gqap9d.js → git-4v7ngy20.js} +4 -4
- package/dist/chunks/{form-wjmzy10g.js → git-4w5b9j1r.js} +5 -5
- package/dist/chunks/{form-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{form-drwq78ky.js → git-57b9ws8p.js} +5 -5
- package/dist/chunks/{form-n4kgxwdp.js → git-59q5jpsh.js} +12 -12
- package/dist/chunks/{form-pyv0edze.js → git-5fjb7ams.js} +4 -4
- package/dist/chunks/{form-vep9yay1.js → git-5g57z1ma.js} +4 -4
- package/dist/chunks/{form-bqae3fjp.js → git-5gygys90.js} +13 -13
- package/dist/chunks/{form-5m9w47nd.js → git-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-cmwkp3r5.js → git-5yzzbxa7.js} +8 -8
- package/dist/chunks/{form-hfg7n11m.js → git-605sfam9.js} +15 -15
- package/dist/chunks/git-619r8v3y.js +18 -0
- package/dist/chunks/{form-6827pfxn.js → git-6827pfxn.js} +1 -1
- package/dist/chunks/{form-gjvvdrsn.js → git-6ar8hrwm.js} +18 -18
- package/dist/chunks/{form-w2bpwhyq.js → git-6nrms7n5.js} +12 -12
- package/dist/chunks/{form-xpw9xx05.js → git-6tqbt9db.js} +31 -31
- package/dist/chunks/{form-6xb47vfp.js → git-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-gdab7akb.js → git-72c6mf2q.js} +22 -22
- package/dist/chunks/{form-8x3eefsg.js → git-76e6tftv.js} +14 -14
- package/dist/chunks/{form-775gj3j1.js → git-775gj3j1.js} +2 -2
- package/dist/chunks/{form-6zbvbaat.js → git-78gtrtbe.js} +5 -5
- package/dist/chunks/{form-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-p5eszqcd.js → git-7e2qk7cj.js} +8 -8
- package/dist/chunks/{form-gyjy7m7x.js → git-7mb88a95.js} +16 -16
- package/dist/chunks/{form-q3c1rjff.js → git-7n6txb6t.js} +21 -21
- package/dist/chunks/{form-jj8zce4f.js → git-7thw3n08.js} +26 -26
- package/dist/chunks/{form-gqh6mgsw.js → git-7ww6rt9p.js} +7 -7
- package/dist/chunks/{form-2tq7hcqy.js → git-7yap2ahf.js} +6 -6
- package/dist/chunks/{form-w1eejvng.js → git-84txncab.js} +5 -5
- package/dist/chunks/{form-n7b1k3p6.js → git-85p8adcg.js} +9 -9
- package/dist/chunks/{form-nwpzdbp7.js → git-85qr6vt3.js} +15 -15
- package/dist/chunks/{form-30zggejz.js → git-88gnhbh7.js} +34 -34
- package/dist/chunks/{form-89znhe33.js → git-89znhe33.js} +1 -1
- package/dist/chunks/{form-cd65nwh0.js → git-8d1x81hy.js} +11 -11
- package/dist/chunks/{form-wqggg88q.js → git-8jktj0qw.js} +19 -19
- package/dist/chunks/{form-8m6m0r52.js → git-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-8mywswrd.js → git-8mywswrd.js} +1 -1
- package/dist/chunks/{form-ctvabab8.js → git-8txfkpqn.js} +40 -40
- package/dist/chunks/{form-aff53cds.js → git-91m580gt.js} +26 -26
- package/dist/chunks/{form-kanhem1c.js → git-9df7hht8.js} +8 -8
- package/dist/chunks/{form-1zzvd88w.js → git-9hxgbxmm.js} +4 -4
- package/dist/chunks/{form-kt69stq4.js → git-9j60mqkr.js} +11 -11
- package/dist/chunks/{form-fxh06m44.js → git-9r8etyzv.js} +85 -85
- package/dist/chunks/{form-9wev2pgg.js → git-9wev2pgg.js} +1 -1
- package/dist/chunks/{form-s1976h36.js → git-a3bkarxs.js} +21 -21
- package/dist/chunks/{form-fcag7s6h.js → git-a8t88929.js} +8 -8
- package/dist/chunks/{form-ztasg8c4.js → git-a9mdymkz.js} +17 -17
- package/dist/chunks/{form-qse2fwzv.js → git-agncyf5y.js} +10 -10
- package/dist/chunks/{form-z0rftk5n.js → git-ahfrvp8e.js} +3 -3
- package/dist/chunks/{form-hzz8n40p.js → git-as0rc94k.js} +7 -7
- package/dist/chunks/{form-e2x20gr3.js → git-ay4dh4hp.js} +156 -156
- package/dist/chunks/{form-r83yw8wf.js → git-az32jagd.js} +37 -37
- package/dist/chunks/{form-gqtdsdt7.js → git-azwe5p1w.js} +4 -4
- package/dist/chunks/{form-tm0kqsz3.js → git-b11a7tx7.js} +4 -3
- package/dist/chunks/{form-qxbakmsa.js → git-b45fb4vj.js} +11 -11
- package/dist/chunks/{form-vr2brrr8.js → git-bhbvgsmn.js} +20 -20
- package/dist/chunks/{form-ywt8jp22.js → git-bjx1sjef.js} +9 -9
- package/dist/chunks/{form-hptzwsnd.js → git-brg3ghwg.js} +5 -5
- package/dist/chunks/{form-jj6wv1pj.js → git-bvq8t8gc.js} +3 -3
- package/dist/chunks/{form-d2bpn3vr.js → git-c82keb0s.js} +11 -11
- package/dist/chunks/{form-4mwpykj0.js → git-c8bydgjz.js} +6 -6
- package/dist/chunks/{form-mtpeagzc.js → git-c8zwaxmp.js} +3 -3
- package/dist/chunks/{form-23cg475f.js → git-cdsx0e8y.js} +11 -11
- package/dist/chunks/{form-zaq0zjc7.js → git-ce72n6fj.js} +8 -8
- package/dist/chunks/{form-yh885z4g.js → git-cktnysrk.js} +25 -25
- package/dist/chunks/{form-cwa6csj7.js → git-cpneeje0.js} +9 -9
- package/dist/chunks/{form-dcezxpa9.js → git-csntcvgq.js} +17 -17
- package/dist/chunks/{form-rqm8fqta.js → git-ctkkzvg7.js} +17 -17
- package/dist/chunks/{form-d1wmmgpz.js → git-cv4k33jc.js} +3 -3
- package/dist/chunks/{form-b6ee0mz0.js → git-cvza8xe0.js} +45 -45
- package/dist/chunks/{form-xteysx5g.js → git-d8pehzym.js} +28 -28
- package/dist/chunks/{form-dgzq35zb.js → git-dgzq35zb.js} +3 -3
- package/dist/chunks/{form-ed1g29hy.js → git-dh62xe4r.js} +4 -6
- package/dist/chunks/{form-vx8n1q2f.js → git-dhjfm1wm.js} +18 -18
- package/dist/chunks/{form-zcrspsvn.js → git-dhmh7aw6.js} +4 -4
- package/dist/chunks/{form-fptceakp.js → git-djkp474z.js} +45 -45
- package/dist/chunks/{form-y71avatq.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/{form-wp7ag42z.js → git-dr294h6q.js} +30 -30
- package/dist/chunks/{form-4240acyr.js → git-dsx6a57s.js} +12 -12
- package/dist/chunks/{form-rwbh6jmv.js → git-dwfwpy83.js} +26 -26
- package/dist/chunks/{form-0gdmqesm.js → git-eaj1djv9.js} +8 -8
- package/dist/chunks/{form-eej6y6fw.js → git-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-fp3pxq9j.js → git-eg99zdc0.js} +11 -11
- package/dist/chunks/{form-m1cp809k.js → git-eh0dtbcs.js} +9 -9
- package/dist/chunks/{form-dg7zdyb1.js → git-ejb6r5n5.js} +18 -18
- package/dist/chunks/{form-txcxq65b.js → git-ekg02csz.js} +25 -25
- package/dist/chunks/{form-n3d5pb88.js → git-em208xvc.js} +19 -19
- package/dist/chunks/{form-jbx74xhg.js → git-es2mt76j.js} +12 -12
- package/dist/chunks/{form-m1vtybs6.js → git-etr37avf.js} +4 -4
- package/dist/chunks/{form-a22nawqy.js → git-f1860mdz.js} +22 -22
- package/dist/chunks/{form-4cjtq72a.js → git-f3rqa553.js} +7 -7
- package/dist/chunks/{form-fcy631f0.js → git-fcy631f0.js} +1 -1
- package/dist/chunks/{form-555zyyej.js → git-fdj2wyrs.js} +10 -10
- package/dist/chunks/{form-1g3gwk2z.js → git-ffjr7bk7.js} +3 -3
- package/dist/chunks/{form-ppy8n5rb.js → git-fnkqbbf8.js} +13 -13
- package/dist/chunks/{form-9dxjs7sq.js → git-fvae25xa.js} +4 -4
- package/dist/chunks/{form-2c942fag.js → git-fvtbw1ps.js} +24 -24
- package/dist/chunks/{form-5nw065t4.js → git-fzmgk69d.js} +5 -5
- package/dist/chunks/{form-rs6bz05r.js → git-g6zeyhbf.js} +32 -32
- package/dist/chunks/{form-44ebccsv.js → git-g7semt5k.js} +12 -12
- package/dist/chunks/{form-mx35zq31.js → git-g814k5hs.js} +33 -33
- package/dist/chunks/{form-wp2t38dg.js → git-gafq12ew.js} +18 -18
- package/dist/chunks/{form-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-581y63dt.js → git-gj1rejx4.js} +9 -9
- package/dist/chunks/{form-7z27y5ft.js → git-gk2m5qpw.js} +18 -18
- package/dist/chunks/{form-eb59rt6g.js → git-gk7yd4ff.js} +21 -21
- package/dist/chunks/{form-ds0xwmnc.js → git-gngf0wfh.js} +45 -45
- package/dist/chunks/{form-w9fyvhpg.js → git-h45f43kn.js} +40 -40
- package/dist/chunks/{form-4jv8yfzb.js → git-h63qpt9b.js} +29 -29
- package/dist/chunks/{form-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-3kbekj0y.js → git-h9hy2g73.js} +28 -28
- package/dist/chunks/{form-1w6dzaea.js → git-hdhpzd46.js} +26 -26
- package/dist/chunks/{form-8bajgbmy.js → git-hdkgpk5r.js} +4 -4
- package/dist/chunks/{form-hgz4x7wa.js → git-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-zbqwxq10.js → git-hkv9jwhg.js} +35 -35
- package/dist/chunks/{form-kg45811x.js → git-hsms78xt.js} +20 -20
- package/dist/chunks/{form-dhpppt5y.js → git-j1v11s00.js} +18 -18
- package/dist/chunks/{form-zhvzg80z.js → git-j6rfa7dw.js} +5 -5
- package/dist/chunks/{form-prytbjkr.js → git-jasvhrrp.js} +14 -14
- package/dist/chunks/{form-mhdmgddq.js → git-jfeqebap.js} +32 -32
- package/dist/chunks/{form-7sbn2nrf.js → git-jn0tk1mz.js} +7 -7
- package/dist/chunks/{form-gdn3wds6.js → git-jqrqgbm9.js} +8 -8
- package/dist/chunks/{form-hjhsp0kf.js → git-k0qjhrm4.js} +11 -11
- package/dist/chunks/{form-b61k6ame.js → git-k3bbdj91.js} +16 -16
- package/dist/chunks/{form-awmarwrv.js → git-k3f29ntv.js} +11 -11
- package/dist/chunks/{form-35kkhned.js → git-k4pq24kd.js} +11 -11
- package/dist/chunks/{form-hes1j7ga.js → git-k7myrtme.js} +9 -9
- package/dist/chunks/{form-4wsv5c1t.js → git-k8n34jy8.js} +10 -15
- package/dist/chunks/{form-kj7h7wvk.js → git-kcve38p7.js} +28 -28
- package/dist/chunks/{form-khmqacep.js → git-khmqacep.js} +1 -1
- package/dist/chunks/{form-g6yfr6ja.js → git-kjdm35cs.js} +5 -5
- package/dist/chunks/{form-qrj5j2rw.js → git-kmt4h04r.js} +19 -19
- package/dist/chunks/{form-kwb1v3vj.js → git-kwb1v3vj.js} +1 -1
- package/dist/chunks/{form-zxwf9a1d.js → git-m1ppqtea.js} +7 -7
- package/dist/chunks/{form-y05mj14p.js → git-m4c0swtf.js} +7 -7
- package/dist/chunks/{form-mg47wcxc.js → git-m6ebyez9.js} +4 -4
- package/dist/chunks/{form-016766j9.js → git-m9c621cz.js} +15 -15
- package/dist/chunks/{form-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-maspj1v3.js → git-maspj1v3.js} +1 -1
- package/dist/chunks/{form-hxds782p.js → git-maywb9z2.js} +70 -70
- package/dist/chunks/{form-fn9ftacf.js → git-mmkn5258.js} +30 -30
- package/dist/chunks/{form-n90cc1d7.js → git-mn5t5fa7.js} +20 -20
- package/dist/chunks/{form-5tj8nqep.js → git-mtj52ym5.js} +7 -7
- package/dist/chunks/{form-4myhz5et.js → git-n2se56j1.js} +11 -11
- package/dist/chunks/{form-rgv41h4e.js → git-n9g83tx9.js} +44 -44
- package/dist/chunks/{form-sbaf2nx7.js → git-nccy3da8.js} +14 -14
- package/dist/chunks/{form-04pgjytt.js → git-ngzhnc9a.js} +21 -21
- package/dist/chunks/{form-jqppps04.js → git-nvcb2me1.js} +11 -11
- package/dist/chunks/{form-t5wqwvpt.js → git-nx9zwmb9.js} +19 -19
- package/dist/chunks/{form-v13b12ef.js → git-nz56sr1f.js} +5 -5
- package/dist/chunks/{form-vxmetbc4.js → git-p27t94xr.js} +11 -11
- package/dist/chunks/{form-k6tr81d3.js → git-p7ev6qnr.js} +11 -11
- package/dist/chunks/{form-06xsmntz.js → git-pgt61v87.js} +2 -2
- package/dist/chunks/{form-8advq6hn.js → git-pjcyby8a.js} +173 -173
- package/dist/chunks/{form-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-ryh6wemf.js → git-pjvyabz4.js} +28 -28
- package/dist/chunks/{form-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{form-prpepx7q.js → git-pm2y453h.js} +29 -29
- package/dist/chunks/{form-sxtjavh1.js → git-pq5a4ran.js} +11 -11
- package/dist/chunks/{form-myjjf3z2.js → git-pqjcpngk.js} +21 -21
- package/dist/chunks/{form-kpwafw7z.js → git-pqyspz9z.js} +13 -13
- package/dist/chunks/{form-h71w788e.js → git-prq7hedt.js} +9 -9
- package/dist/chunks/{form-725pwqma.js → git-prxss26z.js} +16 -16
- package/dist/chunks/{form-yjv8c9gv.js → git-q045kj7b.js} +5 -5
- package/dist/chunks/{form-1m7xhcrz.js → git-q464k4a6.js} +13 -13
- package/dist/chunks/{form-5b6y4xvt.js → git-q5hqqeac.js} +4 -4
- package/dist/chunks/{form-4873sk86.js → git-qdvvjbfp.js} +19 -19
- package/dist/chunks/{form-qgn6gcr1.js → git-qgn6gcr1.js} +1 -1
- package/dist/chunks/{form-61k5npwt.js → git-qpa60a4m.js} +24 -24
- package/dist/chunks/{form-z7egd2a4.js → git-qr731nbc.js} +17 -17
- package/dist/chunks/{form-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{form-edrm97qd.js → git-qyh37hhk.js} +18 -18
- package/dist/chunks/{form-8jrmvma7.js → git-qzf8qtbx.js} +71 -71
- package/dist/chunks/{form-51nq886d.js → git-r1rse4mj.js} +22 -22
- package/dist/chunks/{form-sk60y1at.js → git-r3wyhjqy.js} +33 -33
- package/dist/chunks/{form-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-ky6kp414.js → git-rgzdvt91.js} +9 -9
- package/dist/chunks/{form-msbm8nhp.js → git-rkgn1fma.js} +2 -2
- package/dist/chunks/{form-pq3ytayb.js → git-rm9a2m7z.js} +28 -28
- package/dist/chunks/{form-wc14v8ca.js → git-rnynx9aw.js} +22 -22
- package/dist/chunks/{form-5r05bxdk.js → git-rtjqkxxy.js} +50 -50
- package/dist/chunks/{form-qa3qhgw8.js → git-ryr25ayn.js} +4 -4
- package/dist/chunks/{form-tb727afn.js → git-s7wzxfez.js} +33 -33
- package/dist/chunks/{form-mxt12g5z.js → git-sb84grnh.js} +15 -15
- package/dist/chunks/{form-2w245n37.js → git-sgrqfx2c.js} +22 -22
- package/dist/chunks/{form-cmr35qp5.js → git-sm06pc4g.js} +25 -25
- package/dist/chunks/{form-gd8jdxd3.js → git-srmfrpqt.js} +11 -11
- package/dist/chunks/{form-jjb12tdg.js → git-stacx7tb.js} +24 -24
- package/dist/chunks/{form-t96cs5ce.js → git-svw6f5x1.js} +4 -4
- package/dist/chunks/{form-syv4x271.js → git-syv4x271.js} +1 -1
- package/dist/chunks/{form-nk28bvce.js → git-t7gdp873.js} +12 -12
- package/dist/chunks/{form-0803f5qt.js → git-t95zrypp.js} +8 -8
- package/dist/chunks/{form-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-772b1pf2.js → git-tdspb0v5.js} +6 -6
- package/dist/chunks/{form-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{form-11n2qc1w.js → git-tfzdz0jf.js} +16 -16
- package/dist/chunks/{form-mqmr3v55.js → git-tpfmwr0g.js} +6 -6
- package/dist/chunks/{form-tyytaxap.js → git-tyytaxap.js} +1 -1
- package/dist/chunks/{form-0rmvh565.js → git-v0fadmm9.js} +20 -20
- package/dist/chunks/{form-g686f6pq.js → git-v1vh7s4p.js} +9 -9
- package/dist/chunks/{form-yg2pn9b7.js → git-v36djqsc.js} +5 -5
- package/dist/chunks/{form-v7p4zvkq.js → git-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-1avk3spj.js → git-vep09gcq.js} +2 -2
- package/dist/chunks/{form-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{form-x2wh3pjk.js → git-vr1hykcj.js} +16 -16
- package/dist/chunks/{form-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-ac224h82.js → git-w11ge2qy.js} +13 -20
- package/dist/chunks/{form-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-g13qewtb.js → git-w4ca3e8f.js} +6 -6
- package/dist/chunks/{form-ye8nnmax.js → git-w6zk8pbt.js} +8 -8
- package/dist/chunks/{form-0wg788cr.js → git-w89a0he1.js} +28 -28
- package/dist/chunks/{form-6pc27hjz.js → git-w92k2e0p.js} +4 -4
- package/dist/chunks/{form-wakvkjy4.js → git-wakvkjy4.js} +1 -1
- package/dist/chunks/git-wb8h950a.js +26 -0
- package/dist/chunks/{form-xafejemj.js → git-wc27sy1k.js} +1 -1
- package/dist/chunks/{form-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{form-sawf26wz.js → git-wdagq6eq.js} +41 -43
- package/dist/chunks/{form-xbwfvkb6.js → git-wgqskqg5.js} +20 -20
- package/dist/chunks/{form-bkjx84ct.js → git-wqep6wv0.js} +15 -15
- package/dist/chunks/{form-pwdns4hw.js → git-x19mcxm9.js} +5 -5
- package/dist/chunks/{form-mwcxzzpp.js → git-x2xnwx9t.js} +8 -8
- package/dist/chunks/{form-sjzb79xx.js → git-x4a11yf2.js} +8 -8
- package/dist/chunks/{form-jdtqvfs1.js → git-x5gg2x23.js} +9 -9
- package/dist/chunks/{form-a50jwcz2.js → git-x5h1z4jc.js} +15 -15
- package/dist/chunks/{form-fhdzhsn5.js → git-xe5c1mcr.js} +30 -30
- package/dist/chunks/{form-kh7axb5n.js → git-xngs254n.js} +11 -11
- package/dist/chunks/{form-936v1wb5.js → git-xqk5648a.js} +4 -4
- package/dist/chunks/{form-xw9fg8fb.js → git-xw9fg8fb.js} +2 -2
- package/dist/chunks/{form-2wef4h5g.js → git-y0p0xn3x.js} +47 -47
- package/dist/chunks/{form-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-bapqkk7v.js → git-ya38tq17.js} +3 -3
- package/dist/chunks/{form-me9v5sdg.js → git-yh6fzqae.js} +3 -3
- package/dist/chunks/{form-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-4475rdhr.js → git-z0d2xsg0.js} +19 -19
- package/dist/chunks/{form-z18fegx4.js → git-z18fegx4.js} +1 -1
- package/dist/chunks/{form-jv2rx0fh.js → git-z3qbvfgt.js} +16 -16
- package/dist/chunks/{form-ajtbt6ny.js → git-z935fmwk.js} +13 -13
- package/dist/chunks/{form-tjgry73g.js → git-ze22k4ya.js} +23 -23
- package/dist/chunks/{form-xh7vdwvp.js → git-zgt9y5t0.js} +29 -29
- package/dist/chunks/{form-whkpkx14.js → git-zjzgbraa.js} +29 -29
- package/dist/chunks/{form-b37y94hj.js → git-zn7y4wfm.js} +11 -11
- package/dist/chunks/{form-0w5vvvza.js → git-zn9kb932.js} +14 -14
- package/dist/chunks/{form-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-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 +81 -81
- package/dist/config/discovery.js +84 -84
- 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 +117 -117
- 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 +117 -117
- 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 +364 -365
- 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 +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -108
- package/dist/git.js +8 -8
- 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 +93 -93
- 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 -361
- 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 +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +153 -152
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +357 -358
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +136 -136
- 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 +93 -93
- package/dist/model-resolver.js +101 -100
- 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 +82 -82
- 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 +92 -92
- 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 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- 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 -114
- 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 +125 -125
- 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 -171
- package/dist/plugin/sdk.js +78 -78
- 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 +351 -352
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- 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 +3 -3
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +130 -129
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- 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 +99 -99
- 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 +128 -127
- package/dist/session/projector.js +89 -89
- 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 +3 -3
- 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 -100
- package/dist/session/runner/publish-llm-event.js +116 -115
- 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 -164
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +7 -7
- package/dist/shell.js +128 -128
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- 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 +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +4 -2
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/tool/runtime.d.ts +1 -0
- 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 +5 -5
- 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 +1 -1
- 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 +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- 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 +10 -10
- 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/form-1kg9ymc8.js +0 -6
- package/dist/chunks/form-2axfhc9x.js +0 -49
- package/dist/chunks/form-d8membp7.js +0 -26
- package/dist/chunks/form-dxj72tfx.js +0 -18
- package/dist/types/util/error.d.ts +0 -273
- package/dist/types/util/iife.d.ts +0 -1
- package/dist/types/v1/config/error.d.ts +0 -393
- package/dist/util/error.js +0 -6
- package/dist/util/iife.js +0 -6
- package/dist/v1/config/error.js +0 -27
- /package/dist/chunks/{form-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → git-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → git-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e3qxr5gk.js → git-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → git-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → git-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → git-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → git-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → git-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → git-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin14
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin14 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin42 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin14, exports_mcp_codemode_defaults };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service71
|
|
4
|
+
} from "./git-h9hy2g73.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service71;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID12.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
9
|
make: () => make14,
|
|
10
|
-
render: () =>
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
32
|
function make14(tools) {
|
|
33
|
-
return
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export { make14,
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-hdkgpk5r.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service81,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node85
|
|
13
|
+
} from "./git-7ww6rt9p.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service23,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node26
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service23 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service85;
|
|
44
44
|
const location = yield* Service81;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service23.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node26 = makeLocationNode({ service: Service23, layer, deps: [node89, node85] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service23, node26, exports_rpc, define2 };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// src/tool/runtime.ts
|
|
2
2
|
import { emptyInputJsonSchema } from "@opencode/ai/tool";
|
|
3
|
+
import { isRecord } from "@opencode/ai/utils/record";
|
|
3
4
|
import { Tool } from "@opencode/schema/tool";
|
|
4
5
|
import { Cache, Effect, JsonPointer, JsonSchema, Schema, SchemaIssue, SchemaRepresentation } from "effect";
|
|
5
6
|
import { $ZodType, toJSONSchema } from "zod/v4/core";
|
|
@@ -144,7 +145,6 @@ var flattenAllOf = (value) => {
|
|
|
144
145
|
const { allOf, ...rest } = schema;
|
|
145
146
|
return flattenAllOf({ ...Object.assign({}, ...allOf), ...rest });
|
|
146
147
|
};
|
|
147
|
-
var isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
148
148
|
var canFlattenAllOf = (allOf, parent) => {
|
|
149
149
|
const keys = new Set(Object.keys(parent).filter((key) => key !== "allOf"));
|
|
150
150
|
return allOf.every((item) => Object.keys(item).every((key) => {
|
|
@@ -200,9 +200,9 @@ var normalizeContent2 = (value, output) => {
|
|
|
200
200
|
return [{ type: "text", text: value }];
|
|
201
201
|
if (value !== undefined && value.length > 0)
|
|
202
202
|
return [...value];
|
|
203
|
-
return [{ type: "text", text:
|
|
203
|
+
return [{ type: "text", text: stringify2(output) }];
|
|
204
204
|
};
|
|
205
|
-
var
|
|
205
|
+
var stringify2 = (value) => {
|
|
206
206
|
if (typeof value === "string")
|
|
207
207
|
return value;
|
|
208
208
|
try {
|
|
@@ -214,4 +214,4 @@ var stringify = (value) => {
|
|
|
214
214
|
var normalizedName2 = (tool) => tool.name.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
215
215
|
var effectiveName2 = (tool) => tool.options?.namespace === undefined ? normalizedName2(tool) : `${tool.options.namespace.replaceAll(".", "_")}_${normalizedName2(tool)}`;
|
|
216
216
|
|
|
217
|
-
export { definition2, execute3, normalizeContent2, normalizedName2, effectiveName2 };
|
|
217
|
+
export { definition2, execute3, normalizeContent2, stringify2, normalizedName2, effectiveName2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make17
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make17 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -79,4 +79,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
79
79
|
return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { make17, exports_run_coordinator };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./git-1n6d85fv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service33
|
|
6
|
+
} from "./git-y0p0xn3x.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin39,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin39 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service57;
|
|
28
|
+
const mcp = yield* Service33;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin39, register2, exports_mcp2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service2,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node3
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service2 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node3 = makeLocationNode({
|
|
19
|
+
service: Service2,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service2, Service2.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service2, node3, bound2, exports_instance2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-t95zrypp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./git-cvza8xe0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service16
|
|
9
|
+
} from "./git-vr1hykcj.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-0vbcp93d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info4,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-xe5c1mcr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./git-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin27,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin27 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service16;
|
|
104
|
+
const permission = yield* Service52;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin20 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info4,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin27, exports_opencode };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service35,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service35 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service35.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service35, awaitActivation2, exports_service };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-ya38tq17.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ConflictError: () => ConflictError2,
|
|
17
|
-
ID: () =>
|
|
18
|
-
Info: () =>
|
|
17
|
+
ID: () => ID6,
|
|
18
|
+
Info: () => Info10,
|
|
19
19
|
ListInput: () => ListInput4,
|
|
20
20
|
NotFoundError: () => NotFoundError7,
|
|
21
21
|
PermissionSaved: () => exports_saved,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service54,
|
|
23
23
|
UpdateInput: () => UpdateInput2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node56
|
|
25
25
|
});
|
|
26
26
|
import { eq } from "drizzle-orm";
|
|
27
27
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -29,8 +29,8 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
29
29
|
import { Project } from "@opencode/schema/project";
|
|
30
30
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var ID6 = PermissionSaved.ID;
|
|
33
|
+
var Info10 = PermissionSaved.Info;
|
|
34
34
|
var ListInput4 = Schema.Struct({
|
|
35
35
|
projectID: Project.ID.pipe(Schema.optional)
|
|
36
36
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -40,26 +40,26 @@ var AddInput2 = Schema.Struct({
|
|
|
40
40
|
resources: Schema.Array(Schema.String)
|
|
41
41
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
42
42
|
var UpdateInput2 = Schema.Struct({
|
|
43
|
-
id:
|
|
43
|
+
id: ID6,
|
|
44
44
|
action: Schema.String.pipe(Schema.optional),
|
|
45
45
|
resource: Schema.String.pipe(Schema.optional)
|
|
46
46
|
}).annotate({ identifier: "PermissionSaved.UpdateInput" });
|
|
47
47
|
|
|
48
48
|
class NotFoundError7 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
49
|
-
id:
|
|
49
|
+
id: ID6
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
54
|
-
id:
|
|
54
|
+
id: ID6,
|
|
55
55
|
action: Schema.String,
|
|
56
56
|
resource: Schema.String
|
|
57
57
|
}) {
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service54 extends Context.Service()("@opencode/PermissionSaved") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
62
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
63
63
|
const db = (yield* Service86).db;
|
|
64
64
|
const list = Effect.fnUntraced(function* (input) {
|
|
65
65
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
69
69
|
if (!input.resources.length)
|
|
70
70
|
return;
|
|
71
71
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
72
|
-
id:
|
|
72
|
+
id: ID6.create(),
|
|
73
73
|
project_id: input.projectID,
|
|
74
74
|
action: input.action,
|
|
75
75
|
resource
|
|
@@ -89,7 +89,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
89
89
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
90
90
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
91
91
|
});
|
|
92
|
-
return
|
|
92
|
+
return Service54.of({ list, add, update, remove });
|
|
93
93
|
}));
|
|
94
94
|
var isUniqueViolation = (error) => {
|
|
95
95
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -107,6 +107,6 @@ var info = (row) => ({
|
|
|
107
107
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
var
|
|
110
|
+
var node56 = makeGlobalNode({ service: Service54, layer, deps: [node90] });
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { ID6, Info10, ListInput4, AddInput2, UpdateInput2, NotFoundError7, ConflictError2, Service54, node56, exports_saved };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-fvtbw1ps.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID10,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info18,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-rm9a2m7z.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID11.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID10.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info18.make({
|
|
98
|
+
...Info18.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID10.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|