@opencode/core 0.0.0-dev-21590 → 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/{reference-t5jgkqc0.js → model-01j7rzmr.js} +66 -61
- package/dist/chunks/{reference-gth7ey8h.js → model-072q16cb.js} +25 -25
- package/dist/chunks/{reference-w70n3epg.js → model-0b8de6ew.js} +8 -8
- package/dist/chunks/{reference-xydhs8a8.js → model-0canpjbz.js} +30 -30
- package/dist/chunks/{reference-vfqfz9ng.js → model-0e0jgjy9.js} +8 -8
- package/dist/chunks/{reference-0h8y3ex8.js → model-0h8y3ex8.js} +1 -1
- package/dist/chunks/{reference-c62eb685.js → model-0n48jksk.js} +34 -34
- package/dist/chunks/{reference-y70av53j.js → model-0q0he6s7.js} +26 -26
- package/dist/chunks/{reference-91tbfg8t.js → model-0xg995h5.js} +18 -18
- package/dist/chunks/{reference-dv41yykm.js → model-15v1gk62.js} +33 -33
- package/dist/chunks/{reference-jk7xnh1r.js → model-1r91ydea.js} +4 -4
- package/dist/chunks/{reference-331p6xjh.js → model-1w4vqh2t.js} +2 -2
- package/dist/chunks/{reference-1x2knyw4.js → model-1x2knyw4.js} +1 -1
- package/dist/chunks/{reference-vk70kcm0.js → model-20d9rxq1.js} +11 -11
- package/dist/chunks/{reference-3wj3659j.js → model-21vv1a77.js} +4 -4
- package/dist/chunks/{reference-jxxeqwt8.js → model-272c0xdt.js} +6 -6
- package/dist/chunks/{reference-1ep2p91f.js → model-27w5k9zf.js} +2 -2
- package/dist/chunks/{reference-fm90g8ey.js → model-2eqnzn4s.js} +10 -10
- package/dist/chunks/{reference-2z1j29yd.js → model-2z1j29yd.js} +1 -1
- package/dist/chunks/{reference-gphsqkvp.js → model-321ec0g4.js} +16 -16
- package/dist/chunks/{reference-57kxvcz1.js → model-340hmagq.js} +23 -23
- package/dist/chunks/{reference-y8dt0ywh.js → model-35s4j9cr.js} +11 -11
- package/dist/chunks/{reference-ayjs7tqn.js → model-3cbjf1nt.js} +2 -2
- package/dist/chunks/{reference-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-3nnrz6f6.js → model-3nnrz6f6.js} +1 -1
- package/dist/chunks/{reference-5qapgh17.js → model-3pj39t0e.js} +3 -3
- package/dist/chunks/{reference-0ceasb8s.js → model-3vq194ty.js} +20 -20
- package/dist/chunks/{reference-z47ak11q.js → model-4hwp5n1a.js} +6 -6
- package/dist/chunks/{reference-4x43ze8b.js → model-4k6phjpp.js} +20 -20
- package/dist/chunks/{reference-hwhakdtp.js → model-4pr8e29t.js} +15 -15
- package/dist/chunks/{reference-d0jwqxv7.js → model-4qc2xvk6.js} +36 -36
- package/dist/chunks/{reference-158tfn12.js → model-4txkrg0g.js} +11 -11
- package/dist/chunks/{reference-4v008n1t.js → model-4v008n1t.js} +1 -1
- package/dist/chunks/{reference-hh0p0dz0.js → model-4v9wqr06.js} +24 -24
- package/dist/chunks/{reference-7k3386r2.js → model-4w20wkzz.js} +14 -14
- package/dist/chunks/{reference-4xvmh7wp.js → model-4xvmh7wp.js} +3 -3
- package/dist/chunks/{reference-18sg5j62.js → model-51481qqa.js} +14 -14
- package/dist/chunks/{reference-h26pfjbv.js → model-54bbrvq7.js} +11 -11
- package/dist/chunks/{reference-zw1psc7x.js → model-5bj5kag9.js} +22 -22
- package/dist/chunks/{reference-e93cazkx.js → model-5cm23gk5.js} +13 -13
- package/dist/chunks/{reference-rjr2dewt.js → model-5fsc8n82.js} +24 -24
- package/dist/chunks/{reference-3zvjb0hd.js → model-5g6946ns.js} +21 -21
- package/dist/chunks/{reference-cf1w38y2.js → model-5jp10723.js} +45 -45
- package/dist/chunks/{reference-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-14v17fgg.js → model-5newpn23.js} +28 -28
- package/dist/chunks/{reference-e3qxr5gk.js → model-5qd3pb7m.js} +2 -2
- package/dist/chunks/{reference-sp2pyba2.js → model-5z2mzmdm.js} +7 -7
- package/dist/chunks/{reference-nggn9d43.js → model-5zfr5p9e.js} +28 -28
- package/dist/chunks/{reference-p7vhpwh8.js → model-5zrxpy3q.js} +5 -5
- package/dist/chunks/{reference-mgc5ajq3.js → model-63jssr0d.js} +15 -15
- package/dist/chunks/{reference-3tt1qkhr.js → model-66r9f6z1.js} +5 -5
- package/dist/chunks/{reference-da7jqf2t.js → model-67zb0nc8.js} +16 -16
- package/dist/chunks/{reference-6esdw8yj.js → model-6esdw8yj.js} +1 -1
- package/dist/chunks/model-6f6jf5mb.js +26 -0
- package/dist/chunks/{reference-c55tr7hb.js → model-6f9z7j1v.js} +17 -17
- package/dist/chunks/{reference-cnjhsh0b.js → model-6hfnb0rs.js} +4 -4
- package/dist/chunks/{reference-atxct68j.js → model-6jpgtjve.js} +54 -54
- package/dist/chunks/{reference-bcb37r7z.js → model-6nb4ea3p.js} +16 -16
- package/dist/chunks/{reference-6pjqjmy2.js → model-6pjqjmy2.js} +1 -1
- package/dist/chunks/{reference-9xt3rwsk.js → model-6r1yb0s4.js} +12 -12
- package/dist/chunks/{reference-97q6z4z1.js → model-6vm2p5a1.js} +17 -17
- package/dist/chunks/{reference-n17ttpw5.js → model-72g5xjtf.js} +6 -6
- package/dist/chunks/{reference-g5wz76jx.js → model-741bc9hj.js} +43 -43
- package/dist/chunks/{reference-zwexphgd.js → model-784fke7s.js} +86 -86
- package/dist/chunks/{reference-khz9qtbd.js → model-78q1pp3f.js} +22 -22
- package/dist/chunks/{reference-bpe9b5xd.js → model-7bjqyjrs.js} +36 -36
- package/dist/chunks/{reference-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-6czmj677.js → model-7bw1g6gn.js} +4 -4
- package/dist/chunks/{reference-7w2ypzdf.js → model-7w2ypzdf.js} +1 -1
- package/dist/chunks/{reference-s12jh10e.js → model-7ye4ae45.js} +8 -8
- package/dist/chunks/{reference-sfpgp9sh.js → model-8633aewc.js} +2 -2
- package/dist/chunks/{reference-8cn6bdr7.js → model-891v6h49.js} +4 -4
- package/dist/chunks/{reference-dj0vzv63.js → model-8jxvmzrw.js} +25 -25
- package/dist/chunks/{reference-qjgzc4b4.js → model-8jztxfpf.js} +4 -4
- package/dist/chunks/{reference-xkympmbz.js → model-8sxdqgb0.js} +6 -6
- package/dist/chunks/{reference-8wtp7s3z.js → model-8wtp7s3z.js} +1 -1
- package/dist/chunks/{reference-dgaww69h.js → model-8xsxb202.js} +26 -26
- package/dist/chunks/{reference-zysxana2.js → model-8zzv4zj8.js} +50 -50
- package/dist/chunks/{reference-91rj84md.js → model-91rj84md.js} +1 -1
- package/dist/chunks/{reference-n72v8kyg.js → model-92m6938h.js} +23 -23
- package/dist/chunks/{reference-dpydvgsc.js → model-9437wt4d.js} +8 -8
- package/dist/chunks/{reference-9b28cy4d.js → model-953xbrr3.js} +5 -5
- package/dist/chunks/{reference-4jzj6ttp.js → model-99frgwf9.js} +19 -19
- package/dist/chunks/{reference-ap22wcp6.js → model-99h9c51m.js} +10 -10
- package/dist/chunks/{reference-fyxzhex2.js → model-9g5n6tdw.js} +12 -12
- package/dist/chunks/{reference-enkpkfwx.js → model-9kg5w032.js} +8 -8
- package/dist/chunks/{reference-dwwyec8z.js → model-9nkjg9qd.js} +6 -6
- package/dist/chunks/{reference-73hhvkv7.js → model-9nw8ck4g.js} +4 -4
- package/dist/chunks/{reference-bjf39wav.js → model-9zpxcqdf.js} +34 -34
- package/dist/chunks/{reference-f2jmt318.js → model-a1bvjvf9.js} +46 -46
- package/dist/chunks/{reference-0mfc0d68.js → model-a49bexj4.js} +35 -35
- package/dist/chunks/{reference-mrn7jrf1.js → model-a6strf84.js} +28 -28
- package/dist/chunks/{reference-7mkh44ga.js → model-adpvjdsc.js} +24 -24
- package/dist/chunks/{reference-034tev2y.js → model-aj7mw0zk.js} +2 -2
- package/dist/chunks/{reference-gb7emm0a.js → model-anx7ry72.js} +4 -4
- package/dist/chunks/{reference-b0mv4wxm.js → model-b0mv4wxm.js} +2 -2
- package/dist/chunks/{reference-392nsjvq.js → model-b5q9zetx.js} +46 -46
- package/dist/chunks/{reference-6m8d80j4.js → model-b67zw2j5.js} +10 -10
- package/dist/chunks/{reference-b6vsg801.js → model-b6vsg801.js} +2 -2
- package/dist/chunks/{reference-dbs9f4d2.js → model-bhzsakrn.js} +175 -78
- package/dist/chunks/{reference-yjptjaqs.js → model-bkswmhj3.js} +43 -43
- package/dist/chunks/{reference-3rsg1p7p.js → model-bn4a103g.js} +19 -19
- package/dist/chunks/{reference-zwtk19q4.js → model-bq891ma8.js} +19 -19
- package/dist/chunks/{reference-xd9cc171.js → model-bstexjd6.js} +5 -5
- package/dist/chunks/{reference-e42petng.js → model-bzr0y705.js} +13 -13
- package/dist/chunks/{reference-dmcydt5k.js → model-c1hv1ece.js} +14 -14
- package/dist/chunks/{reference-92at24ve.js → model-c3zdnxfx.js} +30 -30
- package/dist/chunks/{reference-y06e3eb4.js → model-c6sr2qh2.js} +11 -11
- package/dist/chunks/{reference-d2887f8n.js → model-c9t2ty9q.js} +4 -4
- package/dist/chunks/{reference-ba07h9gm.js → model-cbvv1y68.js} +3 -3
- package/dist/chunks/{reference-h0wvm00t.js → model-chrqa3e7.js} +5 -5
- package/dist/chunks/{reference-ctya507c.js → model-ct02k7de.js} +5 -5
- package/dist/chunks/{reference-ygavzdh1.js → model-cw8gdmwg.js} +38 -38
- package/dist/chunks/{reference-x774aw49.js → model-czhx5hsv.js} +11 -11
- package/dist/chunks/{reference-gqv6dref.js → model-d1rt1382.js} +5 -5
- package/dist/chunks/{reference-axa1k9j1.js → model-d2r51erv.js} +15 -15
- package/dist/chunks/{reference-d4v9tmah.js → model-d4v9tmah.js} +2 -2
- package/dist/chunks/{reference-g35eyyjw.js → model-d6gm4j52.js} +52 -52
- package/dist/chunks/{reference-1zrn58qb.js → model-ddq31bgq.js} +15 -15
- package/dist/chunks/{reference-sd9qfce6.js → model-df6r7s43.js} +15 -15
- package/dist/chunks/{reference-997dsrmm.js → model-dkq45v8d.js} +8 -8
- package/dist/chunks/{reference-c3cfh5w6.js → model-dqgvvwe0.js} +9 -9
- package/dist/chunks/{reference-998yhzzq.js → model-dvj9ct8m.js} +3 -3
- package/dist/chunks/{reference-e834z07m.js → model-e834z07m.js} +1 -1
- package/dist/chunks/{reference-617zxnkf.js → model-e88dgn8f.js} +4 -4
- package/dist/chunks/{reference-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-3k4jc8v0.js → model-egmw08v6.js} +5 -5
- package/dist/chunks/{reference-apd5jra7.js → model-eqh43b5v.js} +9 -9
- package/dist/chunks/{reference-ev4x93rx.js → model-f1nzbf19.js} +10 -10
- package/dist/chunks/{reference-pvk64qra.js → model-fa339sjc.js} +26 -26
- package/dist/chunks/{reference-fffv3p7h.js → model-fffv3p7h.js} +1 -1
- package/dist/chunks/{reference-aqfgbfd8.js → model-fhzt8j0q.js} +17 -17
- package/dist/chunks/{reference-wyt6s0d6.js → model-fsq1pbsz.js} +23 -23
- package/dist/chunks/{reference-2wjzf534.js → model-fzj23b6d.js} +13 -13
- package/dist/chunks/{reference-dcqk33sb.js → model-g154atg6.js} +18 -18
- package/dist/chunks/{reference-sah69mkr.js → model-g1ay4zd8.js} +9 -9
- package/dist/chunks/{reference-btxxq5tt.js → model-g4y1xy0d.js} +24 -24
- package/dist/chunks/{reference-dghpgdwh.js → model-g56hrhg3.js} +9 -9
- package/dist/chunks/{reference-g5h9c0rr.js → model-g5h9c0rr.js} +2 -2
- package/dist/chunks/{reference-8w3ybxxd.js → model-g88zdbhx.js} +11 -11
- package/dist/chunks/{reference-6f6dq05w.js → model-g8bt1dca.js} +13 -11
- package/dist/chunks/{reference-g02452fg.js → model-g8vb2scg.js} +7 -7
- package/dist/chunks/{reference-k879r3tb.js → model-gc9zf11p.js} +2 -2
- package/dist/chunks/{reference-hwnyt2r8.js → model-ggyjb5de.js} +336 -336
- package/dist/chunks/{reference-jt507tgk.js → model-gn6ba7xn.js} +10 -10
- package/dist/chunks/{reference-nkxa5wq0.js → model-gprpk8mk.js} +4 -4
- package/dist/chunks/model-grzehpz7.js +18 -0
- package/dist/chunks/{reference-gbc8mqyx.js → model-gtndzxs8.js} +6 -6
- package/dist/chunks/{reference-69vhhgbf.js → model-gwprnrgv.js} +14 -14
- package/dist/chunks/{reference-6pz21ma1.js → model-gxtyjb3d.js} +17 -17
- package/dist/chunks/{reference-e3tyzyg9.js → model-gy8yxpp1.js} +11 -11
- package/dist/chunks/{reference-585ybms8.js → model-hhwb3rx0.js} +20 -20
- package/dist/chunks/{reference-zb9z236r.js → model-hnbfgrzz.js} +5 -5
- package/dist/chunks/{reference-6z67c7sw.js → model-hwbsae6b.js} +32 -32
- package/dist/chunks/{reference-j113cymg.js → model-j113cymg.js} +1 -1
- package/dist/chunks/{reference-45sa55ra.js → model-j2gfe9ae.js} +32 -32
- package/dist/chunks/{reference-jk7ax7q1.js → model-j9qw6n70.js} +46 -46
- package/dist/chunks/{reference-e5dqjz6v.js → model-jchrqzf6.js} +4 -4
- package/dist/chunks/{reference-82k6k4r9.js → model-jfb254mg.js} +13 -13
- package/dist/chunks/{reference-b321b1xq.js → model-jfgmzhvh.js} +32 -32
- package/dist/chunks/{reference-mqnjedcc.js → model-jg5w3cjw.js} +12 -12
- package/dist/chunks/{reference-1178vxht.js → model-jgp3dhd9.js} +45 -45
- package/dist/chunks/{reference-1m5v0ayp.js → model-jj73fkkr.js} +20 -20
- package/dist/chunks/{reference-9t2khtsw.js → model-jj9caqwr.js} +11 -11
- package/dist/chunks/{reference-pc1v25hk.js → model-jx89vj1k.js} +3 -3
- package/dist/chunks/{reference-49n54dn2.js → model-k1whs75x.js} +9 -9
- package/dist/chunks/{reference-k814nvkf.js → model-k814nvkf.js} +1 -1
- package/dist/chunks/{reference-mvx17366.js → model-kgex5j78.js} +11 -11
- package/dist/chunks/{reference-6mhdkm3r.js → model-kmfx2698.js} +17 -17
- package/dist/chunks/{reference-0pv52n9j.js → model-kw3tz860.js} +12 -12
- package/dist/chunks/{reference-m1714858.js → model-m1714858.js} +1 -1
- package/dist/chunks/{reference-aapktb4s.js → model-m1wmrjqx.js} +13 -13
- package/dist/chunks/{reference-g7esga4v.js → model-m37sd98t.js} +7 -7
- package/dist/chunks/{reference-xt1e9zqw.js → model-m7jmd0hd.js} +26 -26
- package/dist/chunks/{reference-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{reference-mt84etn8.js → model-mbqkgzdb.js} +3 -3
- package/dist/chunks/{reference-me5bcav6.js → model-me5bcav6.js} +1 -1
- package/dist/chunks/{reference-wxd8q9mp.js → model-mkrzd24w.js} +11 -11
- package/dist/chunks/{reference-75n0062n.js → model-mq0mqgjr.js} +11 -11
- package/dist/chunks/{reference-35fm799j.js → model-mr3cdd38.js} +34 -34
- package/dist/chunks/{reference-gt0jrv1m.js → model-mrmbr746.js} +4 -4
- package/dist/chunks/{reference-dy5an0j5.js → model-mvthmwjs.js} +5 -5
- package/dist/chunks/{reference-n0p0277s.js → model-n0p0277s.js} +1 -1
- package/dist/chunks/{reference-02szp9gm.js → model-n4qksct9.js} +9 -9
- package/dist/chunks/{reference-szcgc7h4.js → model-n6v2b7cw.js} +5 -5
- package/dist/chunks/{reference-22hmzxt9.js → model-n8hmsfpk.js} +22 -22
- package/dist/chunks/{reference-yqtd0t4r.js → model-na88mdda.js} +17 -17
- package/dist/chunks/{reference-nah043kf.js → model-nah043kf.js} +1 -1
- package/dist/chunks/{reference-7jp0etre.js → model-nar1vcx8.js} +8 -8
- package/dist/chunks/{reference-9rq4kxzz.js → model-nfaaxv4r.js} +18 -18
- package/dist/chunks/{reference-pzjxx5kj.js → model-nv65jaj5.js} +1 -1
- package/dist/chunks/{reference-gk1rk4s8.js → model-nxv9x1zm.js} +7 -7
- package/dist/chunks/{reference-dfv0e3xz.js → model-nyzphh1c.js} +23 -18
- package/dist/chunks/{reference-p015t6z3.js → model-p015t6z3.js} +2 -2
- package/dist/chunks/{reference-jpfg3tzk.js → model-p4h2267x.js} +15 -15
- package/dist/chunks/{reference-n6xp163e.js → model-pa0vwm8c.js} +16 -16
- package/dist/chunks/{reference-wy4ffk9y.js → model-pkax9v1w.js} +7 -7
- package/dist/chunks/{reference-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{reference-mxej95nn.js → model-pn50smkw.js} +23 -23
- package/dist/chunks/{reference-mgrmgacb.js → model-pngkbba6.js} +32 -32
- package/dist/chunks/{reference-h5x76x6y.js → model-prv1cyb1.js} +18 -18
- package/dist/chunks/{reference-7cd2rmsc.js → model-pz0r8h4k.js} +35 -35
- package/dist/chunks/{reference-7784vw5s.js → model-q0qwz8mp.js} +35 -35
- package/dist/chunks/{reference-9t6kz4yn.js → model-q1nnka74.js} +8 -8
- package/dist/chunks/{reference-zz476xrp.js → model-q39pt7dd.js} +17 -17
- package/dist/chunks/{reference-17gtvps5.js → model-q9g9j9gh.js} +21 -21
- package/dist/chunks/{reference-ax04rzcv.js → model-qgeehj15.js} +5 -5
- package/dist/chunks/{reference-bxmy050v.js → model-qq9tt1td.js} +3 -3
- package/dist/chunks/{reference-5hr8xq0q.js → model-qxerc9ee.js} +4 -4
- package/dist/chunks/{reference-69dckygt.js → model-r07gp9b9.js} +4 -4
- package/dist/chunks/{reference-r0yr0wbs.js → model-r0yr0wbs.js} +1 -1
- package/dist/chunks/{reference-bhknf9fc.js → model-r6h7fdbc.js} +21 -21
- package/dist/chunks/{reference-c4y96v02.js → model-raktd10s.js} +12 -12
- package/dist/chunks/{reference-b7tdm2jb.js → model-rb6ke7kq.js} +20 -20
- package/dist/chunks/{reference-rb9dy4dg.js → model-rb9dy4dg.js} +1 -1
- package/dist/chunks/{reference-rt0txz63.js → model-rjnacbrz.js} +9 -9
- package/dist/chunks/{reference-rt5dr6hb.js → model-rt5dr6hb.js} +1 -1
- package/dist/chunks/{reference-9n5nfdbf.js → model-s2gphw67.js} +25 -25
- package/dist/chunks/{reference-fkdejkqx.js → model-s64sqv58.js} +9 -9
- package/dist/chunks/{reference-cgx3zxj6.js → model-se9dn7rd.js} +9 -9
- package/dist/chunks/{reference-sqjzf8x2.js → model-sqjzf8x2.js} +1 -1
- package/dist/chunks/{reference-qh6sbcd8.js → model-srsshwrf.js} +4 -4
- package/dist/chunks/{reference-hp05sb1w.js → model-sxj6qfjf.js} +15 -15
- package/dist/chunks/{reference-2k6pc5wc.js → model-sysqhah2.js} +18 -18
- package/dist/chunks/{reference-g32wv891.js → model-szqbbbee.js} +35 -35
- package/dist/chunks/{reference-2ga909q5.js → model-sztxty7m.js} +21 -21
- package/dist/chunks/{reference-h85hk0jt.js → model-t25nhsq0.js} +5 -5
- package/dist/chunks/{reference-76jxzvwp.js → model-t656wjzj.js} +13 -13
- package/dist/chunks/{reference-tczq8hjw.js → model-tczq8hjw.js} +1 -1
- package/dist/chunks/{reference-1hahx13g.js → model-td85jp64.js} +192 -192
- package/dist/chunks/{reference-z8bkf37c.js → model-tee140je.js} +21 -21
- package/dist/chunks/{reference-p0bn44dh.js → model-tjfc794x.js} +11 -11
- package/dist/chunks/{reference-5jz32ng9.js → model-tq4xd5v5.js} +8 -8
- package/dist/chunks/{reference-xptgtj2n.js → model-ts1rzmt6.js} +5 -5
- package/dist/chunks/{reference-br28babr.js → model-ttdgtk4q.js} +8 -8
- package/dist/chunks/{reference-pka0ykct.js → model-tvs942hr.js} +18 -18
- package/dist/chunks/{reference-tw8zr1ps.js → model-tw8zr1ps.js} +1 -1
- package/dist/chunks/{reference-twv2r8f4.js → model-twv2r8f4.js} +2 -2
- package/dist/chunks/{reference-vd3b3yk9.js → model-vd3b3yk9.js} +1 -1
- package/dist/chunks/{reference-yhbnhfm6.js → model-vd89anp8.js} +11 -11
- package/dist/chunks/{reference-s0m4xskg.js → model-vdakd0pn.js} +88 -88
- package/dist/chunks/{reference-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-2e3p09q4.js → model-vf0zxygw.js} +16 -16
- package/dist/chunks/{reference-sparrdxh.js → model-vfpfqbnz.js} +32 -32
- package/dist/chunks/{reference-yd3g8txe.js → model-vkkc8t8a.js} +9 -9
- package/dist/chunks/{reference-dyqd29rb.js → model-vmwcq5xv.js} +7 -7
- package/dist/chunks/{reference-b792txny.js → model-vrmm9ccr.js} +11 -11
- package/dist/chunks/{reference-spqp8scq.js → model-vssrn3v8.js} +5 -5
- package/dist/chunks/{reference-n6j3m873.js → model-vvf0vm2n.js} +17 -17
- package/dist/chunks/{reference-5enarcya.js → model-w2eysc6j.js} +6 -6
- package/dist/chunks/{reference-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-v7s2kyj8.js → model-w47q07ee.js} +5 -5
- package/dist/chunks/{reference-pnz1sqhe.js → model-w8a1jqtz.js} +1 -1
- package/dist/chunks/{reference-w8qtt4th.js → model-w8qtt4th.js} +1 -1
- package/dist/chunks/{reference-wakvkjy4.js → model-wakvkjy4.js} +1 -1
- package/dist/chunks/{reference-p48hbk47.js → model-wb79839p.js} +9 -9
- package/dist/chunks/{reference-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{reference-w35wzz9x.js → model-wqscedq8.js} +9 -9
- package/dist/chunks/{reference-f2tcvpah.js → model-wsjw5zph.js} +19 -19
- package/dist/chunks/{reference-p0tsr9h6.js → model-wtgq8nqm.js} +7 -7
- package/dist/chunks/{reference-p1c1t367.js → model-wtnsyy90.js} +27 -27
- package/dist/chunks/model-wvqgfgh4.js +257 -0
- package/dist/chunks/{reference-ga0jheq7.js → model-wzdjcsat.js} +15 -15
- package/dist/chunks/{reference-7e442h9n.js → model-x0n658k6.js} +51 -51
- package/dist/chunks/{reference-bt6rz2kw.js → model-x78b4590.js} +25 -25
- package/dist/chunks/{reference-ctewqk08.js → model-xeaspr23.js} +14 -14
- package/dist/chunks/{reference-q21p601r.js → model-xet4rz3q.js} +6 -6
- package/dist/chunks/{reference-yb20nhc3.js → model-yb20nhc3.js} +1 -1
- package/dist/chunks/{reference-s85z3cra.js → model-yqveydy6.js} +4 -4
- package/dist/chunks/{reference-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-r0h3bw7v.js → model-z0s5rknz.js} +31 -31
- package/dist/chunks/{reference-z38nccrw.js → model-z38nccrw.js} +1 -1
- package/dist/chunks/{reference-qp86s7ck.js → model-z6g09nf1.js} +3 -3
- package/dist/chunks/{reference-42jd4697.js → model-zba5tm1j.js} +4 -4
- package/dist/chunks/{reference-mfyv679b.js → model-zf6q9j4p.js} +9 -9
- package/dist/chunks/{reference-tmd1r8tg.js → model-zgmrepvs.js} +4 -4
- package/dist/chunks/{reference-zkg84ctx.js → model-zkg84ctx.js} +1 -1
- package/dist/chunks/{reference-c4mt52fx.js → model-zrcjrc8a.js} +21 -21
- package/dist/chunks/{reference-2vaegvqr.js → model-zvrj69sk.js} +17 -17
- package/dist/chunks/{reference-z1797mdk.js → model-zw8we4s7.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- 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 +114 -114
- package/dist/config/plugin/mcp.js +121 -121
- 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 +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- 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 +369 -369
- 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 +1 -1
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- 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 +82 -82
- 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 +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- 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 +104 -104
- package/dist/models-dev.js +109 -109
- 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 +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +4 -4
- 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 +118 -118
- 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 +76 -76
- 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 +347 -347
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- 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 +128 -128
- package/dist/session/generate.js +164 -164
- 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 +79 -79
- 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 +229 -229
- 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 +163 -163
- 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 +5 -5
- package/dist/session/title.js +162 -162
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +116 -116
- package/dist/snapshot.js +93 -93
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- 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 +114 -114
- 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 +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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/reference-6zjm2phc.js +0 -18
- package/dist/chunks/reference-dfy9at9k.js +0 -26
- package/dist/chunks/reference-gy55dmjh.js +0 -257
- /package/dist/chunks/{reference-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5fjb7ams.js → model-5fjb7ams.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a058387c.js → model-a058387c.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./model-pa0vwm8c.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service14,
|
|
17
|
+
node: () => node16
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service14 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service81;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service14.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node16 = makeLocationNode({
|
|
91
|
+
service: Service14,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node85, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service14, node16, exports_formatter2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-qq9tt1td.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-r07gp9b9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service47,
|
|
11
|
+
node49
|
|
12
|
+
} from "./model-c1hv1ece.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service45,
|
|
15
|
+
node47
|
|
16
|
+
} from "./model-9nkjg9qd.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./model-c9t2ty9q.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service43
|
|
26
|
+
} from "./model-yqveydy6.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service59,
|
|
29
|
+
node61
|
|
30
|
+
} from "./model-51481qqa.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-d1rt1382.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-fhzt8j0q.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service42,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer17,
|
|
47
|
+
node: () => node45,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service42 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer17 = Layer.effect(Service42, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service59;
|
|
64
|
+
const instances = yield* Service45;
|
|
65
65
|
const bus = yield* Service85;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service47;
|
|
67
67
|
const db = (yield* Service86).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service43.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make16({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service42.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node45 = makeGlobalNode({
|
|
127
|
+
service: Service42,
|
|
128
|
+
layer: layer17,
|
|
129
|
+
deps: [node61, node47, node89, node90, node49]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service33, Service33.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service42, terminal2, layer17, node45, noopLayer2, exports_execution };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-czhx5hsv.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./model-5newpn23.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-0q0he6s7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID12,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-0canpjbz.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID12.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID13.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service78;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-zkg84ctx.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-g5h9c0rr.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-b0mv4wxm.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-twv2r8f4.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service81,
|
|
18
|
+
node85
|
|
19
|
+
} from "./model-pa0vwm8c.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service68,
|
|
22
|
+
node70
|
|
23
|
+
} from "./model-m7jmd0hd.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service67,
|
|
33
|
+
node: () => node69
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
// src/environment/index.ts
|
|
@@ -39,13 +39,13 @@ __export(exports_environment3, {
|
|
|
39
39
|
Environment: () => exports_environment3,
|
|
40
40
|
Failed: () => Failed2,
|
|
41
41
|
NotFound: () => NotFound3,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service67,
|
|
43
43
|
WrongKind: () => WrongKind2,
|
|
44
44
|
execDefaults: () => execDefaults2,
|
|
45
45
|
makeFiles: () => makeFiles2,
|
|
46
46
|
makeLocalDriver: () => makeLocalDriver2,
|
|
47
47
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
48
|
-
node: () =>
|
|
48
|
+
node: () => node69,
|
|
49
49
|
typeFollowing: () => typeFollowing2
|
|
50
50
|
});
|
|
51
51
|
|
|
@@ -61,19 +61,19 @@ var makeFiles2 = (driver) => ({
|
|
|
61
61
|
});
|
|
62
62
|
|
|
63
63
|
// src/environment/environment.ts
|
|
64
|
-
class
|
|
64
|
+
class Service67 extends Context.Service()("@opencode/Environment") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
66
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
67
67
|
const spawner = yield* ChildProcessSpawner;
|
|
68
|
-
const location = yield*
|
|
69
|
-
const workspace = yield*
|
|
68
|
+
const location = yield* Service81;
|
|
69
|
+
const workspace = yield* Service68;
|
|
70
70
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
71
|
-
return
|
|
71
|
+
return Service67.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node69 = makeLocationNode({
|
|
74
|
+
service: Service67,
|
|
75
75
|
layer,
|
|
76
|
-
deps: [CrossSpawnSpawner.node,
|
|
76
|
+
deps: [CrossSpawnSpawner.node, node85, node70]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Service67, node69, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./model-4k6phjpp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./model-j9qw6n70.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service16,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-f1nzbf19.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make6
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
33
|
+
var make6 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
+
const config = yield* Service48;
|
|
35
|
+
const managed = yield* Service16;
|
|
36
|
+
const watcher = yield* Service49;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make6, LoadError2, exports_module };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-5fjb7ams.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-91rj84md.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-qq9tt1td.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-dvj9ct8m.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load5
|
|
12
|
+
} from "./model-99h9c51m.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-1w4vqh2t.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput3,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service59,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node61
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -53,11 +53,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
53
53
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
54
54
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class Service59 extends Context.Service()("@opencode/SessionStore") {
|
|
57
57
|
}
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
59
59
|
const { db } = yield* Service86;
|
|
60
|
-
return
|
|
60
|
+
return Service59.of({
|
|
61
61
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
62
62
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
63
63
|
return row ? fromRow2(row) : undefined;
|
|
@@ -101,7 +101,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
101
101
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
102
102
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
103
103
|
}),
|
|
104
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
104
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
|
|
105
105
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
106
106
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
107
107
|
return row ? {
|
|
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
131
|
+
var node61 = makeGlobalNode({ service: Service59, layer, deps: [node90] });
|
|
132
132
|
|
|
133
|
-
export { ListInput3,
|
|
133
|
+
export { ListInput3, Service59, node61, exports_store };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service48
|
|
4
|
+
} from "./model-j9qw6n70.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./model-pngkbba6.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin16
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin16 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service48;
|
|
27
|
+
const snapshot = yield* Service54;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin3 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin16, exports_snapshot };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-jchrqzf6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available3,
|
|
11
|
+
Service41,
|
|
12
|
+
node44
|
|
13
|
+
} from "./model-s2gphw67.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
Service: () => Service30,
|
|
22
|
+
SkillInstructions: () => exports_instructions3,
|
|
23
|
+
node: () => node34
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID4,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -64,14 +64,14 @@ var update = (previous, current) => {
|
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service30 extends Context.Service()("@opencode/SkillInstructions") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const skills = yield*
|
|
71
|
-
return
|
|
69
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
70
|
+
const skills = yield* Service41;
|
|
71
|
+
return Service30.of({
|
|
72
72
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
73
|
-
const available =
|
|
74
|
-
return
|
|
73
|
+
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
74
|
+
return make19({
|
|
75
75
|
key: Key3.make("core/skill-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
84
84
|
})
|
|
85
85
|
});
|
|
86
86
|
}));
|
|
87
|
-
var
|
|
87
|
+
var node34 = makeLocationNode({ service: Service30, layer, deps: [node44] });
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service30, node34, exports_instructions3 };
|