@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node83
|
|
5
|
+
} from "./model-czhx5hsv.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service60,
|
|
8
|
+
node62
|
|
9
|
+
} from "./model-7ye4ae45.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-d6gm4j52.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-g8vb2scg.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error2
|
|
18
|
+
} from "./model-x78b4590.js";
|
|
19
19
|
import {
|
|
20
20
|
get5
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-3nnrz6f6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service28,
|
|
24
|
+
node32
|
|
25
|
+
} from "./model-gy8yxpp1.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
make15
|
|
28
|
+
} from "./model-m37sd98t.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-gc9zf11p.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service27,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
|
-
layer: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
layer: () => layer12,
|
|
44
|
+
node: () => node31,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -77,7 +77,7 @@ var baseTranscript2 = (input) => {
|
|
|
77
77
|
return {
|
|
78
78
|
providerMetadataKey,
|
|
79
79
|
system: [
|
|
80
|
-
input.agent.system ? input.agent.system :
|
|
80
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
81
81
|
input.initial
|
|
82
82
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
83
83
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -158,11 +158,11 @@ var boundImages2 = (messages) => {
|
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const transport = yield*
|
|
163
|
+
var layer12 = Layer.effect(Service27, Effect.gen(function* () {
|
|
164
|
+
const hooks = yield* Service60;
|
|
165
|
+
const transport = yield* Service28;
|
|
166
166
|
const app = yield* Metadata2;
|
|
167
167
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
168
168
|
const session = input.session;
|
|
@@ -170,7 +170,7 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
170
170
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
171
171
|
const tools = input.tools ?? {
|
|
172
172
|
definitions: [],
|
|
173
|
-
execute: () => new
|
|
173
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
174
174
|
};
|
|
175
175
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
176
176
|
const shaped = yield* shape({
|
|
@@ -264,17 +264,17 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service27.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
276
|
-
layer:
|
|
277
|
-
deps: [
|
|
274
|
+
var node31 = makeLocationNode({
|
|
275
|
+
service: Service27,
|
|
276
|
+
layer: layer12,
|
|
277
|
+
deps: [node62, node32, node83]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service27, layer12, node31, exports_model_request };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-r07gp9b9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event17,
|
|
7
|
+
Service78,
|
|
8
|
+
node81
|
|
9
|
+
} from "./model-5newpn23.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service49,
|
|
12
|
+
node51
|
|
13
|
+
} from "./model-4k6phjpp.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service81,
|
|
19
19
|
node85
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-pa0vwm8c.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-7w2ypzdf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-nyzphh1c.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-qgeehj15.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-1x2knyw4.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service62,
|
|
37
|
+
Event11,
|
|
38
|
+
node64
|
|
39
|
+
} from "./model-jj73fkkr.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./model-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options5,
|
|
49
|
+
Service: () => Service48,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured5,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer19,
|
|
54
|
+
node: () => node50,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options5 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -76,7 +76,7 @@ var Options6 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service48 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
94
94
|
setEntries: (next) => Ref.set(entries, next),
|
|
95
95
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
96
96
|
});
|
|
97
|
-
return Context.empty().pipe(Context.add(
|
|
97
|
+
return Context.empty().pipe(Context.add(Service48, service), Context.add(Test2, service));
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
101
|
const location = yield* Service81;
|
|
102
|
-
const watcher = yield*
|
|
102
|
+
const watcher = yield* Service49;
|
|
103
103
|
const bus = yield* Service85;
|
|
104
|
-
const credentials = yield*
|
|
104
|
+
const credentials = yield* Service78;
|
|
105
105
|
const globalService = yield* Global.Service;
|
|
106
|
-
const wellknown = yield*
|
|
106
|
+
const wellknown = yield* Service62;
|
|
107
107
|
const processes = yield* AppProcess.Service;
|
|
108
108
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
109
109
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -186,7 +186,7 @@ var layer25 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
188
188
|
return [
|
|
189
|
-
...yield* Effect.forEach(
|
|
189
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
190
190
|
new Directory({ type: "directory", path: directory })
|
|
191
191
|
];
|
|
192
192
|
});
|
|
@@ -254,8 +254,8 @@ var layer25 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
254
254
|
}, (effect) => reloadLock.withPermit(effect));
|
|
255
255
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
256
256
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
257
|
-
yield* bus.subscribe(
|
|
258
|
-
yield* bus.subscribe(
|
|
257
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
258
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
259
259
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
260
260
|
if (!wellknown.snapshot().length)
|
|
261
261
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var layer25 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
268
268
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
269
269
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
270
270
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
271
|
-
const candidates =
|
|
271
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
272
272
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
273
273
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
274
274
|
`;
|
|
@@ -283,7 +283,7 @@ var layer25 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
283
283
|
`);
|
|
284
284
|
yield* requestReload;
|
|
285
285
|
}, (effect) => updateLock.withPermit(effect));
|
|
286
|
-
return
|
|
286
|
+
return Service48.of({
|
|
287
287
|
entries: Effect.fnUntraced(function* () {
|
|
288
288
|
return configs;
|
|
289
289
|
}),
|
|
@@ -295,22 +295,22 @@ var layer25 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
295
295
|
update
|
|
296
296
|
});
|
|
297
297
|
}));
|
|
298
|
-
function
|
|
298
|
+
function configured5(options) {
|
|
299
299
|
return makeLocationNode({
|
|
300
|
-
service:
|
|
301
|
-
layer:
|
|
300
|
+
service: Service48,
|
|
301
|
+
layer: layer19(options),
|
|
302
302
|
deps: [
|
|
303
|
-
|
|
303
|
+
node51,
|
|
304
304
|
node89,
|
|
305
305
|
FSUtil.node,
|
|
306
306
|
Global.node,
|
|
307
307
|
node85,
|
|
308
|
-
|
|
309
|
-
|
|
308
|
+
node81,
|
|
309
|
+
node64,
|
|
310
310
|
AppProcess.node
|
|
311
311
|
]
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var node50 = configured5();
|
|
315
315
|
|
|
316
|
-
export { latest2,
|
|
316
|
+
export { latest2, Options5, Service48, Test2, testLayer2, layer19, configured5, node50, exports_config };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make19,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make19(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make19, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
Service56,
|
|
3
3
|
node58,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-k1whs75x.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service45,
|
|
8
|
+
node47
|
|
9
|
+
} from "./model-9nkjg9qd.js";
|
|
10
10
|
import {
|
|
11
11
|
Service18
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-15v1gk62.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-wvqgfgh4.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
@@ -54,7 +54,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node47.replace(Layer.succeed(Service45, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-zba5tm1j.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-r07gp9b9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./model-5newpn23.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-0q0he6s7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service76
|
|
20
|
+
} from "./model-0canpjbz.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID11
|
|
23
|
+
} from "./model-0n48jksk.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-mkrzd24w.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-czhx5hsv.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID15
|
|
33
|
+
} from "./model-78q1pp3f.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID13.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
167
|
+
const providers = yield* Service76;
|
|
168
168
|
const bus = yield* Service85;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
@@ -181,7 +181,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID12.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
186
|
try: () => load2(url, {
|
|
187
187
|
...provider?.headers,
|
|
@@ -203,7 +203,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID12.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID12.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID12.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID12.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-qq9tt1td.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./model-9nkjg9qd.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-grzehpz7.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-99h9c51m.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-j2gfe9ae.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service25
|
|
18
|
+
} from "./model-vdakd0pn.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-n0p0277s.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service45;
|
|
36
36
|
const database = yield* Service86;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service25;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|