@opencode/core 0.0.0-dev-825 → 0.0.0-dev-831
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 +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +250 -250
- package/dist/bus.js +86 -86
- package/dist/chunks/{repository-034tev2y.js → model-resolver-034tev2y.js} +2 -2
- package/dist/chunks/{repository-6t40r86m.js → model-resolver-0arnxmba.js} +11 -11
- package/dist/chunks/{repository-0ma9gw4f.js → model-resolver-0ma9gw4f.js} +2 -2
- package/dist/chunks/{repository-a9q3ynkc.js → model-resolver-0nmph3wa.js} +16 -16
- package/dist/chunks/{repository-g442wsqe.js → model-resolver-0y15sqga.js} +9 -9
- package/dist/chunks/{repository-fx5c1tjh.js → model-resolver-0zbvvfdb.js} +36 -36
- package/dist/chunks/{repository-k83g76qh.js → model-resolver-12w1x9kt.js} +6 -6
- package/dist/chunks/{repository-ddvn7d3w.js → model-resolver-160yv0cs.js} +8 -8
- package/dist/chunks/{repository-bgn5hadf.js → model-resolver-16prz1ep.js} +8 -8
- package/dist/chunks/{repository-63qfzx3d.js → model-resolver-16t52pqt.js} +8 -8
- package/dist/chunks/{repository-1aqsckx4.js → model-resolver-1aqsckx4.js} +1 -1
- package/dist/chunks/{repository-d146bgny.js → model-resolver-1ay57j6c.js} +13 -13
- package/dist/chunks/{repository-1ep2p91f.js → model-resolver-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-5zrxpy3q.js → model-resolver-1yq9hg58.js} +5 -5
- package/dist/chunks/{repository-7st6202b.js → model-resolver-25f4tn1f.js} +35 -35
- package/dist/chunks/{repository-8b3vzgkx.js → model-resolver-25h84942.js} +4 -4
- package/dist/chunks/{repository-9wyr9weg.js → model-resolver-26nyybnb.js} +6 -6
- package/dist/chunks/{repository-42z7z3wx.js → model-resolver-27mpw206.js} +181 -181
- package/dist/chunks/{repository-36mbjf8k.js → model-resolver-293g14mp.js} +13 -13
- package/dist/chunks/{repository-zfyw8qbd.js → model-resolver-2bkra2hq.js} +5 -5
- package/dist/chunks/{repository-gywxy7j9.js → model-resolver-2cz5jp9j.js} +7 -7
- package/dist/chunks/{repository-4dvckpb1.js → model-resolver-2f3qc8cv.js} +22 -22
- package/dist/chunks/{repository-2fc7eemy.js → model-resolver-2fc7eemy.js} +1 -1
- package/dist/chunks/{repository-9j20w6gs.js → model-resolver-2g0ar3nh.js} +4 -4
- package/dist/chunks/{repository-w79nt68w.js → model-resolver-2kg89srt.js} +4 -4
- package/dist/chunks/{repository-5k4n6v37.js → model-resolver-2n444ktb.js} +2 -2
- package/dist/chunks/{repository-2p60zmnr.js → model-resolver-2p60zmnr.js} +2 -2
- package/dist/chunks/{repository-9a9v4e1n.js → model-resolver-367emvgy.js} +56 -56
- package/dist/chunks/{repository-8rapdqzr.js → model-resolver-39sgvy3e.js} +4 -4
- package/dist/chunks/{repository-3adw4bt5.js → model-resolver-3adw4bt5.js} +2 -2
- package/dist/chunks/{repository-vek77fn1.js → model-resolver-3bgf9gas.js} +4 -4
- package/dist/chunks/{repository-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-esnzksqe.js → model-resolver-3kh0gcb1.js} +37 -37
- package/dist/chunks/{repository-58xa946s.js → model-resolver-3khhh005.js} +8 -8
- package/dist/chunks/{repository-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-s16hq6hq.js → model-resolver-3nw1k2zv.js} +6 -6
- package/dist/chunks/{repository-40y6dtc2.js → model-resolver-40y6dtc2.js} +1 -1
- package/dist/chunks/{repository-4eyab45f.js → model-resolver-424veqmr.js} +16 -16
- package/dist/chunks/{repository-44pmzq9c.js → model-resolver-44pmzq9c.js} +2 -2
- package/dist/chunks/{repository-vatm92p4.js → model-resolver-4abk2202.js} +9 -9
- package/dist/chunks/{repository-4dx1dgte.js → model-resolver-4dx1dgte.js} +1 -1
- package/dist/chunks/{repository-5ypa17q2.js → model-resolver-4krr2nde.js} +3 -3
- package/dist/chunks/{repository-7d1znp7a.js → model-resolver-4pw6mjnh.js} +3 -3
- package/dist/chunks/{repository-4pyp9zr9.js → model-resolver-4pyp9zr9.js} +1 -1
- package/dist/chunks/{repository-m0y6w2jg.js → model-resolver-4r2ajar3.js} +12 -12
- package/dist/chunks/{repository-2gszavhy.js → model-resolver-4rbajnk5.js} +16 -16
- package/dist/chunks/{repository-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-r7z0jfb4.js → model-resolver-530xg6vw.js} +3 -3
- package/dist/chunks/{repository-tbthaakc.js → model-resolver-55mv56yt.js} +9 -9
- package/dist/chunks/{repository-hdrtk87s.js → model-resolver-5ebpawpv.js} +57 -57
- package/dist/chunks/{repository-z931v3a9.js → model-resolver-5f7x8gmd.js} +4 -4
- package/dist/chunks/{repository-mngayyt0.js → model-resolver-5j4k0msb.js} +22 -22
- package/dist/chunks/{repository-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-k7taw3e3.js → model-resolver-5vegt1x0.js} +13 -13
- package/dist/chunks/{repository-8cg7mtm3.js → model-resolver-5whx36p1.js} +4 -4
- package/dist/chunks/{repository-454ezavw.js → model-resolver-5ycptf1v.js} +10 -10
- package/dist/chunks/{repository-kze6nzna.js → model-resolver-62zd5tzk.js} +4 -4
- package/dist/chunks/model-resolver-692b72pa.js +577 -0
- package/dist/chunks/{repository-akt0fjbd.js → model-resolver-6axc0njm.js} +4 -4
- package/dist/chunks/{repository-8hbz69sy.js → model-resolver-6fpa6ee2.js} +11 -11
- package/dist/chunks/{repository-7b9gqgn8.js → model-resolver-6kfx1qy7.js} +28 -28
- package/dist/chunks/{repository-mej5exg2.js → model-resolver-6pxtshje.js} +10 -10
- package/dist/chunks/{repository-bh59f9rd.js → model-resolver-6rccv5kh.js} +9 -9
- package/dist/chunks/{repository-v7v806p5.js → model-resolver-6t791ah0.js} +11 -11
- package/dist/chunks/{repository-ecz89gw5.js → model-resolver-7117yfp2.js} +16 -16
- package/dist/chunks/{repository-27m2756j.js → model-resolver-77gvcwrw.js} +43 -43
- package/dist/chunks/{repository-k0nkxeqt.js → model-resolver-78chxwwj.js} +9 -9
- package/dist/chunks/{repository-pgqxr0th.js → model-resolver-7a2bwsmz.js} +4 -4
- package/dist/chunks/{repository-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-1zc261y1.js → model-resolver-7f840skq.js} +8 -8
- package/dist/chunks/{repository-xpve62cf.js → model-resolver-7h09t6vy.js} +4 -4
- package/dist/chunks/{repository-a8cfcyt3.js → model-resolver-7k6n85sm.js} +12 -12
- package/dist/chunks/{repository-2h7px8sz.js → model-resolver-7majwt7k.js} +24 -24
- package/dist/chunks/{repository-a5fx33f2.js → model-resolver-7nqkf5r1.js} +6 -6
- package/dist/chunks/{repository-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-7weczvnd.js → model-resolver-7weczvnd.js} +1 -1
- package/dist/chunks/{repository-80mg3ag8.js → model-resolver-80mg3ag8.js} +3 -3
- package/dist/chunks/model-resolver-82dat0k4.js +265 -0
- package/dist/chunks/{repository-cfrsedvg.js → model-resolver-844xcd9v.js} +31 -31
- package/dist/chunks/{repository-89287pr7.js → model-resolver-89287pr7.js} +1 -1
- package/dist/chunks/{repository-633ywpet.js → model-resolver-8b1ad6cn.js} +17 -17
- package/dist/chunks/{repository-znt7rw13.js → model-resolver-8bg7n6cy.js} +40 -40
- package/dist/chunks/{repository-rs5qbk4v.js → model-resolver-8ex2vaqz.js} +4 -4
- package/dist/chunks/{repository-ep6pe98a.js → model-resolver-8hfctyyf.js} +5 -5
- package/dist/chunks/{repository-jkmg1q5b.js → model-resolver-8kqgm7kj.js} +33 -33
- package/dist/chunks/{repository-eb5bs4av.js → model-resolver-8n6drvjh.js} +5 -5
- package/dist/chunks/{repository-g87nr3nw.js → model-resolver-8qd8xmta.js} +5 -5
- package/dist/chunks/{repository-8sxe6kv8.js → model-resolver-8sxe6kv8.js} +2 -2
- package/dist/chunks/{repository-r17fbvme.js → model-resolver-8t99kr38.js} +4 -4
- package/dist/chunks/{repository-j4r7kv1t.js → model-resolver-8thehkgp.js} +36 -36
- package/dist/chunks/{repository-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
- package/dist/chunks/model-resolver-8x060fmy.js +18 -0
- package/dist/chunks/{repository-2v4kkva7.js → model-resolver-8xpmpcne.js} +18 -18
- package/dist/chunks/{repository-yts2a8qm.js → model-resolver-8xz27cp9.js} +4 -4
- package/dist/chunks/{repository-8zv0xmg5.js → model-resolver-8zv0xmg5.js} +1 -1
- package/dist/chunks/{repository-tde0pya5.js → model-resolver-90pag9bh.js} +12 -12
- package/dist/chunks/{repository-68cs06h1.js → model-resolver-963hk181.js} +5 -5
- package/dist/chunks/{repository-mc0exbqp.js → model-resolver-9b40hqz5.js} +11 -11
- package/dist/chunks/{repository-8b8x22w8.js → model-resolver-9gq99r53.js} +10 -10
- package/dist/chunks/{repository-pbh4n44j.js → model-resolver-9k53ynq8.js} +15 -15
- package/dist/chunks/{repository-b35jvm0v.js → model-resolver-9nkyp312.js} +36 -36
- package/dist/chunks/{repository-v9vs06em.js → model-resolver-a3fn0gmm.js} +2 -2
- package/dist/chunks/{repository-xqcb3zgw.js → model-resolver-aa29szgn.js} +12 -12
- package/dist/chunks/{repository-mvckngtm.js → model-resolver-adn5hbq3.js} +11 -11
- package/dist/chunks/{repository-jt43vy5p.js → model-resolver-aj8vk75y.js} +45 -45
- package/dist/chunks/{repository-tn4wd2fq.js → model-resolver-apxf9kk0.js} +15 -15
- package/dist/chunks/{repository-fefngcxr.js → model-resolver-aq0c685a.js} +25 -25
- package/dist/chunks/{repository-b14gg4sh.js → model-resolver-at67j8j1.js} +6 -6
- package/dist/chunks/{repository-x9nycdzm.js → model-resolver-axkdp7x4.js} +5 -5
- package/dist/chunks/{repository-ayjs7tqn.js → model-resolver-ayjs7tqn.js} +2 -2
- package/dist/chunks/{repository-wqr24bzv.js → model-resolver-b1egqa0g.js} +16 -16
- package/dist/chunks/{repository-b26ddj6h.js → model-resolver-b26ddj6h.js} +4 -4
- package/dist/chunks/{repository-jcapt50a.js → model-resolver-b4as5qea.js} +77 -77
- package/dist/chunks/{repository-r44sxzgf.js → model-resolver-b5bt1xzp.js} +14 -14
- package/dist/chunks/{repository-11kbg32g.js → model-resolver-b7ajv3td.js} +5 -5
- package/dist/chunks/{repository-vyk6e2d4.js → model-resolver-bdebq1ap.js} +27 -27
- package/dist/chunks/{repository-0ty4dky8.js → model-resolver-bhvbxzqx.js} +5 -5
- package/dist/chunks/{repository-5h5zemyv.js → model-resolver-bjsh8jr1.js} +18 -18
- package/dist/chunks/{repository-cnx94ynn.js → model-resolver-bjsqebk6.js} +51 -51
- package/dist/chunks/{repository-tv28p82x.js → model-resolver-bn2zw3xc.js} +5 -5
- package/dist/chunks/{repository-2qtxdwzg.js → model-resolver-bqx0pjzp.js} +51 -51
- package/dist/chunks/{repository-xd9cc171.js → model-resolver-bstexjd6.js} +5 -5
- package/dist/chunks/{repository-ksg0sazg.js → model-resolver-bxg7f7wz.js} +45 -45
- package/dist/chunks/{repository-by8ty0bx.js → model-resolver-by8ty0bx.js} +1 -1
- package/dist/chunks/{repository-08xzxa8e.js → model-resolver-c2x10qzh.js} +1 -1
- package/dist/chunks/{repository-0ahs07zn.js → model-resolver-c6x7d2ts.js} +4 -4
- package/dist/chunks/{repository-346hvfgb.js → model-resolver-c730cvbw.js} +90 -90
- package/dist/chunks/{repository-8dncjpvn.js → model-resolver-cc1wdjjp.js} +19 -19
- package/dist/chunks/{repository-fpcrbcat.js → model-resolver-cjw47p47.js} +14 -14
- package/dist/chunks/{repository-pyc3gczw.js → model-resolver-cr44ae3x.js} +5 -5
- package/dist/chunks/{repository-yg1k5wpw.js → model-resolver-crfn2jq4.js} +18 -18
- package/dist/chunks/{repository-92ehh6cz.js → model-resolver-ctkjerjk.js} +11 -11
- package/dist/chunks/{repository-cwrgdav8.js → model-resolver-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-7tjync5t.js → model-resolver-cx3hb6ey.js} +21 -21
- package/dist/chunks/{repository-57v9t8b1.js → model-resolver-d0ga4tqw.js} +19 -19
- package/dist/chunks/{repository-bws3jtw9.js → model-resolver-d4ddsjkz.js} +4 -4
- package/dist/chunks/{repository-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-2v04724g.js → model-resolver-d642wqae.js} +18 -18
- package/dist/chunks/{repository-n2najmm2.js → model-resolver-d7exky8c.js} +3 -3
- package/dist/chunks/{repository-t2yp4qp9.js → model-resolver-da06b4s7.js} +23 -23
- package/dist/chunks/{repository-229tvxdn.js → model-resolver-dg5naf6e.js} +4 -4
- package/dist/chunks/{repository-myxktkwz.js → model-resolver-dkzgvvqa.js} +11 -11
- package/dist/chunks/{repository-dt77769w.js → model-resolver-dt77769w.js} +1 -1
- package/dist/chunks/{repository-jzbd9n56.js → model-resolver-dtbk5dvx.js} +24 -24
- package/dist/chunks/{repository-f8f6ttpt.js → model-resolver-dy77j9k9.js} +25 -25
- package/dist/chunks/{repository-sga6cxxk.js → model-resolver-e0ptrsep.js} +23 -23
- package/dist/chunks/{repository-vycsk1c7.js → model-resolver-e71bb87j.js} +8 -8
- package/dist/chunks/{repository-e834z07m.js → model-resolver-e834z07m.js} +1 -1
- package/dist/chunks/{repository-dy9wc0ek.js → model-resolver-ea2sb0gq.js} +27 -27
- package/dist/chunks/{repository-bymwvmjr.js → model-resolver-ecgc45x3.js} +4 -4
- package/dist/chunks/{repository-ggej6006.js → model-resolver-efb1daz1.js} +13 -13
- package/dist/chunks/{repository-rkkjt8fb.js → model-resolver-emwwbyqs.js} +20 -20
- package/dist/chunks/{repository-my66mdgm.js → model-resolver-epha14vy.js} +21 -21
- package/dist/chunks/{repository-eqw4pqj1.js → model-resolver-eqw4pqj1.js} +2 -2
- package/dist/chunks/{repository-p4s9hdeb.js → model-resolver-es9bhtwg.js} +27 -27
- package/dist/chunks/{repository-a70dxxxa.js → model-resolver-f2gbqpvw.js} +5 -5
- package/dist/chunks/{repository-f6e7p22k.js → model-resolver-f9ay64ez.js} +29 -29
- package/dist/chunks/{repository-b4hsppa9.js → model-resolver-fbs1s4s5.js} +9 -9
- package/dist/chunks/{repository-mgx1zyr6.js → model-resolver-fcazfteq.js} +16 -16
- package/dist/chunks/{repository-gg1x98p9.js → model-resolver-ffck4b23.js} +9 -9
- package/dist/chunks/{repository-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-prq7xxp2.js → model-resolver-fg9p65nk.js} +6 -6
- package/dist/chunks/{repository-w3h50mwv.js → model-resolver-fkcm1skw.js} +9 -9
- package/dist/chunks/{repository-m92nfpf5.js → model-resolver-fkjhewes.js} +9 -9
- package/dist/chunks/{repository-k426ppv8.js → model-resolver-fknvcfgj.js} +11 -11
- package/dist/chunks/{repository-rvwmk2rc.js → model-resolver-fmaaxttr.js} +23 -23
- package/dist/chunks/{repository-6mkkvg4d.js → model-resolver-fsqa7v6j.js} +18 -18
- package/dist/chunks/{repository-s3ap151k.js → model-resolver-fsyjsbe8.js} +36 -36
- package/dist/chunks/{repository-2m82kwf8.js → model-resolver-fvg558bg.js} +6 -6
- package/dist/chunks/{repository-64pz71zv.js → model-resolver-fvpy6jgn.js} +15 -15
- package/dist/chunks/{repository-4ccmkn1k.js → model-resolver-fwc8hngx.js} +4 -4
- package/dist/chunks/{repository-xq13qa7d.js → model-resolver-g3na21v9.js} +23 -23
- package/dist/chunks/model-resolver-g3wp5e7k.js +26 -0
- package/dist/chunks/{repository-gbjdnr5j.js → model-resolver-gbjdnr5j.js} +2 -2
- package/dist/chunks/{repository-5t0t932v.js → model-resolver-gcd56e55.js} +29 -29
- package/dist/chunks/{repository-k370mbj3.js → model-resolver-gjvd2ca0.js} +15 -15
- package/dist/chunks/{repository-kcv0p6qs.js → model-resolver-gkdd9kd3.js} +31 -31
- package/dist/chunks/{repository-wfbepe62.js → model-resolver-gtp06tzn.js} +58 -58
- package/dist/chunks/{repository-jy6ht0vf.js → model-resolver-gtsr79pn.js} +30 -30
- package/dist/chunks/{repository-7ptaasd0.js → model-resolver-h94v5e48.js} +8 -8
- package/dist/chunks/{repository-mfth9ytk.js → model-resolver-ha42g787.js} +18 -18
- package/dist/chunks/{repository-z8tfykde.js → model-resolver-hc1y14nv.js} +3 -3
- package/dist/chunks/{repository-hgzwgvze.js → model-resolver-hgzwgvze.js} +2 -2
- package/dist/chunks/{repository-etrnj9s7.js → model-resolver-hjnjc3ts.js} +8 -8
- package/dist/chunks/{repository-ajvm5x1k.js → model-resolver-hn9vjnxk.js} +59 -59
- package/dist/chunks/{repository-v0xx51e0.js → model-resolver-hv5amfp3.js} +32 -32
- package/dist/chunks/{repository-e9shpzm4.js → model-resolver-hvfsqw1r.js} +4 -4
- package/dist/chunks/{repository-yr3c35qq.js → model-resolver-j0q1dch4.js} +5 -5
- package/dist/chunks/{repository-10ahnnaz.js → model-resolver-j1ask773.js} +6 -6
- package/dist/chunks/{repository-9nh708zh.js → model-resolver-j43gwz94.js} +3 -3
- package/dist/chunks/{repository-z88rdk3t.js → model-resolver-jg1x7y7h.js} +9 -9
- package/dist/chunks/{repository-jm70asfg.js → model-resolver-jm70asfg.js} +1 -1
- package/dist/chunks/{repository-4pfcg8b2.js → model-resolver-jp23w26z.js} +17 -17
- package/dist/chunks/{repository-813cb08y.js → model-resolver-jqknj5pf.js} +19 -19
- package/dist/chunks/{repository-em9xfsjv.js → model-resolver-jsjn536r.js} +41 -41
- package/dist/chunks/{repository-y3p3hzkr.js → model-resolver-jv5ccajn.js} +5 -5
- package/dist/chunks/{repository-f6z7z56m.js → model-resolver-jyw0kdm1.js} +21 -21
- package/dist/chunks/{repository-s5she26k.js → model-resolver-k01n733z.js} +13 -13
- package/dist/chunks/{repository-xxxmm4tr.js → model-resolver-k742f7an.js} +18 -18
- package/dist/chunks/{repository-n6r6k69t.js → model-resolver-k9xvfvyx.js} +6 -6
- package/dist/chunks/{repository-c8gd2j19.js → model-resolver-kgdnhpch.js} +8 -8
- package/dist/chunks/{repository-42jetmjj.js → model-resolver-khqrnh1g.js} +33 -33
- package/dist/chunks/{repository-7p3kv0s7.js → model-resolver-knw5e895.js} +27 -27
- package/dist/chunks/{repository-ktck1cjp.js → model-resolver-ktck1cjp.js} +3 -3
- package/dist/chunks/{repository-ts0309y8.js → model-resolver-ktfadywa.js} +7 -7
- package/dist/chunks/{repository-7rb9v8wg.js → model-resolver-kz76vf0d.js} +29 -29
- package/dist/chunks/{repository-kzczzf4v.js → model-resolver-kzczzf4v.js} +1 -1
- package/dist/chunks/{repository-m1714858.js → model-resolver-m1714858.js} +1 -1
- package/dist/chunks/{repository-43kg0q29.js → model-resolver-m2hxkh02.js} +21 -21
- package/dist/chunks/model-resolver-m6cfdtf3.js +16 -0
- package/dist/chunks/{repository-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-mb7mbhnz.js → model-resolver-mb7mbhnz.js} +3 -3
- package/dist/chunks/{repository-ttqkg3t3.js → model-resolver-mdbsqr6s.js} +16 -16
- package/dist/chunks/{repository-5g90fmrv.js → model-resolver-me215f18.js} +1 -1
- package/dist/chunks/{repository-mm06edep.js → model-resolver-mm06edep.js} +1 -1
- package/dist/chunks/{repository-cmn9htvg.js → model-resolver-mn28p41s.js} +4 -4
- package/dist/chunks/{repository-mbvsapx9.js → model-resolver-mn9t0epx.js} +38 -38
- package/dist/chunks/{repository-zc6sszfw.js → model-resolver-mphw11w2.js} +13 -13
- package/dist/chunks/{repository-msd2a3qm.js → model-resolver-msd2a3qm.js} +4 -4
- package/dist/chunks/{repository-mpm8yx7z.js → model-resolver-nbpgvrja.js} +7 -7
- package/dist/chunks/{repository-g5gt5c3n.js → model-resolver-nd2qx06s.js} +9 -9
- package/dist/chunks/{repository-9cfmkamw.js → model-resolver-ngqnsspn.js} +12 -12
- package/dist/chunks/{repository-kmh9f3xz.js → model-resolver-nj85fgyx.js} +5 -5
- package/dist/chunks/{repository-6wsypzda.js → model-resolver-nqyr67f6.js} +6 -6
- package/dist/chunks/{repository-kszkre2j.js → model-resolver-nrw2j6d4.js} +8 -8
- package/dist/chunks/{repository-1psp2qsj.js → model-resolver-nss8bwdy.js} +19 -19
- package/dist/chunks/{repository-94e33dpz.js → model-resolver-nt907s04.js} +3 -3
- package/dist/chunks/{repository-t49a5w8f.js → model-resolver-p4zp4vdv.js} +6 -6
- package/dist/chunks/{repository-qtq380bn.js → model-resolver-p5gfs0ne.js} +27 -27
- package/dist/chunks/{repository-q43319pn.js → model-resolver-p9t7fqqw.js} +28 -28
- package/dist/chunks/{repository-najwffq5.js → model-resolver-pcbkngps.js} +32 -32
- package/dist/chunks/{repository-9jy8mats.js → model-resolver-pgp4x778.js} +2 -2
- package/dist/chunks/{repository-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{repository-2dd1gyky.js → model-resolver-psd8nhz2.js} +11 -11
- package/dist/chunks/{repository-0994vbbn.js → model-resolver-pzd7a51q.js} +29 -29
- package/dist/chunks/{repository-h5gm5jf1.js → model-resolver-q6a7h9km.js} +7 -7
- package/dist/chunks/{repository-vntxrryt.js → model-resolver-q7kt9bgk.js} +36 -36
- package/dist/chunks/{repository-3ts1yv15.js → model-resolver-qa34d95v.js} +22 -22
- package/dist/chunks/{repository-a0p8mqkt.js → model-resolver-qbg5x5nk.js} +11 -11
- package/dist/chunks/{repository-4hwm0yv8.js → model-resolver-qef5wpr2.js} +15 -15
- package/dist/chunks/{repository-naadnz2w.js → model-resolver-qezbz7k4.js} +14 -14
- package/dist/chunks/{repository-hp5xq2f7.js → model-resolver-qm0rg8rs.js} +13 -13
- package/dist/chunks/{repository-vsnyj3xr.js → model-resolver-qmns6g7h.js} +44 -44
- package/dist/chunks/{repository-qp7r0hxv.js → model-resolver-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-wfdx5ztx.js → model-resolver-qsdghx1p.js} +4 -4
- package/dist/chunks/{repository-ews15w8r.js → model-resolver-qt75d4zp.js} +5 -5
- package/dist/chunks/{repository-0bz9q8qd.js → model-resolver-qwey4zz2.js} +20 -20
- package/dist/chunks/{repository-86kkc16z.js → model-resolver-qyh1x08y.js} +38 -38
- package/dist/chunks/{repository-5wb77t7x.js → model-resolver-r21c3xnz.js} +12 -12
- package/dist/chunks/{repository-z5rnheqe.js → model-resolver-r3xas383.js} +11 -11
- package/dist/chunks/{repository-r542h3bh.js → model-resolver-r542h3bh.js} +1 -1
- package/dist/chunks/{repository-7vb5mjx9.js → model-resolver-r5evet85.js} +19 -19
- package/dist/chunks/{repository-p94p4v4n.js → model-resolver-r7zrbnjn.js} +4 -4
- package/dist/chunks/{repository-ygymdc53.js → model-resolver-r88dn4za.js} +11 -11
- package/dist/chunks/{repository-w5ce9yke.js → model-resolver-r8nj5tkc.js} +29 -29
- package/dist/chunks/{repository-b78vcyc5.js → model-resolver-r9cgykq9.js} +22 -22
- package/dist/chunks/{repository-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-9c2bqs4t.js → model-resolver-regfzdhd.js} +9 -9
- package/dist/chunks/{repository-hfdeg0q9.js → model-resolver-rg08ty0x.js} +31 -31
- package/dist/chunks/{repository-g6hens4m.js → model-resolver-rg889x3e.js} +28 -28
- package/dist/chunks/{repository-rgc9cx3e.js → model-resolver-rgc9cx3e.js} +2 -2
- package/dist/chunks/{repository-st4hg3gb.js → model-resolver-rt18gyq5.js} +11 -11
- package/dist/chunks/{repository-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-h3j309gg.js → model-resolver-rx3mgszk.js} +25 -25
- package/dist/chunks/{repository-96q4hcrt.js → model-resolver-rzw5mefb.js} +23 -23
- package/dist/chunks/{repository-stztmf2b.js → model-resolver-s1y60vvv.js} +30 -30
- package/dist/chunks/{repository-5n0rnk8e.js → model-resolver-s26c8eb5.js} +4 -4
- package/dist/chunks/{repository-ten44rr7.js → model-resolver-s8q9980p.js} +2 -2
- package/dist/chunks/{repository-ej1gfyzk.js → model-resolver-sb76bcem.js} +13 -13
- package/dist/chunks/{repository-g3e3vmrx.js → model-resolver-sbtnyaht.js} +6 -6
- package/dist/chunks/{repository-sbya78hr.js → model-resolver-sbya78hr.js} +1 -1
- package/dist/chunks/{repository-ghrv1g9c.js → model-resolver-sdt5j0rm.js} +4 -4
- package/dist/chunks/{repository-sf9y72b7.js → model-resolver-sf9y72b7.js} +1 -1
- package/dist/chunks/{repository-wqwf5vb3.js → model-resolver-sgtxanvd.js} +10 -10
- package/dist/chunks/{repository-0j7gp832.js → model-resolver-sqjzf8x2.js} +4 -4
- package/dist/chunks/{repository-svcy3p9a.js → model-resolver-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-q07m0qr2.js → model-resolver-t1907cxx.js} +28 -28
- package/dist/chunks/{repository-8akjpyn6.js → model-resolver-t48jrnqq.js} +3 -3
- package/dist/chunks/{repository-txan6bsn.js → model-resolver-t6kpe0w9.js} +40 -40
- package/dist/chunks/{repository-qcvzp09b.js → model-resolver-t742eyav.js} +31 -31
- package/dist/chunks/{repository-bn84h1pr.js → model-resolver-t9qtt0fb.js} +43 -43
- package/dist/chunks/{repository-tbpn7jtk.js → model-resolver-tbpn7jtk.js} +1 -1
- package/dist/chunks/{repository-htz3qjhf.js → model-resolver-tcmngs5t.js} +5 -5
- package/dist/chunks/{repository-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-zc5hv29m.js → model-resolver-te265475.js} +39 -39
- package/dist/chunks/{repository-teav1bzy.js → model-resolver-teav1bzy.js} +2 -2
- package/dist/chunks/{repository-9hxzqb8n.js → model-resolver-tejpjfnb.js} +10 -10
- package/dist/chunks/{repository-tg7s7b5t.js → model-resolver-tg7s7b5t.js} +1 -1
- package/dist/chunks/{repository-tr8x705m.js → model-resolver-tr8x705m.js} +1 -1
- package/dist/chunks/{repository-twssxy5n.js → model-resolver-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-a55devgp.js → model-resolver-txr8cjwm.js} +36 -36
- package/dist/chunks/{repository-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-1g8et7f3.js → model-resolver-v3jt56e1.js} +15 -15
- package/dist/chunks/{repository-ynkzm82q.js → model-resolver-vhyxqj1s.js} +25 -25
- package/dist/chunks/{repository-vjf35v1f.js → model-resolver-vjf35v1f.js} +1 -1
- package/dist/chunks/{repository-8a1b5gq0.js → model-resolver-vme06a9b.js} +7 -7
- package/dist/chunks/{repository-vmqe41cb.js → model-resolver-vmqe41cb.js} +1 -1
- package/dist/chunks/{repository-fr4kys9t.js → model-resolver-vxcdg492.js} +20 -20
- package/dist/chunks/{repository-c9vkkpgm.js → model-resolver-vz5amzxd.js} +9 -9
- package/dist/chunks/{repository-w2eysc6j.js → model-resolver-w2eysc6j.js} +2 -2
- package/dist/chunks/{repository-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-w3vqc4ke.js → model-resolver-w48gbg6x.js} +8 -8
- package/dist/chunks/{repository-hxm880w8.js → model-resolver-w6psvvet.js} +32 -32
- package/dist/chunks/{repository-k9akkpr2.js → model-resolver-w86158h9.js} +9 -9
- package/dist/chunks/{repository-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{repository-wegkxhrn.js → model-resolver-wegkxhrn.js} +2 -2
- package/dist/chunks/{repository-ad4g1b77.js → model-resolver-wh88c09m.js} +16 -16
- package/dist/chunks/{repository-94x7x2bc.js → model-resolver-wj9f81d9.js} +11 -11
- package/dist/chunks/{repository-wr3re1en.js → model-resolver-wr3re1en.js} +1 -1
- package/dist/chunks/{repository-rxvjga48.js → model-resolver-wrqm41rr.js} +16 -16
- package/dist/chunks/{repository-e4nwzbzr.js → model-resolver-wt01axzz.js} +33 -33
- package/dist/chunks/{repository-c7cw818c.js → model-resolver-wt99tj4q.js} +5 -5
- package/dist/chunks/{repository-wvr8xscb.js → model-resolver-wvr8xscb.js} +1 -1
- package/dist/chunks/{repository-a84sc8bh.js → model-resolver-x20pshzq.js} +83 -83
- package/dist/chunks/{repository-9m9rb66j.js → model-resolver-x5ra0hxg.js} +24 -24
- package/dist/chunks/{repository-h18d68bp.js → model-resolver-xbwyvq27.js} +15 -15
- package/dist/chunks/{repository-ndj0qvc1.js → model-resolver-xfhqxy2h.js} +16 -16
- package/dist/chunks/{repository-s5hs9nb1.js → model-resolver-xk21k2xb.js} +44 -44
- package/dist/chunks/{repository-8zkf5cgt.js → model-resolver-xm1rq0mn.js} +6 -6
- package/dist/chunks/{repository-3rykqk9c.js → model-resolver-xprkaztp.js} +8 -8
- package/dist/chunks/{repository-n320gsn2.js → model-resolver-xvn8mnch.js} +4 -4
- package/dist/chunks/{repository-xxschbft.js → model-resolver-xxschbft.js} +1 -1
- package/dist/chunks/{repository-2yh5f2q3.js → model-resolver-y85g5nsf.js} +17 -17
- package/dist/chunks/{repository-r1pfe6de.js → model-resolver-y8bnb9h8.js} +9 -9
- package/dist/chunks/{repository-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-ywab437h.js → model-resolver-yg5hjkmc.js} +33 -33
- package/dist/chunks/{repository-x6dx5rh2.js → model-resolver-ykee85ey.js} +23 -23
- package/dist/chunks/{repository-yr705xyq.js → model-resolver-yr705xyq.js} +1 -1
- package/dist/chunks/{repository-w8xzxbk7.js → model-resolver-ystpxhhk.js} +5 -5
- package/dist/chunks/{repository-f5fh1k3t.js → model-resolver-ytktxama.js} +7 -7
- package/dist/chunks/{repository-yvtc2x31.js → model-resolver-yvtc2x31.js} +1 -1
- package/dist/chunks/{repository-8sfccg3j.js → model-resolver-yw62prwp.js} +14 -14
- package/dist/chunks/{repository-f25p614d.js → model-resolver-ywnm2ad1.js} +18 -18
- package/dist/chunks/{repository-et652733.js → model-resolver-z5kgqz4s.js} +15 -15
- package/dist/chunks/{repository-b4k47k2s.js → model-resolver-za1h6cmh.js} +5 -5
- package/dist/chunks/{repository-k311np5h.js → model-resolver-zdq92zr8.js} +14 -14
- package/dist/chunks/{repository-ze75qvmd.js → model-resolver-ze75qvmd.js} +3 -3
- package/dist/chunks/{repository-dw0j9b8q.js → model-resolver-zeavkgg3.js} +54 -54
- package/dist/chunks/{repository-0jbwgxgf.js → model-resolver-zrtqzpc7.js} +9 -9
- package/dist/chunks/{repository-2vj3mcb9.js → model-resolver-ztbda904.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +128 -128
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +83 -83
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +129 -129
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- 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 +112 -112
- 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/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +431 -431
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +183 -183
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +407 -407
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +415 -415
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +261 -261
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +254 -254
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +152 -152
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +207 -207
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +247 -247
- package/dist/session/usage.js +1 -1
- package/dist/session.js +237 -237
- package/dist/shared-cache.js +5 -5
- 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 +15 -15
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +148 -148
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +104 -104
- 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 +184 -184
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +161 -161
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- 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 +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +101 -101
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/repository-2b5ete4v.js +0 -577
- package/dist/chunks/repository-4wbbxyz1.js +0 -16
- package/dist/chunks/repository-c6k7fcz8.js +0 -265
- package/dist/chunks/repository-s1f96faj.js +0 -26
- package/dist/chunks/repository-z7bdqmx5.js +0 -18
- /package/dist/chunks/{repository-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-108x4f4w.js → model-resolver-108x4f4w.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kah00gy.js → model-resolver-1kah00gy.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3af0jn4w.js → model-resolver-3af0jn4w.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4qk9sjk2.js → model-resolver-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5w3e23ze.js → model-resolver-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-6agm2x70.js → model-resolver-6agm2x70.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-beh6qq61.js → model-resolver-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-bhmrqjy3.js → model-resolver-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-ean2d8b5.js → model-resolver-ean2d8b5.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fkpq3x5p.js → model-resolver-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-nh4v3znn.js → model-resolver-nh4v3znn.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-p71gwv9c.js → model-resolver-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-syrav9an.js → model-resolver-syrav9an.js} +0 -0
- /package/dist/chunks/{repository-t03h4f5z.js → model-resolver-t03h4f5z.js} +0 -0
- /package/dist/chunks/{repository-ty7weeps.js → model-resolver-ty7weeps.js} +0 -0
- /package/dist/chunks/{repository-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-vtarvj67.js → model-resolver-vtarvj67.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x4th4bpe.js → model-resolver-x4th4bpe.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-z0h12gs8.js → model-resolver-z0h12gs8.js} +0 -0
- /package/dist/chunks/{repository-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
- /package/dist/chunks/{repository-zxpyjp51.js → model-resolver-zxpyjp51.js} +0 -0
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-6fpa6ee2.js";
|
|
4
4
|
import {
|
|
5
5
|
ID19,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-7majwt7k.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-xvn8mnch.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID17,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-es9bhtwg.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
ID16
|
|
21
|
+
} from "./model-resolver-f9ay64ez.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make31
|
|
26
|
+
} from "./model-resolver-8t99kr38.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service69
|
|
29
|
+
} from "./model-resolver-367emvgy.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-resolver-fsqa7v6j.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service51
|
|
36
|
+
} from "./model-resolver-p5gfs0ne.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-resolver-p4zp4vdv.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
41
|
+
Options10,
|
|
42
42
|
defaultServer2,
|
|
43
43
|
server2,
|
|
44
44
|
headers2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./model-resolver-nrw2j6d4.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
File2,
|
|
48
|
+
Service52
|
|
49
|
+
} from "./model-resolver-844xcd9v.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
51
|
+
Service44,
|
|
52
52
|
fingerprint2
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./model-resolver-w48gbg6x.js";
|
|
54
54
|
import {
|
|
55
55
|
isSafeSegment2,
|
|
56
56
|
isSafeRelativePath2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./model-resolver-3adw4bt5.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
ID6,
|
|
60
|
+
Input15,
|
|
61
61
|
Response2
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./model-resolver-0zbvvfdb.js";
|
|
63
63
|
import {
|
|
64
64
|
onSwitch2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./model-resolver-fbs1s4s5.js";
|
|
66
66
|
|
|
67
67
|
// src/plugin/provider/opencode.ts
|
|
68
68
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -131,7 +131,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
131
131
|
}
|
|
132
132
|
function oauth(http) {
|
|
133
133
|
return {
|
|
134
|
-
integrationID:
|
|
134
|
+
integrationID: ID17.make("opencode"),
|
|
135
135
|
method: {
|
|
136
136
|
id: methodID,
|
|
137
137
|
type: "oauth",
|
|
@@ -198,12 +198,12 @@ var OpencodePlugin2 = define({
|
|
|
198
198
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
199
199
|
const client = yield* HttpClient.HttpClient;
|
|
200
200
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
201
|
-
const config = yield*
|
|
202
|
-
const discovery = yield*
|
|
203
|
-
const skills = yield*
|
|
204
|
-
const cache = yield*
|
|
201
|
+
const config = yield* Service69;
|
|
202
|
+
const discovery = yield* Service52;
|
|
203
|
+
const skills = yield* Service51;
|
|
204
|
+
const cache = yield* Service44;
|
|
205
205
|
const scope = yield* Scope.Scope;
|
|
206
|
-
const settings = yield*
|
|
206
|
+
const settings = yield* Options10;
|
|
207
207
|
const loading = Semaphore.makeUnsafe(1);
|
|
208
208
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined, access: undefined };
|
|
209
209
|
let instructions = [];
|
|
@@ -246,12 +246,12 @@ var OpencodePlugin2 = define({
|
|
|
246
246
|
const fallback = (connection) => key3(connection) === key3(snapshot.connection) ? { ...snapshot, connection } : { remote: undefined, connection, organization: undefined, access: undefined };
|
|
247
247
|
let integrated;
|
|
248
248
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
249
|
-
yield* config.integration?.(
|
|
250
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
249
|
+
yield* config.integration?.(ID17.make("opencode"), document) ?? Effect.void;
|
|
250
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID17.make("opencode"));
|
|
251
251
|
});
|
|
252
252
|
const publish = Effect.fnUntraced(function* (next) {
|
|
253
|
-
const document = next.remote && next.connection &&
|
|
254
|
-
integrationID:
|
|
253
|
+
const document = next.remote && next.connection && make31({
|
|
254
|
+
integrationID: ID17.make("opencode"),
|
|
255
255
|
connection: next.connection.type === "credential" ? { ...next.connection, id: ID19.make(next.connection.id) } : next.connection,
|
|
256
256
|
organization: next.organization,
|
|
257
257
|
info: next.remote
|
|
@@ -261,7 +261,7 @@ var OpencodePlugin2 = define({
|
|
|
261
261
|
});
|
|
262
262
|
const syncLibrary = (next, allowed) => {
|
|
263
263
|
const library = allowed ? Option.getOrUndefined(Schema.decodeUnknownOption(Library)(next.remote?.library)) : undefined;
|
|
264
|
-
instructions = (library?.instructions ?? []).map((item) => new
|
|
264
|
+
instructions = (library?.instructions ?? []).map((item) => new File2({ path: `OpenCode Console instruction ${item.id}`, content: item.content }));
|
|
265
265
|
if (!allowed)
|
|
266
266
|
librarySkills = { owner: "", items: [] };
|
|
267
267
|
return FiberHandle.run(skillDownload, loadSkills(next.connection, library?.skills ?? []).pipe(Effect.flatMap((loaded) => {
|
|
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
|
|
|
303
303
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
304
304
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
305
305
|
const server = yield* normalizeServer(server2(credential));
|
|
306
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
306
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
307
307
|
query: input.query,
|
|
308
308
|
providerID
|
|
309
309
|
}));
|
|
@@ -332,7 +332,7 @@ var OpencodePlugin2 = define({
|
|
|
332
332
|
integrate2(providers, integrated);
|
|
333
333
|
});
|
|
334
334
|
yield* ctx.provider.transform((providers) => {
|
|
335
|
-
const item = providers.get(
|
|
335
|
+
const item = providers.get(ID16.opencode);
|
|
336
336
|
if (!item)
|
|
337
337
|
return;
|
|
338
338
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -344,7 +344,7 @@ var OpencodePlugin2 = define({
|
|
|
344
344
|
});
|
|
345
345
|
});
|
|
346
346
|
yield* ctx.model.transform((models) => {
|
|
347
|
-
const item = models.provider.get(
|
|
347
|
+
const item = models.provider.get(ID16.opencode);
|
|
348
348
|
if (!item)
|
|
349
349
|
return;
|
|
350
350
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -359,7 +359,7 @@ var OpencodePlugin2 = define({
|
|
|
359
359
|
}
|
|
360
360
|
});
|
|
361
361
|
yield* ctx.websearch.transform((editor) => {
|
|
362
|
-
const provider =
|
|
362
|
+
const provider = ID6.make("opencode");
|
|
363
363
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
364
364
|
editor.add(search(provider, snapshot.connection));
|
|
365
365
|
});
|
|
@@ -406,7 +406,7 @@ var OpencodePlugin2 = define({
|
|
|
406
406
|
});
|
|
407
407
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
408
408
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
409
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
409
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID16.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
410
410
|
});
|
|
411
411
|
yield* guard(snapshot);
|
|
412
412
|
yield* ctx.session.hook("prompt", () => check(Duration.minutes(1), Duration.seconds(3)));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make27
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make27 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -79,4 +79,4 @@ var make28 = (options) => Effect.gen(function* () {
|
|
|
79
79
|
return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { make27, exports_run_coordinator };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-mn9t0epx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin43
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai/effect";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin43 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin43, exports_plan };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeFiles2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-rgc9cx3e.js";
|
|
4
4
|
import {
|
|
5
5
|
makeLocalDriver2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-cwrgdav8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service87,
|
|
9
|
+
node90
|
|
10
|
+
} from "./model-resolver-yw62prwp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service86,
|
|
13
|
+
node88
|
|
14
|
+
} from "./model-resolver-pzd7a51q.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/environment/environment.ts
|
|
20
20
|
var exports_environment3 = {};
|
|
21
21
|
__export(exports_environment3, {
|
|
22
22
|
EnvironmentService: () => exports_environment3,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service85,
|
|
24
|
+
node: () => node87
|
|
25
25
|
});
|
|
26
26
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
27
27
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
|
|
30
|
-
class
|
|
30
|
+
class Service85 extends Context.Service()("@opencode/Environment") {
|
|
31
31
|
}
|
|
32
|
-
var layer = Layer.effect(
|
|
32
|
+
var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
33
33
|
const spawner = yield* ChildProcessSpawner;
|
|
34
|
-
const location = yield*
|
|
35
|
-
const workspace = yield*
|
|
34
|
+
const location = yield* Service87;
|
|
35
|
+
const workspace = yield* Service86;
|
|
36
36
|
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);
|
|
37
|
-
return
|
|
37
|
+
return Service85.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
40
|
-
service:
|
|
39
|
+
var node87 = makeLocationNode({
|
|
40
|
+
service: Service85,
|
|
41
41
|
layer,
|
|
42
|
-
deps: [CrossSpawnSpawner.node,
|
|
42
|
+
deps: [CrossSpawnSpawner.node, node90, node88]
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
export {
|
|
45
|
+
export { Service85, node87, exports_environment3 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service92,
|
|
6
|
-
node96
|
|
7
|
-
} from "./repository-94x7x2bc.js";
|
|
8
|
-
import {
|
|
9
|
-
Service91,
|
|
10
6
|
node95
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-wj9f81d9.js";
|
|
12
8
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
9
|
+
Service90,
|
|
10
|
+
node93
|
|
11
|
+
} from "./model-resolver-wh88c09m.js";
|
|
12
|
+
import {
|
|
13
|
+
Service91,
|
|
14
|
+
node94
|
|
15
|
+
} from "./model-resolver-7k6n85sm.js";
|
|
16
16
|
import {
|
|
17
17
|
ID22,
|
|
18
18
|
Current3,
|
|
19
19
|
Info32,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
@@ -42,13 +42,13 @@ __export(exports_project, {
|
|
|
42
42
|
Current: () => Current2,
|
|
43
43
|
ID: () => ID21,
|
|
44
44
|
Info: () => Info31,
|
|
45
|
-
NotFoundError: () =>
|
|
45
|
+
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service89,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured12,
|
|
51
|
+
node: () => node92,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -67,7 +67,7 @@ var Current2 = Current3;
|
|
|
67
67
|
var Info31 = Info32;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
70
|
+
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
71
|
projectID: ID21
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service89 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,12 +111,12 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service91;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service90;
|
|
120
120
|
const db = (yield* Service92).db;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
122
|
const announcing = new Set;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
187
187
|
time_updated: Date.now()
|
|
188
188
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
189
189
|
if (!row)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError14({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event21.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service89.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service89,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [
|
|
354
|
+
deps: [node93, node95, FSUtil.node, node94, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node92 = configured12();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service89;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node92]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export { ID21, Vcs2, Current2, Info31, UpdateInput4,
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service89, configured12, node92, sweepNode2, exports_project };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
nativeSettings2,
|
|
6
6
|
timeouts2,
|
|
7
7
|
mergeOverlay2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-f9ay64ez.js";
|
|
9
9
|
import {
|
|
10
10
|
stringify2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-z0h12gs8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/aisdk.ts
|
|
17
17
|
var exports_aisdk2 = {};
|
|
18
18
|
__export(exports_aisdk2, {
|
|
19
19
|
AISDK: () => exports_aisdk2,
|
|
20
20
|
InitError: () => InitError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service74,
|
|
22
22
|
locationLayer: () => locationLayer2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node76
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { httpFetch } from "@opencode/util/effect/app-node-platform";
|
|
@@ -154,7 +154,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
154
154
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
155
155
|
|
|
156
156
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
157
|
-
providerID:
|
|
157
|
+
providerID: ID16,
|
|
158
158
|
cause: Schema.Defect()
|
|
159
159
|
}) {
|
|
160
160
|
}
|
|
@@ -162,9 +162,9 @@ function initError(providerID) {
|
|
|
162
162
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
class
|
|
165
|
+
class Service74 extends Context.Service()("@opencode/AISDK") {
|
|
166
166
|
}
|
|
167
|
-
var locationLayer2 = Layer.effect(
|
|
167
|
+
var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
|
|
168
168
|
const outbound = yield* FetchHttpClient.Fetch;
|
|
169
169
|
let sdkHooks = [];
|
|
170
170
|
let languageHooks = [];
|
|
@@ -203,7 +203,7 @@ var locationLayer2 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
203
203
|
}
|
|
204
204
|
return event;
|
|
205
205
|
});
|
|
206
|
-
const service =
|
|
206
|
+
const service = Service74.of({
|
|
207
207
|
hook: {
|
|
208
208
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
209
209
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -861,6 +861,6 @@ function providerErrorMessage(error) {
|
|
|
861
861
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
862
862
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
863
863
|
}
|
|
864
|
-
var
|
|
864
|
+
var node76 = makeLocationNode({ service: Service74, layer: locationLayer2, deps: [httpFetch] });
|
|
865
865
|
|
|
866
|
-
export { InitError2,
|
|
866
|
+
export { InitError2, Service74, locationLayer2, node76, exports_aisdk2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./model-resolver-367emvgy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./model-resolver-dy77j9k9.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-mm06edep.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-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: () => Plugin26
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin26 = 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* Service69;
|
|
27
|
+
const snapshot = yield* Service48;
|
|
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 Plugin28 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin26, exports_snapshot };
|