@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
match3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-1aqsckx4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service70,
|
|
9
|
+
node71
|
|
10
|
+
} from "./filesystem-cgmxejc8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service72,
|
|
13
|
+
node73
|
|
14
|
+
} from "./filesystem-s5zrq09q.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service67,
|
|
17
|
+
node68
|
|
18
|
+
} from "./filesystem-6j19asys.js";
|
|
19
19
|
import {
|
|
20
20
|
definition2,
|
|
21
21
|
execute3,
|
|
22
22
|
normalizeContent2,
|
|
23
23
|
normalizedName2,
|
|
24
24
|
effectiveName2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-7rvsyqjv.js";
|
|
26
26
|
import {
|
|
27
27
|
create3,
|
|
28
28
|
catalog2,
|
|
29
29
|
check2,
|
|
30
30
|
qualifiedName2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./filesystem-y4h9vdhr.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service54,
|
|
34
|
+
node56
|
|
35
|
+
} from "./filesystem-b62sbhp2.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/tool.ts
|
|
41
41
|
var exports_tool = {};
|
|
42
42
|
__export(exports_tool, {
|
|
43
43
|
CallID: () => CallID2,
|
|
44
44
|
Content: () => Content3,
|
|
45
|
-
Error: () =>
|
|
45
|
+
Error: () => Error3,
|
|
46
46
|
FileContent: () => FileContent3,
|
|
47
47
|
RegistrationError: () => RegistrationError2,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service52,
|
|
49
49
|
TextContent: () => TextContent2,
|
|
50
50
|
Tool: () => exports_tool,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node55
|
|
52
52
|
});
|
|
53
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
53
|
+
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
54
54
|
import { ToolDefinition } from "@opencode/ai/effect";
|
|
55
55
|
import { Tool } from "@opencode/schema/tool";
|
|
56
56
|
import { Context, Effect, Layer, Ref, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -61,13 +61,13 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
61
61
|
}) {
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service52 extends Context.Service()("@opencode/Tool") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const hooks = yield*
|
|
68
|
-
const image = yield*
|
|
69
|
-
const permission = yield*
|
|
70
|
-
const flag = yield*
|
|
66
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
67
|
+
const hooks = yield* Service72;
|
|
68
|
+
const image = yield* Service54;
|
|
69
|
+
const permission = yield* Service67;
|
|
70
|
+
const flag = yield* Service70;
|
|
71
71
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
72
72
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
73
73
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
195
195
|
}), { discard: true });
|
|
196
196
|
}
|
|
197
197
|
});
|
|
198
|
-
return
|
|
198
|
+
return Service52.of({
|
|
199
199
|
transform: state.transform,
|
|
200
200
|
reload: state.reload,
|
|
201
201
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -329,10 +329,10 @@ function namespaceError(name) {
|
|
|
329
329
|
return;
|
|
330
330
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
331
331
|
}
|
|
332
|
-
var
|
|
333
|
-
service:
|
|
332
|
+
var node55 = makeLocationNode({
|
|
333
|
+
service: Service52,
|
|
334
334
|
layer,
|
|
335
|
-
deps: [
|
|
335
|
+
deps: [node73, node56, node68, node71]
|
|
336
336
|
});
|
|
337
337
|
|
|
338
|
-
export { RegistrationError2,
|
|
338
|
+
export { RegistrationError2, Service52, node55, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-hv4b246c.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-r41sfy63.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
register2
|
|
9
|
+
} from "./filesystem-xjr6c8m4.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/websearch/parallel.ts
|
|
15
15
|
var exports_parallel = {};
|
|
16
16
|
__export(exports_parallel, {
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin26,
|
|
18
18
|
WebSearchParallel: () => exports_parallel,
|
|
19
|
-
endpoint: () =>
|
|
19
|
+
endpoint: () => endpoint6
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Schema } from "effect";
|
|
23
23
|
import { HttpClient } from "effect/http";
|
|
24
|
-
var
|
|
24
|
+
var endpoint6 = "https://search.parallel.ai/mcp";
|
|
25
25
|
var McpInput = Schema.Struct({
|
|
26
26
|
objective: Schema.String,
|
|
27
27
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -50,16 +50,16 @@ var McpOutput = Schema.Struct({
|
|
|
50
50
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
51
51
|
structuredContent: SearchResponse
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Plugin26 = define({
|
|
54
54
|
id: "opencode.websearch.parallel",
|
|
55
55
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
56
56
|
const http = yield* HttpClient.HttpClient;
|
|
57
|
-
yield*
|
|
57
|
+
yield* register2(ctx, {
|
|
58
58
|
id: "parallel",
|
|
59
59
|
name: "Parallel",
|
|
60
60
|
env: "PARALLEL_API_KEY",
|
|
61
61
|
execute: (input, credential) => Effect.gen(function* () {
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
|
|
63
63
|
objective: input.query,
|
|
64
64
|
search_queries: [input.query]
|
|
65
65
|
}, {
|
|
@@ -82,4 +82,4 @@ var Plugin22 = define({
|
|
|
82
82
|
})
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { endpoint6, Plugin26, exports_parallel };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/websearch/provider.ts
|
|
6
6
|
var exports_provider = {};
|
|
7
7
|
__export(exports_provider, {
|
|
8
8
|
WebSearchProvider: () => exports_provider,
|
|
9
|
-
register: () =>
|
|
9
|
+
register: () => register2
|
|
10
10
|
});
|
|
11
11
|
import { Effect } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var register2 = Effect.fn("WebSearchProvider.register")(function* (ctx, provider) {
|
|
13
13
|
yield* ctx.integration.transform((editor) => {
|
|
14
14
|
editor.update(provider.id, (integration) => integration.name = provider.name);
|
|
15
15
|
editor.method.update({
|
|
@@ -34,4 +34,4 @@ var register3 = Effect.fn("WebSearchProvider.register")(function* (ctx, provider
|
|
|
34
34
|
});
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { register2, exports_provider };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizeContent2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-7rvsyqjv.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/tool-input-repair.ts
|
|
10
10
|
var exports_tool_input_repair = {};
|
|
11
11
|
__export(exports_tool_input_repair, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin29,
|
|
13
13
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
14
14
|
});
|
|
15
15
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -18,7 +18,7 @@ import { Effect, Option, Predicate, Schema } from "effect";
|
|
|
18
18
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
19
19
|
var maxDepth = 6;
|
|
20
20
|
var aliases = new Map([["bash", "shell"]]);
|
|
21
|
-
var
|
|
21
|
+
var Plugin29 = define({
|
|
22
22
|
id: "opencode.tool.input.repair",
|
|
23
23
|
effect: (ctx) => Effect.gen(function* () {
|
|
24
24
|
const aliased = new Map;
|
|
@@ -153,4 +153,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
153
153
|
return compatible ? [repaired] : value;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Plugin29, exports_tool_input_repair };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-hv4b246c.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-r41sfy63.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
register2
|
|
9
|
+
} from "./filesystem-xjr6c8m4.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/websearch/firecrawl.ts
|
|
15
15
|
var exports_firecrawl = {};
|
|
16
16
|
__export(exports_firecrawl, {
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin25,
|
|
18
18
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
19
|
-
endpoint: () =>
|
|
19
|
+
endpoint: () => endpoint5
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Option, Schema } from "effect";
|
|
23
23
|
import { HttpClient } from "effect/http";
|
|
24
|
-
var
|
|
24
|
+
var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
25
25
|
var McpInput = Schema.Struct({
|
|
26
26
|
query: Schema.String,
|
|
27
27
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -40,16 +40,16 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
40
40
|
})
|
|
41
41
|
}));
|
|
42
42
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
43
|
-
var
|
|
43
|
+
var Plugin25 = define({
|
|
44
44
|
id: "opencode.websearch.firecrawl",
|
|
45
45
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
46
46
|
const http = yield* HttpClient.HttpClient;
|
|
47
|
-
yield*
|
|
47
|
+
yield* register2(ctx, {
|
|
48
48
|
id: "firecrawl",
|
|
49
49
|
name: "Firecrawl",
|
|
50
50
|
env: "FIRECRAWL_API_KEY",
|
|
51
51
|
execute: (input, credential) => Effect.gen(function* () {
|
|
52
|
-
const result = yield* call2(http,
|
|
52
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
53
53
|
"User-Agent": useragent2(ctx.app),
|
|
54
54
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
55
55
|
});
|
|
@@ -66,4 +66,4 @@ var Plugin21 = define({
|
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { endpoint5, Plugin25, exports_firecrawl };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./filesystem-6j19asys.js";
|
|
4
4
|
import {
|
|
5
5
|
definition2,
|
|
6
6
|
normalizedName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-7rvsyqjv.js";
|
|
8
8
|
import {
|
|
9
9
|
toSessionError2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-1zd29w7p.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service53
|
|
13
|
+
} from "./filesystem-1xjver7d.js";
|
|
14
14
|
import {
|
|
15
15
|
extension2,
|
|
16
16
|
display2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-3v1jab5g.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/codemode/tool.ts
|
|
23
23
|
var exports_tool2 = {};
|
|
@@ -104,7 +104,7 @@ var create3 = (inventory, executeTool, permission, flag) => {
|
|
|
104
104
|
return resultValue(executed);
|
|
105
105
|
}),
|
|
106
106
|
hooks: progressHooks(record)
|
|
107
|
-
}), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(
|
|
107
|
+
}), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service53, context), Effect.provideService(Service67, permission));
|
|
108
108
|
const toolCalls = yield* Ref.get(calls);
|
|
109
109
|
const collected = (yield* Ref.get(files)).toSorted((left, right) => left.index - right.index).flatMap((item) => item.files);
|
|
110
110
|
const output = formatResult(result);
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./filesystem-491q2x3b.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service85
|
|
7
|
+
} from "./filesystem-tr6gb3ke.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service73
|
|
11
|
+
} from "./filesystem-pk5ktw9t.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-6q8jj3zs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service59
|
|
17
|
+
} from "./filesystem-ft91cex6.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service67
|
|
22
|
+
} from "./filesystem-6j19asys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service25
|
|
25
|
+
} from "./filesystem-0x2ag7me.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-sqjzf8x2.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service7
|
|
31
|
+
} from "./filesystem-5pah5g87.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input5,
|
|
40
|
+
Output: () => Output4,
|
|
41
|
+
Plugin: () => Plugin5,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description3,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name5
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name5 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -57,7 +57,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
57
57
|
].join(`
|
|
58
58
|
`)
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input5 = Schema.Struct({
|
|
61
61
|
agent: Schema.String.annotate({
|
|
62
62
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
63
63
|
}),
|
|
@@ -73,7 +73,7 @@ var Input2 = Schema.Struct({
|
|
|
73
73
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
|
-
var
|
|
76
|
+
var Output4 = Schema.Struct({
|
|
77
77
|
sessionID: SessionSchema2.ID,
|
|
78
78
|
status: Schema.Literals(["completed", "running"]),
|
|
79
79
|
output: Schema.String
|
|
@@ -87,16 +87,16 @@ var description3 = [
|
|
|
87
87
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
88
88
|
].join(`
|
|
89
89
|
`);
|
|
90
|
-
var
|
|
90
|
+
var Plugin5 = {
|
|
91
91
|
id: "opencode.tool.subagent",
|
|
92
92
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
93
|
-
const sessions = yield*
|
|
94
|
-
const jobs = yield*
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const config = yield*
|
|
97
|
-
const permission = yield*
|
|
98
|
-
const models = yield*
|
|
99
|
-
const subagents = yield*
|
|
93
|
+
const sessions = yield* Service25;
|
|
94
|
+
const jobs = yield* Service59;
|
|
95
|
+
const agents = yield* Service71;
|
|
96
|
+
const config = yield* Service73;
|
|
97
|
+
const permission = yield* Service67;
|
|
98
|
+
const models = yield* Service85;
|
|
99
|
+
const subagents = yield* Service7;
|
|
100
100
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
101
101
|
const ref = yield* Effect.try({
|
|
102
102
|
try: () => Ref3.parse(input),
|
|
@@ -118,11 +118,11 @@ var Plugin38 = {
|
|
|
118
118
|
return ref;
|
|
119
119
|
});
|
|
120
120
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
121
|
-
name:
|
|
121
|
+
name: name5,
|
|
122
122
|
options: { codemode: false },
|
|
123
123
|
description: description3,
|
|
124
|
-
input:
|
|
125
|
-
output:
|
|
124
|
+
input: Input5,
|
|
125
|
+
output: Output4,
|
|
126
126
|
execute: (input, context) => Effect.gen(function* () {
|
|
127
127
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
128
128
|
let current = parent;
|
|
@@ -142,7 +142,7 @@ var Plugin38 = {
|
|
|
142
142
|
if (agent.mode === "primary")
|
|
143
143
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
144
144
|
yield* permission.assert({
|
|
145
|
-
action:
|
|
145
|
+
action: name5,
|
|
146
146
|
resources: [agent.id],
|
|
147
147
|
save: [agent.id],
|
|
148
148
|
...invocation2(context)
|
|
@@ -215,7 +215,7 @@ ${output.output}
|
|
|
215
215
|
})))
|
|
216
216
|
})).pipe(Effect.orDie);
|
|
217
217
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
218
|
-
if (event.tool !==
|
|
218
|
+
if (event.tool !== name5 || !Predicate.isObject(event.input))
|
|
219
219
|
return;
|
|
220
220
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
221
221
|
return;
|
|
@@ -227,13 +227,13 @@ ${output.output}
|
|
|
227
227
|
event.input = input;
|
|
228
228
|
}));
|
|
229
229
|
const hook = (event) => Effect.gen(function* () {
|
|
230
|
-
const tool = event.tools[
|
|
230
|
+
const tool = event.tools[name5];
|
|
231
231
|
if (!tool)
|
|
232
232
|
return;
|
|
233
233
|
const selected = yield* agents.resolve(event.agent);
|
|
234
234
|
if (!selected)
|
|
235
235
|
return;
|
|
236
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
236
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
237
237
|
if (available.length === 0)
|
|
238
238
|
return;
|
|
239
239
|
tool.description = [
|
|
@@ -250,4 +250,4 @@ ${output.output}
|
|
|
250
250
|
})
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
export {
|
|
253
|
+
export { name5, Input5, Output4, description3, Plugin5, exports_subagent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./filesystem-96xmncfy.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID20,
|
|
20
|
+
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError13,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service90,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
28
|
layer: () => layer29,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node92,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID20 = Form.ID;
|
|
39
|
+
var Info30 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When3 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID20
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID20
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID20
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID20,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service90 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer29 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer29 = Layer.effect(Service90, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service93;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
@@ -90,7 +90,7 @@ var layer29 = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError13({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID20.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer29 = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service90.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node92 = makeLocationNode({ service: Service90, layer: layer29, deps: [node95] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID20, Info30, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service90, layer29, node92, validateAnswer2, validateFields2, exports_form, Event20 };
|