@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./model-j9qw6n70.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service5
|
|
6
|
+
} from "./model-eqh43b5v.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin11
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin11 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service48;
|
|
26
|
+
const policy = yield* Service5;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin28 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin11, exports_location_watcher2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer7,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer7 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer7, exports_unavailable };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-r07gp9b9.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-vd3b3yk9.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-pa0vwm8c.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service76,
|
|
20
|
+
node79,
|
|
21
|
+
Event15
|
|
22
|
+
} from "./model-0canpjbz.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
|
+
Info: () => Info20,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service75,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node78,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event14 } from "@opencode/schema/model";
|
|
53
|
+
var ID11 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,12 +67,12 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
|
-
var
|
|
70
|
+
var Info20 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service75 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
75
|
-
const providers = yield*
|
|
74
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
75
|
+
const providers = yield* Service76;
|
|
76
76
|
const bus = yield* Service85;
|
|
77
77
|
const location = yield* Service81;
|
|
78
78
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
120
120
|
const models = writable(providerID);
|
|
121
121
|
if (!models)
|
|
122
122
|
return;
|
|
123
|
-
const model = draft(providerID, modelID) ??
|
|
123
|
+
const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
|
|
124
124
|
update(model);
|
|
125
125
|
model.id = modelID;
|
|
126
126
|
model.providerID = providerID;
|
|
@@ -189,7 +189,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
189
189
|
];
|
|
190
190
|
}));
|
|
191
191
|
if (disableFree)
|
|
192
|
-
for (const providerID of [
|
|
192
|
+
for (const providerID of [ID12.opencode, ID12.make("opencode-go")])
|
|
193
193
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
194
194
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
195
195
|
models.delete(id);
|
|
@@ -216,8 +216,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
216
216
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
217
217
|
});
|
|
218
218
|
});
|
|
219
|
-
yield* bus.subscribe(
|
|
220
|
-
return
|
|
219
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
+
return Service75.of({
|
|
221
221
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
222
222
|
reload,
|
|
223
223
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
236
236
|
})
|
|
237
237
|
});
|
|
238
238
|
}));
|
|
239
|
-
var
|
|
239
|
+
var node78 = makeLocationNode({ service: Service75, layer, deps: [node79, node89, node85] });
|
|
240
240
|
var PREFERRED_FREE = [
|
|
241
241
|
"big-pickle",
|
|
242
242
|
"deepseek-v4.1-flash-free",
|
|
@@ -244,7 +244,7 @@ var PREFERRED_FREE = [
|
|
|
244
244
|
"muse-spark-1.3-contributor-free"
|
|
245
245
|
];
|
|
246
246
|
function preferFree(models) {
|
|
247
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
247
|
+
const freeOnly = models.every((model) => model.providerID === ID12.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
248
248
|
if (!freeOnly)
|
|
249
249
|
return models;
|
|
250
250
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -263,9 +263,9 @@ function compatibility2(input) {
|
|
|
263
263
|
function parse5(input) {
|
|
264
264
|
const index = input.indexOf("/");
|
|
265
265
|
return {
|
|
266
|
-
providerID:
|
|
267
|
-
modelID:
|
|
266
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
267
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
export {
|
|
271
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service75, node78, supportsText2, compatibility2, parse5, exports_model2, Event14 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-r07gp9b9.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node81
|
|
10
|
+
} from "./model-5newpn23.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-zba5tm1j.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-340hmagq.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event16,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID13,
|
|
41
|
+
Info: () => Info22,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service77,
|
|
49
|
+
node: () => node80
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
72
|
+
var ID13 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info22 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID13,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service78;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info22.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service77.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node80 = makeLocationNode({
|
|
633
|
+
service: Service77,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node81, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node80, exports_integration, Event16 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info8,
|
|
6
6
|
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-s2gphw67.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service48
|
|
11
|
+
} from "./model-j9qw6n70.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin43,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,19 +430,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin43 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
438
|
+
editor.add(Info8.make({
|
|
439
439
|
id: ID4.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
445
|
+
editor.add(Info8.make({
|
|
446
446
|
id: ID4.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service48;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin43, exports_skill3 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-r07gp9b9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-340hmagq.js";
|
|
9
9
|
import {
|
|
10
10
|
Service82,
|
|
11
11
|
node86
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-a1bvjvf9.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
15
|
Service81,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-pa0vwm8c.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-k1whs75x.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service57,
|
|
26
|
+
node59
|
|
27
|
+
} from "./model-d6gm4j52.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service80,
|
|
30
|
+
node84
|
|
31
|
+
} from "./model-df6r7s43.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
@@ -50,9 +50,9 @@ class Service18 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
|
50
50
|
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service85;
|
|
52
52
|
const location = yield* Service81;
|
|
53
|
-
const permission = yield*
|
|
53
|
+
const permission = yield* Service57;
|
|
54
54
|
const forms = yield* Service84;
|
|
55
|
-
const rpc = yield*
|
|
55
|
+
const rpc = yield* Service80;
|
|
56
56
|
const project = yield* Service82;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
88
88
|
var node20 = makeLocationNode({
|
|
89
89
|
service: Service18,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node89, node85,
|
|
91
|
+
deps: [node89, node85, node59, node86, node88, node84]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
94
|
export { Service18, node20, exports_location_lifecycle };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin46,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin46 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin14 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin46, exports_identity };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-cbvv1y68.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
5
|
ID5,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./model-pngkbba6.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-cbvv1y68.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-272c0xdt.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-dvj9ct8m.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service54;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-gwprnrgv.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make10 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make10();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make10, OllamaPlugin2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-cbvv1y68.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError9, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|