@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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-czhx5hsv.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
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID12
|
|
17
|
+
} from "./model-0canpjbz.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-0n48jksk.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-yb20nhc3.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID12.make("digitalocean");
|
|
31
|
+
var integrationID = ID13.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID11.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-r07gp9b9.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service81,
|
|
12
12
|
node85
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-pa0vwm8c.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service80,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node84
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service80 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service85;
|
|
44
44
|
const location = yield* Service81;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service80.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node84 = makeLocationNode({ service: Service80, layer, deps: [node89, node85] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service80, node84, exports_rpc, define2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-aj7mw0zk.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-j113cymg.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-0canpjbz.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-0n48jksk.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-5fjb7ams.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin44,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin44 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin44, exports_tool_input_repair };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service5.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node7 = makeLocationNode({ service: Service5, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service5, node7, exports_location_watcher_policy };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z38nccrw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service16,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer9,
|
|
15
|
+
node: () => node18,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service16 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer9 = Layer.effect(Service16, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service16.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer24 = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node18 = makeGlobalNode({ service: Service16, layer: layer9, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service16, layer9, node18, statements2, decision2, exports_managed_policy };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-czhx5hsv.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
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-zba5tm1j.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-0q0he6s7.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service16
|
|
21
|
+
} from "./model-f1nzbf19.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-0canpjbz.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-0n48jksk.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-3pj39t0e.js";
|
|
34
34
|
import {
|
|
35
35
|
InvalidRequestError2,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
UnavailableError4,
|
|
37
|
+
Service72
|
|
38
|
+
} from "./model-bq891ma8.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
ID9,
|
|
41
41
|
Input15,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-pn50smkw.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import {
|
|
@@ -78,7 +78,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
78
78
|
var RemoteResponse = Schema.Struct({
|
|
79
79
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
80
80
|
websearch: Schema.Struct({
|
|
81
|
-
providerID:
|
|
81
|
+
providerID: ID9
|
|
82
82
|
}).pipe(Schema.optional),
|
|
83
83
|
mcp: Schema.Struct({
|
|
84
84
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -136,7 +136,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
136
136
|
}
|
|
137
137
|
function oauth(http) {
|
|
138
138
|
return {
|
|
139
|
-
integrationID:
|
|
139
|
+
integrationID: ID13.make("opencode"),
|
|
140
140
|
method: {
|
|
141
141
|
id: methodID,
|
|
142
142
|
type: "oauth",
|
|
@@ -204,8 +204,8 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
const bus = yield* Service85;
|
|
205
205
|
const client = yield* HttpClient.HttpClient;
|
|
206
206
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
207
|
-
const managed = yield*
|
|
208
|
-
const voice = yield*
|
|
207
|
+
const managed = yield* Service16;
|
|
208
|
+
const voice = yield* Service72;
|
|
209
209
|
const scope = yield* Scope.Scope;
|
|
210
210
|
const loading = Semaphore.makeUnsafe(1);
|
|
211
211
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -257,22 +257,22 @@ var OpencodePlugin2 = define({
|
|
|
257
257
|
}).pipe(Effect.provideService(FetchHttpClient.RequestInit, { redirect: "error" }), Effect.scoped, Effect.timeoutOrElse({
|
|
258
258
|
duration: Duration.seconds(20),
|
|
259
259
|
orElse: () => Effect.fail(new Error("OpenCode Console didn't answer in time"))
|
|
260
|
-
}), Effect.mapError((cause) => new
|
|
260
|
+
}), Effect.mapError((cause) => new UnavailableError4({
|
|
261
261
|
service: "opencode",
|
|
262
262
|
message: cause instanceof Error ? cause.message : String(cause)
|
|
263
263
|
})), Effect.flatMap((reply) => {
|
|
264
264
|
if (reply.status >= 200 && reply.status < 300)
|
|
265
265
|
return Effect.succeed(reply.text);
|
|
266
266
|
if (reply.status === 401)
|
|
267
|
-
return Effect.fail(new
|
|
267
|
+
return Effect.fail(new UnavailableError4({ service: "opencode", message: `${signedOutMessage}.` }));
|
|
268
268
|
const message = Option.getOrUndefined(Schema.decodeUnknownOption(InferenceError)(reply.text))?.error.message ?? `OpenCode Console refused the voice request (HTTP ${reply.status})`;
|
|
269
|
-
return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new
|
|
269
|
+
return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new UnavailableError4({ service: "opencode", message }));
|
|
270
270
|
}));
|
|
271
271
|
return {
|
|
272
272
|
integration: "opencode",
|
|
273
273
|
models: offer.models,
|
|
274
274
|
workspace: offer.workspace,
|
|
275
|
-
session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new
|
|
275
|
+
session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new UnavailableError4({
|
|
276
276
|
service: "opencode",
|
|
277
277
|
message: "OpenCode Console returned an invalid voice session"
|
|
278
278
|
})))), Effect.map((created) => ({
|
|
@@ -306,7 +306,7 @@ var OpencodePlugin2 = define({
|
|
|
306
306
|
providers.update(providerID, (provider) => {
|
|
307
307
|
if (source && source.provider !== provider)
|
|
308
308
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
309
|
-
provider.integrationID =
|
|
309
|
+
provider.integrationID = ID13.make("opencode");
|
|
310
310
|
if (item.canonical !== undefined)
|
|
311
311
|
provider.canonical = item.canonical;
|
|
312
312
|
if (item.name !== undefined)
|
|
@@ -380,7 +380,7 @@ var OpencodePlugin2 = define({
|
|
|
380
380
|
sourceConnection: snapshot.connection
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
const item = providers.get(
|
|
383
|
+
const item = providers.get(ID12.opencode);
|
|
384
384
|
if (!item)
|
|
385
385
|
return;
|
|
386
386
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -392,7 +392,7 @@ var OpencodePlugin2 = define({
|
|
|
392
392
|
});
|
|
393
393
|
});
|
|
394
394
|
yield* ctx.model.transform((models) => {
|
|
395
|
-
const item = models.provider.get(
|
|
395
|
+
const item = models.provider.get(ID12.opencode);
|
|
396
396
|
if (!item)
|
|
397
397
|
return;
|
|
398
398
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -481,7 +481,7 @@ var OpencodePlugin2 = define({
|
|
|
481
481
|
});
|
|
482
482
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
483
483
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
484
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
484
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
485
485
|
});
|
|
486
486
|
yield* guard(snapshot);
|
|
487
487
|
const polling = yield* FiberHandle.make();
|
|
@@ -492,7 +492,7 @@ var OpencodePlugin2 = define({
|
|
|
492
492
|
onlyIfMissing: true
|
|
493
493
|
});
|
|
494
494
|
});
|
|
495
|
-
yield* bus.subscribe(
|
|
495
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
496
496
|
yield* poll();
|
|
497
497
|
})
|
|
498
498
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-qq9tt1td.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-8jztxfpf.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-r07gp9b9.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2,
|
|
20
20
|
SessionInboxTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-dvj9ct8m.js";
|
|
22
22
|
import {
|
|
23
23
|
decodeMessageRowSync2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-99h9c51m.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info9,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service44,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -47,10 +47,10 @@ __export(exports_inbox, {
|
|
|
47
47
|
has: () => has2,
|
|
48
48
|
layer: () => layer18,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node46,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info9,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -159,9 +159,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
159
159
|
});
|
|
160
160
|
});
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service44 extends Context.Service()("@opencode/SessionInbox") {
|
|
163
163
|
}
|
|
164
|
-
var
|
|
164
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
165
165
|
const database = yield* Service86;
|
|
166
166
|
const db = database.db;
|
|
167
167
|
const bus = yield* Service85;
|
|
@@ -181,7 +181,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
181
181
|
inboxID: request.id,
|
|
182
182
|
sessionID: request.sessionID,
|
|
183
183
|
item: request.item
|
|
184
|
-
}).pipe(Effect.map((event) =>
|
|
184
|
+
}).pipe(Effect.map((event) => Info9.make({
|
|
185
185
|
id: request.id,
|
|
186
186
|
sessionID: request.sessionID,
|
|
187
187
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -235,8 +235,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
235
235
|
queue
|
|
236
236
|
};
|
|
237
237
|
});
|
|
238
|
-
var layer18 = Layer.effect(
|
|
239
|
-
var
|
|
238
|
+
var layer18 = Layer.effect(Service44, make17());
|
|
239
|
+
var node46 = makeGlobalNode({ service: Service44, layer: layer18, deps: [node90, node89] });
|
|
240
240
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
241
241
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
242
242
|
if (message !== undefined)
|
|
@@ -333,4 +333,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
333
333
|
return rows;
|
|
334
334
|
}));
|
|
335
335
|
|
|
336
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
336
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service44, make17, layer18, node46, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|