@opencode/core 0.0.0-dev-21578 → 0.0.0-dev-21586
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 -97
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{model-retry-034tev2y.js → plugin-034tev2y.js} +2 -2
- package/dist/chunks/{model-retry-vgk61ywp.js → plugin-0421tmwc.js} +9 -9
- package/dist/chunks/{model-retry-cxzgb9c8.js → plugin-0gqtjgmn.js} +7 -7
- package/dist/chunks/{model-retry-9c2rytg1.js → plugin-0mn1e965.js} +13 -13
- package/dist/chunks/{model-retry-jkg2pe84.js → plugin-0p88zpcm.js} +4 -4
- package/dist/chunks/{model-retry-0sjdd7gq.js → plugin-0syrr5yv.js} +3 -3
- package/dist/chunks/{model-retry-cpfftq47.js → plugin-10zrcpp8.js} +84 -84
- package/dist/chunks/{model-retry-9p4ckb4p.js → plugin-1a140ev3.js} +6 -6
- package/dist/chunks/{model-retry-1ep2p91f.js → plugin-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-retry-1x2knyw4.js → plugin-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-8q7mv1dj.js → plugin-1y048hf4.js} +4 -4
- package/dist/chunks/{model-retry-th85ze8z.js → plugin-24yf1smp.js} +20 -20
- package/dist/chunks/{model-retry-cpvd08na.js → plugin-2azy8kv6.js} +4 -4
- package/dist/chunks/{model-retry-t19n7z8d.js → plugin-2dzh91n1.js} +6 -6
- package/dist/chunks/{model-retry-ph4tm34a.js → plugin-2k8w2xgz.js} +23 -23
- package/dist/chunks/{model-retry-hzpyh7h9.js → plugin-2r4n81ay.js} +4 -4
- package/dist/chunks/{model-retry-r2j375b4.js → plugin-2w5xpj9a.js} +13 -13
- package/dist/chunks/{model-retry-2z1j29yd.js → plugin-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-retry-5kggx843.js → plugin-301ejq9m.js} +338 -338
- package/dist/chunks/{model-retry-kg4c4gfk.js → plugin-33md7rg7.js} +28 -28
- package/dist/chunks/{model-retry-hqnmqx0e.js → plugin-366nwj0e.js} +40 -40
- package/dist/chunks/{model-retry-tryvgcx0.js → plugin-38tv2zyj.js} +4 -4
- package/dist/chunks/{model-retry-erxntyyz.js → plugin-397w7c8f.js} +21 -21
- package/dist/chunks/{model-retry-csbt6w95.js → plugin-3gmz16jc.js} +23 -23
- package/dist/chunks/{model-retry-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-wzxanmw9.js → plugin-3j47848t.js} +29 -29
- package/dist/chunks/{model-retry-3nnrz6f6.js → plugin-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-retry-ecdzwr7h.js → plugin-3p1jwqy9.js} +20 -20
- package/dist/chunks/{model-retry-68rqd4da.js → plugin-3zz5way2.js} +17 -17
- package/dist/chunks/{model-retry-w2eysc6j.js → plugin-40za9wsf.js} +9 -9
- package/dist/chunks/{model-retry-y2nch1ns.js → plugin-417yymah.js} +17 -17
- package/dist/chunks/{model-retry-4naewhem.js → plugin-41r5wqck.js} +10 -10
- package/dist/chunks/{model-retry-4s75dghy.js → plugin-448xyrnd.js} +3 -3
- package/dist/chunks/{model-retry-1aerx206.js → plugin-48hcx8xq.js} +10 -10
- package/dist/chunks/{model-retry-vwpgtjfe.js → plugin-49cj2a44.js} +10 -10
- package/dist/chunks/{model-retry-98bxk4dy.js → plugin-4arybamx.js} +28 -28
- package/dist/chunks/{model-retry-xp50hhgm.js → plugin-4ay3aqda.js} +8 -8
- package/dist/chunks/{model-retry-z6w6mvsb.js → plugin-4jbyfzea.js} +17 -17
- package/dist/chunks/{model-retry-j4tgmvzd.js → plugin-4neywqsp.js} +40 -40
- package/dist/chunks/{model-retry-4v008n1t.js → plugin-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-k3jmrcrs.js → plugin-4wgfdmqz.js} +15 -15
- package/dist/chunks/{model-retry-4xvmh7wp.js → plugin-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-retry-eq10afbe.js → plugin-4z501z63.js} +37 -37
- package/dist/chunks/{model-retry-v46zwfxe.js → plugin-56p1jhd3.js} +4 -4
- package/dist/chunks/{model-retry-r2z6t62p.js → plugin-5bq6wz19.js} +29 -29
- package/dist/chunks/{model-retry-yfvv7qb3.js → plugin-5j441hsm.js} +7 -7
- package/dist/chunks/{model-retry-t3qqpd1a.js → plugin-5k63q3tv.js} +19 -19
- package/dist/chunks/{model-retry-34j3c5g8.js → plugin-5knrhjv3.js} +26 -26
- package/dist/chunks/{model-retry-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-ft03bety.js → plugin-5qzb0jnx.js} +7 -7
- package/dist/chunks/{model-retry-qr8gbtan.js → plugin-6a5mpwr5.js} +15 -15
- package/dist/chunks/{model-retry-6esdw8yj.js → plugin-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-retry-yvf9xe26.js → plugin-6fesftb4.js} +15 -15
- package/dist/chunks/{model-retry-k2e8739q.js → plugin-6g9dc8hg.js} +6 -6
- package/dist/chunks/{model-retry-1k9s1gkt.js → plugin-6gf5ywq5.js} +14 -14
- package/dist/chunks/{model-retry-6pjqjmy2.js → plugin-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-retry-xadckn2x.js → plugin-6pss4g6t.js} +46 -46
- package/dist/chunks/{model-retry-24ag2nfj.js → plugin-6vyssmgt.js} +4 -4
- package/dist/chunks/{model-retry-n6v2b7cw.js → plugin-6xqtcmxs.js} +5 -5
- package/dist/chunks/{model-retry-ze854dys.js → plugin-6zjmc36r.js} +26 -26
- package/dist/chunks/{model-retry-q0gsxww0.js → plugin-729419vw.js} +9 -9
- package/dist/chunks/{model-retry-vrc2patz.js → plugin-72pceqnf.js} +15 -15
- package/dist/chunks/{model-retry-zq471nd1.js → plugin-749ghc7h.js} +3 -3
- package/dist/chunks/{model-retry-76cb1hcw.js → plugin-76cb1hcw.js} +1 -1
- package/dist/chunks/{model-retry-3pfffbn2.js → plugin-791mgs72.js} +12 -12
- package/dist/chunks/{model-retry-h0ppebc3.js → plugin-7akzmw6y.js} +8 -8
- package/dist/chunks/{model-retry-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-n74gyp3a.js → plugin-7ff5r0gq.js} +16 -16
- package/dist/chunks/{model-retry-zyr4n90f.js → plugin-7g38p78c.js} +11 -11
- package/dist/chunks/{model-retry-15pq58mc.js → plugin-7g67k8da.js} +24 -24
- package/dist/chunks/{model-retry-k0te6n7r.js → plugin-7mjdf1g0.js} +11 -11
- package/dist/chunks/{model-retry-2j4z7awa.js → plugin-7r4kye0n.js} +3 -3
- package/dist/chunks/{model-retry-160yv0cs.js → plugin-7tpyp9vw.js} +8 -8
- package/dist/chunks/{model-retry-w2jghfqb.js → plugin-7tz53k10.js} +4 -4
- package/dist/chunks/{model-retry-7w2ypzdf.js → plugin-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-yk3mq3qx.js → plugin-805retjn.js} +4 -4
- package/dist/chunks/{model-retry-rnwbpqts.js → plugin-80h8b35m.js} +8 -8
- package/dist/chunks/{model-retry-yy1f6ksd.js → plugin-8dv6gnq3.js} +18 -18
- package/dist/chunks/{model-retry-3jpry3mm.js → plugin-8ezscwmn.js} +11 -11
- package/dist/chunks/{model-retry-vwkq0df4.js → plugin-8f4bgxgj.js} +13 -13
- package/dist/chunks/{model-retry-sfva37g4.js → plugin-8f5h2b15.js} +20 -20
- package/dist/chunks/{model-retry-s57gj4s6.js → plugin-8j46xfav.js} +61 -61
- package/dist/chunks/{model-retry-3wqf40ez.js → plugin-8jf5eje7.js} +7 -7
- package/dist/chunks/{model-retry-ww1j827y.js → plugin-8v7xte0w.js} +11 -11
- package/dist/chunks/{model-retry-8wtp7s3z.js → plugin-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-52zykg91.js → plugin-8xrx88p0.js} +14 -14
- package/dist/chunks/{model-retry-e29sndgb.js → plugin-8ybp78tx.js} +4 -4
- package/dist/chunks/{model-retry-91rj84md.js → plugin-91rj84md.js} +1 -1
- package/dist/chunks/{model-retry-5afnvqtn.js → plugin-97g22kyc.js} +17 -17
- package/dist/chunks/{model-retry-998yhzzq.js → plugin-998yhzzq.js} +3 -3
- package/dist/chunks/{model-retry-mx6gwe9b.js → plugin-9erwh778.js} +9 -9
- package/dist/chunks/{model-retry-r7g76k7m.js → plugin-9hwz6ehy.js} +25 -25
- package/dist/chunks/{model-retry-q9fk87c8.js → plugin-9k575ryj.js} +2 -2
- package/dist/chunks/{model-retry-k2k3qgkf.js → plugin-9smwhcrf.js} +11 -11
- package/dist/chunks/{model-retry-vgt89nsn.js → plugin-9xkjf5qh.js} +21 -21
- package/dist/chunks/{model-retry-ayjs7tqn.js → plugin-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-retry-b0mv4wxm.js → plugin-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-retry-8b8xytn3.js → plugin-b38bfd29.js} +31 -31
- package/dist/chunks/{model-retry-b6vsg801.js → plugin-b6vsg801.js} +2 -2
- package/dist/chunks/{model-retry-bqkj7jx5.js → plugin-bm4gstpq.js} +8 -8
- package/dist/chunks/{model-retry-bstexjd6.js → plugin-bstexjd6.js} +1 -1
- package/dist/chunks/{model-retry-eg39tzjz.js → plugin-bx7d5a18.js} +8 -8
- package/dist/chunks/{model-retry-xg13h545.js → plugin-bxh642fs.js} +33 -33
- package/dist/chunks/{model-retry-xp0rgq9p.js → plugin-c3rdb4mt.js} +16 -16
- package/dist/chunks/{model-retry-w76xjer3.js → plugin-c5kjsz6q.js} +4 -4
- package/dist/chunks/{model-retry-8sxdqgb0.js → plugin-c8666r4c.js} +6 -6
- package/dist/chunks/{model-retry-w4b3j6j4.js → plugin-ch9wmxsn.js} +20 -20
- package/dist/chunks/{model-retry-hkav5kft.js → plugin-cqt766kx.js} +22 -22
- package/dist/chunks/{model-retry-zbt54ewe.js → plugin-cw0ar5ez.js} +22 -22
- package/dist/chunks/{model-retry-z8ef33hm.js → plugin-cz1d3gs1.js} +11 -11
- package/dist/chunks/{model-retry-d4v9tmah.js → plugin-d4v9tmah.js} +2 -2
- package/dist/chunks/plugin-d77dj7jw.js +18 -0
- package/dist/chunks/{model-retry-zv1vb29g.js → plugin-da2n11mt.js} +17 -17
- package/dist/chunks/{model-retry-xza2c9y7.js → plugin-daqfgk3c.js} +12 -12
- package/dist/chunks/{model-retry-9t2khtsw.js → plugin-ddgdpn03.js} +8 -8
- package/dist/chunks/{model-retry-x1p8bhbj.js → plugin-defv51r7.js} +14 -14
- package/dist/chunks/{model-retry-hv6nf1gc.js → plugin-dmj8dyf0.js} +28 -28
- package/dist/chunks/{model-retry-wdmx20pv.js → plugin-dqgvvwe0.js} +5 -5
- package/dist/chunks/{model-retry-45yg3mqn.js → plugin-dwad2f7j.js} +9 -9
- package/dist/chunks/{model-retry-masd7ga8.js → plugin-e5dqjz6v.js} +4 -4
- package/dist/chunks/{model-retry-156av61h.js → plugin-e67nmve2.js} +42 -42
- package/dist/chunks/{model-retry-cgc2w6x5.js → plugin-e6b2spd3.js} +9 -9
- package/dist/chunks/{model-retry-h48zeanh.js → plugin-e7p8ph8y.js} +3 -3
- package/dist/chunks/{model-retry-e834z07m.js → plugin-e834z07m.js} +1 -1
- package/dist/chunks/{model-retry-7h34a4m7.js → plugin-ebhys1ps.js} +24 -24
- package/dist/chunks/{model-retry-60qt7jm7.js → plugin-eeys6v1h.js} +9 -9
- package/dist/chunks/{model-retry-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-retry-3z93btg0.js → plugin-ehna047s.js} +29 -29
- package/dist/chunks/{model-retry-37psetzb.js → plugin-er4aqx01.js} +164 -164
- package/dist/chunks/{model-retry-8mjcdb5t.js → plugin-f9y4vw62.js} +11 -11
- package/dist/chunks/{model-retry-1h8v3mbs.js → plugin-faxyqc0y.js} +19 -19
- package/dist/chunks/{model-retry-fffv3p7h.js → plugin-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-retry-t5nnby66.js → plugin-fjd9pa27.js} +29 -29
- package/dist/chunks/{model-retry-4bxv2e09.js → plugin-fjj0tk6a.js} +16 -16
- package/dist/chunks/{model-retry-sszzn3zb.js → plugin-fjn8c95x.js} +8 -8
- package/dist/chunks/{model-retry-61crdd5b.js → plugin-ft9drwcd.js} +34 -34
- package/dist/chunks/{model-retry-8cqc0595.js → plugin-fw04p9ky.js} +14 -14
- package/dist/chunks/{model-retry-6ms03s6h.js → plugin-fympbc4e.js} +14 -14
- package/dist/chunks/{model-retry-g5h9c0rr.js → plugin-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-retry-wyat3pb7.js → plugin-g83p8h2e.js} +43 -43
- package/dist/chunks/{model-retry-n02etsdv.js → plugin-ge8ykx7v.js} +9 -9
- package/dist/chunks/{model-retry-q1356wgr.js → plugin-gfhv8a7w.js} +8 -8
- package/dist/chunks/{model-retry-hdpt19v3.js → plugin-gj9haxac.js} +18 -18
- package/dist/chunks/{model-retry-rctnnajd.js → plugin-gy8qkchn.js} +5 -5
- package/dist/chunks/{model-retry-d7s86mhq.js → plugin-h1fax6kt.js} +10 -10
- package/dist/chunks/{model-retry-1v7r97e1.js → plugin-h1rfd25p.js} +13 -13
- package/dist/chunks/{model-retry-wpfwh9md.js → plugin-h70v2djc.js} +34 -34
- package/dist/chunks/{model-retry-esgzgmhw.js → plugin-h9rpd4f8.js} +44 -44
- package/dist/chunks/{model-retry-nv23re93.js → plugin-hjqry76z.js} +27 -27
- package/dist/chunks/{model-retry-3zfnvm0t.js → plugin-ht2svjmz.js} +3 -3
- package/dist/chunks/{model-retry-15tgtsbh.js → plugin-hvca08ne.js} +18 -18
- package/dist/chunks/{model-retry-vwn6zxzb.js → plugin-j0tn0vhk.js} +19 -19
- package/dist/chunks/{model-retry-j113cymg.js → plugin-j113cymg.js} +1 -1
- package/dist/chunks/{model-retry-9y7tqj94.js → plugin-j1wfa86h.js} +9 -9
- package/dist/chunks/plugin-j4appf3d.js +257 -0
- package/dist/chunks/{model-retry-nsggxdvf.js → plugin-jgeh1xfg.js} +16 -16
- package/dist/chunks/{model-retry-awk29ysz.js → plugin-jn5ay4zm.js} +50 -50
- package/dist/chunks/{model-retry-kqpfexpa.js → plugin-jp479h69.js} +16 -16
- package/dist/chunks/{model-retry-xwjmbdzc.js → plugin-jq9dhj6x.js} +13 -13
- package/dist/chunks/{model-retry-k814nvkf.js → plugin-k814nvkf.js} +1 -1
- package/dist/chunks/{model-retry-z8n0gtf2.js → plugin-kaz27p2z.js} +5 -5
- package/dist/chunks/{model-retry-756ss4w1.js → plugin-kn2ysf14.js} +3 -3
- package/dist/chunks/{model-retry-7chdqnqr.js → plugin-kszpdg0e.js} +21 -21
- package/dist/chunks/{model-retry-wa1bzbm8.js → plugin-kxdyf56d.js} +1 -1
- package/dist/chunks/{model-retry-bez4y6k8.js → plugin-ky4dyj93.js} +16 -16
- package/dist/chunks/{model-retry-m1714858.js → plugin-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-yy97rbk0.js → plugin-m32k1ycp.js} +5 -5
- package/dist/chunks/{model-retry-cx4pt2gs.js → plugin-m4a2gv8g.js} +43 -43
- package/dist/chunks/{model-retry-fgshpn0g.js → plugin-m9dfhmzw.js} +16 -16
- package/dist/chunks/{model-retry-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-maspj1v3.js → plugin-maspj1v3.js} +1 -1
- package/dist/chunks/{model-retry-g1mbn82r.js → plugin-mdc67x4g.js} +28 -28
- package/dist/chunks/{model-retry-me5bcav6.js → plugin-me5bcav6.js} +1 -1
- package/dist/chunks/{model-retry-df4avf2z.js → plugin-mhkpqspy.js} +7 -7
- package/dist/chunks/{model-retry-40m9e2d0.js → plugin-mmwqbvsn.js} +11 -11
- package/dist/chunks/{model-retry-w35wzz9x.js → plugin-mmx1mfjr.js} +4 -4
- package/dist/chunks/{model-retry-d2887f8n.js → plugin-mtkfycnh.js} +4 -4
- package/dist/chunks/{model-retry-ts7mkfs9.js → plugin-mtpeagzc.js} +3 -3
- package/dist/chunks/{model-retry-n0p0277s.js → plugin-n0p0277s.js} +1 -1
- package/dist/chunks/{model-retry-y2zwb71e.js → plugin-n5tfqgs3.js} +20 -20
- package/dist/chunks/{model-retry-9b28cy4d.js → plugin-n9p72mjb.js} +5 -5
- package/dist/chunks/{model-retry-1g7gxgxj.js → plugin-na2rxvkn.js} +33 -33
- package/dist/chunks/{model-retry-770pw0s1.js → plugin-nah043kf.js} +4 -4
- package/dist/chunks/{model-retry-y45pr2fb.js → plugin-namw6z13.js} +4 -4
- package/dist/chunks/plugin-nbm4k9b0.js +26 -0
- package/dist/chunks/{model-retry-3t73xeyv.js → plugin-nkr5r85d.js} +2 -2
- package/dist/chunks/{model-retry-4dg124c5.js → plugin-nrk5vjbf.js} +5 -5
- package/dist/chunks/{model-retry-we70t4t4.js → plugin-nshz4qjm.js} +33 -33
- package/dist/chunks/{model-retry-p015t6z3.js → plugin-p015t6z3.js} +2 -2
- package/dist/chunks/{model-retry-1yq9hg58.js → plugin-p7vhpwh8.js} +5 -5
- package/dist/chunks/{model-retry-t5swzbnr.js → plugin-p9hbvaar.js} +52 -52
- package/dist/chunks/{model-retry-pc1v25hk.js → plugin-pc1v25hk.js} +1 -1
- package/dist/chunks/{model-retry-74ptejxy.js → plugin-peyn19kn.js} +8 -8
- package/dist/chunks/{model-retry-2qyq8kt6.js → plugin-pjr10xyc.js} +14 -14
- package/dist/chunks/{model-retry-knx0jzac.js → plugin-pkj8p13f.js} +13 -13
- package/dist/chunks/{model-retry-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-2v2pdhf7.js → plugin-pmyfzvdp.js} +9 -9
- package/dist/chunks/{model-retry-jezcxpfe.js → plugin-pnmjq29r.js} +18 -18
- package/dist/chunks/{model-retry-zx3jzspp.js → plugin-pp0fatjv.js} +12 -12
- package/dist/chunks/{model-retry-94vx47d3.js → plugin-px1hc5my.js} +19 -19
- package/dist/chunks/{model-retry-j3dvs0xp.js → plugin-q5yezhhf.js} +4 -4
- package/dist/chunks/{model-retry-j21bkcez.js → plugin-q76kfaah.js} +25 -19
- package/dist/chunks/{model-retry-yk0esd9v.js → plugin-qaxt5sce.js} +4 -4
- package/dist/chunks/{model-retry-9m15hg5h.js → plugin-qaysd7a4.js} +81 -81
- package/dist/chunks/{model-retry-1fg7mrfs.js → plugin-qczn15be.js} +16 -16
- package/dist/chunks/{model-retry-qjgzc4b4.js → plugin-qjgzc4b4.js} +1 -1
- package/dist/chunks/{model-retry-egmw08v6.js → plugin-qvw98tg0.js} +5 -5
- package/dist/chunks/{model-retry-r0yr0wbs.js → plugin-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-retry-3yfh5vy1.js → plugin-r3tr33rt.js} +11 -11
- package/dist/chunks/{model-retry-0gka690g.js → plugin-r6wgv8c9.js} +6 -6
- package/dist/chunks/{model-retry-88ygbdnp.js → plugin-r90wrezg.js} +3 -3
- package/dist/chunks/{model-retry-rb9dy4dg.js → plugin-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-w2bqz3ce.js → plugin-rdbyms1g.js} +14 -14
- package/dist/chunks/{model-retry-cae67mny.js → plugin-rrj48g6y.js} +42 -42
- package/dist/chunks/{model-retry-rt5dr6hb.js → plugin-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-retry-498wt34r.js → plugin-s0wtbthz.js} +22 -22
- package/dist/chunks/{model-retry-1b4vpzzn.js → plugin-s5sagwvf.js} +30 -30
- package/dist/chunks/{model-retry-zba5tm1j.js → plugin-s626qfae.js} +4 -4
- package/dist/chunks/{model-retry-059af6b1.js → plugin-s6ak25wa.js} +33 -33
- package/dist/chunks/{model-retry-sp1qw1fb.js → plugin-s9vx4pc1.js} +10 -10
- package/dist/chunks/{model-retry-pen16d07.js → plugin-sbegqkxp.js} +6 -6
- package/dist/chunks/{model-retry-j7t09cbk.js → plugin-sen2yr23.js} +25 -25
- package/dist/chunks/{model-retry-gcjdgkn2.js → plugin-smfcvx02.js} +9 -9
- package/dist/chunks/{model-retry-sqjzf8x2.js → plugin-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-retry-v95bjsh5.js → plugin-srveqww6.js} +10 -10
- package/dist/chunks/{model-retry-r4q3d25z.js → plugin-ssxxjq26.js} +16 -16
- package/dist/chunks/{model-retry-ws6f2re4.js → plugin-t9hsnqxm.js} +2 -2
- package/dist/chunks/{model-retry-4xbwwm4q.js → plugin-ta8zdwzh.js} +9 -9
- package/dist/chunks/{model-retry-tczq8hjw.js → plugin-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-retry-0mt5amvr.js → plugin-td8eqxqy.js} +30 -30
- package/dist/chunks/{model-retry-z2wzaj4z.js → plugin-tdgr4kjk.js} +27 -27
- package/dist/chunks/{model-retry-mm9j1s8c.js → plugin-tn6eqn63.js} +32 -32
- package/dist/chunks/{model-retry-tw8zr1ps.js → plugin-tw8zr1ps.js} +1 -1
- package/dist/chunks/{model-retry-twv2r8f4.js → plugin-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-retry-t98mxax0.js → plugin-tz25qr3g.js} +45 -45
- package/dist/chunks/{model-retry-k60vgq4n.js → plugin-tzwkjnke.js} +1 -1
- package/dist/chunks/{model-retry-vd3b3yk9.js → plugin-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-retry-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{model-retry-q9dphv85.js → plugin-vgye2rsv.js} +40 -40
- package/dist/chunks/{model-retry-qnqj5gyz.js → plugin-vhjzha3a.js} +10 -10
- package/dist/chunks/{model-retry-5e3jct5k.js → plugin-vhz2gm5v.js} +5 -5
- package/dist/chunks/{model-retry-vmfhgzt5.js → plugin-vmfhgzt5.js} +1 -1
- package/dist/chunks/{model-retry-typ2bf99.js → plugin-vpfqjjm8.js} +14 -14
- package/dist/chunks/{model-retry-1602d4m9.js → plugin-w22yp63b.js} +9 -9
- package/dist/chunks/{model-retry-86c107cp.js → plugin-w2yrf1y0.js} +14 -14
- package/dist/chunks/{model-retry-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-wf5b31gc.js → plugin-w5hvyx02.js} +28 -28
- package/dist/chunks/{model-retry-zra4y4ja.js → plugin-w918znfg.js} +9 -9
- package/dist/chunks/{model-retry-wakvkjy4.js → plugin-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-zae8bdqe.js → plugin-wc1y9j0c.js} +21 -21
- package/dist/chunks/{model-retry-0vh00qd5.js → plugin-wd2jkcgv.js} +13 -13
- package/dist/chunks/{model-retry-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-5mhdx2nw.js → plugin-wfxxszdh.js} +7 -7
- package/dist/chunks/{model-retry-0h8y3ex8.js → plugin-wr3re1en.js} +4 -4
- package/dist/chunks/{model-retry-35ssvayj.js → plugin-wv160yw5.js} +29 -29
- package/dist/chunks/{model-retry-kh0bkhb3.js → plugin-wv27004a.js} +15 -15
- package/dist/chunks/{model-retry-00qqvw2m.js → plugin-x7esjbfy.js} +17 -17
- package/dist/chunks/{model-retry-4dy0rzf7.js → plugin-xd37m1km.js} +17 -17
- package/dist/chunks/{model-retry-s35xth4d.js → plugin-xq2ca4h8.js} +11 -11
- package/dist/chunks/{model-retry-23g4abx1.js → plugin-xsvfss3y.js} +23 -23
- package/dist/chunks/{model-retry-8cnpnqcj.js → plugin-xybbt1mb.js} +24 -24
- package/dist/chunks/{model-retry-nbne29zv.js → plugin-y1d3npgy.js} +15 -15
- package/dist/chunks/{model-retry-yj9zbm9v.js → plugin-y76evpd0.js} +15 -15
- package/dist/chunks/{model-retry-pf6hjb5j.js → plugin-yaq81nk5.js} +21 -21
- package/dist/chunks/{model-retry-yb20nhc3.js → plugin-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-rsbjq8mx.js → plugin-ye4vqm0y.js} +13 -13
- package/dist/chunks/{model-retry-wv3qawbk.js → plugin-ywh0g57p.js} +11 -11
- package/dist/chunks/{model-retry-mhsz3gf2.js → plugin-yxwtmgfv.js} +5 -5
- package/dist/chunks/{model-retry-2ah2hb02.js → plugin-yyhgxykd.js} +4 -4
- package/dist/chunks/{model-retry-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-retry-z38nccrw.js → plugin-z38nccrw.js} +1 -1
- package/dist/chunks/{model-retry-2d67wzxw.js → plugin-zezfrnf5.js} +16 -16
- package/dist/chunks/{model-retry-5gqydat8.js → plugin-zf7tttqd.js} +32 -32
- package/dist/chunks/{model-retry-nszthedh.js → plugin-zg933662.js} +3 -3
- package/dist/chunks/{model-retry-j3gdx3ts.js → plugin-zgy84aax.js} +18 -18
- package/dist/chunks/{model-retry-zkg84ctx.js → plugin-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-retry-vfjd9fmw.js → plugin-zkzkvvbz.js} +32 -32
- package/dist/chunks/{model-retry-362tp65q.js → plugin-zvwzcwk0.js} +4 -4
- package/dist/chunks/{model-retry-47853hma.js → plugin-zvzfb7fs.js} +14 -14
- package/dist/chunks/{model-retry-637q83rh.js → plugin-zw6nt08m.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +118 -118
- 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 +136 -136
- 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 +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +10 -10
- 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 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- 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 +89 -89
- 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 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +105 -105
- 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 +109 -109
- 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 -332
- 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 +4 -4
- 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 +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 +118 -118
- 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 +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 +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 +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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- 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 +136 -136
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +130 -130
- 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 +2 -2
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- 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 +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +162 -162
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- 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 +13 -13
- package/dist/shell.js +130 -130
- 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 +135 -135
- 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 +122 -122
- 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 +103 -103
- package/dist/tool/plugin/read.js +127 -127
- 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 +109 -109
- 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 +16 -16
- 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 +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 +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-retry-6zjm2phc.js +0 -18
- package/dist/chunks/model-retry-mnd7st07.js +0 -26
- package/dist/chunks/model-retry-mxyxrzn2.js +0 -257
- /package/dist/chunks/{model-retry-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2bv980vf.js → plugin-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-retry-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-retry-5fjb7ams.js → plugin-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → plugin-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-a058387c.js → plugin-a058387c.js} +0 -0
- /package/dist/chunks/{model-retry-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-retry-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-retry-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-retry-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e3qxr5gk.js → plugin-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → plugin-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jze0r7bz.js → plugin-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → plugin-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-pkyv6v7h.js → plugin-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → plugin-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wjj7prxr.js → plugin-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-retry-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-srveqww6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-805retjn.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-ch9wmxsn.js";
|
|
11
11
|
import {
|
|
12
12
|
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-3gmz16jc.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID11,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-sen2yr23.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./plugin-3nnrz6f6.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./plugin-2dzh91n1.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -165,7 +165,7 @@ var headless = (app) => ({
|
|
|
165
165
|
}),
|
|
166
166
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
167
167
|
});
|
|
168
|
-
var
|
|
168
|
+
var OpenAIPlugin3 = define({
|
|
169
169
|
id: "opencode.provider.openai",
|
|
170
170
|
effect: Effect.fn(function* (ctx) {
|
|
171
171
|
const bus = yield* Service85;
|
|
@@ -183,9 +183,9 @@ var OpenAIPlugin2 = 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 OpenAIPlugin2 = 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,12 +236,12 @@ var OpenAIPlugin2 = 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
246
|
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
247
|
})
|
|
@@ -334,4 +334,4 @@ function claim(token) {
|
|
|
334
334
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
export {
|
|
337
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./plugin-qczn15be.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./plugin-7g67k8da.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service17,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-8f4bgxgj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service19
|
|
14
|
+
} from "./plugin-wv27004a.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service60
|
|
17
|
+
} from "./plugin-366nwj0e.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service16,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-8dv6gnq3.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./plugin-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./plugin-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input10,
|
|
34
|
+
Output: () => Output8,
|
|
35
|
+
Plugin: () => Plugin46,
|
|
36
|
+
name: () => name10
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name10 = "edit";
|
|
43
|
+
var Input10 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input3 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output8 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin46 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service16;
|
|
197
|
+
const fileMutation = yield* Service17;
|
|
198
|
+
const environment = yield* Service79;
|
|
199
|
+
const formatter = yield* Service19;
|
|
200
|
+
const location = yield* Service81;
|
|
201
|
+
const permission = yield* Service60;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name10,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input10,
|
|
207
|
+
output: Output8,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin3 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name10, Input10, Output8, Plugin46, exports_edit };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-mtpeagzc.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load5
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service69,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured9,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer26,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node72,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service69 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer26 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service69.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer25 = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service69.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service69).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service69, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
156
156
|
}
|
|
157
157
|
}));
|
|
158
158
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
159
|
-
function
|
|
160
|
-
return makeGlobalNode({ service:
|
|
159
|
+
function configured9(options) {
|
|
160
|
+
return makeGlobalNode({ service: Service69, layer: layer26(options), deps: [nativeNode] });
|
|
161
161
|
}
|
|
162
|
-
var
|
|
162
|
+
var node72 = configured9();
|
|
163
163
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
164
164
|
if (!native || !backend) {
|
|
165
165
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
179
179
|
}).pipe(Effect.as(undefined))));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { hasNativeBinding2, Native3,
|
|
182
|
+
export { hasNativeBinding2, Native3, Service69, Test3, layer26, testLayer3, nativeLayer2, configured9, node72, exports_watcher };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service81
|
|
9
|
+
} from "./plugin-qczn15be.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service79
|
|
12
|
+
} from "./plugin-7g67k8da.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service65
|
|
15
|
+
} from "./plugin-vpfqjjm8.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-td8eqxqy.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service60
|
|
24
|
+
} from "./plugin-366nwj0e.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service16
|
|
27
|
+
} from "./plugin-8dv6gnq3.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
36
|
+
Input: () => Input13,
|
|
37
|
+
Output: () => Output9,
|
|
38
|
+
Plugin: () => Plugin50,
|
|
39
|
+
name: () => name13,
|
|
40
40
|
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name13 = "glob";
|
|
46
|
+
var Input13 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,7 +55,7 @@ var Input12 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var Output9 = Schema.Array(Entry2);
|
|
59
59
|
var toModelContent6 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
@@ -63,27 +63,27 @@ var toModelContent6 = (entries, truncated = false) => {
|
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin50 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service79;
|
|
70
|
+
const ripgrep = yield* Service65;
|
|
71
|
+
const location = yield* Service81;
|
|
72
|
+
const access = yield* Service16;
|
|
73
|
+
const permission = yield* Service60;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name13,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input13,
|
|
79
|
+
output: Output9,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name13,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -125,4 +125,4 @@ var Plugin14 = {
|
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name13, Input13, Output9, toModelContent6, Plugin50, exports_glob };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_driver, {
|
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make21,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node84,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node84 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node84, exports_driver };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./plugin-h9rpd4f8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./plugin-0421tmwc.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
+
Plugin: () => Plugin28
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin28 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service68;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin27 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin28, exports_location_watcher };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-805retjn.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service81,
|
|
12
|
+
node85
|
|
13
|
+
} from "./plugin-qczn15be.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./plugin-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: () => Service47,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node49
|
|
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 Service47 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service85;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service81;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service81, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service47.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node49 = makeLocationNode({ service: Service47, 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 { Service47, node49, exports_rpc, define2 };
|
package/dist/codemode/catalog.js
CHANGED
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
render2,
|
|
3
3
|
update3,
|
|
4
4
|
make13,
|
|
5
|
-
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
5
|
+
exports_instructions3
|
|
6
|
+
} from "../chunks/plugin-729419vw.js";
|
|
7
|
+
import"../chunks/plugin-fffv3p7h.js";
|
|
8
|
+
import"../chunks/plugin-e5dqjz6v.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
exports_instructions3 as CodeModeInstructions,
|
|
11
11
|
make13 as make,
|
|
12
12
|
render2 as render,
|
|
13
13
|
update3 as update
|
package/dist/codemode/tool.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
create2,
|
|
3
3
|
catalog2,
|
|
4
4
|
exports_tool2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/plugin-4xvmh7wp.js";
|
|
6
|
+
import"../chunks/plugin-91rj84md.js";
|
|
7
|
+
import"../chunks/plugin-5fjb7ams.js";
|
|
8
8
|
export {
|
|
9
9
|
exports_tool2 as CodeModeTool,
|
|
10
10
|
catalog2 as catalog,
|