@opencode/core 0.0.0-dev-21586 → 0.0.0-dev-21592
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{plugin-8j46xfav.js → model-01j7rzmr.js} +68 -63
- package/dist/chunks/{plugin-w5hvyx02.js → model-072q16cb.js} +26 -26
- package/dist/chunks/{plugin-peyn19kn.js → model-0b8de6ew.js} +8 -8
- package/dist/chunks/{plugin-sen2yr23.js → model-0canpjbz.js} +27 -27
- package/dist/chunks/{plugin-zvzfb7fs.js → model-0e0jgjy9.js} +14 -14
- package/dist/chunks/{plugin-wr3re1en.js → model-0h8y3ex8.js} +4 -4
- package/dist/chunks/{plugin-ehna047s.js → model-0n48jksk.js} +29 -29
- package/dist/chunks/{plugin-3gmz16jc.js → model-0q0he6s7.js} +26 -26
- package/dist/chunks/{plugin-q76kfaah.js → model-0xg995h5.js} +15 -15
- package/dist/chunks/{plugin-bxh642fs.js → model-15v1gk62.js} +16 -16
- package/dist/chunks/{plugin-qaxt5sce.js → model-1r91ydea.js} +4 -4
- package/dist/chunks/{plugin-nkr5r85d.js → model-1w4vqh2t.js} +2 -2
- package/dist/chunks/{plugin-1x2knyw4.js → model-1x2knyw4.js} +1 -1
- package/dist/chunks/{plugin-9smwhcrf.js → model-20d9rxq1.js} +8 -8
- package/dist/chunks/{plugin-1y048hf4.js → model-21vv1a77.js} +4 -4
- package/dist/chunks/{plugin-zg933662.js → model-272c0xdt.js} +6 -6
- package/dist/chunks/{plugin-1ep2p91f.js → model-27w5k9zf.js} +2 -2
- package/dist/chunks/{plugin-41r5wqck.js → model-2eqnzn4s.js} +10 -10
- package/dist/chunks/{plugin-2z1j29yd.js → model-2z1j29yd.js} +1 -1
- package/dist/chunks/{plugin-fjj0tk6a.js → model-321ec0g4.js} +16 -16
- package/dist/chunks/{plugin-xybbt1mb.js → model-340hmagq.js} +2 -2
- package/dist/chunks/{plugin-mmwqbvsn.js → model-35s4j9cr.js} +11 -11
- package/dist/chunks/{plugin-ayjs7tqn.js → model-3cbjf1nt.js} +2 -2
- package/dist/chunks/{plugin-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-3nnrz6f6.js → model-3nnrz6f6.js} +1 -1
- package/dist/chunks/{plugin-ht2svjmz.js → model-3pj39t0e.js} +3 -3
- package/dist/chunks/{plugin-jp479h69.js → model-3vq194ty.js} +13 -13
- package/dist/chunks/{plugin-749ghc7h.js → model-4hwp5n1a.js} +6 -6
- package/dist/chunks/{plugin-zgy84aax.js → model-4k6phjpp.js} +20 -20
- package/dist/chunks/{plugin-wv27004a.js → model-4pr8e29t.js} +11 -11
- package/dist/chunks/{plugin-4z501z63.js → model-4qc2xvk6.js} +34 -34
- package/dist/chunks/{plugin-80h8b35m.js → model-4txkrg0g.js} +11 -11
- package/dist/chunks/{plugin-4v008n1t.js → model-4v008n1t.js} +1 -1
- package/dist/chunks/{plugin-7g67k8da.js → model-4v9wqr06.js} +21 -21
- package/dist/chunks/{plugin-fw04p9ky.js → model-4w20wkzz.js} +14 -14
- package/dist/chunks/{plugin-4xvmh7wp.js → model-4xvmh7wp.js} +3 -3
- package/dist/chunks/{plugin-daqfgk3c.js → model-51481qqa.js} +14 -14
- package/dist/chunks/{plugin-7g38p78c.js → model-54bbrvq7.js} +11 -11
- package/dist/chunks/{plugin-cw0ar5ez.js → model-5bj5kag9.js} +20 -20
- package/dist/chunks/{plugin-0mn1e965.js → model-5cm23gk5.js} +13 -13
- package/dist/chunks/{plugin-jq9dhj6x.js → model-5fsc8n82.js} +24 -24
- package/dist/chunks/{plugin-x7esjbfy.js → model-5g6946ns.js} +21 -21
- package/dist/chunks/{plugin-g83p8h2e.js → model-5jp10723.js} +45 -45
- package/dist/chunks/{plugin-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{plugin-ch9wmxsn.js → model-5newpn23.js} +28 -28
- package/dist/chunks/{plugin-e3qxr5gk.js → model-5qd3pb7m.js} +2 -2
- package/dist/chunks/{plugin-8jf5eje7.js → model-5z2mzmdm.js} +7 -7
- package/dist/chunks/{plugin-4arybamx.js → model-5zfr5p9e.js} +26 -26
- package/dist/chunks/{plugin-p7vhpwh8.js → model-5zrxpy3q.js} +5 -5
- package/dist/chunks/{plugin-6fesftb4.js → model-63jssr0d.js} +13 -13
- package/dist/chunks/{plugin-nrk5vjbf.js → model-66r9f6z1.js} +5 -5
- package/dist/chunks/{plugin-m9dfhmzw.js → model-67zb0nc8.js} +13 -13
- package/dist/chunks/{plugin-6esdw8yj.js → model-6esdw8yj.js} +1 -1
- package/dist/chunks/model-6f6jf5mb.js +26 -0
- package/dist/chunks/{plugin-px1hc5my.js → model-6f9z7j1v.js} +17 -17
- package/dist/chunks/{plugin-mhkpqspy.js → model-6hfnb0rs.js} +4 -4
- package/dist/chunks/{plugin-p9hbvaar.js → model-6jpgtjve.js} +46 -46
- package/dist/chunks/{plugin-ky4dyj93.js → model-6nb4ea3p.js} +16 -16
- package/dist/chunks/{plugin-6pjqjmy2.js → model-6pjqjmy2.js} +1 -1
- package/dist/chunks/{plugin-fympbc4e.js → model-6r1yb0s4.js} +12 -12
- package/dist/chunks/{plugin-8f5h2b15.js → model-6vm2p5a1.js} +20 -20
- package/dist/chunks/{plugin-2dzh91n1.js → model-72g5xjtf.js} +6 -6
- package/dist/chunks/{plugin-m4a2gv8g.js → model-741bc9hj.js} +43 -43
- package/dist/chunks/{plugin-10zrcpp8.js → model-784fke7s.js} +81 -81
- package/dist/chunks/{plugin-5k63q3tv.js → model-78q1pp3f.js} +22 -22
- package/dist/chunks/{plugin-s6ak25wa.js → model-7bjqyjrs.js} +34 -34
- package/dist/chunks/{plugin-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-0p88zpcm.js → model-7bw1g6gn.js} +4 -4
- package/dist/chunks/{plugin-7w2ypzdf.js → model-7w2ypzdf.js} +1 -1
- package/dist/chunks/{plugin-7akzmw6y.js → model-7ye4ae45.js} +8 -8
- package/dist/chunks/{plugin-9k575ryj.js → model-8633aewc.js} +2 -2
- package/dist/chunks/{plugin-q5yezhhf.js → model-891v6h49.js} +4 -4
- package/dist/chunks/{plugin-cqt766kx.js → model-8jxvmzrw.js} +21 -21
- package/dist/chunks/{plugin-qjgzc4b4.js → model-8jztxfpf.js} +4 -4
- package/dist/chunks/{plugin-c8666r4c.js → model-8sxdqgb0.js} +6 -6
- package/dist/chunks/{plugin-8wtp7s3z.js → model-8wtp7s3z.js} +1 -1
- package/dist/chunks/{plugin-5bq6wz19.js → model-8xsxb202.js} +21 -21
- package/dist/chunks/{plugin-jn5ay4zm.js → model-8zzv4zj8.js} +50 -50
- package/dist/chunks/{plugin-91rj84md.js → model-91rj84md.js} +1 -1
- package/dist/chunks/{plugin-n5tfqgs3.js → model-92m6938h.js} +17 -17
- package/dist/chunks/{plugin-fjn8c95x.js → model-9437wt4d.js} +8 -8
- package/dist/chunks/{plugin-n9p72mjb.js → model-953xbrr3.js} +5 -5
- package/dist/chunks/{plugin-faxyqc0y.js → model-99frgwf9.js} +19 -19
- package/dist/chunks/{plugin-wfxxszdh.js → model-99h9c51m.js} +10 -10
- package/dist/chunks/{plugin-pp0fatjv.js → model-9g5n6tdw.js} +12 -12
- package/dist/chunks/{plugin-7tpyp9vw.js → model-9kg5w032.js} +8 -8
- package/dist/chunks/{plugin-sbegqkxp.js → model-9nkjg9qd.js} +6 -6
- package/dist/chunks/{plugin-56p1jhd3.js → model-9nw8ck4g.js} +4 -4
- package/dist/chunks/{plugin-s0wtbthz.js → model-9zpxcqdf.js} +17 -17
- package/dist/chunks/{plugin-dmj8dyf0.js → model-a1bvjvf9.js} +8 -8
- package/dist/chunks/{plugin-fjd9pa27.js → model-a49bexj4.js} +30 -30
- package/dist/chunks/{plugin-ebhys1ps.js → model-a6strf84.js} +24 -24
- package/dist/chunks/{plugin-jgeh1xfg.js → model-adpvjdsc.js} +22 -22
- package/dist/chunks/{plugin-034tev2y.js → model-aj7mw0zk.js} +2 -2
- package/dist/chunks/{plugin-7tz53k10.js → model-anx7ry72.js} +4 -4
- package/dist/chunks/{plugin-b0mv4wxm.js → model-b0mv4wxm.js} +2 -2
- package/dist/chunks/{plugin-e67nmve2.js → model-b5q9zetx.js} +43 -43
- package/dist/chunks/{plugin-h1fax6kt.js → model-b67zw2j5.js} +8 -8
- package/dist/chunks/{plugin-b6vsg801.js → model-b6vsg801.js} +2 -2
- package/dist/chunks/{plugin-4neywqsp.js → model-bhzsakrn.js} +175 -78
- package/dist/chunks/{plugin-6pss4g6t.js → model-bkswmhj3.js} +43 -43
- package/dist/chunks/{plugin-j0tn0vhk.js → model-bn4a103g.js} +16 -16
- package/dist/chunks/{plugin-97g22kyc.js → model-bq891ma8.js} +24 -24
- package/dist/chunks/{plugin-bstexjd6.js → model-bstexjd6.js} +1 -1
- package/dist/chunks/{plugin-8f4bgxgj.js → model-bzr0y705.js} +13 -13
- package/dist/chunks/{plugin-rdbyms1g.js → model-c1hv1ece.js} +16 -16
- package/dist/chunks/{plugin-33md7rg7.js → model-c3zdnxfx.js} +33 -33
- package/dist/chunks/{plugin-8ezscwmn.js → model-c6sr2qh2.js} +11 -11
- package/dist/chunks/{plugin-mtkfycnh.js → model-c9t2ty9q.js} +4 -4
- package/dist/chunks/{plugin-mtpeagzc.js → model-cbvv1y68.js} +3 -3
- package/dist/chunks/{plugin-gy8qkchn.js → model-chrqa3e7.js} +5 -5
- package/dist/chunks/{plugin-kn2ysf14.js → model-ct02k7de.js} +5 -5
- package/dist/chunks/{plugin-h70v2djc.js → model-cw8gdmwg.js} +30 -30
- package/dist/chunks/{plugin-srveqww6.js → model-czhx5hsv.js} +11 -11
- package/dist/chunks/{plugin-vhz2gm5v.js → model-d1rt1382.js} +5 -5
- package/dist/chunks/{plugin-729419vw.js → model-d2r51erv.js} +11 -11
- package/dist/chunks/{plugin-d4v9tmah.js → model-d4v9tmah.js} +2 -2
- package/dist/chunks/{plugin-366nwj0e.js → model-d6gm4j52.js} +44 -44
- package/dist/chunks/{plugin-f9y4vw62.js → model-ddq31bgq.js} +15 -15
- package/dist/chunks/{plugin-zw6nt08m.js → model-df6r7s43.js} +11 -11
- package/dist/chunks/{plugin-r6wgv8c9.js → model-dkq45v8d.js} +2 -2
- package/dist/chunks/{plugin-dqgvvwe0.js → model-dqgvvwe0.js} +2 -2
- package/dist/chunks/{plugin-998yhzzq.js → model-dvj9ct8m.js} +3 -3
- package/dist/chunks/{plugin-e834z07m.js → model-e834z07m.js} +1 -1
- package/dist/chunks/{plugin-2r4n81ay.js → model-e88dgn8f.js} +4 -4
- package/dist/chunks/{plugin-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-qvw98tg0.js → model-egmw08v6.js} +5 -5
- package/dist/chunks/{plugin-0421tmwc.js → model-eqh43b5v.js} +9 -9
- package/dist/chunks/{plugin-48hcx8xq.js → model-f1nzbf19.js} +10 -10
- package/dist/chunks/{plugin-397w7c8f.js → model-fa339sjc.js} +31 -31
- package/dist/chunks/{plugin-fffv3p7h.js → model-fffv3p7h.js} +1 -1
- package/dist/chunks/{plugin-hvca08ne.js → model-fhzt8j0q.js} +19 -19
- package/dist/chunks/{plugin-td8eqxqy.js → model-fsq1pbsz.js} +29 -29
- package/dist/chunks/{plugin-49cj2a44.js → model-fzj23b6d.js} +13 -13
- package/dist/chunks/{plugin-8dv6gnq3.js → model-g154atg6.js} +15 -15
- package/dist/chunks/{plugin-w22yp63b.js → model-g1ay4zd8.js} +9 -9
- package/dist/chunks/{plugin-5knrhjv3.js → model-g4y1xy0d.js} +22 -22
- package/dist/chunks/{plugin-dwad2f7j.js → model-g56hrhg3.js} +9 -9
- package/dist/chunks/{plugin-g5h9c0rr.js → model-g5h9c0rr.js} +2 -2
- package/dist/chunks/{plugin-pjr10xyc.js → model-g88zdbhx.js} +12 -12
- package/dist/chunks/{plugin-ywh0g57p.js → model-g8bt1dca.js} +13 -11
- package/dist/chunks/{plugin-5j441hsm.js → model-g8vb2scg.js} +5 -5
- package/dist/chunks/{plugin-t9hsnqxm.js → model-gc9zf11p.js} +2 -2
- package/dist/chunks/{plugin-301ejq9m.js → model-ggyjb5de.js} +329 -329
- package/dist/chunks/{plugin-s9vx4pc1.js → model-gn6ba7xn.js} +10 -10
- package/dist/chunks/{plugin-yyhgxykd.js → model-gprpk8mk.js} +4 -4
- package/dist/chunks/model-grzehpz7.js +18 -0
- package/dist/chunks/{plugin-1a140ev3.js → model-gtndzxs8.js} +6 -6
- package/dist/chunks/{plugin-w2yrf1y0.js → model-gwprnrgv.js} +12 -12
- package/dist/chunks/{plugin-xd37m1km.js → model-gxtyjb3d.js} +20 -20
- package/dist/chunks/{plugin-cz1d3gs1.js → model-gy8yxpp1.js} +11 -11
- package/dist/chunks/{plugin-4wgfdmqz.js → model-hhwb3rx0.js} +20 -20
- package/dist/chunks/{plugin-bx7d5a18.js → model-hnbfgrzz.js} +5 -5
- package/dist/chunks/{plugin-zf7tttqd.js → model-hwbsae6b.js} +30 -30
- package/dist/chunks/{plugin-j113cymg.js → model-j113cymg.js} +1 -1
- package/dist/chunks/{plugin-s5sagwvf.js → model-j2gfe9ae.js} +32 -32
- package/dist/chunks/{plugin-h9rpd4f8.js → model-j9qw6n70.js} +45 -45
- package/dist/chunks/{plugin-e5dqjz6v.js → model-jchrqzf6.js} +4 -4
- package/dist/chunks/{plugin-ye4vqm0y.js → model-jfb254mg.js} +7 -7
- package/dist/chunks/{plugin-mdc67x4g.js → model-jfgmzhvh.js} +32 -32
- package/dist/chunks/{plugin-ssxxjq26.js → model-jg5w3cjw.js} +16 -16
- package/dist/chunks/{plugin-rrj48g6y.js → model-jgp3dhd9.js} +45 -45
- package/dist/chunks/{plugin-24yf1smp.js → model-jj73fkkr.js} +20 -20
- package/dist/chunks/{plugin-ddgdpn03.js → model-jj9caqwr.js} +11 -11
- package/dist/chunks/{plugin-pc1v25hk.js → model-jx89vj1k.js} +3 -3
- package/dist/chunks/{plugin-9erwh778.js → model-k1whs75x.js} +2 -2
- package/dist/chunks/{plugin-k814nvkf.js → model-k814nvkf.js} +1 -1
- package/dist/chunks/{plugin-xq2ca4h8.js → model-kgex5j78.js} +11 -11
- package/dist/chunks/{plugin-wd2jkcgv.js → model-kmfx2698.js} +17 -17
- package/dist/chunks/{plugin-791mgs72.js → model-kw3tz860.js} +5 -5
- package/dist/chunks/{plugin-m1714858.js → model-m1714858.js} +1 -1
- package/dist/chunks/{plugin-72pceqnf.js → model-m1wmrjqx.js} +15 -15
- package/dist/chunks/{plugin-vmfhgzt5.js → model-m37sd98t.js} +4 -4
- package/dist/chunks/{plugin-3p1jwqy9.js → model-m7jmd0hd.js} +28 -28
- package/dist/chunks/{plugin-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{plugin-0syrr5yv.js → model-mbqkgzdb.js} +3 -3
- package/dist/chunks/{plugin-me5bcav6.js → model-me5bcav6.js} +1 -1
- package/dist/chunks/{plugin-eeys6v1h.js → model-mkrzd24w.js} +11 -11
- package/dist/chunks/{plugin-r3tr33rt.js → model-mq0mqgjr.js} +11 -11
- package/dist/chunks/{plugin-ft9drwcd.js → model-mr3cdd38.js} +32 -32
- package/dist/chunks/{plugin-namw6z13.js → model-mrmbr746.js} +4 -4
- package/dist/chunks/{plugin-m32k1ycp.js → model-mvthmwjs.js} +5 -5
- package/dist/chunks/{plugin-n0p0277s.js → model-n0p0277s.js} +1 -1
- package/dist/chunks/{plugin-w918znfg.js → model-n4qksct9.js} +7 -7
- package/dist/chunks/{plugin-6xqtcmxs.js → model-n6v2b7cw.js} +5 -5
- package/dist/chunks/{plugin-na2rxvkn.js → model-n8hmsfpk.js} +26 -26
- package/dist/chunks/{plugin-417yymah.js → model-na88mdda.js} +15 -15
- package/dist/chunks/{plugin-nah043kf.js → model-nah043kf.js} +1 -1
- package/dist/chunks/{plugin-8v7xte0w.js → model-nar1vcx8.js} +8 -8
- package/dist/chunks/{plugin-6zjmc36r.js → model-nfaaxv4r.js} +21 -21
- package/dist/chunks/{plugin-kxdyf56d.js → model-nv65jaj5.js} +1 -1
- package/dist/chunks/{plugin-5qzb0jnx.js → model-nxv9x1zm.js} +7 -7
- package/dist/chunks/{plugin-pnmjq29r.js → model-nyzphh1c.js} +23 -18
- package/dist/chunks/{plugin-p015t6z3.js → model-p015t6z3.js} +2 -2
- package/dist/chunks/{plugin-gj9haxac.js → model-p4h2267x.js} +15 -15
- package/dist/chunks/{plugin-qczn15be.js → model-pa0vwm8c.js} +2 -2
- package/dist/chunks/{plugin-0gqtjgmn.js → model-pkax9v1w.js} +5 -5
- package/dist/chunks/{plugin-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-xsvfss3y.js → model-pn50smkw.js} +23 -23
- package/dist/chunks/{plugin-nshz4qjm.js → model-pngkbba6.js} +22 -22
- package/dist/chunks/{plugin-7ff5r0gq.js → model-prv1cyb1.js} +18 -18
- package/dist/chunks/{plugin-b38bfd29.js → model-pz0r8h4k.js} +29 -29
- package/dist/chunks/{plugin-zkzkvvbz.js → model-q0qwz8mp.js} +30 -30
- package/dist/chunks/{plugin-bm4gstpq.js → model-q1nnka74.js} +8 -8
- package/dist/chunks/{plugin-6a5mpwr5.js → model-q39pt7dd.js} +15 -15
- package/dist/chunks/{plugin-yaq81nk5.js → model-q9g9j9gh.js} +21 -21
- package/dist/chunks/{plugin-yxwtmgfv.js → model-qgeehj15.js} +8 -8
- package/dist/chunks/{plugin-e7p8ph8y.js → model-qq9tt1td.js} +3 -3
- package/dist/chunks/{plugin-6vyssmgt.js → model-qxerc9ee.js} +4 -4
- package/dist/chunks/{plugin-805retjn.js → model-r07gp9b9.js} +4 -4
- package/dist/chunks/{plugin-r0yr0wbs.js → model-r0yr0wbs.js} +1 -1
- package/dist/chunks/{plugin-y1d3npgy.js → model-r6h7fdbc.js} +21 -21
- package/dist/chunks/{plugin-j1wfa86h.js → model-raktd10s.js} +12 -12
- package/dist/chunks/{plugin-3j47848t.js → model-rb6ke7kq.js} +29 -29
- package/dist/chunks/{plugin-rb9dy4dg.js → model-rb9dy4dg.js} +1 -1
- package/dist/chunks/{plugin-smfcvx02.js → model-rjnacbrz.js} +9 -9
- package/dist/chunks/{plugin-rt5dr6hb.js → model-rt5dr6hb.js} +1 -1
- package/dist/chunks/{plugin-2k8w2xgz.js → model-s2gphw67.js} +18 -18
- package/dist/chunks/{plugin-vhjzha3a.js → model-s64sqv58.js} +10 -10
- package/dist/chunks/{plugin-e6b2spd3.js → model-se9dn7rd.js} +9 -9
- package/dist/chunks/{plugin-sqjzf8x2.js → model-sqjzf8x2.js} +1 -1
- package/dist/chunks/{plugin-38tv2zyj.js → model-srsshwrf.js} +4 -4
- package/dist/chunks/{plugin-tdgr4kjk.js → model-sxj6qfjf.js} +24 -24
- package/dist/chunks/{plugin-vpfqjjm8.js → model-sysqhah2.js} +13 -13
- package/dist/chunks/{plugin-vgye2rsv.js → model-szqbbbee.js} +38 -38
- package/dist/chunks/{plugin-4jbyfzea.js → model-sztxty7m.js} +18 -18
- package/dist/chunks/{plugin-kaz27p2z.js → model-t25nhsq0.js} +5 -5
- package/dist/chunks/{plugin-pkj8p13f.js → model-t656wjzj.js} +13 -13
- package/dist/chunks/{plugin-tczq8hjw.js → model-tczq8hjw.js} +1 -1
- package/dist/chunks/{plugin-er4aqx01.js → model-td85jp64.js} +176 -176
- package/dist/chunks/{plugin-zezfrnf5.js → model-tee140je.js} +19 -19
- package/dist/chunks/{plugin-8xrx88p0.js → model-tjfc794x.js} +14 -14
- package/dist/chunks/{plugin-gfhv8a7w.js → model-tq4xd5v5.js} +8 -8
- package/dist/chunks/{plugin-448xyrnd.js → model-ts1rzmt6.js} +5 -5
- package/dist/chunks/{plugin-zvwzcwk0.js → model-ttdgtk4q.js} +6 -6
- package/dist/chunks/{plugin-wc1y9j0c.js → model-tvs942hr.js} +23 -23
- package/dist/chunks/{plugin-tw8zr1ps.js → model-tw8zr1ps.js} +1 -1
- package/dist/chunks/{plugin-twv2r8f4.js → model-twv2r8f4.js} +2 -2
- package/dist/chunks/{plugin-vd3b3yk9.js → model-vd3b3yk9.js} +1 -1
- package/dist/chunks/{plugin-7mjdf1g0.js → model-vd89anp8.js} +11 -11
- package/dist/chunks/{plugin-qaysd7a4.js → model-vdakd0pn.js} +81 -81
- package/dist/chunks/{plugin-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-c3rdb4mt.js → model-vf0zxygw.js} +24 -24
- package/dist/chunks/{plugin-tn6eqn63.js → model-vfpfqbnz.js} +32 -32
- package/dist/chunks/{plugin-pmyfzvdp.js → model-vkkc8t8a.js} +6 -6
- package/dist/chunks/{plugin-h1rfd25p.js → model-vmwcq5xv.js} +13 -13
- package/dist/chunks/{plugin-6gf5ywq5.js → model-vrmm9ccr.js} +11 -11
- package/dist/chunks/{plugin-4ay3aqda.js → model-vssrn3v8.js} +6 -6
- package/dist/chunks/{plugin-3zz5way2.js → model-vvf0vm2n.js} +17 -17
- package/dist/chunks/{plugin-40za9wsf.js → model-w2eysc6j.js} +9 -9
- package/dist/chunks/{plugin-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-r90wrezg.js → model-w47q07ee.js} +5 -5
- package/dist/chunks/{plugin-tzwkjnke.js → model-w8a1jqtz.js} +1 -1
- package/dist/chunks/{plugin-76cb1hcw.js → model-w8qtt4th.js} +4 -4
- package/dist/chunks/{plugin-wakvkjy4.js → model-wakvkjy4.js} +1 -1
- package/dist/chunks/{plugin-ge8ykx7v.js → model-wb79839p.js} +9 -9
- package/dist/chunks/{plugin-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-mmx1mfjr.js → model-wqscedq8.js} +9 -9
- package/dist/chunks/{plugin-9xkjf5qh.js → model-wsjw5zph.js} +16 -16
- package/dist/chunks/{plugin-2azy8kv6.js → model-wtgq8nqm.js} +7 -7
- package/dist/chunks/{plugin-hjqry76z.js → model-wtnsyy90.js} +25 -25
- package/dist/chunks/{plugin-j4appf3d.js → model-wvqgfgh4.js} +147 -147
- package/dist/chunks/{plugin-y76evpd0.js → model-wzdjcsat.js} +15 -15
- package/dist/chunks/{plugin-tz25qr3g.js → model-x0n658k6.js} +41 -41
- package/dist/chunks/{plugin-9hwz6ehy.js → model-x78b4590.js} +25 -25
- package/dist/chunks/{plugin-defv51r7.js → model-xeaspr23.js} +14 -14
- package/dist/chunks/{plugin-6g9dc8hg.js → model-xet4rz3q.js} +4 -4
- package/dist/chunks/{plugin-yb20nhc3.js → model-yb20nhc3.js} +1 -1
- package/dist/chunks/{plugin-c5kjsz6q.js → model-yqveydy6.js} +4 -4
- package/dist/chunks/{plugin-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-wv160yw5.js → model-z0s5rknz.js} +24 -24
- package/dist/chunks/{plugin-z38nccrw.js → model-z38nccrw.js} +1 -1
- package/dist/chunks/{plugin-7r4kye0n.js → model-z6g09nf1.js} +3 -3
- package/dist/chunks/{plugin-s626qfae.js → model-zba5tm1j.js} +4 -4
- package/dist/chunks/{plugin-ta8zdwzh.js → model-zf6q9j4p.js} +9 -9
- package/dist/chunks/{plugin-8ybp78tx.js → model-zgmrepvs.js} +4 -4
- package/dist/chunks/{plugin-zkg84ctx.js → model-zkg84ctx.js} +1 -1
- package/dist/chunks/{plugin-kszpdg0e.js → model-zrcjrc8a.js} +17 -17
- package/dist/chunks/{plugin-da2n11mt.js → model-zvrj69sk.js} +17 -17
- package/dist/chunks/{plugin-2w5xpj9a.js → model-zw8we4s7.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +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 +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +85 -85
- 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 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +72 -72
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +86 -86
- 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 +89 -89
- 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 -153
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- 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 +138 -138
- 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 +102 -102
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- 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 +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +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 -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 +6 -6
- 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 +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- 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 +95 -95
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- 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 +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +133 -133
- 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 +124 -124
- 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 +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- 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 +115 -115
- package/dist/tool/plugin/websearch.js +112 -112
- 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/types/session/compaction.d.ts +7 -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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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/plugin-d77dj7jw.js +0 -18
- package/dist/chunks/plugin-nbm4k9b0.js +0 -26
- /package/dist/chunks/{plugin-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-5fjb7ams.js → model-5fjb7ams.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a058387c.js → model-a058387c.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -2,39 +2,39 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service81,
|
|
8
8
|
node85
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-pa0vwm8c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service65,
|
|
12
|
+
node67
|
|
13
|
+
} from "./model-g4y1xy0d.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event13,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError10,
|
|
34
|
+
Service: () => Service64,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node66
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
65
65
|
return `Access denied to directory: ${this.directory}`;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var Content3 = Schema.Struct({
|
|
69
69
|
uri: Schema.String,
|
|
70
70
|
name: Schema.String.pipe(Schema.optional),
|
|
71
71
|
content: Schema.String,
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event13 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service64 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service64, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
101
|
const location = yield* Service81;
|
|
102
|
-
const search = yield*
|
|
102
|
+
const search = yield* Service65;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError10({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError10({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError10({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service64.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError10({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError10({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node66 = makeLocationNode({
|
|
162
|
+
service: Service64,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node, node85,
|
|
164
|
+
deps: [FSUtil.node, node85, node67]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError10, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event13, Service64, node66, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-r07gp9b9.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-zba5tm1j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event17
|
|
9
|
+
} from "./model-5newpn23.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID13
|
|
12
|
+
} from "./model-0q0he6s7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID12,
|
|
15
|
+
Service76
|
|
16
|
+
} from "./model-0canpjbz.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-raktd10s.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service76;
|
|
30
30
|
const bus = yield* Service85;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-a1bvjvf9.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81,
|
|
9
9
|
node85
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-pa0vwm8c.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service57,
|
|
13
|
+
node59
|
|
14
|
+
} from "./model-d6gm4j52.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service15,
|
|
26
|
+
node: () => node17,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service15 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
54
|
const location = yield* Service81;
|
|
55
|
-
const permission = yield*
|
|
55
|
+
const permission = yield* Service57;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service15.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [FSUtil.node, node85, node59] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service15, resolvePath2, node17, exports_file_access };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-8jztxfpf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service10,
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service10 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service10.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service10, node12, exports_update };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-pa0vwm8c.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
Service66,
|
|
10
10
|
node68
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-sysqhah2.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./model-w8qtt4th.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service65,
|
|
25
|
+
configured: () => configured9,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node67
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
import path from "path";
|
|
@@ -32,7 +32,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
32
32
|
import { Fff } from "#fff";
|
|
33
33
|
import fuzzysort from "fuzzysort";
|
|
34
34
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
35
|
-
class
|
|
35
|
+
class Service65 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
36
36
|
}
|
|
37
37
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
38
38
|
function emptyIndex() {
|
|
@@ -51,9 +51,9 @@ function search(index, input) {
|
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
var ripgrepLayer = Layer.effect(
|
|
54
|
+
var ripgrepLayer = Layer.effect(Service65, Effect.gen(function* () {
|
|
55
55
|
const location = yield* Service81;
|
|
56
|
-
const ripgrep = yield*
|
|
56
|
+
const ripgrep = yield* Service66;
|
|
57
57
|
const scope = yield* Scope.Scope;
|
|
58
58
|
const clock = yield* Clock.Clock;
|
|
59
59
|
const home = isHome2(location.directory);
|
|
@@ -70,7 +70,7 @@ var ripgrepLayer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
70
70
|
cwd: location.directory,
|
|
71
71
|
pattern: "*",
|
|
72
72
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
73
|
-
exclude: home ? [...
|
|
73
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
74
74
|
onEntry: (entry) => Effect.sync(() => {
|
|
75
75
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
76
76
|
const parts = entry.path.split("/");
|
|
@@ -98,14 +98,14 @@ var ripgrepLayer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
98
98
|
Deferred.doneUnsafe(attempt, exit);
|
|
99
99
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
100
100
|
});
|
|
101
|
-
return
|
|
101
|
+
return Service65.of({
|
|
102
102
|
find: (input) => Effect.gen(function* () {
|
|
103
103
|
yield* refresh;
|
|
104
104
|
return search(index, input);
|
|
105
105
|
})
|
|
106
106
|
});
|
|
107
107
|
}));
|
|
108
|
-
var fffLayer2 = Layer.effect(
|
|
108
|
+
var fffLayer2 = Layer.effect(Service65, Effect.gen(function* () {
|
|
109
109
|
const location = yield* Service81;
|
|
110
110
|
const result = yield* Effect.try({
|
|
111
111
|
try: () => Fff.create({
|
|
@@ -119,12 +119,12 @@ var fffLayer2 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
119
119
|
if (!result?.ok) {
|
|
120
120
|
if (result)
|
|
121
121
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
122
|
-
return
|
|
122
|
+
return Service65.of({
|
|
123
123
|
find: () => Effect.succeed([])
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
127
|
-
return
|
|
127
|
+
return Service65.of({
|
|
128
128
|
find: (input) => Effect.sync(() => {
|
|
129
129
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
130
130
|
const items = (() => {
|
|
@@ -175,9 +175,9 @@ var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
175
175
|
return ripgrepLayer;
|
|
176
176
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
177
177
|
}));
|
|
178
|
-
function
|
|
179
|
-
return makeLocationNode({ service:
|
|
178
|
+
function configured9(options) {
|
|
179
|
+
return makeLocationNode({ service: Service65, layer: layer(options), deps: [node85, node68] });
|
|
180
180
|
}
|
|
181
|
-
var
|
|
181
|
+
var node67 = configured9();
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Service65, fffLayer2, configured9, node67, exports_search };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./model-9nkjg9qd.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-grzehpz7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service37
|
|
9
|
+
} from "./model-b5q9zetx.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service45;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service37), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-r07gp9b9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-pa0vwm8c.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service36
|
|
10
|
+
} from "./model-x0n658k6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin47
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin47 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service81;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service36;
|
|
201
201
|
const bus = yield* Service85;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin47, exports_command2 };
|
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
latest2,
|
|
3
|
+
Service48
|
|
4
|
+
} from "./model-j9qw6n70.js";
|
|
4
5
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
6
|
+
Service8
|
|
7
|
+
} from "./model-bhzsakrn.js";
|
|
7
8
|
import {
|
|
8
9
|
observe2
|
|
9
|
-
} from "./
|
|
10
|
+
} from "./model-6pjqjmy2.js";
|
|
10
11
|
import {
|
|
11
12
|
__export
|
|
12
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
13
14
|
|
|
14
15
|
// src/config/plugin/compaction.ts
|
|
15
16
|
var exports_compaction = {};
|
|
16
17
|
__export(exports_compaction, {
|
|
17
18
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin18
|
|
19
20
|
});
|
|
20
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
22
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
23
24
|
id: "opencode.config.compaction",
|
|
24
25
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
26
|
+
const config = yield* Service48;
|
|
27
|
+
const compaction = yield* Service8;
|
|
27
28
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
29
|
yield* compaction.transform((editor) => {
|
|
30
|
+
editor.configure({ precompute: latest2(loaded.entries, "experimental")?.precompute_compaction === true });
|
|
29
31
|
for (const entry of loaded.entries) {
|
|
30
32
|
if (entry.type !== "document" || !entry.info.compaction)
|
|
31
33
|
continue;
|
|
@@ -39,4 +41,4 @@ var Plugin26 = define({
|
|
|
39
41
|
})
|
|
40
42
|
});
|
|
41
43
|
|
|
42
|
-
export {
|
|
44
|
+
export { Plugin18, exports_compaction };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-340hmagq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./model-d6gm4j52.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -54,7 +54,7 @@ var Plugin51 = {
|
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
56
|
const forms = yield* Service84;
|
|
57
|
-
const permission = yield*
|
|
57
|
+
const permission = yield* Service57;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|