@opencode/core 0.0.0-dev-1147 → 0.0.0-dev-1155
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 +92 -92
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +253 -253
- package/dist/bus.js +84 -84
- package/dist/chunks/{event-logger-wzt7472r.js → filesystem-00j42c4a.js} +21 -21
- package/dist/chunks/{event-logger-aj7mw0zk.js → filesystem-034tev2y.js} +2 -2
- package/dist/chunks/{event-logger-bgpv0g61.js → filesystem-04tq37rg.js} +46 -46
- package/dist/chunks/{event-logger-10gg3gv1.js → filesystem-05rxf7ag.js} +20 -20
- package/dist/chunks/{event-logger-7aq556dt.js → filesystem-06kr05p9.js} +39 -39
- package/dist/chunks/{event-logger-wezh28ak.js → filesystem-083b6r2x.js} +29 -29
- package/dist/chunks/{event-logger-8r0ewt17.js → filesystem-0fn5ab0k.js} +29 -29
- package/dist/chunks/{event-logger-ybws1qgk.js → filesystem-0h86f0az.js} +4 -4
- package/dist/chunks/{event-logger-57h0ra3a.js → filesystem-0kgbgg4w.js} +5 -5
- package/dist/chunks/{event-logger-0ma9gw4f.js → filesystem-0ma9gw4f.js} +2 -2
- package/dist/chunks/{event-logger-0mgprbja.js → filesystem-0php2d2a.js} +4 -4
- package/dist/chunks/{event-logger-3yw3xdtp.js → filesystem-0srmv9a7.js} +13 -13
- package/dist/chunks/{event-logger-zq1q2hez.js → filesystem-0ty7x2vf.js} +43 -43
- package/dist/chunks/{event-logger-9sdw502q.js → filesystem-0x2ag7me.js} +93 -93
- package/dist/chunks/{event-logger-ep9s0drc.js → filesystem-0zz2bnr1.js} +15 -15
- package/dist/chunks/{event-logger-3c7qpzd7.js → filesystem-12a87htm.js} +8 -8
- package/dist/chunks/{event-logger-eyqfv9w4.js → filesystem-14q26q0h.js} +16 -16
- package/dist/chunks/{event-logger-0yp7bcfk.js → filesystem-14qtwrnd.js} +31 -31
- package/dist/chunks/{event-logger-160yv0cs.js → filesystem-160yv0cs.js} +1 -1
- package/dist/chunks/{event-logger-gs3fx43r.js → filesystem-16m4fety.js} +12 -12
- package/dist/chunks/{event-logger-1aqsckx4.js → filesystem-1aqsckx4.js} +1 -1
- package/dist/chunks/{event-logger-d23hm6dv.js → filesystem-1d41vqxy.js} +37 -37
- package/dist/chunks/{event-logger-b1p6yava.js → filesystem-1ef5n38d.js} +22 -22
- package/dist/chunks/{event-logger-27w5k9zf.js → filesystem-1ep2p91f.js} +2 -2
- package/dist/chunks/{event-logger-2wgvz29q.js → filesystem-1rncpvfz.js} +17 -17
- package/dist/chunks/{event-logger-jxthfzre.js → filesystem-1tcdzert.js} +9 -9
- package/dist/chunks/{event-logger-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
- package/dist/chunks/{event-logger-c7gk57p6.js → filesystem-1xjver7d.js} +4 -4
- package/dist/chunks/{event-logger-pn43dvrw.js → filesystem-1y1at900.js} +13 -13
- package/dist/chunks/filesystem-1ywg999t.js +273 -0
- package/dist/chunks/{event-logger-ts7b62p7.js → filesystem-1zd29w7p.js} +6 -6
- package/dist/chunks/{event-logger-x1yfjb7w.js → filesystem-21f92tpx.js} +5 -5
- package/dist/chunks/{event-logger-hqf7y3aw.js → filesystem-23mseg9w.js} +12 -12
- package/dist/chunks/{event-logger-25h84942.js → filesystem-25h84942.js} +1 -1
- package/dist/chunks/{event-logger-qs26b9z6.js → filesystem-2cjx21jp.js} +30 -30
- package/dist/chunks/{event-logger-p28xtqj0.js → filesystem-2cpdbpj8.js} +16 -16
- package/dist/chunks/{event-logger-hrb8tk9q.js → filesystem-2d5vwg09.js} +6 -6
- package/dist/chunks/{event-logger-2fc7eemy.js → filesystem-2fc7eemy.js} +1 -1
- package/dist/chunks/{event-logger-7z4ynt3y.js → filesystem-2jt5ssd0.js} +3 -3
- package/dist/chunks/{event-logger-b8wy980y.js → filesystem-2ns59sfh.js} +10 -10
- package/dist/chunks/{event-logger-dk3zeyj2.js → filesystem-2r0xhr37.js} +4 -4
- package/dist/chunks/{event-logger-ktck1cjp.js → filesystem-2s9mae96.js} +6 -6
- package/dist/chunks/{event-logger-49796h46.js → filesystem-2yzwas0f.js} +16 -16
- package/dist/chunks/{event-logger-1pxksj81.js → filesystem-324k4kgm.js} +3 -3
- package/dist/chunks/{event-logger-0jrdegvv.js → filesystem-36tjmfsy.js} +4 -4
- package/dist/chunks/{event-logger-04whjz6n.js → filesystem-3adw4bt5.js} +9 -9
- package/dist/chunks/{event-logger-1xmsmqv5.js → filesystem-3b3p5y89.js} +6 -6
- package/dist/chunks/{event-logger-swha6tfd.js → filesystem-3fzw2dgx.js} +13 -13
- package/dist/chunks/{event-logger-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
- package/dist/chunks/{event-logger-j3f8hyeg.js → filesystem-3ryz99p0.js} +4 -4
- package/dist/chunks/{event-logger-fna94ff8.js → filesystem-3s9hkh01.js} +2 -2
- package/dist/chunks/{event-logger-sf41b6qf.js → filesystem-3smzfgkv.js} +8 -8
- package/dist/chunks/{event-logger-hmer0h8a.js → filesystem-3v1jab5g.js} +7 -7
- package/dist/chunks/{event-logger-68m1gd65.js → filesystem-3w4j854v.js} +10 -10
- package/dist/chunks/{event-logger-40y6dtc2.js → filesystem-40y6dtc2.js} +1 -1
- package/dist/chunks/{event-logger-xx2t0mqq.js → filesystem-43j7jt16.js} +18 -18
- package/dist/chunks/{event-logger-ykv10a94.js → filesystem-444evg8n.js} +36 -36
- package/dist/chunks/{event-logger-dpm99747.js → filesystem-491q2x3b.js} +22 -22
- package/dist/chunks/{event-logger-4dx1dgte.js → filesystem-4dx1dgte.js} +1 -1
- package/dist/chunks/{event-logger-4f25tdd0.js → filesystem-4f25tdd0.js} +1 -1
- package/dist/chunks/{event-logger-p2p9vkvt.js → filesystem-4gxktgp4.js} +25 -25
- package/dist/chunks/{event-logger-vbmdr6hx.js → filesystem-4n5cstwr.js} +377 -377
- package/dist/chunks/{event-logger-4pyp9zr9.js → filesystem-4pyp9zr9.js} +1 -1
- package/dist/chunks/{event-logger-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
- package/dist/chunks/{event-logger-5rrqyffq.js → filesystem-4ydapqmf.js} +9 -9
- package/dist/chunks/{event-logger-h44j6zst.js → filesystem-53g3ek9f.js} +19 -19
- package/dist/chunks/{event-logger-61y1tw29.js → filesystem-5bcr6264.js} +9 -9
- package/dist/chunks/{event-logger-a23cs114.js → filesystem-5fc8hcg9.js} +29 -29
- package/dist/chunks/{event-logger-79zf17fy.js → filesystem-5fjyrr2e.js} +18 -18
- package/dist/chunks/{event-logger-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{event-logger-k82js5je.js → filesystem-5pah5g87.js} +19 -19
- package/dist/chunks/{event-logger-fx6bang4.js → filesystem-5r3dv39m.js} +25 -25
- package/dist/chunks/{event-logger-5whx36p1.js → filesystem-5whx36p1.js} +1 -1
- package/dist/chunks/{event-logger-gg1nfjks.js → filesystem-5xkprpgc.js} +16 -16
- package/dist/chunks/{event-logger-aje12js6.js → filesystem-68dsae6w.js} +23 -23
- package/dist/chunks/{event-logger-a6aj6mxa.js → filesystem-6er1m856.js} +35 -35
- package/dist/chunks/{event-logger-nr97rfd7.js → filesystem-6gpahs7y.js} +25 -25
- package/dist/chunks/{event-logger-93nnc82v.js → filesystem-6j19asys.js} +45 -45
- package/dist/chunks/{event-logger-2n444ktb.js → filesystem-6q8jj3zs.js} +2 -2
- package/dist/chunks/{event-logger-erq6h3y0.js → filesystem-6vcwkhp6.js} +25 -25
- package/dist/chunks/{event-logger-775hqbnd.js → filesystem-775hqbnd.js} +3 -3
- package/dist/chunks/{event-logger-7w7ck4r7.js → filesystem-77e37j3z.js} +30 -30
- package/dist/chunks/{event-logger-zb8ad4tv.js → filesystem-79dx1dc6.js} +5 -5
- package/dist/chunks/{event-logger-ddgbxk3j.js → filesystem-79f5ryf5.js} +13 -13
- package/dist/chunks/{event-logger-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-d34amx0r.js → filesystem-7dc4gc5v.js} +32 -32
- package/dist/chunks/{event-logger-a0zm9ph5.js → filesystem-7f186e6p.js} +12 -12
- package/dist/chunks/{event-logger-87yt03vf.js → filesystem-7fczfqhg.js} +13 -13
- package/dist/chunks/{event-logger-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
- package/dist/chunks/{event-logger-7weczvnd.js → filesystem-7weczvnd.js} +1 -1
- package/dist/chunks/{event-logger-0b663pgd.js → filesystem-7ynxdpkt.js} +59 -59
- package/dist/chunks/{event-logger-ak60gk1d.js → filesystem-7yv86tzv.js} +17 -17
- package/dist/chunks/{event-logger-80pdk984.js → filesystem-80pdk984.js} +1 -1
- package/dist/chunks/{event-logger-85jq8dht.js → filesystem-85jq8dht.js} +1 -1
- package/dist/chunks/{event-logger-8rr29my3.js → filesystem-8cxxjpvd.js} +29 -29
- package/dist/chunks/{event-logger-38atze3s.js → filesystem-8dfptpqb.js} +4 -4
- package/dist/chunks/{event-logger-8kjyvwy5.js → filesystem-8kjyvwy5.js} +1 -1
- package/dist/chunks/{event-logger-bb3mmwvh.js → filesystem-8sxe6kv8.js} +2 -2
- package/dist/chunks/{event-logger-z4x9ktpk.js → filesystem-8w95ndt2.js} +14 -14
- package/dist/chunks/{event-logger-x472nskx.js → filesystem-8wdkt6y0.js} +6 -6
- package/dist/chunks/{event-logger-qf4x04b6.js → filesystem-8ws1cnew.js} +4 -4
- package/dist/chunks/{event-logger-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
- package/dist/chunks/{event-logger-tzgme1hr.js → filesystem-8xmc89yx.js} +27 -27
- package/dist/chunks/{event-logger-8xz27cp9.js → filesystem-8xz27cp9.js} +1 -1
- package/dist/chunks/{event-logger-8zv0xmg5.js → filesystem-8zv0xmg5.js} +1 -1
- package/dist/chunks/{event-logger-sf9y72b7.js → filesystem-90ct6wq4.js} +4 -4
- package/dist/chunks/{event-logger-q0te45gg.js → filesystem-94n1qn39.js} +1 -1
- package/dist/chunks/{event-logger-963hk181.js → filesystem-963hk181.js} +2 -2
- package/dist/chunks/{event-logger-dxazj6vp.js → filesystem-96xmncfy.js} +16 -16
- package/dist/chunks/{event-logger-s1wgb3ss.js → filesystem-96yvqpwb.js} +11 -11
- package/dist/chunks/{event-logger-yt4wpa0y.js → filesystem-9fcfg85h.js} +15 -15
- package/dist/chunks/{event-logger-xpa6jhfh.js → filesystem-9jer5kqh.js} +10 -10
- package/dist/chunks/{event-logger-2kg89srt.js → filesystem-9q8g9sv8.js} +4 -4
- package/dist/chunks/{event-logger-0ppn5vff.js → filesystem-9qxtrk0a.js} +28 -28
- package/dist/chunks/{event-logger-1e26w957.js → filesystem-9y2szkpc.js} +20 -20
- package/dist/chunks/{event-logger-tn6tvye7.js → filesystem-9y4ybsjj.js} +24 -24
- package/dist/chunks/{event-logger-xm1rq0mn.js → filesystem-9yqjp86x.js} +6 -6
- package/dist/chunks/{event-logger-sqgras3e.js → filesystem-9zz91ck0.js} +23 -23
- package/dist/chunks/{event-logger-gnfb3p9m.js → filesystem-a2c7ns4r.js} +8 -8
- package/dist/chunks/{event-logger-45jhfv96.js → filesystem-ackgvjab.js} +4 -4
- package/dist/chunks/{event-logger-yezk68gp.js → filesystem-ahhdqv1f.js} +11 -11
- package/dist/chunks/{event-logger-ada1n2td.js → filesystem-apmfn43p.js} +23 -23
- package/dist/chunks/{event-logger-1nc0qsr7.js → filesystem-aq906svt.js} +6 -6
- package/dist/chunks/{event-logger-am0kqer1.js → filesystem-ay2fkrah.js} +37 -37
- package/dist/chunks/{event-logger-3cbjf1nt.js → filesystem-ayjs7tqn.js} +2 -2
- package/dist/chunks/{event-logger-kssbcksk.js → filesystem-b0je4vth.js} +14 -14
- package/dist/chunks/{event-logger-m1p6s8xd.js → filesystem-b1azjyxw.js} +11 -11
- package/dist/chunks/{event-logger-ggrj1dyp.js → filesystem-b1x243mb.js} +25 -25
- package/dist/chunks/{event-logger-ya81fv1s.js → filesystem-b62kntzp.js} +37 -37
- package/dist/chunks/{event-logger-0npmn2an.js → filesystem-b62sbhp2.js} +9 -9
- package/dist/chunks/{event-logger-b6cq1fvz.js → filesystem-b6cq1fvz.js} +1 -1
- package/dist/chunks/{event-logger-c63z5kgr.js → filesystem-b9d5jw54.js} +15 -15
- package/dist/chunks/{event-logger-hj6m45cg.js → filesystem-bamve3at.js} +51 -51
- package/dist/chunks/{event-logger-s3en5yqe.js → filesystem-be4x5m7x.js} +18 -18
- package/dist/chunks/{event-logger-6ss6ngz0.js → filesystem-bex4xsk5.js} +4 -4
- package/dist/chunks/{event-logger-mhnwsfa0.js → filesystem-bffnw3zy.js} +11 -11
- package/dist/chunks/{event-logger-5n0rnk8e.js → filesystem-bhfd478d.js} +4 -4
- package/dist/chunks/{event-logger-bstexjd6.js → filesystem-bstexjd6.js} +1 -1
- package/dist/chunks/{event-logger-ybbgryp2.js → filesystem-bvhssps7.js} +21 -21
- package/dist/chunks/{event-logger-r7qajayd.js → filesystem-bwkfv57n.js} +40 -40
- package/dist/chunks/{event-logger-by8ty0bx.js → filesystem-by8ty0bx.js} +1 -1
- package/dist/chunks/{event-logger-yf1s08ep.js → filesystem-bydyckw6.js} +3 -3
- package/dist/chunks/{event-logger-530xg6vw.js → filesystem-c1bfpsqy.js} +6 -6
- package/dist/chunks/{event-logger-yb94pn54.js → filesystem-c57y1876.js} +23 -23
- package/dist/chunks/{event-logger-c7cw818c.js → filesystem-c7cw818c.js} +2 -2
- package/dist/chunks/{event-logger-mskgsxfh.js → filesystem-c9z1d5hy.js} +11 -11
- package/dist/chunks/{event-logger-2b71jd6k.js → filesystem-cgfra67r.js} +16 -16
- package/dist/chunks/{event-logger-d639aswr.js → filesystem-cgmxejc8.js} +27 -27
- package/dist/chunks/{event-logger-w2vbgnvs.js → filesystem-cjdqh2wj.js} +5 -5
- package/dist/chunks/{event-logger-9gw5kk28.js → filesystem-ckttgx1m.js} +4 -4
- package/dist/chunks/{event-logger-eg28xebz.js → filesystem-cs92ehcm.js} +8 -8
- package/dist/chunks/{event-logger-4krr2nde.js → filesystem-csxpn9yn.js} +3 -3
- package/dist/chunks/{event-logger-cwrgdav8.js → filesystem-cwrgdav8.js} +2 -2
- package/dist/chunks/{event-logger-xk9d36f0.js → filesystem-czmwpxsy.js} +20 -20
- package/dist/chunks/{event-logger-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
- package/dist/chunks/{event-logger-sj1kv5gk.js → filesystem-dpcxbnzm.js} +7 -7
- package/dist/chunks/{event-logger-k5cw6b6s.js → filesystem-dsxe3vjz.js} +11 -11
- package/dist/chunks/{event-logger-dt77769w.js → filesystem-dt77769w.js} +1 -1
- package/dist/chunks/{event-logger-g2fyxw2s.js → filesystem-ekhvmsd2.js} +9 -9
- package/dist/chunks/{event-logger-eqw4pqj1.js → filesystem-eqw4pqj1.js} +2 -2
- package/dist/chunks/{event-logger-gackfxra.js → filesystem-ewp531bs.js} +26 -26
- package/dist/chunks/{event-logger-tbcvf1tv.js → filesystem-exy8xd7k.js} +11 -11
- package/dist/chunks/filesystem-f8ma18fn.js +18 -0
- package/dist/chunks/{event-logger-yy02pn03.js → filesystem-fc74xdpv.js} +35 -35
- package/dist/chunks/{event-logger-ppf9rkv1.js → filesystem-ffvvmdd5.js} +7 -7
- package/dist/chunks/{event-logger-fg9p65nk.js → filesystem-fg9p65nk.js} +2 -2
- package/dist/chunks/{event-logger-nnw51f18.js → filesystem-fmvrz9hx.js} +62 -62
- package/dist/chunks/{event-logger-mza4bgak.js → filesystem-ft91cex6.js} +16 -16
- package/dist/chunks/{event-logger-6b5kk45z.js → filesystem-fwke0v11.js} +21 -21
- package/dist/chunks/{event-logger-v08qg918.js → filesystem-fxstjx9a.js} +10 -10
- package/dist/chunks/{event-logger-g4txs7zc.js → filesystem-g4txs7zc.js} +4 -4
- package/dist/chunks/{event-logger-ty920cjf.js → filesystem-g5a4a3mq.js} +14 -14
- package/dist/chunks/{event-logger-70x3rksw.js → filesystem-g6aam94y.js} +26 -26
- package/dist/chunks/{event-logger-x6995fmf.js → filesystem-gatcy5wf.js} +4 -4
- package/dist/chunks/{event-logger-41pndfn0.js → filesystem-gbetm1xc.js} +2 -2
- package/dist/chunks/{event-logger-gbjdnr5j.js → filesystem-gbjdnr5j.js} +2 -2
- package/dist/chunks/{event-logger-fhvscywa.js → filesystem-gfgvxw2h.js} +1 -1
- package/dist/chunks/{event-logger-ghrv1g9c.js → filesystem-ghrv1g9c.js} +1 -1
- package/dist/chunks/{event-logger-d7bp3kkx.js → filesystem-gshvyxec.js} +5 -5
- package/dist/chunks/{event-logger-my7q5y0b.js → filesystem-gx76kxxn.js} +11 -11
- package/dist/chunks/{event-logger-j7aepzg9.js → filesystem-gzm4ykdm.js} +28 -28
- package/dist/chunks/{event-logger-4vzr2b15.js → filesystem-h5chy42v.js} +3 -3
- package/dist/chunks/{event-logger-jftx9vsb.js → filesystem-h6e51344.js} +13 -13
- package/dist/chunks/{event-logger-k755gjm4.js → filesystem-h7ccewpy.js} +3 -3
- package/dist/chunks/{event-logger-txrkeank.js → filesystem-h8apfp5a.js} +14 -14
- package/dist/chunks/{event-logger-117p1v9p.js → filesystem-h8bg152s.js} +12 -12
- package/dist/chunks/{event-logger-7h4b1ezn.js → filesystem-he2040d4.js} +7 -7
- package/dist/chunks/{event-logger-hgzwgvze.js → filesystem-hgzwgvze.js} +2 -2
- package/dist/chunks/{event-logger-d0xm8srz.js → filesystem-hh8a7g2z.js} +21 -21
- package/dist/chunks/{event-logger-cpyf932n.js → filesystem-hn0c49ha.js} +3 -3
- package/dist/chunks/{event-logger-8bfckk6f.js → filesystem-hpsk3ppz.js} +13 -13
- package/dist/chunks/{event-logger-nhq0tycc.js → filesystem-hs74eps7.js} +11 -11
- package/dist/chunks/filesystem-hv4b246c.js +35 -0
- package/dist/chunks/{event-logger-8bhs4600.js → filesystem-hwpa77gc.js} +81 -81
- package/dist/chunks/{event-logger-esfs37h7.js → filesystem-hww7tg5r.js} +18 -18
- package/dist/chunks/{event-logger-wqk74y4c.js → filesystem-j1ftk7bn.js} +13 -13
- package/dist/chunks/{event-logger-gwt688zj.js → filesystem-j26j1va9.js} +9 -9
- package/dist/chunks/{event-logger-j376ae4e.js → filesystem-j376ae4e.js} +1 -1
- package/dist/chunks/{event-logger-actz2wjc.js → filesystem-j4qxbzz7.js} +17 -17
- package/dist/chunks/{event-logger-thsxv5em.js → filesystem-j6xgaej1.js} +11 -11
- package/dist/chunks/{event-logger-j9nxzz3g.js → filesystem-j9nxzz3g.js} +3 -3
- package/dist/chunks/{event-logger-jm70asfg.js → filesystem-jm70asfg.js} +1 -1
- package/dist/chunks/{event-logger-tsfa3pgz.js → filesystem-jngkd2xt.js} +29 -29
- package/dist/chunks/{event-logger-t8erkws8.js → filesystem-jv5ccajn.js} +5 -5
- package/dist/chunks/{event-logger-jxd6f16v.js → filesystem-jxd6f16v.js} +2 -2
- package/dist/chunks/{event-logger-9nnv4wpt.js → filesystem-jycw55y7.js} +4 -4
- package/dist/chunks/{event-logger-eb7mm39j.js → filesystem-k2r0m066.js} +12 -12
- package/dist/chunks/{event-logger-6w1vf6x1.js → filesystem-k77faqfm.js} +7 -7
- package/dist/chunks/{event-logger-gky7xns7.js → filesystem-k8tgqm9f.js} +25 -25
- package/dist/chunks/{event-logger-20pht57w.js → filesystem-kj9n5bvh.js} +4 -4
- package/dist/chunks/{event-logger-afv5e80s.js → filesystem-kkg2t6c6.js} +34 -34
- package/dist/chunks/{event-logger-x4mcewfn.js → filesystem-kmekj7m2.js} +2 -2
- package/dist/chunks/{event-logger-n320gsn2.js → filesystem-kq4fnwb1.js} +4 -4
- package/dist/chunks/{event-logger-a0t4bpax.js → filesystem-kr8bp0nb.js} +5 -5
- package/dist/chunks/{event-logger-kt3bjfbg.js → filesystem-kt3bjfbg.js} +1 -1
- package/dist/chunks/{event-logger-6qwzbwqd.js → filesystem-kwf3mc6b.js} +4 -4
- package/dist/chunks/filesystem-kwjwsaah.js +26 -0
- package/dist/chunks/{event-logger-fbtpbztf.js → filesystem-kx57agve.js} +15 -15
- package/dist/chunks/{event-logger-2mgr69e5.js → filesystem-kxdwvqnx.js} +29 -29
- package/dist/chunks/{event-logger-z9r7rbrs.js → filesystem-kxkzc9ky.js} +24 -24
- package/dist/chunks/{event-logger-kzczzf4v.js → filesystem-kzczzf4v.js} +1 -1
- package/dist/chunks/{event-logger-m1714858.js → filesystem-m1714858.js} +1 -1
- package/dist/chunks/{event-logger-m90tx7mw.js → filesystem-m90tx7mw.js} +1 -1
- package/dist/chunks/{event-logger-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-94kbet6f.js → filesystem-madhs7qf.js} +3 -3
- package/dist/chunks/{event-logger-8z6m94af.js → filesystem-mb7mbhnz.js} +3 -3
- package/dist/chunks/{event-logger-7srf0j8g.js → filesystem-mf0kks93.js} +17 -17
- package/dist/chunks/{event-logger-2njt4976.js → filesystem-mnmjr1v5.js} +18 -18
- package/dist/chunks/{event-logger-tsm5k38s.js → filesystem-mnx4hk0n.js} +8 -8
- package/dist/chunks/{event-logger-h4x76w78.js → filesystem-mpp1y76d.js} +19 -19
- package/dist/chunks/{event-logger-mzx2p924.js → filesystem-mpq3970x.js} +12 -12
- package/dist/chunks/{event-logger-k375p4pr.js → filesystem-mwbh0fme.js} +22 -22
- package/dist/chunks/{event-logger-dezdfpzq.js → filesystem-mz3k47ct.js} +3 -3
- package/dist/chunks/{event-logger-yp427s9p.js → filesystem-n1q9dan8.js} +83 -83
- package/dist/chunks/{event-logger-jn16bqjy.js → filesystem-n2tfgszc.js} +7 -7
- package/dist/chunks/{event-logger-t62dywgn.js → filesystem-n3j33rb6.js} +4 -4
- package/dist/chunks/{event-logger-sg2k6vaq.js → filesystem-nc4bhxkd.js} +21 -21
- package/dist/chunks/{event-logger-nr5e4xc7.js → filesystem-ntnvj5mg.js} +7 -7
- package/dist/chunks/{event-logger-ms83g2zs.js → filesystem-nw3gtmag.js} +7 -7
- package/dist/chunks/{event-logger-3qbe92gm.js → filesystem-nw8met9v.js} +43 -43
- package/dist/chunks/{event-logger-7qxkmq2g.js → filesystem-nwda1bfv.js} +33 -33
- package/dist/chunks/{event-logger-1yq9hg58.js → filesystem-p7vhpwh8.js} +5 -5
- package/dist/chunks/{event-logger-81r1jb6p.js → filesystem-pa971bt4.js} +8 -8
- package/dist/chunks/{event-logger-v6kk1kyn.js → filesystem-pg8c6wdy.js} +20 -20
- package/dist/chunks/{event-logger-yce9etb7.js → filesystem-pk5ktw9t.js} +54 -54
- package/dist/chunks/{event-logger-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-d390zwf3.js → filesystem-pnwsrq7c.js} +8 -8
- package/dist/chunks/{event-logger-g3veenag.js → filesystem-pp3k6pe8.js} +19 -19
- package/dist/chunks/{event-logger-dg5naf6e.js → filesystem-px7qpgcn.js} +4 -4
- package/dist/chunks/{event-logger-sdseesaf.js → filesystem-q3n6jbga.js} +57 -57
- package/dist/chunks/{event-logger-s1a9dj89.js → filesystem-q50958an.js} +12 -12
- package/dist/chunks/{event-logger-535ee99s.js → filesystem-q7qbye6s.js} +39 -39
- package/dist/chunks/{event-logger-k3cf59wc.js → filesystem-qfsm01t2.js} +35 -35
- package/dist/chunks/{event-logger-84e6h9b5.js → filesystem-qhxa6c6a.js} +39 -39
- package/dist/chunks/{event-logger-cxab28sr.js → filesystem-qk5sk9d1.js} +7 -7
- package/dist/chunks/{event-logger-ec1rfe83.js → filesystem-qkaww9q1.js} +11 -11
- package/dist/chunks/{event-logger-fzwn6aqp.js → filesystem-qp2996hh.js} +14 -8
- package/dist/chunks/{event-logger-qp7r0hxv.js → filesystem-qp7r0hxv.js} +1 -1
- package/dist/chunks/{event-logger-2ffnk4yd.js → filesystem-qz4vhj1z.js} +26 -26
- package/dist/chunks/{event-logger-gwcy5ypz.js → filesystem-r0jx365g.js} +11 -11
- package/dist/chunks/{event-logger-xacrkbdt.js → filesystem-r17fbvme.js} +4 -4
- package/dist/chunks/{event-logger-236cyrg2.js → filesystem-r1x3rphc.js} +36 -36
- package/dist/chunks/{event-logger-cgjkjyez.js → filesystem-r2xmn65f.js} +31 -31
- package/dist/chunks/{event-logger-5enarcya.js → filesystem-r41sfy63.js} +9 -9
- package/dist/chunks/{event-logger-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
- package/dist/chunks/{event-logger-3gv0spa2.js → filesystem-rbg54dp1.js} +4 -4
- package/dist/chunks/{event-logger-rgc9cx3e.js → filesystem-rgc9cx3e.js} +2 -2
- package/dist/chunks/{event-logger-3h40kzqg.js → filesystem-rge58vnh.js} +15 -15
- package/dist/chunks/{event-logger-zhp6q5es.js → filesystem-rh3ncdjm.js} +6 -6
- package/dist/chunks/{event-logger-c5htjngb.js → filesystem-rm9v0bwn.js} +17 -17
- package/dist/chunks/{event-logger-s1ba0vj0.js → filesystem-s1ba0vj0.js} +2 -2
- package/dist/chunks/{event-logger-67mxzy6e.js → filesystem-s5zrq09q.js} +8 -8
- package/dist/chunks/{event-logger-gjdc757g.js → filesystem-s8kfvqtc.js} +6 -6
- package/dist/chunks/{event-logger-sbya78hr.js → filesystem-sbya78hr.js} +1 -1
- package/dist/chunks/{event-logger-a3fn0gmm.js → filesystem-sdn2zcx3.js} +2 -2
- package/dist/chunks/{event-logger-h0br01ky.js → filesystem-sh6sjrys.js} +2 -2
- package/dist/chunks/{event-logger-sqjzf8x2.js → filesystem-sqjzf8x2.js} +1 -1
- package/dist/chunks/{event-logger-3car84mx.js → filesystem-svaf9hke.js} +37 -37
- package/dist/chunks/{event-logger-svcy3p9a.js → filesystem-svcy3p9a.js} +1 -1
- package/dist/chunks/{event-logger-3y0ytk06.js → filesystem-t190ewm6.js} +9 -9
- package/dist/chunks/{event-logger-9rqfe4ad.js → filesystem-t48jrnqq.js} +3 -3
- package/dist/chunks/{event-logger-jjvvtnfs.js → filesystem-tb2mrvc9.js} +4 -4
- package/dist/chunks/{event-logger-tbpn7jtk.js → filesystem-tbpn7jtk.js} +1 -1
- package/dist/chunks/{event-logger-pftj8cpt.js → filesystem-tc7r93jj.js} +8 -8
- package/dist/chunks/{event-logger-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
- package/dist/chunks/{event-logger-17q94vej.js → filesystem-tf77d83d.js} +30 -30
- package/dist/chunks/{event-logger-gxs71cxp.js → filesystem-tg7s7b5t.js} +4 -4
- package/dist/chunks/{event-logger-ej8jyfgb.js → filesystem-thkr7sfr.js} +9 -9
- package/dist/chunks/{event-logger-z541xewz.js → filesystem-tjpnqare.js} +10 -10
- package/dist/chunks/{event-logger-wrsc8cf2.js → filesystem-tn1by9h5.js} +23 -23
- package/dist/chunks/{event-logger-awfj138p.js → filesystem-tr6gb3ke.js} +22 -22
- package/dist/chunks/{event-logger-tvtps2q9.js → filesystem-tvtps2q9.js} +1 -1
- package/dist/chunks/{event-logger-twssxy5n.js → filesystem-twssxy5n.js} +2 -2
- package/dist/chunks/{event-logger-qmsttzhv.js → filesystem-txdz8mmb.js} +8 -8
- package/dist/chunks/{event-logger-p7yydz0e.js → filesystem-txgc4ptp.js} +18 -18
- package/dist/chunks/{event-logger-f9j624d3.js → filesystem-v15cxm8r.js} +12 -12
- package/dist/chunks/{event-logger-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
- package/dist/chunks/{event-logger-vjf35v1f.js → filesystem-vjf35v1f.js} +1 -1
- package/dist/chunks/{event-logger-ynzdgah7.js → filesystem-vjhrddsw.js} +5 -5
- package/dist/chunks/{event-logger-9fmsmfrn.js → filesystem-vk0z4zg0.js} +21 -21
- package/dist/chunks/{event-logger-51bz1r0v.js → filesystem-vnt99xy7.js} +2 -2
- package/dist/chunks/{event-logger-vt4r9rmy.js → filesystem-vq0qa3sh.js} +9 -9
- package/dist/chunks/{event-logger-79k544d0.js → filesystem-vwcz1f45.js} +4 -4
- package/dist/chunks/{event-logger-9p654kjp.js → filesystem-vzydmz2c.js} +14 -14
- package/dist/chunks/{event-logger-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-etw491jc.js → filesystem-w48gbg6x.js} +8 -8
- package/dist/chunks/{event-logger-3mjpxqj8.js → filesystem-w5r8nw58.js} +39 -39
- package/dist/chunks/{event-logger-00kvwq15.js → filesystem-w83qxrsc.js} +12 -12
- package/dist/chunks/{event-logger-kydy82vr.js → filesystem-w8jdb2jn.js} +23 -23
- package/dist/chunks/{event-logger-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{event-logger-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-0r82x9ta.js → filesystem-wd8c1es6.js} +49 -49
- package/dist/chunks/{event-logger-esnvv1ah.js → filesystem-wedze56r.js} +24 -24
- package/dist/chunks/{event-logger-nx4vzyjd.js → filesystem-wegkxhrn.js} +2 -2
- package/dist/chunks/{event-logger-bmwnevfr.js → filesystem-wn6h1xmg.js} +59 -59
- package/dist/chunks/{event-logger-wr3re1en.js → filesystem-wr3re1en.js} +1 -1
- package/dist/chunks/{event-logger-8qdr79jy.js → filesystem-wxgjsayh.js} +11 -11
- package/dist/chunks/{event-logger-zpqft3wc.js → filesystem-x645n76j.js} +24 -24
- package/dist/chunks/{event-logger-qen78scp.js → filesystem-x82r7ffc.js} +17 -17
- package/dist/chunks/{event-logger-jz38dwzd.js → filesystem-xdmazz3w.js} +32 -32
- package/dist/chunks/{event-logger-7yyjzttz.js → filesystem-xgjg0k83.js} +12 -12
- package/dist/chunks/{event-logger-xxschbft.js → filesystem-xjr6c8m4.js} +4 -4
- package/dist/chunks/{event-logger-me215f18.js → filesystem-xtq9xpt1.js} +1 -1
- package/dist/chunks/{event-logger-pabkrdhw.js → filesystem-xy63rwa2.js} +5 -5
- package/dist/chunks/{event-logger-5wtmgpgz.js → filesystem-y1jg12an.js} +12 -12
- package/dist/chunks/{event-logger-dyqd4wba.js → filesystem-y4h9vdhr.js} +9 -9
- package/dist/chunks/{event-logger-8vd63fsb.js → filesystem-y8wtdb2c.js} +40 -40
- package/dist/chunks/{event-logger-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
- package/dist/chunks/{event-logger-ppcswf39.js → filesystem-ycyeq6c3.js} +23 -23
- package/dist/chunks/{event-logger-cx3s070h.js → filesystem-yhx801ee.js} +5 -5
- package/dist/chunks/{event-logger-wrehw5d5.js → filesystem-ykvbdmjf.js} +9 -9
- package/dist/chunks/{event-logger-yr705xyq.js → filesystem-yr705xyq.js} +1 -1
- package/dist/chunks/{event-logger-yvtc2x31.js → filesystem-yvtc2x31.js} +1 -1
- package/dist/chunks/{event-logger-9evsmb5n.js → filesystem-z1ma5m5g.js} +11 -11
- package/dist/chunks/{event-logger-8m6tke1p.js → filesystem-z6p3htzk.js} +11 -11
- package/dist/chunks/{event-logger-4hefsnk0.js → filesystem-z9tq0y3w.js} +19 -19
- package/dist/chunks/{event-logger-bw5pc1kx.js → filesystem-zf9mw93b.js} +19 -19
- package/dist/chunks/{event-logger-cjw3dy27.js → filesystem-zq6pgs90.js} +164 -164
- package/dist/chunks/{event-logger-0w3haarm.js → filesystem-zqng6tfv.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +149 -149
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +156 -156
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +95 -95
- 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 +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +245 -245
- package/dist/config/plugin/compaction.js +174 -174
- package/dist/config/plugin/compatibility.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +131 -131
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +146 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +133 -133
- package/dist/config/plugin/skill-file.js +150 -150
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +157 -157
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- 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 +103 -103
- package/dist/effect/app-node-builder.js +442 -442
- 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 +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +161 -161
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +165 -165
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +1 -1
- 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 +114 -114
- package/dist/flag.js +136 -136
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +123 -123
- package/dist/git.js +7 -7
- package/dist/github-copilot/models.js +105 -105
- 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 +433 -433
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +186 -186
- package/dist/location-lifecycle.js +154 -154
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +430 -430
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +159 -159
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +186 -186
- 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 +158 -158
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -105
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +246 -246
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +150 -150
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +134 -134
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +115 -115
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- 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 +111 -111
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- 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 +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +110 -110
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +141 -141
- package/dist/plugin/provider/local.js +138 -138
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +141 -141
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +134 -134
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +162 -162
- package/dist/plugin/provider/openrouter.js +105 -105
- 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 +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +132 -132
- package/dist/plugin/provider/vllm.js +141 -141
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +240 -240
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +151 -151
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +417 -417
- 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 +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +105 -105
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +251 -251
- 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 +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +174 -174
- package/dist/session/context.js +204 -204
- package/dist/session/diff.js +101 -101
- 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 +273 -273
- package/dist/session/execution.js +168 -168
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +140 -140
- package/dist/session/inbox.js +149 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +147 -147
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +172 -172
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +172 -172
- package/dist/session/projector.js +147 -147
- package/dist/session/prompt.js +152 -152
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +143 -143
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +257 -257
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +154 -154
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +165 -165
- package/dist/session/runner/to-llm-message.js +141 -141
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +192 -192
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +151 -151
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +146 -146
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +242 -242
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +153 -153
- package/dist/session/transfer.js +256 -256
- package/dist/session/usage.js +1 -1
- package/dist/session.js +246 -246
- 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 +9 -9
- package/dist/shell.js +149 -149
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +155 -155
- package/dist/skill.js +158 -158
- 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 +187 -187
- package/dist/tool/plugin/artifact.js +241 -241
- package/dist/tool/plugin/edit.js +171 -171
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +175 -175
- package/dist/tool/plugin/grep.js +174 -174
- package/dist/tool/plugin/image-generate.js +252 -252
- package/dist/tool/plugin/mcp-resource.js +170 -170
- package/dist/tool/plugin/opencode.js +167 -167
- package/dist/tool/plugin/patch.js +172 -172
- package/dist/tool/plugin/question.js +150 -150
- package/dist/tool/plugin/read.js +176 -176
- package/dist/tool/plugin/schedule.js +257 -257
- package/dist/tool/plugin/shell.js +248 -248
- package/dist/tool/plugin/skill.js +153 -153
- package/dist/tool/plugin/subagent.js +247 -247
- package/dist/tool/plugin/todo.js +157 -157
- package/dist/tool/plugin/webfetch.js +161 -161
- package/dist/tool/plugin/websearch.js +159 -159
- package/dist/tool/plugin/write.js +172 -172
- 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 +164 -164
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +103 -103
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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 +8 -8
- package/dist/chunks/event-logger-2dkjcnxp.js +0 -18
- package/dist/chunks/event-logger-hjymdr8h.js +0 -35
- package/dist/chunks/event-logger-wx16tjy8.js +0 -273
- package/dist/chunks/event-logger-xyspm5vb.js +0 -26
- /package/dist/chunks/{event-logger-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kah00gy.js → filesystem-1kah00gy.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4qk9sjk2.js → filesystem-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-5w3e23ze.js → filesystem-5w3e23ze.js} +0 -0
- /package/dist/chunks/{event-logger-6agm2x70.js → filesystem-6agm2x70.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-7rvsyqjv.js → filesystem-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-beh6qq61.js → filesystem-beh6qq61.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-ean2d8b5.js → filesystem-ean2d8b5.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fkpq3x5p.js → filesystem-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-nh4v3znn.js → filesystem-nh4v3znn.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-p71gwv9c.js → filesystem-p71gwv9c.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-syrav9an.js → filesystem-syrav9an.js} +0 -0
- /package/dist/chunks/{event-logger-t03h4f5z.js → filesystem-t03h4f5z.js} +0 -0
- /package/dist/chunks/{event-logger-ty7weeps.js → filesystem-ty7weeps.js} +0 -0
- /package/dist/chunks/{event-logger-v2dnd5dt.js → filesystem-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{event-logger-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{event-logger-vtarvj67.js → filesystem-vtarvj67.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x4th4bpe.js → filesystem-x4th4bpe.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
- /package/dist/chunks/{event-logger-zxpyjp51.js → filesystem-zxpyjp51.js} +0 -0
- /package/dist/chunks/{event-logger-zz5vv3aq.js → filesystem-zz5vv3aq.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node87
|
|
8
|
+
} from "./filesystem-tr6gb3ke.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node81
|
|
12
|
+
} from "./filesystem-0fn5ab0k.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
24
|
-
InvalidRequestError: () =>
|
|
21
|
+
var exports_generate = {};
|
|
22
|
+
__export(exports_generate, {
|
|
23
|
+
Generate: () => exports_generate,
|
|
24
|
+
InvalidRequestError: () => InvalidRequestError2,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service17,
|
|
29
|
+
UnavailableError: () => UnavailableError2,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer9,
|
|
32
|
+
node: () => node20
|
|
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 UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class InvalidRequestError2 extends Schema.TaggedError()("Generate.InvalidRequestError", {
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
field: Schema.optional(Schema.String)
|
|
64
64
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service17 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer9 = Layer.effect(Service17, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service79;
|
|
89
|
+
const models = yield* Service85;
|
|
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 layer21 = Layer.effect(Service58, 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 UnavailableError2({ 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 UnavailableError2({ 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 layer21 = Layer.effect(Service58, 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 UnavailableError2({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service17.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
|
|
|
176
176
|
if (error._tag === "Integration.Authorization")
|
|
177
177
|
return error;
|
|
178
178
|
if (error._tag === "SessionRunnerModel.VariantUnavailableError")
|
|
179
|
-
return new
|
|
179
|
+
return new InvalidRequestError2({ message: error.message, field: "model.variant" });
|
|
180
180
|
if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
|
|
181
181
|
return new UnsupportedModelError2({
|
|
182
182
|
providerID: ref.providerID,
|
|
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
|
|
|
184
184
|
capability: type,
|
|
185
185
|
message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
|
|
186
186
|
});
|
|
187
|
-
return new
|
|
187
|
+
return new InvalidRequestError2({ message: error.message, field: "model" });
|
|
188
188
|
}
|
|
189
189
|
function providerError(ref, error) {
|
|
190
190
|
const reason = error.reason;
|
|
191
191
|
if (reason._tag === "InvalidRequest" && reason.http === undefined)
|
|
192
|
-
return new
|
|
192
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
193
193
|
if (reason._tag === "UnsupportedOperation")
|
|
194
|
-
return new
|
|
194
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
195
195
|
const status = "http" in reason ? reason.http?.status : undefined;
|
|
196
196
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|
|
197
197
|
return new ProviderRequestError2({
|
|
@@ -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 node20 = makeLocationNode({
|
|
219
|
+
service: Service17,
|
|
220
|
+
layer: layer9,
|
|
221
|
+
deps: [node81, node87, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError2, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service17, layer9, node20, exports_generate };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-7rvsyqjv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service87
|
|
6
|
+
} from "./filesystem-j4qxbzz7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./filesystem-05rxf7ag.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service76,
|
|
12
12
|
readText2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-3fzw2dgx.js";
|
|
14
14
|
import {
|
|
15
15
|
invocation2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service67
|
|
17
|
+
} from "./filesystem-6j19asys.js";
|
|
18
18
|
import {
|
|
19
19
|
resolvePath2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-6gpahs7y.js";
|
|
21
21
|
import {
|
|
22
22
|
fileDiff2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-6prwharc.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service15
|
|
26
|
+
} from "./filesystem-tf77d83d.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/edit.ts
|
|
32
32
|
var exports_edit = {};
|
|
33
33
|
__export(exports_edit, {
|
|
34
34
|
EditTool: () => exports_edit,
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
38
|
-
name: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Output: () => Output2,
|
|
37
|
+
Plugin: () => Plugin2,
|
|
38
|
+
name: () => name2
|
|
39
39
|
});
|
|
40
40
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var name2 = "edit";
|
|
44
|
+
var Input2 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input12 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output2 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -243,20 +243,20 @@ var countBefore = (positions, offset) => {
|
|
|
243
243
|
}
|
|
244
244
|
return low;
|
|
245
245
|
};
|
|
246
|
-
var
|
|
246
|
+
var Plugin2 = {
|
|
247
247
|
id: "opencode.tool.edit",
|
|
248
248
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
249
|
-
const fileMutation = yield*
|
|
250
|
-
const fileWrite = yield*
|
|
251
|
-
const environment = yield*
|
|
252
|
-
const location = yield*
|
|
253
|
-
const permission = yield*
|
|
249
|
+
const fileMutation = yield* Service76;
|
|
250
|
+
const fileWrite = yield* Service15;
|
|
251
|
+
const environment = yield* Service77;
|
|
252
|
+
const location = yield* Service87;
|
|
253
|
+
const permission = yield* Service67;
|
|
254
254
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
255
|
-
name:
|
|
255
|
+
name: name2,
|
|
256
256
|
options: { codemode: false, permission: "edit" },
|
|
257
257
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
258
|
-
input:
|
|
259
|
-
output:
|
|
258
|
+
input: Input2,
|
|
259
|
+
output: Output2,
|
|
260
260
|
execute: (input, context) => {
|
|
261
261
|
return Effect.gen(function* () {
|
|
262
262
|
if (input.oldString === input.newString) {
|
|
@@ -318,4 +318,4 @@ ${hint}` : ""}`
|
|
|
318
318
|
})
|
|
319
319
|
};
|
|
320
320
|
|
|
321
|
-
export {
|
|
321
|
+
export { name2, Input2, Output2, Plugin2, exports_edit };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service56,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service56 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service56, exports_runner };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
which2,
|
|
6
6
|
isAppExecutionAlias2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-x4th4bpe.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/shell/select.ts
|
|
13
13
|
var exports_select = {};
|
|
14
14
|
__export(exports_select, {
|
|
15
15
|
Options: () => Options5,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service47,
|
|
17
17
|
ShellSelect: () => exports_select,
|
|
18
18
|
args: () => args2,
|
|
19
19
|
configured: () => configured5,
|
|
@@ -22,9 +22,9 @@ __export(exports_select, {
|
|
|
22
22
|
list: () => list4,
|
|
23
23
|
login: () => login2,
|
|
24
24
|
name: () => name17,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node50,
|
|
26
26
|
ps: () => ps2,
|
|
27
|
-
resolve: () =>
|
|
27
|
+
resolve: () => resolve2
|
|
28
28
|
});
|
|
29
29
|
import path from "path";
|
|
30
30
|
import { readFile } from "fs/promises";
|
|
@@ -48,7 +48,7 @@ var Options5 = Schema.Struct({
|
|
|
48
48
|
gitbash: Schema.optional(Schema.String)
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service47 extends Context.Service()("@opencode/ShellSelect") {
|
|
52
52
|
}
|
|
53
53
|
function stat(file) {
|
|
54
54
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -167,7 +167,7 @@ function environment2(bin, filter) {
|
|
|
167
167
|
}
|
|
168
168
|
var defaultConfigured;
|
|
169
169
|
var defaultCompatible;
|
|
170
|
-
function
|
|
170
|
+
function resolve2(input, configShell, options, bin) {
|
|
171
171
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
172
172
|
if (configShell)
|
|
173
173
|
return select(configShell, options, filter, bin);
|
|
@@ -183,7 +183,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
183
183
|
defaultConfigured = { bin, value };
|
|
184
184
|
return value;
|
|
185
185
|
}
|
|
186
|
-
|
|
186
|
+
resolve2.reset = () => {
|
|
187
187
|
defaultConfigured = undefined;
|
|
188
188
|
defaultCompatible = undefined;
|
|
189
189
|
};
|
|
@@ -191,7 +191,7 @@ async function list4(options, bin) {
|
|
|
191
191
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
192
192
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
193
193
|
}
|
|
194
|
-
var layer = (options) => Layer.effect(
|
|
194
|
+
var layer = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
195
195
|
const global = yield* Global.Service;
|
|
196
196
|
const state = create4({
|
|
197
197
|
name: "shell-select",
|
|
@@ -202,16 +202,16 @@ var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
202
202
|
}
|
|
203
203
|
})
|
|
204
204
|
});
|
|
205
|
-
return
|
|
205
|
+
return Service47.of({
|
|
206
206
|
transform: state.transform,
|
|
207
207
|
reload: state.reload,
|
|
208
|
-
resolve: (input) => Effect.sync(() =>
|
|
208
|
+
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
|
|
209
209
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
210
210
|
});
|
|
211
211
|
}));
|
|
212
212
|
function configured5(options) {
|
|
213
|
-
return makeLocationNode({ service:
|
|
213
|
+
return makeLocationNode({ service: Service47, layer: layer(options), deps: [Global.node] });
|
|
214
214
|
}
|
|
215
|
-
var
|
|
215
|
+
var node50 = configured5();
|
|
216
216
|
|
|
217
|
-
export { Options5,
|
|
217
|
+
export { Options5, Service47, gitbash2, name17, login2, ps2, args2, environment2, resolve2, list4, configured5, node50, exports_select };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HEADER2,
|
|
3
3
|
FORK_HEADER2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-yr705xyq.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-txdz8mmb.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/session.ts
|
|
13
13
|
var exports_session2 = {};
|
|
14
14
|
__export(exports_session2, {
|
|
15
15
|
ClaudeSessionHooks: () => exports_session2,
|
|
16
|
-
register: () =>
|
|
16
|
+
register: () => register6
|
|
17
17
|
});
|
|
18
18
|
import { AssistantMessage, ToolMessage } from "@opencode/ai/effect";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
@@ -28,7 +28,7 @@ var flagToolError = (part) => {
|
|
|
28
28
|
};
|
|
29
29
|
return { ...part, providerMetadata: { ...part.providerMetadata, [ID3]: flags } };
|
|
30
30
|
};
|
|
31
|
-
var
|
|
31
|
+
var register6 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
32
32
|
yield* ctx.session.hook("model.request", (event) => Effect.gen(function* () {
|
|
33
33
|
event.headers[HEADER2] = event.kind;
|
|
34
34
|
if (event.kind !== "primary")
|
|
@@ -53,4 +53,4 @@ var register5 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
|
53
53
|
}), { providerID: ID3 });
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { register6, exports_session2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-hv4b246c.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES3,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-r41sfy63.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
register2
|
|
13
|
+
} from "./filesystem-xjr6c8m4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/websearch/tinyfish.ts
|
|
19
19
|
var exports_tinyfish = {};
|
|
20
20
|
__export(exports_tinyfish, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin20,
|
|
22
22
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
23
|
-
endpoint: () =>
|
|
23
|
+
endpoint: () => endpoint2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
27
27
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
28
|
-
var
|
|
28
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
29
29
|
var McpInput = Schema.Struct({
|
|
30
30
|
query: Schema.String
|
|
31
31
|
});
|
|
@@ -54,11 +54,11 @@ var InitializedNotification = Schema.Struct({
|
|
|
54
54
|
jsonrpc: Schema.Literal("2.0"),
|
|
55
55
|
method: Schema.Literal("notifications/initialized")
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var Plugin20 = define({
|
|
58
58
|
id: "opencode.websearch.tinyfish",
|
|
59
59
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
60
60
|
const http = yield* HttpClient.HttpClient;
|
|
61
|
-
yield*
|
|
61
|
+
yield* register2(ctx, {
|
|
62
62
|
id: "tinyfish",
|
|
63
63
|
name: "TinyFish",
|
|
64
64
|
env: "TINYFISH_API_KEY",
|
|
@@ -68,7 +68,7 @@ var Plugin23 = define({
|
|
|
68
68
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
69
69
|
};
|
|
70
70
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
71
|
-
const result = yield* call2(http,
|
|
71
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
72
72
|
const content = result?.content.find((item) => item.text);
|
|
73
73
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
74
74
|
return response?.results.map((item) => ({
|
|
@@ -83,7 +83,7 @@ var Plugin23 = define({
|
|
|
83
83
|
});
|
|
84
84
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
85
85
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
86
|
-
const request = yield* HttpClientRequest.post(
|
|
86
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
87
87
|
jsonrpc: "2.0",
|
|
88
88
|
id: 1,
|
|
89
89
|
method: "initialize",
|
|
@@ -94,11 +94,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
94
94
|
}
|
|
95
95
|
}));
|
|
96
96
|
const response = yield* client.execute(request);
|
|
97
|
-
yield* collectBoundedResponseBody2(response,
|
|
97
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
98
98
|
const session = response.headers["mcp-session-id"];
|
|
99
99
|
if (session === undefined)
|
|
100
100
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
101
|
-
const notification = yield* HttpClientRequest.post(
|
|
101
|
+
const notification = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
102
102
|
jsonrpc: "2.0",
|
|
103
103
|
method: "notifications/initialized"
|
|
104
104
|
}));
|
|
@@ -109,4 +109,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
110
110
|
}));
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { endpoint2, Plugin20, exports_tinyfish };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
load3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-j376ae4e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/probe.ts
|
|
9
9
|
var exports_probe = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks2 = {};
|
|
7
7
|
__export(exports_hooks2, {
|
|
8
8
|
PluginHooks: () => exports_hooks2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service72,
|
|
10
|
+
node: () => node73
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service72 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service72.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node73 = makeLocationNode({ service: Service72, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service72, node73, exports_hooks2 };
|