@opencode/core 0.0.0-dev-1018 → 0.0.0-dev-1021
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +252 -252
- package/dist/bus.js +80 -80
- package/dist/chunks/{location-services-ppay2prz.js → variant-00qs8ms4.js} +7 -7
- package/dist/chunks/{location-services-c348qrfn.js → variant-01hyf2gm.js} +10 -10
- package/dist/chunks/{location-services-dzvgyemd.js → variant-02gada8r.js} +14 -14
- package/dist/chunks/{location-services-034tev2y.js → variant-034tev2y.js} +2 -2
- package/dist/chunks/{location-services-vw0tjj1n.js → variant-04s3xj52.js} +5 -5
- package/dist/chunks/{location-services-rjg4ptcj.js → variant-04tv7frf.js} +9 -9
- package/dist/chunks/{location-services-t872w7xh.js → variant-06xv1d3c.js} +3 -3
- package/dist/chunks/{location-services-g18g3d01.js → variant-0a9c3z02.js} +26 -26
- package/dist/chunks/{location-services-7xf080vp.js → variant-0c0dmfvk.js} +34 -34
- package/dist/chunks/{location-services-19y9ca77.js → variant-0gv8v8qp.js} +12 -12
- package/dist/chunks/{location-services-0ma9gw4f.js → variant-0ma9gw4f.js} +2 -2
- package/dist/chunks/{location-services-0php2d2a.js → variant-0php2d2a.js} +4 -4
- package/dist/chunks/{location-services-7yn9f8h5.js → variant-11z3y5m4.js} +11 -11
- package/dist/chunks/{location-services-ca7nh339.js → variant-15cn84bc.js} +11 -11
- package/dist/chunks/variant-1694ca0t.js +273 -0
- package/dist/chunks/{location-services-qnsd7j7p.js → variant-16nbjf0j.js} +31 -31
- package/dist/chunks/{location-services-j1hxdwg7.js → variant-1am7fc68.js} +13 -13
- package/dist/chunks/{location-services-1aqsckx4.js → variant-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-services-ks3nrd9n.js → variant-1c4cg8g5.js} +15 -15
- package/dist/chunks/{location-services-fw8b407a.js → variant-1d309avm.js} +24 -24
- package/dist/chunks/{location-services-1ep2p91f.js → variant-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-services-2zdv0xg6.js → variant-1jsbehcm.js} +11 -11
- package/dist/chunks/{location-services-7gg9f32q.js → variant-1rmm5tby.js} +43 -43
- package/dist/chunks/{location-services-ybws1qgk.js → variant-1v2g13eq.js} +4 -4
- package/dist/chunks/{location-services-75ebkg3j.js → variant-1vhtnv1t.js} +196 -196
- package/dist/chunks/{location-services-1x2knyw4.js → variant-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-services-1yq9hg58.js → variant-1yq9hg58.js} +1 -1
- package/dist/chunks/{location-services-1rfapbvb.js → variant-21ad2p8c.js} +13 -13
- package/dist/chunks/{location-services-25h84942.js → variant-25h84942.js} +1 -1
- package/dist/chunks/{location-services-5j68pf7y.js → variant-2f6xwkke.js} +17 -17
- package/dist/chunks/{location-services-2fc7eemy.js → variant-2fc7eemy.js} +1 -1
- package/dist/chunks/{location-services-vyy9a248.js → variant-2jbtsx7f.js} +10 -10
- package/dist/chunks/{location-services-9q8g9sv8.js → variant-2kg89srt.js} +4 -4
- package/dist/chunks/{location-services-s1ba0vj0.js → variant-2p60zmnr.js} +2 -2
- package/dist/chunks/{location-services-y0rmysmd.js → variant-2q8hd4zx.js} +18 -18
- package/dist/chunks/{location-services-gwyytpcj.js → variant-2s9mae96.js} +6 -6
- package/dist/chunks/{location-services-g8vy647v.js → variant-37yb2w81.js} +41 -41
- package/dist/chunks/{location-services-04whjz6n.js → variant-3adw4bt5.js} +9 -9
- package/dist/chunks/{location-services-4qvkk0dz.js → variant-3dg2f2kn.js} +6 -6
- package/dist/chunks/{location-services-e36d7ha4.js → variant-3dqat21d.js} +8 -8
- package/dist/chunks/{location-services-0z8g566h.js → variant-3f5hge4z.js} +11 -11
- package/dist/chunks/{location-services-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-g3x8pyyq.js → variant-3kmgnts2.js} +3 -3
- package/dist/chunks/{location-services-3g6amnkk.js → variant-3m120mf8.js} +1 -1
- package/dist/chunks/{location-services-3nnrz6f6.js → variant-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-services-zjrfncxe.js → variant-3ns607qw.js} +77 -77
- package/dist/chunks/{location-services-18b1hh0p.js → variant-3qevzq3v.js} +11 -11
- package/dist/chunks/{location-services-br0kkpnn.js → variant-3ryz99p0.js} +7 -7
- package/dist/chunks/{location-services-0t4nwps0.js → variant-3s6tjk9w.js} +4 -4
- package/dist/chunks/{location-services-j668sn39.js → variant-3y2xxsbq.js} +17 -17
- package/dist/chunks/{location-services-40y6dtc2.js → variant-40y6dtc2.js} +1 -1
- package/dist/chunks/{location-services-40za9wsf.js → variant-40za9wsf.js} +2 -2
- package/dist/chunks/{location-services-jxd6f16v.js → variant-44pmzq9c.js} +2 -2
- package/dist/chunks/{location-services-xznh71wt.js → variant-44t04hen.js} +43 -43
- package/dist/chunks/{location-services-kj76qnrb.js → variant-4670jfw2.js} +2 -2
- package/dist/chunks/{location-services-ccp6j38y.js → variant-487rztgh.js} +8 -8
- package/dist/chunks/{location-services-m764bqcb.js → variant-49y6ybtx.js} +14 -14
- package/dist/chunks/{location-services-8ksznzzn.js → variant-4avvagxm.js} +13 -13
- package/dist/chunks/{location-services-9mzt2h69.js → variant-4c6nxctq.js} +17 -17
- package/dist/chunks/{location-services-4dx1dgte.js → variant-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-services-4f25tdd0.js → variant-4f25tdd0.js} +1 -1
- package/dist/chunks/{location-services-qs2j0e81.js → variant-4kb2rb9z.js} +3 -3
- package/dist/chunks/{location-services-4pyp9zr9.js → variant-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-services-4v008n1t.js → variant-4v008n1t.js} +1 -1
- package/dist/chunks/{location-services-zczb3ahd.js → variant-4wc7zfb5.js} +13 -13
- package/dist/chunks/{location-services-11m1jm16.js → variant-4yee01q8.js} +11 -11
- package/dist/chunks/{location-services-yfmjk2nz.js → variant-52k06fgh.js} +10 -10
- package/dist/chunks/{location-services-k8ezxhnc.js → variant-52x6f109.js} +4 -4
- package/dist/chunks/{location-services-m752f6cs.js → variant-56ap4002.js} +25 -25
- package/dist/chunks/{location-services-fyfzbt3s.js → variant-58072hz9.js} +2 -2
- package/dist/chunks/{location-services-4mqvkt3j.js → variant-5dyprbjy.js} +27 -27
- package/dist/chunks/{location-services-kj3m9s0k.js → variant-5hvecwch.js} +8 -8
- package/dist/chunks/{location-services-rgs6xe9s.js → variant-5kw4vp5v.js} +7 -7
- package/dist/chunks/{location-services-5m9w47nd.js → variant-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-5whx36p1.js → variant-5whx36p1.js} +1 -1
- package/dist/chunks/{location-services-kf574bvz.js → variant-5y684b8m.js} +10 -10
- package/dist/chunks/{location-services-sx0w8rs7.js → variant-5z9wyjq2.js} +12 -12
- package/dist/chunks/{location-services-h0qxp3tm.js → variant-643xh5xb.js} +49 -49
- package/dist/chunks/{location-services-xksw6ev0.js → variant-67wwskyb.js} +4 -4
- package/dist/chunks/{location-services-rn1qbw8h.js → variant-6brtbz4q.js} +9 -9
- package/dist/chunks/{location-services-vt4r9rmy.js → variant-6h8vcvjm.js} +9 -9
- package/dist/chunks/{location-services-3ee1s2ra.js → variant-6ktfbj0j.js} +6 -6
- package/dist/chunks/{location-services-ejpxyj8k.js → variant-6kyk0q73.js} +11 -11
- package/dist/chunks/{location-services-n1dex2d7.js → variant-6sa2nc3c.js} +8 -8
- package/dist/chunks/{location-services-nxqh83cm.js → variant-759gfxk1.js} +27 -27
- package/dist/chunks/{location-services-bvtd3b63.js → variant-779kvspc.js} +18 -18
- package/dist/chunks/{location-services-78p2h4ex.js → variant-78p2h4ex.js} +2 -2
- package/dist/chunks/{location-services-6y2b864j.js → variant-79k544d0.js} +7 -7
- package/dist/chunks/{location-services-ek05gm53.js → variant-7a9n7fqw.js} +33 -33
- package/dist/chunks/{location-services-hm74t5nv.js → variant-7af8vm84.js} +3 -3
- package/dist/chunks/{location-services-p7qcaf5b.js → variant-7any9j1d.js} +11 -11
- package/dist/chunks/{location-services-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-ghckvrg0.js → variant-7ge0yknw.js} +28 -28
- package/dist/chunks/{location-services-y66q23bf.js → variant-7gv1pznk.js} +15 -15
- package/dist/chunks/{location-services-c9bjbb3k.js → variant-7mkpy6cz.js} +19 -19
- package/dist/chunks/{location-services-57hexvt2.js → variant-7q7qky4b.js} +24 -24
- package/dist/chunks/{location-services-2sk6hk3v.js → variant-7s9npmvw.js} +32 -32
- package/dist/chunks/{location-services-f3kdy67z.js → variant-7tn0bx3w.js} +26 -26
- package/dist/chunks/{location-services-95ch3ng8.js → variant-7vmd1mc2.js} +27 -27
- package/dist/chunks/{location-services-7w2ypzdf.js → variant-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-services-7weczvnd.js → variant-7weczvnd.js} +1 -1
- package/dist/chunks/{location-services-80mg3ag8.js → variant-80mg3ag8.js} +3 -3
- package/dist/chunks/{location-services-80pdk984.js → variant-80pdk984.js} +1 -1
- package/dist/chunks/{location-services-85jq8dht.js → variant-85jq8dht.js} +1 -1
- package/dist/chunks/{location-services-24han2b5.js → variant-8b3n411w.js} +50 -50
- package/dist/chunks/{location-services-yrpsd8ep.js → variant-8ej67rtx.js} +12 -12
- package/dist/chunks/{location-services-hx42m0sk.js → variant-8g12redv.js} +44 -41
- package/dist/chunks/{location-services-vh9vtdzr.js → variant-8gy3cmhk.js} +11 -11
- package/dist/chunks/{location-services-e4xndj1f.js → variant-8sq7ektf.js} +24 -24
- package/dist/chunks/{location-services-8sxe6kv8.js → variant-8sxe6kv8.js} +2 -2
- package/dist/chunks/{location-services-8wtp7s3z.js → variant-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-services-8zv0xmg5.js → variant-8zv0xmg5.js} +1 -1
- package/dist/chunks/{location-services-38aws4xb.js → variant-90ct6wq4.js} +4 -4
- package/dist/chunks/{location-services-rn6817b0.js → variant-963hk181.js} +9 -9
- package/dist/chunks/{location-services-4c0app9d.js → variant-97z795ms.js} +5 -5
- package/dist/chunks/{location-services-266325jp.js → variant-995escff.js} +8 -8
- package/dist/chunks/{location-services-q2ggqmww.js → variant-99whw8jg.js} +25 -25
- package/dist/chunks/{location-services-wbwnvjw7.js → variant-9b7hkytf.js} +38 -38
- package/dist/chunks/{location-services-v6fxhkcf.js → variant-9kf7qp9k.js} +7 -7
- package/dist/chunks/{location-services-xxdnanm7.js → variant-9mcq8csv.js} +24 -20
- package/dist/chunks/{location-services-dhwvc2jt.js → variant-9payxpaq.js} +5 -5
- package/dist/chunks/{location-services-zaa1z54d.js → variant-9wts7ac9.js} +30 -30
- package/dist/chunks/{location-services-br8ehxr1.js → variant-a0tdhhqr.js} +21 -21
- package/dist/chunks/{location-services-dzxny3rz.js → variant-a7d1yfqq.js} +5 -5
- package/dist/chunks/{location-services-t5tk8b81.js → variant-ad3pbwbn.js} +10 -10
- package/dist/chunks/{location-services-r17fbvme.js → variant-aenn6vam.js} +5 -5
- package/dist/chunks/{location-services-55dthnq9.js → variant-ahenw0f4.js} +12 -12
- package/dist/chunks/{location-services-h4b4ad4n.js → variant-ajd6ze1b.js} +27 -27
- package/dist/chunks/{location-services-apncw8nq.js → variant-apf9pp70.js} +5 -5
- package/dist/chunks/{location-services-08j34ytv.js → variant-aq51bn07.js} +17 -17
- package/dist/chunks/{location-services-2jvs10sm.js → variant-ar2188r0.js} +5 -5
- package/dist/chunks/{location-services-krc440de.js → variant-arvxeg2k.js} +30 -30
- package/dist/chunks/{location-services-ayjs7tqn.js → variant-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-services-nswamck1.js → variant-b15dw3t3.js} +10 -10
- package/dist/chunks/variant-b1bdn9ww.js +18 -0
- package/dist/chunks/{location-services-g4txs7zc.js → variant-b26ddj6h.js} +4 -4
- package/dist/chunks/{location-services-g5gdmhh6.js → variant-ba524eff.js} +18 -18
- package/dist/chunks/{location-services-9rqhy0gk.js → variant-bb3pv0r8.js} +5 -5
- package/dist/chunks/{location-services-bhfd478d.js → variant-bhfd478d.js} +1 -1
- package/dist/chunks/{location-services-my1apsf8.js → variant-bq5mnsak.js} +18 -18
- package/dist/chunks/{location-services-gq4r58bj.js → variant-brhq0xss.js} +9 -9
- package/dist/chunks/{location-services-94e33dpz.js → variant-brzehw6d.js} +3 -3
- package/dist/chunks/{location-services-bstexjd6.js → variant-bstexjd6.js} +1 -1
- package/dist/chunks/{location-services-96pyep5q.js → variant-bv6ncay4.js} +6 -6
- package/dist/chunks/{location-services-wxtac8m4.js → variant-bw5737rp.js} +20 -20
- package/dist/chunks/{location-services-z6qjrsxc.js → variant-bx42851a.js} +13 -13
- package/dist/chunks/{location-services-g2nd8s5g.js → variant-byn2k991.js} +6 -6
- package/dist/chunks/{location-services-43dkd884.js → variant-bzsj5hp1.js} +4 -4
- package/dist/chunks/{location-services-h1bq840x.js → variant-c1j8jf0s.js} +76 -49
- package/dist/chunks/{location-services-sbk1er59.js → variant-c1mpywrn.js} +15 -15
- package/dist/chunks/{location-services-9589yjf4.js → variant-c47pgt4g.js} +6 -6
- package/dist/chunks/{location-services-wy2y7272.js → variant-c5kjsz6q.js} +4 -4
- package/dist/chunks/{location-services-wt99tj4q.js → variant-c7cw818c.js} +5 -5
- package/dist/chunks/{location-services-wrtnm9rp.js → variant-c8erkcr0.js} +35 -35
- package/dist/chunks/{location-services-3yq8hmjy.js → variant-cdcxceaq.js} +9 -9
- package/dist/chunks/{location-services-ppv0q14k.js → variant-cdgnj81e.js} +20 -20
- package/dist/chunks/{location-services-55p921qz.js → variant-chnshf5d.js} +7 -7
- package/dist/chunks/{location-services-qxd8xqpm.js → variant-cmw3d6cw.js} +5 -5
- package/dist/chunks/{location-services-ewwxda2t.js → variant-cnh7rm97.js} +5 -5
- package/dist/chunks/{location-services-ej1mycq3.js → variant-crz2v0cr.js} +14 -14
- package/dist/chunks/{location-services-e4a27gkz.js → variant-ctactnja.js} +20 -20
- package/dist/chunks/{location-services-cwrgdav8.js → variant-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-services-wp5pv6d7.js → variant-cxab8yc4.js} +24 -24
- package/dist/chunks/{location-services-7pmvrtj8.js → variant-cxcw0y8k.js} +16 -16
- package/dist/chunks/{location-services-dn27waz6.js → variant-d1y3tfe5.js} +33 -33
- package/dist/chunks/{location-services-aaybcdk7.js → variant-d390zwf3.js} +11 -11
- package/dist/chunks/{location-services-d4v9tmah.js → variant-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-services-grhec5r6.js → variant-d62z5e6p.js} +34 -34
- package/dist/chunks/{location-services-m8zx2yvr.js → variant-d6yg13b8.js} +3 -3
- package/dist/chunks/{location-services-567596kv.js → variant-d8nqa1rn.js} +24 -24
- package/dist/chunks/{location-services-8qm44xvf.js → variant-dbgstt96.js} +18 -18
- package/dist/chunks/{location-services-tx91wa5k.js → variant-ddwaa558.js} +4 -4
- package/dist/chunks/{location-services-v3s4bj3j.js → variant-dfnt32pr.js} +6 -6
- package/dist/chunks/{location-services-68hs0k9s.js → variant-dhg17ma1.js} +31 -31
- package/dist/chunks/{location-services-w70mdzqv.js → variant-dmhmrkhb.js} +14 -14
- package/dist/chunks/{location-services-c9zsax4s.js → variant-dqctngfx.js} +19 -19
- package/dist/chunks/{location-services-dt77769w.js → variant-dt77769w.js} +1 -1
- package/dist/chunks/{location-services-539dw32x.js → variant-dvnqv6yn.js} +4 -4
- package/dist/chunks/variant-dwwbp54y.js +26 -0
- package/dist/chunks/{location-services-8rhxnahr.js → variant-dxms3va4.js} +8 -8
- package/dist/chunks/{location-services-1w10j92s.js → variant-dyx9m1dy.js} +15 -15
- package/dist/chunks/{location-services-7dntc97d.js → variant-e6mkcg3j.js} +8 -8
- package/dist/chunks/{location-services-y1vxsnye.js → variant-eb68pf5c.js} +35 -34
- package/dist/chunks/{location-services-fwzf50ze.js → variant-edbzgde2.js} +59 -59
- package/dist/chunks/{location-services-eqw4pqj1.js → variant-eqw4pqj1.js} +2 -2
- package/dist/chunks/{location-services-fxjk1bjs.js → variant-er2pxdar.js} +36 -36
- package/dist/chunks/{location-services-b5ptbrza.js → variant-erzx9h8s.js} +13 -13
- package/dist/chunks/{location-services-q4e77hz1.js → variant-eswxnkqs.js} +19 -19
- package/dist/chunks/{location-services-8n666mwk.js → variant-ettw2t59.js} +8 -8
- package/dist/chunks/{location-services-q708e1j4.js → variant-etw227xb.js} +29 -29
- package/dist/chunks/{location-services-y7n6mfpt.js → variant-ezbcwp3x.js} +64 -64
- package/dist/chunks/{location-services-z1gwm4ht.js → variant-f4e0rj8k.js} +18 -18
- package/dist/chunks/{location-services-etwnht5y.js → variant-fcqnpkk0.js} +31 -31
- package/dist/chunks/{location-services-tes7x7rh.js → variant-ff10y0vt.js} +50 -50
- package/dist/chunks/{location-services-fg9p65nk.js → variant-fg9p65nk.js} +2 -2
- package/dist/chunks/{location-services-p32hhzbk.js → variant-fnrfxqv9.js} +4 -4
- package/dist/chunks/{location-services-8zknyrh4.js → variant-g2z770v4.js} +10 -10
- package/dist/chunks/{location-services-gbjdnr5j.js → variant-gbjdnr5j.js} +2 -2
- package/dist/chunks/{location-services-3wy79f45.js → variant-gc6rk9wr.js} +4 -4
- package/dist/chunks/{location-services-cpyfbe5h.js → variant-ghqr7vsg.js} +32 -32
- package/dist/chunks/{location-services-26wfx3k0.js → variant-gmemj5zs.js} +4 -4
- package/dist/chunks/{location-services-gxs71cxp.js → variant-gxs71cxp.js} +1 -1
- package/dist/chunks/{location-services-0mp8jrhf.js → variant-gy0mrysv.js} +43 -43
- package/dist/chunks/{location-services-kem0mawp.js → variant-h7skh1rs.js} +1 -1
- package/dist/chunks/{location-services-wjw9jc70.js → variant-hch6nnwn.js} +5 -5
- package/dist/chunks/{location-services-hgzwgvze.js → variant-hgzwgvze.js} +2 -2
- package/dist/chunks/{location-services-przvah75.js → variant-hhftq43c.js} +22 -22
- package/dist/chunks/{location-services-jnq8ctsk.js → variant-hyb6z04w.js} +11 -11
- package/dist/chunks/{location-services-vwf14hkv.js → variant-hzx6xeyy.js} +3 -3
- package/dist/chunks/{location-services-7hgnn06b.js → variant-j1rxep1x.js} +9 -9
- package/dist/chunks/{location-services-d69g7qpe.js → variant-j5hnx331.js} +41 -41
- package/dist/chunks/{location-services-0hqdgkh5.js → variant-j6c1cnm6.js} +2 -2
- package/dist/chunks/{location-services-jm70asfg.js → variant-jm70asfg.js} +1 -1
- package/dist/chunks/{location-services-tzcbr6cy.js → variant-jwsqwh3k.js} +11 -11
- package/dist/chunks/{location-services-ha0ssc2n.js → variant-jzacnq6b.js} +8 -8
- package/dist/chunks/{location-services-6wjndty1.js → variant-k0dmc88w.js} +20 -20
- package/dist/chunks/{location-services-grvjd2tp.js → variant-k17acsj6.js} +32 -32
- package/dist/chunks/{location-services-nm9w8qa9.js → variant-k8zvk9yk.js} +1 -1
- package/dist/chunks/{location-services-wjhreaqv.js → variant-kbwwped5.js} +4 -4
- package/dist/chunks/{location-services-hy8c1z76.js → variant-kmzgegqq.js} +8 -8
- package/dist/chunks/{location-services-jjzwh8sv.js → variant-kskf6ts6.js} +12 -12
- package/dist/chunks/{location-services-kt3bjfbg.js → variant-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-services-qrwn5q0j.js → variant-ktrxwwt4.js} +4 -4
- package/dist/chunks/{location-services-95ag31st.js → variant-kw2jghpk.js} +13 -13
- package/dist/chunks/{location-services-9sw2rrc1.js → variant-kw6rtbr7.js} +5 -5
- package/dist/chunks/{location-services-kzczzf4v.js → variant-kzczzf4v.js} +1 -1
- package/dist/chunks/{location-services-2kyj86a2.js → variant-m0eanzg9.js} +39 -39
- package/dist/chunks/{location-services-m1714858.js → variant-m1714858.js} +1 -1
- package/dist/chunks/{location-services-azn13hyn.js → variant-m391qmzq.js} +12 -12
- package/dist/chunks/{location-services-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-mb7mbhnz.js → variant-mb7mbhnz.js} +3 -3
- package/dist/chunks/{location-services-532aw9k5.js → variant-mjx8bvya.js} +2 -2
- package/dist/chunks/{location-services-q1zyq82t.js → variant-mkcyn2me.js} +16 -16
- package/dist/chunks/{location-services-xqcc833w.js → variant-mm99kr92.js} +50 -50
- package/dist/chunks/{location-services-qthpjem4.js → variant-mn5w4svc.js} +15 -15
- package/dist/chunks/{location-services-spge2s6b.js → variant-n0tajg5c.js} +20 -20
- package/dist/chunks/{location-services-1z3p9jpq.js → variant-n1bjqkdd.js} +36 -36
- package/dist/chunks/{location-services-n3j33rb6.js → variant-n3j33rb6.js} +1 -1
- package/dist/chunks/{location-services-7y58fzyq.js → variant-n4vbm4w1.js} +8 -8
- package/dist/chunks/{location-services-p8hhbr1v.js → variant-n6psmdwt.js} +28 -28
- package/dist/chunks/{location-services-942rfr41.js → variant-nma2f0f2.js} +9 -9
- package/dist/chunks/{location-services-93xmyh8q.js → variant-nn2nd58t.js} +5 -5
- package/dist/chunks/{location-services-fyx96w05.js → variant-nsw81j72.js} +26 -26
- package/dist/chunks/{location-services-anxm212y.js → variant-ntz62w7c.js} +82 -82
- package/dist/chunks/{location-services-rhnttm5v.js → variant-nvf1ct64.js} +39 -39
- package/dist/chunks/{location-services-gyv4b0r8.js → variant-nxptjga0.js} +7 -7
- package/dist/chunks/{location-services-crvpqcw1.js → variant-p0vxt2nw.js} +32 -32
- package/dist/chunks/{location-services-t7htycx0.js → variant-p5gq72qy.js} +13 -13
- package/dist/chunks/{location-services-0ac2k0jg.js → variant-pfearfp1.js} +17 -17
- package/dist/chunks/{location-services-8e7ggcjp.js → variant-pgr3qzjp.js} +12 -12
- package/dist/chunks/{location-services-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-4c7e6jzd.js → variant-pvgq2xjz.js} +6 -6
- package/dist/chunks/{location-services-9db2vg26.js → variant-pxc8jhfc.js} +37 -37
- package/dist/chunks/{location-services-9mmamjmw.js → variant-pxeahsk4.js} +39 -39
- package/dist/chunks/{location-services-47k3myws.js → variant-pysr0f89.js} +86 -86
- package/dist/chunks/{location-services-q42tzrxa.js → variant-q42tzrxa.js} +1 -1
- package/dist/chunks/{location-services-4n202ep1.js → variant-q8x7vnpn.js} +26 -26
- package/dist/chunks/{location-services-8crbrjbr.js → variant-qb22wwfd.js} +28 -28
- package/dist/chunks/{location-services-kj9n5bvh.js → variant-qfz6bxfd.js} +4 -4
- package/dist/chunks/{location-services-v24zwr61.js → variant-qkzfcznx.js} +20 -20
- package/dist/chunks/{location-services-qp7r0hxv.js → variant-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-services-770fvbnk.js → variant-qrj1hpgy.js} +17 -17
- package/dist/chunks/{location-services-wfdx5ztx.js → variant-qsdghx1p.js} +4 -4
- package/dist/chunks/{location-services-dnb086dv.js → variant-qtc7p051.js} +28 -28
- package/dist/chunks/{location-services-h2zn2r51.js → variant-qy1ykcpg.js} +4 -4
- package/dist/chunks/{location-services-sqqp85ca.js → variant-r0s9nwyy.js} +12 -12
- package/dist/chunks/{location-services-v6k8h06f.js → variant-r4ww1zt6.js} +19 -19
- package/dist/chunks/{location-services-4nzmwxgf.js → variant-r7qmt8hm.js} +3 -3
- package/dist/chunks/{location-services-rb9dy4dg.js → variant-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-services-rgc9cx3e.js → variant-rgc9cx3e.js} +2 -2
- package/dist/chunks/{location-services-z8qvzaw8.js → variant-rpjrr4cf.js} +24 -24
- package/dist/chunks/{location-services-gncemv6d.js → variant-rra48y3g.js} +8 -8
- package/dist/chunks/{location-services-rt5dr6hb.js → variant-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-services-6pyp58fx.js → variant-rt83ywa3.js} +15 -15
- package/dist/chunks/{location-services-7peaj6gv.js → variant-rzyb9n9w.js} +22 -22
- package/dist/chunks/{location-services-b7xf5rs7.js → variant-s0zgwzsf.js} +21 -21
- package/dist/chunks/{location-services-8cx4xjy0.js → variant-s12ty5y8.js} +6 -6
- package/dist/chunks/{location-services-rj7j5fvs.js → variant-s79v6bct.js} +4 -4
- package/dist/chunks/{location-services-sbya78hr.js → variant-sbya78hr.js} +1 -1
- package/dist/chunks/{location-services-ghrv1g9c.js → variant-sdt5j0rm.js} +4 -4
- package/dist/chunks/{location-services-qq922x6n.js → variant-sm1ek3w8.js} +20 -20
- package/dist/chunks/{location-services-vb80gn4g.js → variant-spx4vaz6.js} +8 -8
- package/dist/chunks/{location-services-sqjzf8x2.js → variant-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-services-gnkmn8c6.js → variant-srxqw4k9.js} +1 -1
- package/dist/chunks/{location-services-38ebvk59.js → variant-sv1b27es.js} +21 -21
- package/dist/chunks/{location-services-w4wtrrm0.js → variant-sv3x81pm.js} +24 -24
- package/dist/chunks/{location-services-svcy3p9a.js → variant-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-services-ngm86eak.js → variant-sx38wn6p.js} +17 -17
- package/dist/chunks/{location-services-tdeaf8zc.js → variant-t2sc9t78.js} +31 -31
- package/dist/chunks/{location-services-hd3apvyx.js → variant-t32m6fhr.js} +12 -12
- package/dist/chunks/{location-services-9rqfe4ad.js → variant-t48jrnqq.js} +3 -3
- package/dist/chunks/{location-services-7z1bdsh3.js → variant-t8gamzjd.js} +10 -10
- package/dist/chunks/{location-services-et0e1evp.js → variant-t8ng57rn.js} +6 -6
- package/dist/chunks/{location-services-tbpn7jtk.js → variant-tbpn7jtk.js} +1 -1
- package/dist/chunks/{location-services-tczq8hjw.js → variant-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-services-0nbahg35.js → variant-tnrzrzmr.js} +8 -8
- package/dist/chunks/{location-services-t2ysygqw.js → variant-tqv4vvv6.js} +32 -32
- package/dist/chunks/{location-services-j376ae4e.js → variant-tr8x705m.js} +5 -5
- package/dist/chunks/{location-services-tvtps2q9.js → variant-tvtps2q9.js} +1 -1
- package/dist/chunks/{location-services-twssxy5n.js → variant-twssxy5n.js} +2 -2
- package/dist/chunks/{location-services-36zd8q63.js → variant-txrqh0xa.js} +21 -21
- package/dist/chunks/{location-services-js1t2t7e.js → variant-v1m2t1vc.js} +3 -3
- package/dist/chunks/{location-services-v2r1d0zg.js → variant-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-services-r8h0t1w2.js → variant-v69v8cp8.js} +7 -7
- package/dist/chunks/{location-services-vjf35v1f.js → variant-vjf35v1f.js} +1 -1
- package/dist/chunks/{location-services-x1actg1q.js → variant-vqzp10ba.js} +4 -4
- package/dist/chunks/{location-services-tz8eqr11.js → variant-vre17ymf.js} +9 -9
- package/dist/chunks/{location-services-pkqeagea.js → variant-vw662ttr.js} +8 -8
- package/dist/chunks/{location-services-dp72kpfz.js → variant-vyfxsvzt.js} +37 -37
- package/dist/chunks/{location-services-dq1p2qgy.js → variant-w2xcdr2y.js} +45 -45
- package/dist/chunks/{location-services-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-je3gn0yt.js → variant-w5mn8q6d.js} +18 -18
- package/dist/chunks/{location-services-wakvkjy4.js → variant-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-services-vgkznsbx.js → variant-wargr65t.js} +24 -24
- package/dist/chunks/{location-services-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-wegkxhrn.js → variant-wegkxhrn.js} +2 -2
- package/dist/chunks/{location-services-mkqdp8ha.js → variant-wp142abh.js} +8 -8
- package/dist/chunks/{location-services-fznmdakp.js → variant-wr3re1en.js} +4 -4
- package/dist/chunks/{location-services-cpj4vd2a.js → variant-wtxmbf3w.js} +20 -20
- package/dist/chunks/{location-services-aeg6pysx.js → variant-wtyz4cdf.js} +11 -11
- package/dist/chunks/{location-services-v2kcrxmn.js → variant-wx1c037k.js} +23 -23
- package/dist/chunks/{location-services-9sk33afj.js → variant-x4mcewfn.js} +8 -8
- package/dist/chunks/{location-services-06gdz5re.js → variant-x7j2mvb1.js} +21 -21
- package/dist/chunks/{location-services-z0c26qk4.js → variant-x8gpwz20.js} +2 -2
- package/dist/chunks/{location-services-ktp098y0.js → variant-xa96d35r.js} +56 -56
- package/dist/chunks/{location-services-xjr6c8m4.js → variant-xjr6c8m4.js} +1 -1
- package/dist/chunks/{location-services-tah3cnd0.js → variant-xm8w5e5w.js} +25 -25
- package/dist/chunks/{location-services-qd74dc1z.js → variant-xmknv8zy.js} +16 -16
- package/dist/chunks/{location-services-kq4fnwb1.js → variant-xvn8mnch.js} +4 -4
- package/dist/chunks/{location-services-p6p70pmf.js → variant-y0bd0xbt.js} +5 -5
- package/dist/chunks/{location-services-2kpjs9hs.js → variant-y22zf01p.js} +7 -7
- package/dist/chunks/{location-services-1t5hb6rz.js → variant-y943wrzp.js} +17 -17
- package/dist/chunks/{location-services-yb20nhc3.js → variant-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-services-7r3f8kp7.js → variant-ydqjhb56.js} +9 -9
- package/dist/chunks/{location-services-10pn4eb5.js → variant-yepd7x5v.js} +5 -5
- package/dist/chunks/{location-services-cqk8mjmt.js → variant-ykpwycey.js} +11 -11
- package/dist/chunks/{location-services-yr705xyq.js → variant-yr705xyq.js} +1 -1
- package/dist/chunks/{location-services-yvtc2x31.js → variant-yvtc2x31.js} +1 -1
- package/dist/chunks/{location-services-r3cge2w6.js → variant-z02mgz09.js} +16 -16
- package/dist/chunks/{location-services-m9xxttth.js → variant-z54qh2k9.js} +4 -4
- package/dist/chunks/variant-zdzh32kn.js +577 -0
- package/dist/chunks/{location-services-ze75qvmd.js → variant-ze75qvmd.js} +3 -3
- package/dist/chunks/{location-services-zpdbqgja.js → variant-zpdbqgja.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +96 -96
- 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 +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- 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 +132 -132
- 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 +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +436 -436
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- 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 +133 -133
- package/dist/form.js +95 -95
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- 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 +104 -104
- 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 +1 -1
- 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 +432 -432
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +102 -102
- 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 +179 -179
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +95 -95
- package/dist/location-services.js +429 -429
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +189 -189
- 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 +104 -104
- 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 +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- 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 +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +408 -408
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- 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 +115 -115
- 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 +3 -3
- 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 +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- 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 +1 -1
- 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 +138 -138
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- 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 +138 -138
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +87 -87
- 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 +416 -416
- 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 +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +5 -5
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +259 -259
- 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 +247 -247
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +204 -204
- 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 +5 -5
- 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 +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +245 -245
- 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 +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +102 -102
- 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 +186 -186
- 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 +167 -167
- 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 +149 -149
- 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 +171 -171
- package/dist/tool/read-filesystem.js +116 -116
- 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 +165 -165
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +3 -3
- 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 +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +9 -9
- package/dist/chunks/location-services-8x060fmy.js +0 -18
- package/dist/chunks/location-services-d3jdhg57.js +0 -577
- package/dist/chunks/location-services-hqeqqmh6.js +0 -26
- package/dist/chunks/location-services-jwc600br.js +0 -273
- /package/dist/chunks/{location-services-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-108x4f4w.js → variant-108x4f4w.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kah00gy.js → variant-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2bv980vf.js → variant-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3af0jn4w.js → variant-3af0jn4w.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4qk9sjk2.js → variant-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5w3e23ze.js → variant-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-services-6agm2x70.js → variant-6agm2x70.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → variant-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-84wd9syh.js → variant-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-beh6qq61.js → variant-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-services-bhmrqjy3.js → variant-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cqv5kn06.js → variant-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-ean2d8b5.js → variant-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fkpq3x5p.js → variant-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hcxmzztb.js → variant-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jwr30sdr.js → variant-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-m18g726c.js → variant-m18g726c.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-nh4v3znn.js → variant-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-p71gwv9c.js → variant-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-syrav9an.js → variant-syrav9an.js} +0 -0
- /package/dist/chunks/{location-services-t03h4f5z.js → variant-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-services-ty7weeps.js → variant-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-services-ve7vex1e.js → variant-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-services-vtarvj67.js → variant-vtarvj67.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x4th4bpe.js → variant-x4th4bpe.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-z0h12gs8.js → variant-z0h12gs8.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → variant-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-services-zxpyjp51.js → variant-zxpyjp51.js} +0 -0
- /package/dist/chunks/{location-services-zz5vv3aq.js → variant-zz5vv3aq.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-52x6f109.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service30,
|
|
7
|
+
node33
|
|
8
|
+
} from "./variant-ezbcwp3x.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
13
|
invocation2,
|
|
14
14
|
CorrectedError2,
|
|
15
15
|
BlockedError2,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service68,
|
|
17
|
+
node69
|
|
18
|
+
} from "./variant-m0eanzg9.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizedName2,
|
|
21
21
|
effectiveName2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./variant-z0h12gs8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service33,
|
|
25
|
+
node36
|
|
26
|
+
} from "./variant-eb68pf5c.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service62,
|
|
29
|
+
node63
|
|
30
|
+
} from "./variant-4yee01q8.js";
|
|
31
31
|
import {
|
|
32
32
|
MEDIA_MIMES2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./variant-sv1b27es.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./variant-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/tool/mcp.ts
|
|
39
39
|
var exports_mcp3 = {};
|
|
40
40
|
__export(exports_mcp3, {
|
|
41
41
|
McpTool: () => exports_mcp3,
|
|
42
|
-
Service: () =>
|
|
43
|
-
layer: () =>
|
|
42
|
+
Service: () => Service29,
|
|
43
|
+
layer: () => layer14,
|
|
44
44
|
name: () => name16,
|
|
45
45
|
namespace: () => namespace2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node32
|
|
47
47
|
});
|
|
48
48
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
49
49
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -54,14 +54,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
|
|
|
54
54
|
var namespace2 = (server) => normalizedName2({ name: server });
|
|
55
55
|
var name16 = (server, tool) => effectiveName2({ name: tool, options: { namespace: namespace2(server) } });
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service29 extends Context.Service()("@opencode/McpTool") {
|
|
58
58
|
}
|
|
59
|
-
var
|
|
60
|
-
const mcp = yield*
|
|
61
|
-
const tools = yield*
|
|
59
|
+
var layer14 = Layer.effect(Service29, Effect.gen(function* () {
|
|
60
|
+
const mcp = yield* Service30;
|
|
61
|
+
const tools = yield* Service33;
|
|
62
62
|
const bus = yield* Service93;
|
|
63
|
-
const permission = yield*
|
|
64
|
-
const toolOutput = yield*
|
|
63
|
+
const permission = yield* Service68;
|
|
64
|
+
const toolOutput = yield* Service62;
|
|
65
65
|
const lock = Semaphore.makeUnsafe(1);
|
|
66
66
|
let discovered = [];
|
|
67
67
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -133,7 +133,7 @@ var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
133
133
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
134
134
|
const updates = yield* PubSub.subscribe(changes);
|
|
135
135
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
136
|
-
return
|
|
136
|
+
return Service29.of({
|
|
137
137
|
flush: Effect.gen(function* () {
|
|
138
138
|
yield* Fiber.await(initial);
|
|
139
139
|
yield* mcp.awaitStartup();
|
|
@@ -161,10 +161,10 @@ ${bytes.toString("utf8")}` };
|
|
|
161
161
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
162
162
|
};
|
|
163
163
|
});
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
166
|
-
layer:
|
|
167
|
-
deps: [
|
|
164
|
+
var node32 = makeLocationNode({
|
|
165
|
+
service: Service29,
|
|
166
|
+
layer: layer14,
|
|
167
|
+
deps: [node36, node33, node95, node69, node63]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { namespace2, name16,
|
|
170
|
+
export { namespace2, name16, Service29, layer14, node32, exports_mcp3 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-kbwwped5.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service93,
|
|
8
8
|
node95
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-52x6f109.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-0ma9gw4f.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./variant-01hyf2gm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service69,
|
|
21
|
+
node70
|
|
22
|
+
} from "./variant-0gv8v8qp.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service21,
|
|
25
|
+
node24
|
|
26
|
+
} from "./variant-pysr0f89.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./variant-4f25tdd0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./variant-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service5,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer5,
|
|
42
|
+
node: () => node7
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service5 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
76
76
|
const bus = yield* Service93;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service21;
|
|
79
|
+
const store = yield* Service69;
|
|
80
80
|
const db = (yield* Service94).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -167,12 +167,12 @@ Recent conversation:
|
|
|
167
167
|
title: truncate(title)
|
|
168
168
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
169
169
|
});
|
|
170
|
-
return
|
|
170
|
+
return Service5.of({ generate });
|
|
171
171
|
}));
|
|
172
|
-
var
|
|
173
|
-
service:
|
|
174
|
-
layer:
|
|
175
|
-
deps: [node95, llmClient2,
|
|
172
|
+
var node7 = makeLocationNode({
|
|
173
|
+
service: Service5,
|
|
174
|
+
layer: layer5,
|
|
175
|
+
deps: [node95, llmClient2, node24, node70, node96]
|
|
176
176
|
});
|
|
177
177
|
|
|
178
|
-
export {
|
|
178
|
+
export { Service5, isUntitled2, layer5, node7, exports_title };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node78
|
|
8
|
+
} from "./variant-p0vxt2nw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service42,
|
|
11
|
+
node43
|
|
12
|
+
} from "./variant-w2xcdr2y.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./variant-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
21
|
var exports_generate = {};
|
|
@@ -25,11 +25,11 @@ __export(exports_generate, {
|
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service16,
|
|
29
|
+
UnavailableError: () => UnavailableError3,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer10,
|
|
32
|
+
node: () => node19
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service16 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer10 = Layer.effect(Service16, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service42;
|
|
89
|
+
const models = yield* Service77;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer9 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(ai.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer9 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service16.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node19 = makeLocationNode({
|
|
219
|
+
service: Service16,
|
|
220
|
+
layer: layer10,
|
|
221
|
+
deps: [node43, node78, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service16, layer10, node19, exports_generate };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
content3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-sbya78hr.js";
|
|
4
4
|
import {
|
|
5
5
|
groups2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-vjf35v1f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/sync/catch-up.ts
|
|
12
12
|
var exports_catch_up = {};
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service94,
|
|
6
6
|
node96
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-kbwwped5.js";
|
|
8
8
|
import {
|
|
9
9
|
Service93,
|
|
10
10
|
node95
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-52x6f109.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service92,
|
|
14
|
+
node94
|
|
15
|
+
} from "./variant-ahenw0f4.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 "./variant-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./variant-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./variant-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./variant-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./variant-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
45
|
-
NotFoundError: () =>
|
|
43
|
+
ID: () => ID21,
|
|
44
|
+
Info: () => Info31,
|
|
45
|
+
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service91,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured12,
|
|
51
|
+
node: () => node93,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID21 = ID22;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info31 = Info32;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID21
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -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 Service91 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,10 +111,10 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service91, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service92;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
119
|
const bus = yield* Service93;
|
|
120
120
|
const db = (yield* Service94).db;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service83, 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 = [
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID21.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service83, 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();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID21.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID21.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID21.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID21.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID21.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID21.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service83, 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 Service91.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service91,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [node95, node96, FSUtil.node,
|
|
354
|
+
deps: [node95, node96, FSUtil.node, node94, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node93 = 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* Service91;
|
|
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: [node93]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service91, configured12, node93, sweepNode2, exports_project };
|