@opencode/core 0.0.0-dev-1141 → 0.0.0-dev-1147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +94 -94
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +7 -7
- package/dist/artifact.js +255 -252
- package/dist/bus.js +84 -84
- package/dist/chunks/{persistent-pty-9262x70e.js → event-logger-00kvwq15.js} +20 -20
- package/dist/chunks/{persistent-pty-3adw4bt5.js → event-logger-04whjz6n.js} +9 -9
- package/dist/chunks/{persistent-pty-hgsqba75.js → event-logger-0b663pgd.js} +59 -59
- package/dist/chunks/{persistent-pty-00pzdxvb.js → event-logger-0jrdegvv.js} +4 -4
- package/dist/chunks/{persistent-pty-0ma9gw4f.js → event-logger-0ma9gw4f.js} +2 -2
- package/dist/chunks/{persistent-pty-0mgprbja.js → event-logger-0mgprbja.js} +4 -4
- package/dist/chunks/{persistent-pty-0n28khqy.js → event-logger-0npmn2an.js} +9 -9
- package/dist/chunks/{persistent-pty-gfn6vbsv.js → event-logger-0ppn5vff.js} +25 -25
- package/dist/chunks/{persistent-pty-z748rwvz.js → event-logger-0r82x9ta.js} +49 -49
- package/dist/chunks/{persistent-pty-q0xawjdj.js → event-logger-0w3haarm.js} +3 -3
- package/dist/chunks/{persistent-pty-yph8mn9x.js → event-logger-0yp7bcfk.js} +20 -20
- package/dist/chunks/{persistent-pty-n7k76nxf.js → event-logger-10gg3gv1.js} +17 -17
- package/dist/chunks/{persistent-pty-zhqvvmqm.js → event-logger-117p1v9p.js} +12 -12
- package/dist/chunks/{persistent-pty-7tpyp9vw.js → event-logger-160yv0cs.js} +8 -8
- package/dist/chunks/{persistent-pty-pfndqkpz.js → event-logger-17q94vej.js} +31 -31
- package/dist/chunks/{persistent-pty-1aqsckx4.js → event-logger-1aqsckx4.js} +1 -1
- package/dist/chunks/{persistent-pty-tdjfqr95.js → event-logger-1e26w957.js} +18 -18
- package/dist/chunks/{persistent-pty-txaz18nt.js → event-logger-1nc0qsr7.js} +6 -6
- package/dist/chunks/{persistent-pty-v1hqtkt1.js → event-logger-1pxksj81.js} +3 -3
- package/dist/chunks/{persistent-pty-1x2knyw4.js → event-logger-1x2knyw4.js} +1 -1
- package/dist/chunks/{persistent-pty-avv30etj.js → event-logger-1xmsmqv5.js} +4 -4
- package/dist/chunks/{persistent-pty-1yq9hg58.js → event-logger-1yq9hg58.js} +1 -1
- package/dist/chunks/{persistent-pty-vmqe41cb.js → event-logger-20pht57w.js} +4 -4
- package/dist/chunks/{persistent-pty-k72s33b7.js → event-logger-236cyrg2.js} +33 -33
- package/dist/chunks/{persistent-pty-8b3vzgkx.js → event-logger-25h84942.js} +4 -4
- package/dist/chunks/{persistent-pty-27w5k9zf.js → event-logger-27w5k9zf.js} +2 -2
- package/dist/chunks/{persistent-pty-c1rvjqwp.js → event-logger-2b71jd6k.js} +16 -16
- package/dist/chunks/event-logger-2dkjcnxp.js +18 -0
- package/dist/chunks/{persistent-pty-2fc7eemy.js → event-logger-2fc7eemy.js} +1 -1
- package/dist/chunks/{persistent-pty-x58n5ad0.js → event-logger-2ffnk4yd.js} +32 -32
- package/dist/chunks/{persistent-pty-9q8g9sv8.js → event-logger-2kg89srt.js} +4 -4
- package/dist/chunks/{persistent-pty-t67npm6c.js → event-logger-2mgr69e5.js} +29 -29
- package/dist/chunks/{persistent-pty-k822k1ne.js → event-logger-2njt4976.js} +17 -17
- package/dist/chunks/{persistent-pty-avt42cn0.js → event-logger-2wgvz29q.js} +15 -15
- package/dist/chunks/{persistent-pty-nemnqzpn.js → event-logger-38atze3s.js} +4 -4
- package/dist/chunks/{persistent-pty-k732j073.js → event-logger-3c7qpzd7.js} +8 -8
- package/dist/chunks/{persistent-pty-ra7b1vmx.js → event-logger-3car84mx.js} +58 -35
- package/dist/chunks/{persistent-pty-3cbjf1nt.js → event-logger-3cbjf1nt.js} +2 -2
- package/dist/chunks/{persistent-pty-fwp9mfc9.js → event-logger-3gv0spa2.js} +4 -4
- package/dist/chunks/{persistent-pty-y2w37hak.js → event-logger-3h40kzqg.js} +18 -18
- package/dist/chunks/{persistent-pty-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-641mgq21.js → event-logger-3mjpxqj8.js} +39 -39
- package/dist/chunks/{persistent-pty-3nnrz6f6.js → event-logger-3nnrz6f6.js} +1 -1
- package/dist/chunks/{persistent-pty-6a334k2e.js → event-logger-3qbe92gm.js} +43 -43
- package/dist/chunks/{persistent-pty-dmvn3jq9.js → event-logger-3y0ytk06.js} +7 -7
- package/dist/chunks/{persistent-pty-bdhhrrav.js → event-logger-3yw3xdtp.js} +28 -28
- package/dist/chunks/{persistent-pty-40y6dtc2.js → event-logger-40y6dtc2.js} +1 -1
- package/dist/chunks/{persistent-pty-t5k0t6ys.js → event-logger-41pndfn0.js} +8 -8
- package/dist/chunks/{persistent-pty-fw2bfwd4.js → event-logger-45jhfv96.js} +4 -4
- package/dist/chunks/{persistent-pty-fzndy2x2.js → event-logger-49796h46.js} +14 -14
- package/dist/chunks/{persistent-pty-4dx1dgte.js → event-logger-4dx1dgte.js} +1 -1
- package/dist/chunks/{persistent-pty-4f25tdd0.js → event-logger-4f25tdd0.js} +1 -1
- package/dist/chunks/{persistent-pty-xqf1esm3.js → event-logger-4hefsnk0.js} +21 -21
- package/dist/chunks/{persistent-pty-4krr2nde.js → event-logger-4krr2nde.js} +3 -3
- package/dist/chunks/{persistent-pty-4pyp9zr9.js → event-logger-4pyp9zr9.js} +1 -1
- package/dist/chunks/{persistent-pty-4v008n1t.js → event-logger-4v008n1t.js} +1 -1
- package/dist/chunks/{persistent-pty-04qc8z7j.js → event-logger-4vzr2b15.js} +3 -3
- package/dist/chunks/{persistent-pty-j6g0vqez.js → event-logger-51bz1r0v.js} +5 -5
- package/dist/chunks/{persistent-pty-530xg6vw.js → event-logger-530xg6vw.js} +3 -3
- package/dist/chunks/{persistent-pty-k0z9bhgz.js → event-logger-535ee99s.js} +44 -44
- package/dist/chunks/{persistent-pty-2kgqety0.js → event-logger-57h0ra3a.js} +5 -5
- package/dist/chunks/{persistent-pty-r41sfy63.js → event-logger-5enarcya.js} +9 -9
- package/dist/chunks/{persistent-pty-5m9w47nd.js → event-logger-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-vmxsyvj6.js → event-logger-5n0rnk8e.js} +4 -4
- package/dist/chunks/{persistent-pty-dg4atj78.js → event-logger-5rrqyffq.js} +9 -9
- package/dist/chunks/{persistent-pty-s47rahr7.js → event-logger-5whx36p1.js} +4 -4
- package/dist/chunks/{persistent-pty-gjkwpsd8.js → event-logger-5wtmgpgz.js} +12 -12
- package/dist/chunks/{persistent-pty-9b5pg85y.js → event-logger-61y1tw29.js} +13 -13
- package/dist/chunks/{persistent-pty-c1sfsxsr.js → event-logger-67mxzy6e.js} +8 -8
- package/dist/chunks/{persistent-pty-z89td5m9.js → event-logger-68m1gd65.js} +10 -10
- package/dist/chunks/{persistent-pty-f5cd42r9.js → event-logger-6b5kk45z.js} +24 -24
- package/dist/chunks/{persistent-pty-7taaxv95.js → event-logger-6qwzbwqd.js} +4 -4
- package/dist/chunks/{persistent-pty-6ss6ngz0.js → event-logger-6ss6ngz0.js} +1 -1
- package/dist/chunks/{persistent-pty-s8qkskz1.js → event-logger-6w1vf6x1.js} +7 -7
- package/dist/chunks/{persistent-pty-77y0kkm0.js → event-logger-70x3rksw.js} +30 -30
- package/dist/chunks/{persistent-pty-775hqbnd.js → event-logger-775hqbnd.js} +3 -3
- package/dist/chunks/{persistent-pty-6y2b864j.js → event-logger-79k544d0.js} +7 -7
- package/dist/chunks/{persistent-pty-xfrnyd0a.js → event-logger-79zf17fy.js} +16 -16
- package/dist/chunks/{persistent-pty-2xawt0y1.js → event-logger-7aq556dt.js} +45 -45
- package/dist/chunks/{persistent-pty-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-5kjbjby5.js → event-logger-7h4b1ezn.js} +12 -12
- package/dist/chunks/{persistent-pty-x50d9hj1.js → event-logger-7qxkmq2g.js} +33 -33
- package/dist/chunks/{persistent-pty-z0h12gs8.js → event-logger-7rvsyqjv.js} +1 -0
- package/dist/chunks/{persistent-pty-62kpm1kv.js → event-logger-7srf0j8g.js} +20 -20
- package/dist/chunks/{persistent-pty-7w2ypzdf.js → event-logger-7w2ypzdf.js} +1 -1
- package/dist/chunks/{persistent-pty-y1y23t3y.js → event-logger-7w7ck4r7.js} +30 -30
- package/dist/chunks/{persistent-pty-7weczvnd.js → event-logger-7weczvnd.js} +1 -1
- package/dist/chunks/{persistent-pty-nn55eax9.js → event-logger-7yyjzttz.js} +12 -12
- package/dist/chunks/{persistent-pty-wgkargf7.js → event-logger-7z4ynt3y.js} +5 -5
- package/dist/chunks/{persistent-pty-80pdk984.js → event-logger-80pdk984.js} +1 -1
- package/dist/chunks/{persistent-pty-kny8q9fm.js → event-logger-81r1jb6p.js} +6 -6
- package/dist/chunks/{persistent-pty-zzha20a8.js → event-logger-84e6h9b5.js} +36 -36
- package/dist/chunks/{persistent-pty-85jq8dht.js → event-logger-85jq8dht.js} +1 -1
- package/dist/chunks/{persistent-pty-ewfepv21.js → event-logger-87yt03vf.js} +9 -9
- package/dist/chunks/{persistent-pty-js8n3d73.js → event-logger-8bfckk6f.js} +11 -11
- package/dist/chunks/{persistent-pty-btr9eed2.js → event-logger-8bhs4600.js} +86 -79
- package/dist/chunks/{persistent-pty-as8a156g.js → event-logger-8kjyvwy5.js} +7 -3
- package/dist/chunks/{persistent-pty-018pvm7c.js → event-logger-8m6tke1p.js} +11 -11
- package/dist/chunks/{persistent-pty-19b2ztj7.js → event-logger-8qdr79jy.js} +11 -11
- package/dist/chunks/{persistent-pty-a77wsd01.js → event-logger-8r0ewt17.js} +37 -37
- package/dist/chunks/{persistent-pty-wrwtw7ga.js → event-logger-8rr29my3.js} +33 -33
- package/dist/chunks/{persistent-pty-jf9aqpdw.js → event-logger-8vd63fsb.js} +41 -41
- package/dist/chunks/{persistent-pty-8wtp7s3z.js → event-logger-8wtp7s3z.js} +1 -1
- package/dist/chunks/{persistent-pty-8xz27cp9.js → event-logger-8xz27cp9.js} +1 -1
- package/dist/chunks/{persistent-pty-8z6m94af.js → event-logger-8z6m94af.js} +3 -3
- package/dist/chunks/{persistent-pty-8zv0xmg5.js → event-logger-8zv0xmg5.js} +1 -1
- package/dist/chunks/{persistent-pty-jxswh7p3.js → event-logger-93nnc82v.js} +33 -33
- package/dist/chunks/{persistent-pty-9d52fs69.js → event-logger-94kbet6f.js} +5 -5
- package/dist/chunks/{persistent-pty-0mtp185z.js → event-logger-963hk181.js} +9 -9
- package/dist/chunks/{persistent-pty-80hpafj9.js → event-logger-9evsmb5n.js} +14 -14
- package/dist/chunks/{persistent-pty-7snvzf9y.js → event-logger-9fmsmfrn.js} +29 -29
- package/dist/chunks/{persistent-pty-d1rkk357.js → event-logger-9gw5kk28.js} +8 -8
- package/dist/chunks/{persistent-pty-bbwawm4r.js → event-logger-9nnv4wpt.js} +4 -4
- package/dist/chunks/{persistent-pty-nnnffw0j.js → event-logger-9p654kjp.js} +14 -14
- package/dist/chunks/{persistent-pty-t48jrnqq.js → event-logger-9rqfe4ad.js} +3 -3
- package/dist/chunks/{persistent-pty-dqahggxs.js → event-logger-9sdw502q.js} +88 -88
- package/dist/chunks/{persistent-pty-7xcsqsge.js → event-logger-a0t4bpax.js} +5 -5
- package/dist/chunks/{persistent-pty-yqx1adnq.js → event-logger-a0zm9ph5.js} +9 -9
- package/dist/chunks/{persistent-pty-d73h4c6n.js → event-logger-a23cs114.js} +27 -27
- package/dist/chunks/{persistent-pty-a3fn0gmm.js → event-logger-a3fn0gmm.js} +2 -2
- package/dist/chunks/{persistent-pty-jgat5a1s.js → event-logger-a6aj6mxa.js} +33 -33
- package/dist/chunks/{persistent-pty-7arz4r0c.js → event-logger-actz2wjc.js} +5 -5
- package/dist/chunks/{persistent-pty-j4zs9bxr.js → event-logger-ada1n2td.js} +23 -23
- package/dist/chunks/{persistent-pty-mv92c7a8.js → event-logger-afv5e80s.js} +35 -35
- package/dist/chunks/{persistent-pty-aj7mw0zk.js → event-logger-aj7mw0zk.js} +2 -2
- package/dist/chunks/{persistent-pty-p6stnjrt.js → event-logger-aje12js6.js} +23 -23
- package/dist/chunks/{persistent-pty-yy55rm4m.js → event-logger-ak60gk1d.js} +15 -15
- package/dist/chunks/{persistent-pty-w8rr6c7d.js → event-logger-am0kqer1.js} +30 -30
- package/dist/chunks/{persistent-pty-7r8842f6.js → event-logger-awfj138p.js} +26 -25
- package/dist/chunks/{persistent-pty-njn4p9sa.js → event-logger-b1p6yava.js} +41 -41
- package/dist/chunks/{persistent-pty-pb8daj1x.js → event-logger-b6cq1fvz.js} +4 -4
- package/dist/chunks/{persistent-pty-mr12hyfn.js → event-logger-b8wy980y.js} +8 -8
- package/dist/chunks/{persistent-pty-bb3mmwvh.js → event-logger-bb3mmwvh.js} +2 -2
- package/dist/chunks/{persistent-pty-23spy735.js → event-logger-bgpv0g61.js} +45 -45
- package/dist/chunks/{persistent-pty-29kaqwyv.js → event-logger-bmwnevfr.js} +50 -50
- package/dist/chunks/{persistent-pty-bstexjd6.js → event-logger-bstexjd6.js} +1 -1
- package/dist/chunks/{persistent-pty-52b88tdw.js → event-logger-bw5pc1kx.js} +26 -23
- package/dist/chunks/{persistent-pty-by8ty0bx.js → event-logger-by8ty0bx.js} +1 -1
- package/dist/chunks/{persistent-pty-m7v9vvkp.js → event-logger-c5htjngb.js} +17 -17
- package/dist/chunks/{persistent-pty-ppsbp1qn.js → event-logger-c63z5kgr.js} +11 -11
- package/dist/chunks/{persistent-pty-c7cw818c.js → event-logger-c7cw818c.js} +2 -2
- package/dist/chunks/event-logger-c7gk57p6.js +16 -0
- package/dist/chunks/{persistent-pty-txhfg7az.js → event-logger-cgjkjyez.js} +26 -26
- package/dist/chunks/{persistent-pty-y41qxc5h.js → event-logger-cjw3dy27.js} +183 -183
- package/dist/chunks/{persistent-pty-dt1mxvjw.js → event-logger-cpyf932n.js} +5 -5
- package/dist/chunks/{persistent-pty-cwrgdav8.js → event-logger-cwrgdav8.js} +2 -2
- package/dist/chunks/{persistent-pty-401vphjz.js → event-logger-cx3s070h.js} +3 -3
- package/dist/chunks/{persistent-pty-6edbc7zm.js → event-logger-cxab28sr.js} +7 -7
- package/dist/chunks/{persistent-pty-h8s79my2.js → event-logger-d0xm8srz.js} +14 -14
- package/dist/chunks/{persistent-pty-teyezz5v.js → event-logger-d23hm6dv.js} +35 -35
- package/dist/chunks/{persistent-pty-0jx3paz9.js → event-logger-d34amx0r.js} +30 -30
- package/dist/chunks/{persistent-pty-80m5xgxj.js → event-logger-d390zwf3.js} +11 -11
- package/dist/chunks/{persistent-pty-d4v9tmah.js → event-logger-d4v9tmah.js} +2 -2
- package/dist/chunks/{persistent-pty-6jpx4839.js → event-logger-d639aswr.js} +24 -24
- package/dist/chunks/{persistent-pty-vmhkvkjy.js → event-logger-d7bp3kkx.js} +5 -5
- package/dist/chunks/{persistent-pty-gckn4wsj.js → event-logger-ddgbxk3j.js} +21 -21
- package/dist/chunks/{persistent-pty-vaz51hez.js → event-logger-dezdfpzq.js} +3 -3
- package/dist/chunks/{persistent-pty-vt2d6wap.js → event-logger-dg5naf6e.js} +4 -4
- package/dist/chunks/{persistent-pty-e8xdkctn.js → event-logger-dk3zeyj2.js} +6 -6
- package/dist/chunks/{persistent-pty-8ym9cpdp.js → event-logger-dpm99747.js} +25 -25
- package/dist/chunks/{persistent-pty-dt77769w.js → event-logger-dt77769w.js} +1 -1
- package/dist/chunks/{persistent-pty-epayv3ej.js → event-logger-dxazj6vp.js} +16 -16
- package/dist/chunks/{persistent-pty-hpz6vwek.js → event-logger-dyqd4wba.js} +11 -9
- package/dist/chunks/{persistent-pty-v73g02es.js → event-logger-eb7mm39j.js} +18 -18
- package/dist/chunks/{persistent-pty-v186fz10.js → event-logger-ec1rfe83.js} +5 -5
- package/dist/chunks/{persistent-pty-9b0bxgxr.js → event-logger-eg28xebz.js} +8 -8
- package/dist/chunks/{persistent-pty-6w5ta17s.js → event-logger-ej8jyfgb.js} +9 -9
- package/dist/chunks/{persistent-pty-fy27yj1t.js → event-logger-ep9s0drc.js} +12 -12
- package/dist/chunks/{persistent-pty-eqw4pqj1.js → event-logger-eqw4pqj1.js} +2 -2
- package/dist/chunks/{persistent-pty-q69esqp1.js → event-logger-erq6h3y0.js} +15 -15
- package/dist/chunks/{persistent-pty-3tf4v4ep.js → event-logger-esfs37h7.js} +16 -16
- package/dist/chunks/{persistent-pty-ce3n5tw7.js → event-logger-esnvv1ah.js} +13 -13
- package/dist/chunks/{persistent-pty-y1m2rnym.js → event-logger-etw491jc.js} +8 -8
- package/dist/chunks/{persistent-pty-kkt22k82.js → event-logger-eyqfv9w4.js} +16 -16
- package/dist/chunks/{persistent-pty-1791cqk2.js → event-logger-f9j624d3.js} +9 -9
- package/dist/chunks/{persistent-pty-twbmbqg9.js → event-logger-fbtpbztf.js} +13 -13
- package/dist/chunks/{persistent-pty-fg9p65nk.js → event-logger-fg9p65nk.js} +2 -2
- package/dist/chunks/{persistent-pty-nm0p4dxw.js → event-logger-fhvscywa.js} +1 -1
- package/dist/chunks/{persistent-pty-n2a0zv08.js → event-logger-fna94ff8.js} +2 -2
- package/dist/chunks/{persistent-pty-e9hvxvkn.js → event-logger-fx6bang4.js} +39 -39
- package/dist/chunks/{persistent-pty-fzwn6aqp.js → event-logger-fzwn6aqp.js} +2 -2
- package/dist/chunks/{persistent-pty-btz4vdf2.js → event-logger-g2fyxw2s.js} +9 -9
- package/dist/chunks/{persistent-pty-qqsphv3g.js → event-logger-g3veenag.js} +32 -32
- package/dist/chunks/{persistent-pty-g4txs7zc.js → event-logger-g4txs7zc.js} +4 -4
- package/dist/chunks/{persistent-pty-n3ntzjw4.js → event-logger-gackfxra.js} +22 -22
- package/dist/chunks/{persistent-pty-gbjdnr5j.js → event-logger-gbjdnr5j.js} +2 -2
- package/dist/chunks/{persistent-pty-3x0shmrv.js → event-logger-gg1nfjks.js} +16 -16
- package/dist/chunks/{persistent-pty-enyb2kw5.js → event-logger-ggrj1dyp.js} +22 -22
- package/dist/chunks/{persistent-pty-ghrv1g9c.js → event-logger-ghrv1g9c.js} +1 -1
- package/dist/chunks/{persistent-pty-hkwmenkt.js → event-logger-gjdc757g.js} +6 -6
- package/dist/chunks/{persistent-pty-s2am029e.js → event-logger-gky7xns7.js} +25 -25
- package/dist/chunks/{persistent-pty-mkavw0c0.js → event-logger-gnfb3p9m.js} +11 -11
- package/dist/chunks/{persistent-pty-42gj811x.js → event-logger-gs3fx43r.js} +18 -18
- package/dist/chunks/{persistent-pty-htqc7tfk.js → event-logger-gwcy5ypz.js} +13 -13
- package/dist/chunks/{persistent-pty-qxagq6p8.js → event-logger-gwt688zj.js} +9 -9
- package/dist/chunks/{persistent-pty-tg7s7b5t.js → event-logger-gxs71cxp.js} +4 -4
- package/dist/chunks/{persistent-pty-kad2wbhh.js → event-logger-h0br01ky.js} +2 -2
- package/dist/chunks/{persistent-pty-dczf9fhp.js → event-logger-h44j6zst.js} +19 -19
- package/dist/chunks/{persistent-pty-6s2jamp7.js → event-logger-h4x76w78.js} +19 -19
- package/dist/chunks/{persistent-pty-hgzwgvze.js → event-logger-hgzwgvze.js} +2 -2
- package/dist/chunks/{persistent-pty-e9v43avg.js → event-logger-hj6m45cg.js} +53 -53
- package/dist/chunks/{persistent-pty-wb5wsb2j.js → event-logger-hjymdr8h.js} +9 -9
- package/dist/chunks/{persistent-pty-dhnnehwj.js → event-logger-hmer0h8a.js} +7 -7
- package/dist/chunks/{persistent-pty-zg7tww6y.js → event-logger-hqf7y3aw.js} +9 -9
- package/dist/chunks/{persistent-pty-bkk47srm.js → event-logger-hrb8tk9q.js} +8 -8
- package/dist/chunks/{persistent-pty-j376ae4e.js → event-logger-j376ae4e.js} +1 -1
- package/dist/chunks/{persistent-pty-j3f8hyeg.js → event-logger-j3f8hyeg.js} +1 -1
- package/dist/chunks/{persistent-pty-9f4njfb9.js → event-logger-j7aepzg9.js} +26 -26
- package/dist/chunks/{persistent-pty-j9nxzz3g.js → event-logger-j9nxzz3g.js} +3 -3
- package/dist/chunks/{persistent-pty-f598hcd5.js → event-logger-jftx9vsb.js} +13 -13
- package/dist/chunks/{persistent-pty-ba5f9dy2.js → event-logger-jjvvtnfs.js} +4 -4
- package/dist/chunks/{persistent-pty-jm70asfg.js → event-logger-jm70asfg.js} +1 -1
- package/dist/chunks/{persistent-pty-ecb6c39z.js → event-logger-jn16bqjy.js} +7 -7
- package/dist/chunks/{persistent-pty-jxd6f16v.js → event-logger-jxd6f16v.js} +2 -2
- package/dist/chunks/{persistent-pty-g75vsea6.js → event-logger-jxthfzre.js} +7 -7
- package/dist/chunks/{persistent-pty-d60v4tfr.js → event-logger-jz38dwzd.js} +33 -33
- package/dist/chunks/{persistent-pty-5mw7s1b6.js → event-logger-k375p4pr.js} +25 -25
- package/dist/chunks/{persistent-pty-6ddb8hxf.js → event-logger-k3cf59wc.js} +39 -39
- package/dist/chunks/{persistent-pty-wedqffd6.js → event-logger-k5cw6b6s.js} +11 -11
- package/dist/chunks/{persistent-pty-5j9ncfs4.js → event-logger-k755gjm4.js} +6 -6
- package/dist/chunks/{persistent-pty-0wgvkt2x.js → event-logger-k82js5je.js} +21 -21
- package/dist/chunks/{persistent-pty-3h3skxty.js → event-logger-kssbcksk.js} +18 -18
- package/dist/chunks/{persistent-pty-kt3bjfbg.js → event-logger-kt3bjfbg.js} +1 -1
- package/dist/chunks/{persistent-pty-2s9mae96.js → event-logger-ktck1cjp.js} +6 -6
- package/dist/chunks/{persistent-pty-rn9cpdem.js → event-logger-kydy82vr.js} +23 -23
- package/dist/chunks/{persistent-pty-kzczzf4v.js → event-logger-kzczzf4v.js} +1 -1
- package/dist/chunks/{persistent-pty-m1714858.js → event-logger-m1714858.js} +1 -1
- package/dist/chunks/{persistent-pty-t4z9p5b8.js → event-logger-m1p6s8xd.js} +11 -11
- package/dist/chunks/{persistent-pty-m90tx7mw.js → event-logger-m90tx7mw.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-me215f18.js → event-logger-me215f18.js} +1 -1
- package/dist/chunks/{persistent-pty-pg5jck48.js → event-logger-mhnwsfa0.js} +13 -13
- package/dist/chunks/{persistent-pty-9pdxmcf6.js → event-logger-ms83g2zs.js} +7 -7
- package/dist/chunks/{persistent-pty-wywdv46c.js → event-logger-mskgsxfh.js} +9 -9
- package/dist/chunks/{persistent-pty-wgtcexd1.js → event-logger-my7q5y0b.js} +11 -11
- package/dist/chunks/{persistent-pty-mvnh7ykz.js → event-logger-mza4bgak.js} +24 -18
- package/dist/chunks/{persistent-pty-cqeqcmsf.js → event-logger-mzx2p924.js} +12 -12
- package/dist/chunks/{persistent-pty-xvn8mnch.js → event-logger-n320gsn2.js} +4 -4
- package/dist/chunks/{persistent-pty-t3qxs7f5.js → event-logger-nhq0tycc.js} +11 -11
- package/dist/chunks/{persistent-pty-25ng7087.js → event-logger-nnw51f18.js} +54 -54
- package/dist/chunks/{persistent-pty-n7hqy2cw.js → event-logger-nr5e4xc7.js} +7 -7
- package/dist/chunks/{persistent-pty-1n1ng8zx.js → event-logger-nr97rfd7.js} +22 -22
- package/dist/chunks/{persistent-pty-nx4vzyjd.js → event-logger-nx4vzyjd.js} +2 -2
- package/dist/chunks/{persistent-pty-he60h9w2.js → event-logger-p28xtqj0.js} +10 -10
- package/dist/chunks/{persistent-pty-0cggdvrh.js → event-logger-p2p9vkvt.js} +20 -20
- package/dist/chunks/{persistent-pty-z513bby0.js → event-logger-p7yydz0e.js} +18 -18
- package/dist/chunks/{persistent-pty-6qm8pmbm.js → event-logger-pabkrdhw.js} +5 -5
- package/dist/chunks/{persistent-pty-bbbm1kqg.js → event-logger-pftj8cpt.js} +8 -8
- package/dist/chunks/{persistent-pty-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-2ft1psgd.js → event-logger-pn43dvrw.js} +13 -13
- package/dist/chunks/{persistent-pty-v0p8fkzz.js → event-logger-ppcswf39.js} +12 -12
- package/dist/chunks/{persistent-pty-hrpg1pdd.js → event-logger-ppf9rkv1.js} +7 -7
- package/dist/chunks/{persistent-pty-p5gdk4af.js → event-logger-q0te45gg.js} +3 -3
- package/dist/chunks/{persistent-pty-85m29sf4.js → event-logger-qen78scp.js} +17 -17
- package/dist/chunks/{persistent-pty-w19fy49x.js → event-logger-qf4x04b6.js} +15 -15
- package/dist/chunks/{persistent-pty-mjeqg7zk.js → event-logger-qmsttzhv.js} +21 -21
- package/dist/chunks/{persistent-pty-qp7r0hxv.js → event-logger-qp7r0hxv.js} +1 -1
- package/dist/chunks/{persistent-pty-d4rk8056.js → event-logger-qs26b9z6.js} +32 -32
- package/dist/chunks/{persistent-pty-fw468rj7.js → event-logger-r7qajayd.js} +49 -49
- package/dist/chunks/{persistent-pty-rb9dy4dg.js → event-logger-rb9dy4dg.js} +1 -1
- package/dist/chunks/{persistent-pty-rgc9cx3e.js → event-logger-rgc9cx3e.js} +2 -2
- package/dist/chunks/{persistent-pty-nextbzqp.js → event-logger-s1a9dj89.js} +12 -12
- package/dist/chunks/{persistent-pty-s1ba0vj0.js → event-logger-s1ba0vj0.js} +2 -2
- package/dist/chunks/{persistent-pty-sq0tbe5w.js → event-logger-s1wgb3ss.js} +5 -5
- package/dist/chunks/{persistent-pty-wgap4h5r.js → event-logger-s3en5yqe.js} +20 -20
- package/dist/chunks/{persistent-pty-sbya78hr.js → event-logger-sbya78hr.js} +1 -1
- package/dist/chunks/event-logger-sdseesaf.js +819 -0
- package/dist/chunks/{persistent-pty-ft7hwc8g.js → event-logger-sf41b6qf.js} +8 -8
- package/dist/chunks/{persistent-pty-38aws4xb.js → event-logger-sf9y72b7.js} +4 -4
- package/dist/chunks/{persistent-pty-znnqj7m1.js → event-logger-sg2k6vaq.js} +21 -21
- package/dist/chunks/{persistent-pty-g12t90cy.js → event-logger-sj1kv5gk.js} +5 -5
- package/dist/chunks/{persistent-pty-910ch34w.js → event-logger-sqgras3e.js} +23 -23
- package/dist/chunks/{persistent-pty-0j7gp832.js → event-logger-sqjzf8x2.js} +4 -4
- package/dist/chunks/{persistent-pty-svcy3p9a.js → event-logger-svcy3p9a.js} +1 -1
- package/dist/chunks/{persistent-pty-4epqmd1h.js → event-logger-swha6tfd.js} +13 -13
- package/dist/chunks/{persistent-pty-t62dywgn.js → event-logger-t62dywgn.js} +1 -1
- package/dist/chunks/{persistent-pty-jv5ccajn.js → event-logger-t8erkws8.js} +5 -5
- package/dist/chunks/{persistent-pty-a2pckt3d.js → event-logger-tbcvf1tv.js} +11 -11
- package/dist/chunks/{persistent-pty-tbpn7jtk.js → event-logger-tbpn7jtk.js} +1 -1
- package/dist/chunks/{persistent-pty-tczq8hjw.js → event-logger-tczq8hjw.js} +1 -1
- package/dist/chunks/{persistent-pty-92j6mbn0.js → event-logger-thsxv5em.js} +14 -14
- package/dist/chunks/{persistent-pty-cjtgxjhq.js → event-logger-tn6tvye7.js} +21 -21
- package/dist/chunks/{persistent-pty-t1dd3zqa.js → event-logger-ts7b62p7.js} +6 -6
- package/dist/chunks/{persistent-pty-nqqq7twm.js → event-logger-tsfa3pgz.js} +29 -29
- package/dist/chunks/{persistent-pty-ta7amrd8.js → event-logger-tsm5k38s.js} +8 -8
- package/dist/chunks/{persistent-pty-tvtps2q9.js → event-logger-tvtps2q9.js} +1 -1
- package/dist/chunks/{persistent-pty-twssxy5n.js → event-logger-twssxy5n.js} +2 -2
- package/dist/chunks/{persistent-pty-vrn9h1g0.js → event-logger-txrkeank.js} +14 -14
- package/dist/chunks/{persistent-pty-8gzgd6gz.js → event-logger-ty920cjf.js} +20 -20
- package/dist/chunks/{persistent-pty-fxxxatdc.js → event-logger-tzgme1hr.js} +23 -23
- package/dist/chunks/{persistent-pty-qhbx12za.js → event-logger-v08qg918.js} +10 -10
- package/dist/chunks/{persistent-pty-v2r1d0zg.js → event-logger-v2r1d0zg.js} +1 -1
- package/dist/chunks/{persistent-pty-pfbhb58w.js → event-logger-v6kk1kyn.js} +46 -38
- package/dist/chunks/{persistent-pty-8b48q1nb.js → event-logger-vbmdr6hx.js} +360 -358
- package/dist/chunks/{persistent-pty-vjf35v1f.js → event-logger-vjf35v1f.js} +1 -1
- package/dist/chunks/{persistent-pty-6h8vcvjm.js → event-logger-vt4r9rmy.js} +9 -9
- package/dist/chunks/{persistent-pty-7mrx0efj.js → event-logger-w2vbgnvs.js} +12 -12
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-wakvkjy4.js → event-logger-wakvkjy4.js} +1 -1
- package/dist/chunks/{persistent-pty-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-2dvjapqv.js → event-logger-wezh28ak.js} +27 -27
- package/dist/chunks/{persistent-pty-q3dkjkk5.js → event-logger-wqk74y4c.js} +13 -13
- package/dist/chunks/{persistent-pty-fznmdakp.js → event-logger-wr3re1en.js} +4 -4
- package/dist/chunks/{persistent-pty-fqp7nk4g.js → event-logger-wrehw5d5.js} +9 -9
- package/dist/chunks/{persistent-pty-ktf53k0y.js → event-logger-wrsc8cf2.js} +23 -23
- package/dist/chunks/event-logger-wx16tjy8.js +273 -0
- package/dist/chunks/{persistent-pty-pzy7y2j2.js → event-logger-wzt7472r.js} +21 -21
- package/dist/chunks/{persistent-pty-x23x0wry.js → event-logger-x1yfjb7w.js} +5 -5
- package/dist/chunks/{persistent-pty-qfgdng4e.js → event-logger-x472nskx.js} +3 -3
- package/dist/chunks/{persistent-pty-xz07m27x.js → event-logger-x4mcewfn.js} +4 -4
- package/dist/chunks/{persistent-pty-q4aadatb.js → event-logger-x6995fmf.js} +13 -13
- package/dist/chunks/{persistent-pty-xacrkbdt.js → event-logger-xacrkbdt.js} +1 -1
- package/dist/chunks/{persistent-pty-asjr210a.js → event-logger-xk9d36f0.js} +22 -22
- package/dist/chunks/{persistent-pty-p9jvgf3w.js → event-logger-xm1rq0mn.js} +6 -6
- package/dist/chunks/{persistent-pty-rmh25tnk.js → event-logger-xpa6jhfh.js} +10 -10
- package/dist/chunks/{persistent-pty-v07x4jg1.js → event-logger-xx2t0mqq.js} +16 -16
- package/dist/chunks/{persistent-pty-xjr6c8m4.js → event-logger-xxschbft.js} +4 -4
- package/dist/chunks/{persistent-pty-y97mqv4w.js → event-logger-xyspm5vb.js} +10 -10
- package/dist/chunks/{persistent-pty-2kk794q2.js → event-logger-ya81fv1s.js} +40 -33
- package/dist/chunks/{persistent-pty-yb20nhc3.js → event-logger-yb20nhc3.js} +1 -1
- package/dist/chunks/{persistent-pty-me0bf12n.js → event-logger-yb94pn54.js} +21 -21
- package/dist/chunks/{persistent-pty-9ddw59ht.js → event-logger-ybbgryp2.js} +22 -22
- package/dist/chunks/{persistent-pty-0h86f0az.js → event-logger-ybws1qgk.js} +4 -4
- package/dist/chunks/{persistent-pty-kvqpqygy.js → event-logger-yce9etb7.js} +47 -47
- package/dist/chunks/{persistent-pty-caem11c1.js → event-logger-yezk68gp.js} +11 -11
- package/dist/chunks/{persistent-pty-rw4j4fc0.js → event-logger-yf1s08ep.js} +5 -5
- package/dist/chunks/{persistent-pty-hzpe7dhw.js → event-logger-ykv10a94.js} +31 -31
- package/dist/chunks/{persistent-pty-7nb8tm12.js → event-logger-ynzdgah7.js} +5 -5
- package/dist/chunks/{persistent-pty-6zkjwwbt.js → event-logger-yp427s9p.js} +82 -82
- package/dist/chunks/{persistent-pty-yr705xyq.js → event-logger-yr705xyq.js} +1 -1
- package/dist/chunks/{persistent-pty-nfdebbev.js → event-logger-yt4wpa0y.js} +15 -15
- package/dist/chunks/{persistent-pty-yvtc2x31.js → event-logger-yvtc2x31.js} +1 -1
- package/dist/chunks/{persistent-pty-qhyv5122.js → event-logger-yy02pn03.js} +40 -36
- package/dist/chunks/{persistent-pty-aa0xks2t.js → event-logger-z4x9ktpk.js} +12 -12
- package/dist/chunks/{persistent-pty-0806n7cm.js → event-logger-z541xewz.js} +19 -19
- package/dist/chunks/{persistent-pty-dbvvr5ca.js → event-logger-z9r7rbrs.js} +24 -24
- package/dist/chunks/{persistent-pty-8ydxba3r.js → event-logger-zb8ad4tv.js} +5 -5
- package/dist/chunks/{persistent-pty-tq501wp9.js → event-logger-zhp6q5es.js} +6 -6
- package/dist/chunks/{persistent-pty-7ecvj7xx.js → event-logger-zpqft3wc.js} +25 -25
- package/dist/chunks/{persistent-pty-wrexcg9h.js → event-logger-zq1q2hez.js} +138 -91
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +149 -149
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +156 -156
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- 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 -242
- 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 +133 -133
- 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 +132 -132
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +106 -106
- package/dist/effect/app-node-builder.js +442 -442
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +255 -255
- 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 +9 -9
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +134 -134
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +123 -123
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +105 -105
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +433 -433
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +94 -94
- 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 +96 -96
- 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 +120 -120
- 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 +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +114 -114
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +87 -87
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +151 -151
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +103 -103
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +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 +5 -5
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +128 -128
- 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 +2 -2
- 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 +83 -83
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- 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 +4 -4
- 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 +3 -3
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +253 -253
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- 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 +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +251 -251
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +265 -265
- 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 +176 -176
- package/dist/session/context.js +206 -206
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +359 -259
- package/dist/session/execution.js +172 -172
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +140 -140
- package/dist/session/inbox.js +153 -153
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +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 +3 -3
- 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 +168 -166
- package/dist/session/runner/to-llm-message.js +141 -141
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +192 -189
- package/dist/session/shell.js +149 -146
- 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 +3 -3
- package/dist/session/subagent-job.js +242 -239
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +153 -153
- package/dist/session/transfer.js +253 -250
- package/dist/session/usage.js +1 -1
- package/dist/session.js +242 -239
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +157 -148
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +155 -155
- package/dist/skill.js +158 -158
- package/dist/snapshot.js +106 -106
- 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 +189 -189
- package/dist/tool/plugin/artifact.js +241 -238
- package/dist/tool/plugin/edit.js +169 -169
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +173 -173
- package/dist/tool/plugin/grep.js +174 -174
- package/dist/tool/plugin/image-generate.js +252 -249
- 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 +152 -152
- package/dist/tool/plugin/read.js +174 -174
- package/dist/tool/plugin/schedule.js +257 -257
- package/dist/tool/plugin/shell.js +252 -245
- package/dist/tool/plugin/skill.js +161 -161
- package/dist/tool/plugin/subagent.js +249 -246
- 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 +166 -166
- package/dist/types/codemode/tool.d.ts +3 -0
- package/dist/types/github-copilot/models.d.ts +1 -0
- package/dist/types/job.d.ts +1 -0
- package/dist/types/model.d.ts +3 -0
- package/dist/types/persistent-pty/index.d.ts +5 -0
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/session/execution/restart.d.ts +4 -2
- package/dist/types/session/runner/llm.d.ts +2 -1
- package/dist/types/session/runner/step.d.ts +10 -0
- package/dist/types/shell/result.d.ts +6 -1
- package/dist/types/shell.d.ts +69 -4
- package/dist/types/tool/plugin/shell.d.ts +32 -2
- package/dist/usage-limits.js +96 -96
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +1 -1
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +103 -103
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +87 -87
- 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/persistent-pty-7yv5xa0k.js +0 -18
- package/dist/chunks/persistent-pty-mwqan0d7.js +0 -433
- package/dist/chunks/persistent-pty-q1mqkmnx.js +0 -273
- package/dist/chunks/persistent-pty-ywh3xphk.js +0 -16
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kah00gy.js → event-logger-1kah00gy.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-2n444ktb.js → event-logger-2n444ktb.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4qk9sjk2.js → event-logger-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-5w3e23ze.js → event-logger-5w3e23ze.js} +0 -0
- /package/dist/chunks/{persistent-pty-6agm2x70.js → event-logger-6agm2x70.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → event-logger-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → event-logger-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-beh6qq61.js → event-logger-beh6qq61.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cqv5kn06.js → event-logger-cqv5kn06.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-ean2d8b5.js → event-logger-ean2d8b5.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fkpq3x5p.js → event-logger-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → event-logger-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwr30sdr.js → event-logger-jwr30sdr.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → event-logger-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-nh4v3znn.js → event-logger-nh4v3znn.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-p71gwv9c.js → event-logger-p71gwv9c.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-syrav9an.js → event-logger-syrav9an.js} +0 -0
- /package/dist/chunks/{persistent-pty-t03h4f5z.js → event-logger-t03h4f5z.js} +0 -0
- /package/dist/chunks/{persistent-pty-ty7weeps.js → event-logger-ty7weeps.js} +0 -0
- /package/dist/chunks/{persistent-pty-v2dnd5dt.js → event-logger-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → event-logger-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-vtarvj67.js → event-logger-vtarvj67.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x4th4bpe.js → event-logger-x4th4bpe.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → event-logger-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
- /package/dist/chunks/{persistent-pty-zxpyjp51.js → event-logger-zxpyjp51.js} +0 -0
- /package/dist/chunks/{persistent-pty-zz5vv3aq.js → event-logger-zz5vv3aq.js} +0 -0
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-t62dywgn.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-8z6m94af.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service94,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node96
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service94 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service94, Effect.gen(function* () {
|
|
48
48
|
const state = create4({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service94.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node96 = makeLocationNode({ service: Service94, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service94, node96, exports_image2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node80
|
|
4
|
+
} from "./event-logger-79zf17fy.js";
|
|
5
5
|
import {
|
|
6
6
|
Service89,
|
|
7
7
|
node91
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-actz2wjc.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node79
|
|
12
|
+
} from "./event-logger-yce9etb7.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-7weczvnd.js";
|
|
17
17
|
import {
|
|
18
18
|
isDirectorySource2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./event-logger-tvtps2q9.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/source.ts
|
|
25
25
|
var exports_source = {};
|
|
26
26
|
__export(exports_source, {
|
|
27
27
|
ConfigPluginSource: () => exports_source,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service3,
|
|
29
29
|
empty: () => empty2,
|
|
30
|
-
layer: () =>
|
|
31
|
-
node: () =>
|
|
30
|
+
layer: () => layer5,
|
|
31
|
+
node: () => node5
|
|
32
32
|
});
|
|
33
33
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
34
34
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -36,11 +36,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
36
36
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
39
|
-
class
|
|
39
|
+
class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const config = yield*
|
|
43
|
-
const watcher = yield*
|
|
41
|
+
var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
42
|
+
const config = yield* Service77;
|
|
43
|
+
const watcher = yield* Service78;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const location = yield* Service89;
|
|
46
46
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -61,7 +61,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
61
61
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
return
|
|
64
|
+
return Service3.of({
|
|
65
65
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
66
66
|
const entries = yield* config.entries();
|
|
67
67
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -73,14 +73,14 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
73
73
|
})), Stream.fromPubSub(configuredChanges))
|
|
74
74
|
});
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node5 = makeLocationNode({
|
|
77
|
+
service: Service3,
|
|
78
|
+
layer: layer5,
|
|
79
|
+
deps: [node79, FSUtil.node, node80, node91]
|
|
80
80
|
});
|
|
81
81
|
var empty2 = makeLocationNode({
|
|
82
|
-
service:
|
|
83
|
-
layer: Layer.succeed(
|
|
82
|
+
service: Service3,
|
|
83
|
+
layer: Layer.succeed(Service3, Service3.of({
|
|
84
84
|
operations: () => Effect.succeed([]),
|
|
85
85
|
changes: () => Stream.never
|
|
86
86
|
})),
|
|
@@ -138,4 +138,4 @@ var scan = Effect.fn("ConfigPluginSource.scan")(function* (fs, location, entries
|
|
|
138
138
|
})).pipe(Effect.map((operations) => operations.flat()));
|
|
139
139
|
});
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { Service3, layer5, node5, empty2, exports_source };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-7rvsyqjv.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
6
|
Service84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-awfj138p.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service77
|
|
10
|
+
} from "./event-logger-yce9etb7.js";
|
|
11
11
|
import {
|
|
12
12
|
observe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-tvtps2q9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service68
|
|
16
|
+
} from "./event-logger-10gg3gv1.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionMessage2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./event-logger-gftt206x.js";
|
|
20
20
|
import {
|
|
21
21
|
invocation2,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service70
|
|
23
|
+
} from "./event-logger-93nnc82v.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service67
|
|
26
|
+
} from "./event-logger-nr97rfd7.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service58
|
|
29
|
+
} from "./event-logger-236cyrg2.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
text3
|
|
32
|
+
} from "./event-logger-25h84942.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
Service63
|
|
35
|
+
} from "./event-logger-mza4bgak.js";
|
|
36
36
|
import {
|
|
37
37
|
detect2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./event-logger-4pyp9zr9.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service24
|
|
41
|
+
} from "./event-logger-9sdw502q.js";
|
|
42
42
|
import {
|
|
43
43
|
collectBoundedResponseBody2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./event-logger-3v8g72cx.js";
|
|
45
45
|
import {
|
|
46
46
|
__export
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
48
48
|
|
|
49
49
|
// src/tool/plugin/image-generate.ts
|
|
50
50
|
var exports_image_generate = {};
|
|
51
51
|
__export(exports_image_generate, {
|
|
52
52
|
ImageGenerateTool: () => exports_image_generate,
|
|
53
|
-
Input: () =>
|
|
53
|
+
Input: () => Input3,
|
|
54
54
|
MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
|
|
55
|
-
Output: () =>
|
|
56
|
-
Plugin: () =>
|
|
55
|
+
Output: () => Output3,
|
|
56
|
+
Plugin: () => Plugin39,
|
|
57
57
|
defaultModel: () => defaultModel2,
|
|
58
|
-
description: () =>
|
|
59
|
-
name: () =>
|
|
58
|
+
description: () => description4,
|
|
59
|
+
name: () => name3
|
|
60
60
|
});
|
|
61
61
|
import path from "path";
|
|
62
62
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -64,7 +64,7 @@ import { Identifier } from "@opencode/schema/identifier";
|
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
65
|
import { Duration, Effect, Schema, Scope, Stream } from "effect";
|
|
66
66
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
67
|
-
var
|
|
67
|
+
var name3 = "experimental_image_generate";
|
|
68
68
|
var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
|
|
69
69
|
var DOWNLOAD_TIMEOUT = Duration.seconds(30);
|
|
70
70
|
var GENERATE_TIMEOUT = Duration.minutes(30);
|
|
@@ -75,7 +75,7 @@ var EXTENSIONS = {
|
|
|
75
75
|
"image/webp": ".webp",
|
|
76
76
|
"image/gif": ".gif"
|
|
77
77
|
};
|
|
78
|
-
var
|
|
78
|
+
var description4 = [
|
|
79
79
|
"Generates a new image, or edits existing ones.",
|
|
80
80
|
"Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
|
|
81
81
|
"Images you pass are used as the source to edit, or as references for style and subject.",
|
|
@@ -84,7 +84,7 @@ var description5 = [
|
|
|
84
84
|
"Don't repeat a request unless the user asks."
|
|
85
85
|
].join(`
|
|
86
86
|
`);
|
|
87
|
-
var
|
|
87
|
+
var Input3 = Schema.Struct({
|
|
88
88
|
prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
|
|
89
89
|
description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
|
|
90
90
|
}),
|
|
@@ -98,25 +98,25 @@ var Input9 = Schema.Struct({
|
|
|
98
98
|
description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
|
-
var
|
|
101
|
+
var Output3 = Schema.Struct({
|
|
102
102
|
id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
|
|
103
103
|
path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
|
|
104
104
|
model: Schema.String.annotate({ description: "providerID/modelID" })
|
|
105
105
|
});
|
|
106
|
-
var
|
|
106
|
+
var Plugin39 = {
|
|
107
107
|
id: "opencode.tool.image-generate",
|
|
108
108
|
effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const environment = yield*
|
|
111
|
-
const generate = yield*
|
|
109
|
+
const access = yield* Service67;
|
|
110
|
+
const environment = yield* Service68;
|
|
111
|
+
const generate = yield* Service58;
|
|
112
112
|
const global = yield* Global.Service;
|
|
113
113
|
const http = yield* HttpClient.HttpClient;
|
|
114
|
-
const config = yield*
|
|
115
|
-
const jobs = yield*
|
|
114
|
+
const config = yield* Service77;
|
|
115
|
+
const jobs = yield* Service63;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
|
-
const sessions = yield*
|
|
117
|
+
const sessions = yield* Service24;
|
|
118
118
|
const models = yield* Service84;
|
|
119
|
-
const permission = yield*
|
|
119
|
+
const permission = yield* Service70;
|
|
120
120
|
const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
|
|
121
121
|
const available = yield* models.available(["image"]);
|
|
122
122
|
if (!input) {
|
|
@@ -196,12 +196,12 @@ var Plugin11 = {
|
|
|
196
196
|
id: input.notificationID,
|
|
197
197
|
sessionID: input.sessionID,
|
|
198
198
|
description: "Image generation",
|
|
199
|
-
text:
|
|
199
|
+
text: text3({
|
|
200
200
|
id: input.id,
|
|
201
201
|
state: info.status,
|
|
202
202
|
body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
|
|
203
203
|
}),
|
|
204
|
-
metadata: { source:
|
|
204
|
+
metadata: { source: name3, jobID: input.id, state: info.status, path: input.file }
|
|
205
205
|
});
|
|
206
206
|
yield* jobs.completeBackground(input.notificationID);
|
|
207
207
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
@@ -220,11 +220,11 @@ var Plugin11 = {
|
|
|
220
220
|
if (!enabled || imageGenerate(loaded.entries) === false)
|
|
221
221
|
return;
|
|
222
222
|
editor.add({
|
|
223
|
-
name:
|
|
223
|
+
name: name3,
|
|
224
224
|
options: { codemode: false },
|
|
225
|
-
description:
|
|
226
|
-
input:
|
|
227
|
-
output:
|
|
225
|
+
description: description4,
|
|
226
|
+
input: Input3,
|
|
227
|
+
output: Output3,
|
|
228
228
|
execute: (input, context) => Effect.gen(function* () {
|
|
229
229
|
const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
|
|
230
230
|
const model = resolved.model;
|
|
@@ -233,7 +233,7 @@ var Plugin11 = {
|
|
|
233
233
|
const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
|
|
234
234
|
const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
|
|
235
235
|
yield* permission.assert({
|
|
236
|
-
action:
|
|
236
|
+
action: name3,
|
|
237
237
|
resources: [ref],
|
|
238
238
|
save: ["*"],
|
|
239
239
|
metadata: { ...input, model: ref },
|
|
@@ -287,7 +287,7 @@ Use the read tool on this path to view the image.`;
|
|
|
287
287
|
yield* jobs.start({
|
|
288
288
|
id,
|
|
289
289
|
notificationID,
|
|
290
|
-
type:
|
|
290
|
+
type: name3,
|
|
291
291
|
title: input.prompt,
|
|
292
292
|
metadata: { sessionID: context.sessionID, path: stem, model: ref },
|
|
293
293
|
recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
|
|
@@ -326,4 +326,4 @@ function acceptsImages(model) {
|
|
|
326
326
|
return model.capabilities.input.some((item) => item.startsWith("image"));
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, MAX_INPUT_BYTES2, description4, Input3, Output3, Plugin39, defaultModel2, exports_image_generate };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
Service86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-gackfxra.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID18.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
makeFiles2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-rgc9cx3e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service93,
|
|
9
|
+
node95
|
|
10
|
+
} from "./event-logger-s1a9dj89.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-5whx36p1.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node71
|
|
18
|
+
} from "./event-logger-1xmsmqv5.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./event-logger-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
@@ -30,10 +30,10 @@ __export(exports_workspace, {
|
|
|
30
30
|
ID: () => ID11,
|
|
31
31
|
Info: () => Info15,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service69,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
35
|
configured: () => configured8,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node70
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -62,15 +62,15 @@ class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service69 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
67
|
var configured8 = (options = {}) => makeGlobalNode({
|
|
68
|
-
service:
|
|
68
|
+
service: Service69,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node95, node71]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
73
|
-
const db = (yield*
|
|
72
|
+
var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
73
|
+
const db = (yield* Service93).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
76
76
|
const connections = new Map;
|
|
@@ -161,7 +161,7 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
161
161
|
yield* Scope.close(connection.scope, Exit.void);
|
|
162
162
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
163
163
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
164
|
-
return
|
|
164
|
+
return Service69.of({
|
|
165
165
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
166
166
|
const workspaceID = input.id ?? ID11.create();
|
|
167
167
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
@@ -239,6 +239,6 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
239
239
|
})
|
|
240
240
|
});
|
|
241
241
|
}));
|
|
242
|
-
var
|
|
242
|
+
var node70 = configured8();
|
|
243
243
|
|
|
244
|
-
export { ID11, Info15, NotFound2, CreateConflict2,
|
|
244
|
+
export { ID11, Info15, NotFound2, CreateConflict2, Service69, configured8, node70, exports_workspace };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeFiles2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-rgc9cx3e.js";
|
|
4
4
|
import {
|
|
5
5
|
makeLocalDriver2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-cwrgdav8.js";
|
|
7
7
|
import {
|
|
8
8
|
Service89,
|
|
9
9
|
node91
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-actz2wjc.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service69,
|
|
13
|
+
node70
|
|
14
|
+
} from "./event-logger-0yp7bcfk.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/environment/environment.ts
|
|
20
20
|
var exports_environment3 = {};
|
|
21
21
|
__export(exports_environment3, {
|
|
22
22
|
EnvironmentService: () => exports_environment3,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service68,
|
|
24
|
+
node: () => node69
|
|
25
25
|
});
|
|
26
26
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
27
27
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
|
|
30
|
-
class
|
|
30
|
+
class Service68 extends Context.Service()("@opencode/Environment") {
|
|
31
31
|
}
|
|
32
|
-
var layer = Layer.effect(
|
|
32
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
33
33
|
const spawner = yield* ChildProcessSpawner;
|
|
34
34
|
const location = yield* Service89;
|
|
35
|
-
const workspace = yield*
|
|
35
|
+
const workspace = yield* Service69;
|
|
36
36
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
37
|
-
return
|
|
37
|
+
return Service68.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
40
|
-
service:
|
|
39
|
+
var node69 = makeLocationNode({
|
|
40
|
+
service: Service68,
|
|
41
41
|
layer,
|
|
42
|
-
deps: [CrossSpawnSpawner.node, node91,
|
|
42
|
+
deps: [CrossSpawnSpawner.node, node91, node70]
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
export {
|
|
45
|
+
export { Service68, node69, exports_environment3 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./event-logger-79zf17fy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./event-logger-yce9etb7.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-dk3zeyj2.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-yvtc2x31.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin5
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin5 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service77;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service78;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
|
|
|
81
81
|
return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export {
|
|
84
|
+
export { Plugin5, exports_compatibility };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|