@opencode/core 0.0.0-dev-20446 → 0.0.0-dev-20447
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{repository-cache-eybz4adf.js → file-mutation-02mpmyt3.js} +10 -10
- package/dist/chunks/{repository-cache-3s1wsaeq.js → file-mutation-06g4wx6w.js} +25 -25
- package/dist/chunks/file-mutation-06tx6k5j.js +252 -0
- package/dist/chunks/{repository-cache-wqcy1a6q.js → file-mutation-085sjypf.js} +17 -17
- package/dist/chunks/{repository-cache-58s7bv4e.js → file-mutation-0a17sqc3.js} +34 -34
- package/dist/chunks/{repository-cache-g9n5gn8p.js → file-mutation-0d4sk4n7.js} +4 -4
- package/dist/chunks/{repository-cache-0j77ygfz.js → file-mutation-0j77ygfz.js} +2 -2
- package/dist/chunks/{repository-cache-40f2545g.js → file-mutation-0nrysaxf.js} +30 -30
- package/dist/chunks/{repository-cache-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-cache-9qk0q36h.js → file-mutation-0tq54tbr.js} +18 -18
- package/dist/chunks/{repository-cache-e35ah7hw.js → file-mutation-0v60q3fy.js} +24 -24
- package/dist/chunks/{repository-cache-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{repository-cache-2fxbb402.js → file-mutation-0vy6ky8v.js} +6 -6
- package/dist/chunks/{repository-cache-dzydyd9h.js → file-mutation-0ynzvma6.js} +48 -48
- package/dist/chunks/{repository-cache-n37c4crj.js → file-mutation-11dqjexa.js} +9 -9
- package/dist/chunks/{repository-cache-p1p3hvby.js → file-mutation-123f91sp.js} +3 -3
- package/dist/chunks/{repository-cache-v41jw1xq.js → file-mutation-19xqmxzb.js} +40 -40
- package/dist/chunks/{repository-cache-yp2x3t23.js → file-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{repository-cache-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-cache-1dvck2a7.js → file-mutation-1dvck2a7.js} +2 -2
- package/dist/chunks/{repository-cache-v49gtp01.js → file-mutation-1pvcwerr.js} +28 -28
- package/dist/chunks/{repository-cache-btec747f.js → file-mutation-1q5awywt.js} +5 -5
- package/dist/chunks/{repository-cache-2jmaghvr.js → file-mutation-1tq060df.js} +6 -6
- package/dist/chunks/{repository-cache-e61dah1y.js → file-mutation-1w1mvqv8.js} +25 -25
- package/dist/chunks/{repository-cache-qmp8ys2a.js → file-mutation-1y159n3z.js} +22 -22
- package/dist/chunks/{repository-cache-1ygqh575.js → file-mutation-1ygqh575.js} +2 -2
- package/dist/chunks/{repository-cache-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{repository-cache-mre670nb.js → file-mutation-27dfp4c1.js} +14 -14
- package/dist/chunks/{repository-cache-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-cache-2ccvkpx1.js → file-mutation-2ccvkpx1.js} +2 -2
- package/dist/chunks/{repository-cache-mwka8kak.js → file-mutation-2gskh1mm.js} +11 -11
- package/dist/chunks/{repository-cache-f3gqgk1j.js → file-mutation-2gsmrbz9.js} +23 -23
- package/dist/chunks/{repository-cache-as7cf5zz.js → file-mutation-2m8jawch.js} +4 -4
- package/dist/chunks/{repository-cache-0z5qyjxf.js → file-mutation-2yj7y96g.js} +18 -11
- package/dist/chunks/{repository-cache-10h2grd6.js → file-mutation-30c7dxhs.js} +10 -10
- package/dist/chunks/{repository-cache-48frr5ey.js → file-mutation-30p2g8gp.js} +26 -26
- package/dist/chunks/{repository-cache-8mk2n5b3.js → file-mutation-32e2vp4w.js} +19 -19
- package/dist/chunks/{repository-cache-hzbq48p7.js → file-mutation-350d91h4.js} +9 -9
- package/dist/chunks/{repository-cache-706phk7x.js → file-mutation-35ja2k0w.js} +2 -2
- package/dist/chunks/{repository-cache-d7q3t8ht.js → file-mutation-3amr84rd.js} +7 -7
- package/dist/chunks/{repository-cache-fqpgqbak.js → file-mutation-3btptz78.js} +41 -41
- package/dist/chunks/{repository-cache-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-cache-0qb7pa1n.js → file-mutation-3fcjbxc2.js} +8 -8
- package/dist/chunks/{repository-cache-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-pedjrwj0.js → file-mutation-3kcqw2gn.js} +49 -49
- package/dist/chunks/{repository-cache-v6evfva1.js → file-mutation-3mrv89nd.js} +8 -8
- package/dist/chunks/{repository-cache-7fv9049a.js → file-mutation-3nqcgnfp.js} +22 -22
- package/dist/chunks/{repository-cache-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-3v5tjer0.js → file-mutation-3v5tjer0.js} +2 -2
- package/dist/chunks/{repository-cache-t4wnk216.js → file-mutation-3wnc7ezj.js} +3 -3
- package/dist/chunks/{repository-cache-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-1d5ct0zc.js → file-mutation-405tx1tk.js} +17 -17
- package/dist/chunks/file-mutation-45th5jwr.js +18 -0
- package/dist/chunks/{repository-cache-822vy19y.js → file-mutation-4afe6db8.js} +20 -20
- package/dist/chunks/{repository-cache-ydvbazfr.js → file-mutation-4efz7qwp.js} +41 -41
- package/dist/chunks/{repository-cache-hx7zmtxv.js → file-mutation-4fz4aa1m.js} +87 -87
- package/dist/chunks/{repository-cache-dm4xrbzk.js → file-mutation-4t613dbc.js} +8 -8
- package/dist/chunks/{repository-cache-ha4q6k7g.js → file-mutation-4vksx2dy.js} +37 -37
- package/dist/chunks/{repository-cache-m4emmwet.js → file-mutation-4vsx94mh.js} +18 -18
- package/dist/chunks/{repository-cache-0s60x6wy.js → file-mutation-53km52nr.js} +18 -18
- package/dist/chunks/{repository-cache-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-cache-rax07w26.js → file-mutation-5bc6zw84.js} +28 -28
- package/dist/chunks/{repository-cache-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-cache-4z58m4b4.js → file-mutation-5dkn69vz.js} +4 -4
- package/dist/chunks/{repository-cache-4eda5p0n.js → file-mutation-5jjb9dgy.js} +15 -15
- package/dist/chunks/{repository-cache-0a1ad31p.js → file-mutation-5sek2qac.js} +27 -27
- package/dist/chunks/{repository-cache-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-cache-f0m8zgz7.js → file-mutation-5ymnsk7v.js} +312 -312
- package/dist/chunks/{repository-cache-hqc76sze.js → file-mutation-5zv360p8.js} +14 -14
- package/dist/chunks/{repository-cache-8gn7nf7w.js → file-mutation-60we6e45.js} +11 -11
- package/dist/chunks/{repository-cache-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{repository-cache-x9qtnq71.js → file-mutation-69ntycvm.js} +11 -11
- package/dist/chunks/{repository-cache-kq1ref1h.js → file-mutation-6p76pz0z.js} +3 -3
- package/dist/chunks/{repository-cache-a1jg4bqm.js → file-mutation-6s3vd56s.js} +11 -11
- package/dist/chunks/{repository-cache-hkyvzcah.js → file-mutation-6z0j0ya3.js} +15 -15
- package/dist/chunks/{repository-cache-71az546q.js → file-mutation-71az546q.js} +2 -2
- package/dist/chunks/{repository-cache-4epeq83n.js → file-mutation-794rba6m.js} +8 -8
- package/dist/chunks/{repository-cache-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-9tc8fk2g.js → file-mutation-7cffbw4q.js} +22 -22
- package/dist/chunks/{repository-cache-69jzkc3x.js → file-mutation-7ja2kgyj.js} +24 -24
- package/dist/chunks/{repository-cache-rtb06bvf.js → file-mutation-7kan1wr8.js} +3 -3
- package/dist/chunks/{repository-cache-s39a1knw.js → file-mutation-7kpmht8a.js} +44 -44
- package/dist/chunks/{repository-cache-fjabd4vm.js → file-mutation-7mmecq5g.js} +73 -73
- package/dist/chunks/{repository-cache-j0032p6g.js → file-mutation-7rrbrwx8.js} +9 -9
- package/dist/chunks/{repository-cache-re4wmejr.js → file-mutation-7wxzh9zb.js} +33 -33
- package/dist/chunks/{repository-cache-nfqw6mz9.js → file-mutation-7z5nhnbg.js} +18 -18
- package/dist/chunks/{repository-cache-w1eejvng.js → file-mutation-84txncab.js} +5 -5
- package/dist/chunks/{repository-cache-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-cache-hrbcf8x8.js → file-mutation-8mpnm3sv.js} +3 -3
- package/dist/chunks/{repository-cache-32dhwnjc.js → file-mutation-8mrd4kgm.js} +13 -13
- package/dist/chunks/{repository-cache-j2nvzb5v.js → file-mutation-8nf5g5ke.js} +25 -25
- package/dist/chunks/{repository-cache-8aw8tj9n.js → file-mutation-8pxr3grp.js} +15 -15
- package/dist/chunks/{repository-cache-kpqjj4ny.js → file-mutation-8qm2jr24.js} +34 -34
- package/dist/chunks/{repository-cache-zwc7jy6c.js → file-mutation-91kxkj6b.js} +5 -5
- package/dist/chunks/{repository-cache-8ht81e1j.js → file-mutation-93pcty3d.js} +11 -11
- package/dist/chunks/{repository-cache-3rbph65y.js → file-mutation-971jmbxj.js} +45 -45
- package/dist/chunks/{repository-cache-yfksphsg.js → file-mutation-9abq96ts.js} +13 -13
- package/dist/chunks/{repository-cache-9e5bzkjp.js → file-mutation-9e5bzkjp.js} +3 -3
- package/dist/chunks/{repository-cache-5m5yrm4y.js → file-mutation-9ws1drfh.js} +8 -8
- package/dist/chunks/{repository-cache-9esanb1h.js → file-mutation-a1r0v0hv.js} +29 -29
- package/dist/chunks/{repository-cache-4v7ngy20.js → file-mutation-a3c7ahw6.js} +4 -4
- package/dist/chunks/{repository-cache-jfqtm2ew.js → file-mutation-a46v4e4v.js} +4 -4
- package/dist/chunks/{repository-cache-a04262f3.js → file-mutation-a70kq73z.js} +1 -1
- package/dist/chunks/{repository-cache-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-cache-h3g3cs7p.js → file-mutation-ab26tb5m.js} +4 -4
- package/dist/chunks/{repository-cache-4429sr8a.js → file-mutation-abfvgvhb.js} +21 -21
- package/dist/chunks/{repository-cache-c2st8pk7.js → file-mutation-afvrez62.js} +5 -5
- package/dist/chunks/{repository-cache-wn1kxzz7.js → file-mutation-ah7gyhk7.js} +10 -10
- package/dist/chunks/{repository-cache-vsp1fds9.js → file-mutation-axmvebxj.js} +4 -4
- package/dist/chunks/{repository-cache-scgrse2b.js → file-mutation-b3f8fkhc.js} +5 -5
- package/dist/chunks/{repository-cache-py3kkmfq.js → file-mutation-b4twkq7r.js} +6 -6
- package/dist/chunks/{repository-cache-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-cache-8aaqm6qj.js → file-mutation-b6syrwy2.js} +8 -8
- package/dist/chunks/{repository-cache-y23ntya0.js → file-mutation-b8de2ks2.js} +50 -50
- package/dist/chunks/{repository-cache-qxnn7y6z.js → file-mutation-b8z0wsc0.js} +8 -8
- package/dist/chunks/{repository-cache-ngpj616s.js → file-mutation-b9hxxmm4.js} +36 -36
- package/dist/chunks/{repository-cache-1gd6spct.js → file-mutation-bfnsmjbw.js} +5 -5
- package/dist/chunks/{repository-cache-qcrnsjqj.js → file-mutation-bg2mdfm2.js} +25 -25
- package/dist/chunks/{repository-cache-s8vhzyp4.js → file-mutation-bs25rvjd.js} +53 -53
- package/dist/chunks/{repository-cache-7kfsqtmt.js → file-mutation-c1c4mmyf.js} +12 -12
- package/dist/chunks/{repository-cache-cgkqc5k9.js → file-mutation-c4b2jm8a.js} +24 -24
- package/dist/chunks/{repository-cache-gpzeq7j5.js → file-mutation-cddhvfrj.js} +20 -20
- package/dist/chunks/{repository-cache-n57qrn3a.js → file-mutation-ck0ahkdp.js} +8 -8
- package/dist/chunks/{repository-cache-agkhkqzj.js → file-mutation-crerbey2.js} +13 -13
- package/dist/chunks/{repository-cache-b7gejjdn.js → file-mutation-cxbpb961.js} +15 -15
- package/dist/chunks/{repository-cache-8w5vxsg3.js → file-mutation-cxj5rg6j.js} +15 -15
- package/dist/chunks/{repository-cache-dg2gsbnn.js → file-mutation-d3etny0e.js} +22 -22
- package/dist/chunks/{repository-cache-cfpp34xq.js → file-mutation-d3tahmry.js} +45 -45
- package/dist/chunks/{repository-cache-yzt1bx7e.js → file-mutation-d8pxmj6e.js} +30 -30
- package/dist/chunks/{repository-cache-wqkf1g1x.js → file-mutation-df30mp1e.js} +15 -15
- package/dist/chunks/{repository-cache-0mrd04w5.js → file-mutation-dfb5xyy8.js} +33 -33
- package/dist/chunks/{repository-cache-3j8sdtpz.js → file-mutation-dfe8djrf.js} +4 -4
- package/dist/chunks/{repository-cache-xkntkrq7.js → file-mutation-dmqcgk4z.js} +5 -5
- package/dist/chunks/{repository-cache-mpk0rfs5.js → file-mutation-dnxkq42g.js} +4 -4
- package/dist/chunks/{repository-cache-dpkg50ah.js → file-mutation-dpkg50ah.js} +1 -1
- package/dist/chunks/{repository-cache-g63fbaar.js → file-mutation-dq7nnhr6.js} +7 -7
- package/dist/chunks/{repository-cache-qne3fa44.js → file-mutation-dvz3zpm9.js} +5 -5
- package/dist/chunks/{repository-cache-gex2px6h.js → file-mutation-dw2p03ct.js} +3 -3
- package/dist/chunks/{repository-cache-q8406f75.js → file-mutation-e2sbw8kj.js} +10 -10
- package/dist/chunks/{repository-cache-n48q0swr.js → file-mutation-eaateh2a.js} +11 -11
- package/dist/chunks/{repository-cache-8sgzw3p1.js → file-mutation-eer3hyzn.js} +3 -3
- package/dist/chunks/{repository-cache-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-k64zxjm6.js → file-mutation-efefhkab.js} +10 -10
- package/dist/chunks/{repository-cache-gh5z95q3.js → file-mutation-en9mxp96.js} +9 -9
- package/dist/chunks/{repository-cache-a1gpj94z.js → file-mutation-eq1pz5kg.js} +3 -3
- package/dist/chunks/{repository-cache-ymcgbes0.js → file-mutation-es0mp7kp.js} +4 -4
- package/dist/chunks/{repository-cache-pw9d3wh8.js → file-mutation-etg83xpv.js} +19 -19
- package/dist/chunks/{repository-cache-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-cache-nb17w2yx.js → file-mutation-exgzb2ef.js} +9 -9
- package/dist/chunks/{repository-cache-g0kjp75c.js → file-mutation-f2c481pc.js} +12 -12
- package/dist/chunks/{repository-cache-g41awwxy.js → file-mutation-f471j0ph.js} +20 -20
- package/dist/chunks/{repository-cache-f7t5kd0c.js → file-mutation-f4teqsxm.js} +37 -37
- package/dist/chunks/{repository-cache-bsxd6m7c.js → file-mutation-f8knjmwx.js} +7 -7
- package/dist/chunks/{repository-cache-expxz8xq.js → file-mutation-faxrmdye.js} +12 -12
- package/dist/chunks/{repository-cache-qgn6gcr1.js → file-mutation-fcrkznn8.js} +5 -5
- package/dist/chunks/{repository-cache-63s895d0.js → file-mutation-fdxwsxq8.js} +22 -22
- package/dist/chunks/{repository-cache-qsr9synt.js → file-mutation-fhz5gfgy.js} +5 -5
- package/dist/chunks/{repository-cache-kzhakyvk.js → file-mutation-fj4szt4h.js} +2 -2
- package/dist/chunks/{repository-cache-dhr91br8.js → file-mutation-frx098gj.js} +5 -5
- package/dist/chunks/{repository-cache-jk5jtrba.js → file-mutation-fw9nps2q.js} +51 -51
- package/dist/chunks/{repository-cache-8f2ehy9w.js → file-mutation-g1m3h83e.js} +23 -23
- package/dist/chunks/{repository-cache-xfkkasph.js → file-mutation-g5w8qwbj.js} +4 -4
- package/dist/chunks/{repository-cache-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-t81m24cw.js → file-mutation-gddej1j8.js} +9 -9
- package/dist/chunks/{repository-cache-v30h9xz5.js → file-mutation-ge03txwd.js} +20 -20
- package/dist/chunks/{repository-cache-169shjta.js → file-mutation-gh2amhk9.js} +11 -11
- package/dist/chunks/{repository-cache-7x28tdrb.js → file-mutation-gv52jf4x.js} +20 -20
- package/dist/chunks/{repository-cache-n8c291r7.js → file-mutation-gzbkpp9m.js} +6 -6
- package/dist/chunks/{repository-cache-2rk6k8vg.js → file-mutation-h17jjak5.js} +14 -14
- package/dist/chunks/{repository-cache-h2b79v29.js → file-mutation-h2b79v29.js} +2 -2
- package/dist/chunks/{repository-cache-mk49qygx.js → file-mutation-h2nds8g1.js} +15 -15
- package/dist/chunks/{repository-cache-aq1q7s3w.js → file-mutation-h50deg1f.js} +11 -11
- package/dist/chunks/{repository-cache-3556dn8t.js → file-mutation-h5w29vws.js} +1 -1
- package/dist/chunks/{repository-cache-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-0zvk9z0h.js → file-mutation-hb8c03b1.js} +13 -13
- package/dist/chunks/{repository-cache-tavta0y2.js → file-mutation-hbr9pfg0.js} +21 -21
- package/dist/chunks/{repository-cache-fsaqawm2.js → file-mutation-hnjhetmx.js} +6 -6
- package/dist/chunks/{repository-cache-k4vx4kqq.js → file-mutation-hqkfa61k.js} +33 -33
- package/dist/chunks/{repository-cache-091f0rd0.js → file-mutation-hs94awhq.js} +43 -43
- package/dist/chunks/{repository-cache-tk14y25j.js → file-mutation-j29a7fks.js} +5 -5
- package/dist/chunks/{repository-cache-kxsrbhnp.js → file-mutation-j3636f00.js} +23 -23
- package/dist/chunks/{repository-cache-mnkrz2st.js → file-mutation-j4rcav1h.js} +5 -5
- package/dist/chunks/{repository-cache-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-cache-86qzxe6p.js → file-mutation-j5rxtxht.js} +4 -4
- package/dist/chunks/{repository-cache-j5w2yx54.js → file-mutation-j5w2yx54.js} +1 -1
- package/dist/chunks/{repository-cache-kb6vbnxp.js → file-mutation-j8afcsyc.js} +4 -4
- package/dist/chunks/{repository-cache-3g7y17n3.js → file-mutation-j8cgstsh.js} +15 -15
- package/dist/chunks/{repository-cache-7vwcfb7e.js → file-mutation-jbjey0e3.js} +8 -8
- package/dist/chunks/{repository-cache-4ag3f9xz.js → file-mutation-jmqs9vhh.js} +3 -3
- package/dist/chunks/{repository-cache-7gh65m6s.js → file-mutation-jntaw98r.js} +8 -8
- package/dist/chunks/file-mutation-jvksfb2n.js +507 -0
- package/dist/chunks/{repository-cache-vgb18m5f.js → file-mutation-jw2tn658.js} +31 -31
- package/dist/chunks/file-mutation-k2aq9crv.js +26 -0
- package/dist/chunks/{repository-cache-k3c624dm.js → file-mutation-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-cache-22f357wt.js → file-mutation-k8s7jp5m.js} +6 -6
- package/dist/chunks/{repository-cache-8zq1pfr0.js → file-mutation-k9yb22rs.js} +9 -9
- package/dist/chunks/{repository-cache-e8nmz9dx.js → file-mutation-kvdhyq3q.js} +3 -3
- package/dist/chunks/{repository-cache-bjzxe3qz.js → file-mutation-kwq42dss.js} +12 -12
- package/dist/chunks/{repository-cache-gzj36dnw.js → file-mutation-m1hwfr34.js} +23 -23
- package/dist/chunks/{repository-cache-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-cache-37sfe3bm.js → file-mutation-m69d1h5c.js} +14 -14
- package/dist/chunks/{repository-cache-e93vysgz.js → file-mutation-m7xn29b6.js} +4 -4
- package/dist/chunks/{repository-cache-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-mazbtkaa.js → file-mutation-mazbtkaa.js} +2 -2
- package/dist/chunks/{repository-cache-skpsgn3k.js → file-mutation-mde00trs.js} +36 -36
- package/dist/chunks/{repository-cache-r8ebqbsc.js → file-mutation-mmegcj2n.js} +5 -5
- package/dist/chunks/{repository-cache-963rbvmp.js → file-mutation-mpyws8re.js} +9 -9
- package/dist/chunks/{repository-cache-9nkwfwgn.js → file-mutation-mtcp9gxf.js} +17 -17
- package/dist/chunks/{repository-cache-2w25bewv.js → file-mutation-mv8qn0d1.js} +13 -13
- package/dist/chunks/{repository-cache-br52dth2.js → file-mutation-nkmhzjn0.js} +5 -5
- package/dist/chunks/{repository-cache-dtrxyetv.js → file-mutation-nmh5hv95.js} +5 -5
- package/dist/chunks/{repository-cache-wscpecpd.js → file-mutation-nmv5v3dc.js} +21 -21
- package/dist/chunks/{repository-cache-n7d88tpn.js → file-mutation-nvxqht09.js} +3 -3
- package/dist/chunks/{repository-cache-e9266ee7.js → file-mutation-nx97ad9f.js} +22 -22
- package/dist/chunks/{repository-cache-cmwkp3r5.js → file-mutation-p37cw4rj.js} +8 -8
- package/dist/chunks/{repository-cache-htpvgqrd.js → file-mutation-p558d1j2.js} +8 -8
- package/dist/chunks/{repository-cache-n032fvft.js → file-mutation-p5c89f54.js} +6 -6
- package/dist/chunks/{repository-cache-jk54fhp7.js → file-mutation-pjm11dy8.js} +11 -11
- package/dist/chunks/{repository-cache-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-37ea9c2d.js → file-mutation-pn3cc07s.js} +8 -8
- package/dist/chunks/{repository-cache-9aqqzffj.js → file-mutation-pnppyfvq.js} +18 -18
- package/dist/chunks/{repository-cache-jpeemenq.js → file-mutation-q3gt93a2.js} +4 -4
- package/dist/chunks/{repository-cache-5fwyrf5z.js → file-mutation-q4de835y.js} +36 -36
- package/dist/chunks/{repository-cache-zmsbhx8q.js → file-mutation-q8ckvk3w.js} +23 -23
- package/dist/chunks/{repository-cache-zdy34q02.js → file-mutation-qchbb8jr.js} +13 -13
- package/dist/chunks/{repository-cache-vf3z480h.js → file-mutation-qjv8x3xg.js} +28 -28
- package/dist/chunks/{repository-cache-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{repository-cache-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-tntmnmab.js → file-mutation-qsfy776b.js} +176 -176
- package/dist/chunks/{repository-cache-n7qbnv1j.js → file-mutation-qvmrrkn4.js} +12 -12
- package/dist/chunks/{repository-cache-3by35n0t.js → file-mutation-qzx0ab9v.js} +5 -5
- package/dist/chunks/{repository-cache-c765mh8b.js → file-mutation-r2m716tb.js} +5 -5
- package/dist/chunks/{repository-cache-hs1x7rht.js → file-mutation-r44petzp.js} +12 -12
- package/dist/chunks/{repository-cache-n0rv915y.js → file-mutation-r4ra9f67.js} +17 -17
- package/dist/chunks/{repository-cache-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-yrerq1n3.js → file-mutation-rjd8b1f0.js} +7 -7
- package/dist/chunks/{repository-cache-3bg5g8q7.js → file-mutation-s6qqwf79.js} +29 -29
- package/dist/chunks/{repository-cache-m0ecvezt.js → file-mutation-smcmy5n9.js} +15 -15
- package/dist/chunks/{repository-cache-ekeagaff.js → file-mutation-srx8aqwq.js} +21 -21
- package/dist/chunks/{repository-cache-j83nw7fd.js → file-mutation-ssx3rgd2.js} +32 -32
- package/dist/chunks/{repository-cache-rhjbct0v.js → file-mutation-t550f9t1.js} +4 -4
- package/dist/chunks/{repository-cache-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-ysypycvb.js → file-mutation-ttb5pqry.js} +1 -1
- package/dist/chunks/{repository-cache-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-cache-gtm34f6g.js → file-mutation-txq1wgms.js} +24 -24
- package/dist/chunks/{repository-cache-ca7w653e.js → file-mutation-tz4n1mmd.js} +4 -4
- package/dist/chunks/{repository-cache-n9esafc3.js → file-mutation-v5ganw7f.js} +20 -20
- package/dist/chunks/{repository-cache-0j4x3pky.js → file-mutation-vc1fft1y.js} +20 -20
- package/dist/chunks/{repository-cache-x3d3jna2.js → file-mutation-vcxjdkvk.js} +7 -7
- package/dist/chunks/{repository-cache-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-5q9xfknq.js → file-mutation-vestgjg2.js} +10 -10
- package/dist/chunks/{repository-cache-ryhnjg92.js → file-mutation-vr6q59r9.js} +30 -30
- package/dist/chunks/{repository-cache-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-cache-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-5we7r0eg.js → file-mutation-w1ad28wa.js} +6 -6
- package/dist/chunks/{repository-cache-zbrkq2e1.js → file-mutation-w2kzc4js.js} +7 -7
- package/dist/chunks/{repository-cache-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-pr2h8h86.js → file-mutation-wgbd6vqr.js} +11 -11
- package/dist/chunks/{repository-cache-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-cache-beprb18x.js → file-mutation-x4fwfb4w.js} +9 -9
- package/dist/chunks/{repository-cache-j9me29bk.js → file-mutation-x9r28hpy.js} +11 -11
- package/dist/chunks/{repository-cache-a6964z1k.js → file-mutation-xge32yc5.js} +43 -43
- package/dist/chunks/{repository-cache-76ymgwed.js → file-mutation-xs0sd5xy.js} +9 -9
- package/dist/chunks/{repository-cache-6bkwpg0x.js → file-mutation-xy26ekgv.js} +12 -12
- package/dist/chunks/{repository-cache-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-e7k2h18t.js → file-mutation-y7qwnmy1.js} +11 -11
- package/dist/chunks/{repository-cache-vxhhv58t.js → file-mutation-yb42xt1h.js} +22 -22
- package/dist/chunks/{repository-cache-t9ra34wt.js → file-mutation-yckxb0kb.js} +7 -7
- package/dist/chunks/{repository-cache-b005zpx3.js → file-mutation-ygs5atcy.js} +20 -20
- package/dist/chunks/{repository-cache-myh7k9xx.js → file-mutation-yj11y499.js} +41 -41
- package/dist/chunks/{repository-cache-5c68v4c5.js → file-mutation-yjhj7111.js} +10 -10
- package/dist/chunks/{repository-cache-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-cache-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-376dc42v.js → file-mutation-z2w5m8mv.js} +24 -24
- package/dist/chunks/{repository-cache-25ex5bj3.js → file-mutation-z6cfb29r.js} +14 -14
- package/dist/chunks/{repository-cache-vxfyztn0.js → file-mutation-zfg8098r.js} +7 -7
- package/dist/chunks/{repository-cache-kryraq7m.js → file-mutation-zh2r3c6m.js} +82 -82
- package/dist/chunks/{repository-cache-gjnx9fp9.js → file-mutation-zqjw1a65.js} +26 -26
- package/dist/chunks/{repository-cache-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-zav7rf1m.js → file-mutation-zsfb27kr.js} +25 -25
- package/dist/chunks/{repository-cache-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/repository-cache-93qh2cqg.js +0 -507
- package/dist/chunks/repository-cache-at67ztw2.js +0 -26
- package/dist/chunks/repository-cache-cqtfknxy.js +0 -252
- package/dist/chunks/repository-cache-v1faaxn9.js +0 -18
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e3qxr5gk.js → file-mutation-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-gh2amhk9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./file-mutation-faxrmdye.js";
|
|
7
7
|
import {
|
|
8
8
|
ID15,
|
|
9
9
|
OAuth3,
|
|
10
10
|
Event19,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service77
|
|
12
|
+
} from "./file-mutation-j8cgstsh.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-dnxkq42g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-s6qqwf79.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID13,
|
|
25
|
+
Service75
|
|
26
|
+
} from "./file-mutation-5ymnsk7v.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID12
|
|
29
|
+
} from "./file-mutation-q4de835y.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-mutation-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-mutation-hnjhetmx.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -74,11 +74,11 @@ function make7(endpoints = {
|
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
|
-
const bus = yield*
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
79
|
+
const bus = yield* Service82;
|
|
80
|
+
const credentials = yield* Service77;
|
|
81
|
+
const providers = yield* Service75;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make7(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID13.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,7 +152,7 @@ function make7(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
156
156
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
@@ -192,7 +192,7 @@ function make7(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make7(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make7(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make7(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID13.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make7(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make7(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID13.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID13.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
286
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make7(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID13.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make7(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID13.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID13.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,7 +318,7 @@ function make7(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID13.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID12.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./file-mutation-nx97ad9f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make3
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service72;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make3, LoadError2, exports_module };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./file-mutation-faxrmdye.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./file-mutation-j8cgstsh.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./file-mutation-z6cfb29r.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service66,
|
|
19
|
+
node68
|
|
20
|
+
} from "./file-mutation-txq1wgms.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./file-mutation-q8ckvk3w.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node80
|
|
35
|
+
} from "./file-mutation-s6qqwf79.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service31,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured4,
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node34
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const environment = yield* Service66;
|
|
117
|
+
const bus = yield* Service82;
|
|
118
|
+
const forms = yield* Service78;
|
|
119
|
+
const integration = yield* Service76;
|
|
120
|
+
const credentials = yield* Service77;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID14.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,12 +161,12 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID16.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service66, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -420,7 +420,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service31.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service31,
|
|
536
|
+
layer: layer14(options),
|
|
537
|
+
deps: [node83, node68, node86, node82, node80, node81]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node34 = configured4();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service31, Options4, layer14, configured4, node34, exports_mcp4 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-gh2amhk9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin9,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin9 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin4 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin4 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin9, exports_tavily };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service83,
|
|
10
|
-
node87
|
|
11
|
-
} from "./repository-cache-expxz8xq.js";
|
|
7
|
+
} from "./file-mutation-8mpnm3sv.js";
|
|
12
8
|
import {
|
|
13
9
|
Service82,
|
|
14
10
|
node86
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-faxrmdye.js";
|
|
12
|
+
import {
|
|
13
|
+
Service81,
|
|
14
|
+
node85
|
|
15
|
+
} from "./file-mutation-r44petzp.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-3v5tjer0.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-mutation-h2b79v29.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-1dvck2a7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info33,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service80,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node84,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,11 +95,11 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service81;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service82;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service80.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node84 = makeGlobalNode({
|
|
288
|
+
service: Service80,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node86, node88, FSUtil.node, node85, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2,
|
|
293
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|