@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
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-r07gp9b9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-kw3tz860.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-pa0vwm8c.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-grzehpz7.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service49,
|
|
18
|
+
node51
|
|
19
|
+
} from "./model-4k6phjpp.js";
|
|
20
20
|
import {
|
|
21
21
|
node22
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-3vq194ty.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service5,
|
|
25
|
+
node7
|
|
26
|
+
} from "./model-eqh43b5v.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service81;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service49;
|
|
48
48
|
const bus = yield* Service85;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service83;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service5;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node51, FSUtil.node, node85, node87, node89, node22, node7]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./model-4k6phjpp.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-pa0vwm8c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./model-j9qw6n70.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-jchrqzf6.js";
|
|
13
13
|
import {
|
|
14
14
|
File2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service55
|
|
16
|
+
} from "./model-tvs942hr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin17
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin17 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service55;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service48;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
43
|
const location = yield* Service81;
|
|
44
|
-
const watcher = yield*
|
|
44
|
+
const watcher = yield* Service49;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -174,4 +174,4 @@ function isUrl(source) {
|
|
|
174
174
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
export {
|
|
177
|
+
export { Plugin17, exports_instruction };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service48
|
|
4
|
+
} from "./model-j9qw6n70.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-6pjqjmy2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin19
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin19 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service48;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin32 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin19, exports_websearch };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
node73
|
|
7
|
+
} from "./model-5jp10723.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-n0p0277s.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Generate: () =>
|
|
16
|
+
var exports_generate2 = {};
|
|
17
|
+
__export(exports_generate2, {
|
|
18
|
+
Generate: () => exports_generate2,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service69,
|
|
21
21
|
UnavailableError: () => UnavailableError3,
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
22
|
+
layer: () => layer23,
|
|
23
|
+
node: () => node72
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -37,11 +37,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service69 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer23 = Layer.effect(Service69, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service70;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -71,12 +71,12 @@ var layer11 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
71
71
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service69.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node72 = makeLocationNode({
|
|
77
|
+
service: Service69,
|
|
78
|
+
layer: layer23,
|
|
79
|
+
deps: [node73, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError3, Service69, layer23, node72, exports_generate2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service48
|
|
4
|
+
} from "./model-j9qw6n70.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin48,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin48 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service48;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin15 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin48, exports_warming };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-wqscedq8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info11
|
|
9
|
+
} from "./model-jj9caqwr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info13
|
|
12
|
+
} from "./model-wtgq8nqm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info10
|
|
15
|
+
} from "./model-953xbrr3.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-5zrxpy3q.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info14
|
|
21
|
+
} from "./model-n6v2b7cw.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-e88dgn8f.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info10, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -332,6 +332,11 @@ function normalizeExperimental(input, encoded, diagnostics) {
|
|
|
332
332
|
if (value !== undefined)
|
|
333
333
|
result.todo = value;
|
|
334
334
|
}
|
|
335
|
+
if (own(experimental, "precompute_compaction")) {
|
|
336
|
+
const value = decodeEncoded(ConfigExperimental.Info.fields.precompute_compaction, experimental.precompute_compaction, ["experimental", "precompute_compaction"], diagnostics);
|
|
337
|
+
if (value !== undefined)
|
|
338
|
+
result.precompute_compaction = value;
|
|
339
|
+
}
|
|
335
340
|
if (own(experimental, "subagent_depth")) {
|
|
336
341
|
const value = decodeEncoded(ConfigExperimental.Info.fields.subagent_depth, experimental.subagent_depth, ["experimental", "subagent_depth"], diagnostics);
|
|
337
342
|
if (value !== undefined)
|
|
@@ -435,7 +440,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
435
440
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
436
441
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
437
442
|
return [];
|
|
438
|
-
const provider = decodeValue(
|
|
443
|
+
const provider = decodeValue(Info14, raw, path, diagnostics);
|
|
439
444
|
if (provider === undefined)
|
|
440
445
|
return [];
|
|
441
446
|
const destination = providerID2(name);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service40,
|
|
3
|
+
node43
|
|
4
|
+
} from "./model-a6strf84.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-jchrqzf6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions5 = {};
|
|
17
17
|
__export(exports_instructions5, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service34,
|
|
20
|
+
node: () => node38
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,18 +61,18 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service34 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service40;
|
|
68
|
+
return Service34.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
75
|
+
return make19({
|
|
76
76
|
key: Key3.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node38 = makeLocationNode({ service: Service34, layer, deps: [node43] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service34, node38, exports_instructions5 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-r07gp9b9.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-0n48jksk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service17,
|
|
9
9
|
Event2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-pz0r8h4k.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service17;
|
|
42
42
|
const bus = yield* Service85;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|