@opencode/core 0.0.0-dev-19509 → 0.0.0-dev-19510
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{worktree-w428zktn.js → repository-cache-00787bmp.js} +20 -20
- package/dist/chunks/{worktree-215v1k75.js → repository-cache-00agp6tm.js} +22 -22
- package/dist/chunks/{worktree-w1k39n5e.js → repository-cache-06dxphr1.js} +4 -4
- package/dist/chunks/repository-cache-0d99cpb0.js +462 -0
- package/dist/chunks/{worktree-y45pkspw.js → repository-cache-0gwdvabh.js} +13 -13
- package/dist/chunks/{worktree-pvbb37c4.js → repository-cache-0jpcn9rd.js} +10 -10
- package/dist/chunks/{worktree-v600ka5t.js → repository-cache-0mrmze5w.js} +22 -22
- package/dist/chunks/{worktree-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → repository-cache-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-cbbnw05y.js → repository-cache-19ywwdd4.js} +15 -15
- package/dist/chunks/{worktree-1acjjqhc.js → repository-cache-1acjjqhc.js} +1 -1
- package/dist/chunks/{worktree-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-xx6cn220.js → repository-cache-1jj4qxjt.js} +1 -1
- package/dist/chunks/{worktree-21r38tys.js → repository-cache-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-xxmv8eye.js → repository-cache-2fn4yps5.js} +9 -9
- package/dist/chunks/{worktree-etbytr9f.js → repository-cache-2h82j4a6.js} +20 -20
- package/dist/chunks/{worktree-qhrw8p3b.js → repository-cache-2zbv25hc.js} +8 -8
- package/dist/chunks/{worktree-42424m2k.js → repository-cache-306db5gv.js} +5 -5
- package/dist/chunks/{worktree-w9najb13.js → repository-cache-37grp35b.js} +11 -11
- package/dist/chunks/{worktree-gdvy8fx6.js → repository-cache-3fc6dm20.js} +4 -4
- package/dist/chunks/{worktree-w90x3s5c.js → repository-cache-3g10qwm7.js} +17 -17
- package/dist/chunks/{worktree-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-ejdkdwzs.js → repository-cache-3kvk53sn.js} +4 -4
- package/dist/chunks/{worktree-s4q1c2dk.js → repository-cache-3n1nkk67.js} +61 -61
- package/dist/chunks/{worktree-m8avnk43.js → repository-cache-3r28q6a9.js} +10 -10
- package/dist/chunks/{worktree-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-86m78waa.js → repository-cache-3x1xb6f1.js} +7 -7
- package/dist/chunks/{worktree-apxk5rve.js → repository-cache-44aqy5gr.js} +30 -30
- package/dist/chunks/{worktree-e82z9tr0.js → repository-cache-47gsdddb.js} +4 -4
- package/dist/chunks/{worktree-gzswxrvt.js → repository-cache-48cm3azc.js} +45 -45
- package/dist/chunks/{worktree-p7d99px1.js → repository-cache-49sc4nfn.js} +8 -8
- package/dist/chunks/{worktree-8grtj0b5.js → repository-cache-49snx342.js} +8 -8
- package/dist/chunks/{worktree-csebhh29.js → repository-cache-4qrj65j9.js} +9 -9
- package/dist/chunks/{worktree-aa3dep6r.js → repository-cache-4taqtrjz.js} +15 -15
- package/dist/chunks/{worktree-v7t3chrs.js → repository-cache-4wg4wmjw.js} +34 -34
- package/dist/chunks/{worktree-4y66k410.js → repository-cache-4y66k410.js} +2 -2
- package/dist/chunks/{worktree-7m5f9412.js → repository-cache-590d2czn.js} +8 -8
- package/dist/chunks/{worktree-asz5pcm8.js → repository-cache-5bcahdyk.js} +18 -18
- package/dist/chunks/{worktree-wbf78t6w.js → repository-cache-5c13e4gs.js} +29 -29
- package/dist/chunks/{worktree-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-b0pfq9rw.js → repository-cache-5ebtz5cw.js} +15 -15
- package/dist/chunks/{worktree-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-8c3x6q07.js → repository-cache-5wtatr6d.js} +9 -9
- package/dist/chunks/{worktree-b46p56xf.js → repository-cache-5y4rn4jv.js} +7 -7
- package/dist/chunks/{worktree-669tq793.js → repository-cache-669tq793.js} +1 -1
- package/dist/chunks/{worktree-61sb7bcr.js → repository-cache-6acm0bve.js} +14 -14
- package/dist/chunks/{worktree-hbe7nj0x.js → repository-cache-6f2p2q0p.js} +37 -37
- package/dist/chunks/{worktree-t56rw2gy.js → repository-cache-6fb9pw91.js} +27 -27
- package/dist/chunks/{worktree-vvsqdwqz.js → repository-cache-6ftympvp.js} +32 -32
- package/dist/chunks/{worktree-2402vzrj.js → repository-cache-6h73sxmp.js} +5 -5
- package/dist/chunks/repository-cache-6kdq0pjd.js +4 -0
- package/dist/chunks/{worktree-6msgmcgs.js → repository-cache-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-qyth7dhn.js → repository-cache-6yksd8rj.js} +24 -24
- package/dist/chunks/{worktree-xx24n8bp.js → repository-cache-6ytrycwf.js} +26 -26
- package/dist/chunks/{worktree-71q4at8m.js → repository-cache-71q4at8m.js} +1 -1
- package/dist/chunks/{worktree-ryha7zpe.js → repository-cache-735v08rd.js} +14 -14
- package/dist/chunks/{worktree-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-pjjrh1z1.js → repository-cache-7btn171d.js} +30 -30
- package/dist/chunks/{worktree-7xv0edjs.js → repository-cache-7cb3jwtf.js} +3 -3
- package/dist/chunks/{worktree-qgn6gcr1.js → repository-cache-7dqw4kz8.js} +5 -5
- package/dist/chunks/{worktree-81swgkk7.js → repository-cache-81swgkk7.js} +2 -2
- package/dist/chunks/{worktree-awhv1hxp.js → repository-cache-8d6mzkbv.js} +22 -22
- package/dist/chunks/{worktree-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-v51fjskz.js → repository-cache-8dr3htqb.js} +16 -16
- package/dist/chunks/{worktree-wrjmdcd7.js → repository-cache-8h6f7dvd.js} +11 -11
- package/dist/chunks/{worktree-8p4f9s12.js → repository-cache-8p4f9s12.js} +2 -2
- package/dist/chunks/{worktree-yefxppqx.js → repository-cache-8ssxn5x4.js} +17 -17
- package/dist/chunks/{worktree-p2aekm07.js → repository-cache-93rybhbv.js} +83 -83
- package/dist/chunks/{worktree-xwd0g7hm.js → repository-cache-948vg2pw.js} +7 -7
- package/dist/chunks/{worktree-ej5ddtfv.js → repository-cache-96btrfg2.js} +5 -5
- package/dist/chunks/{worktree-1fzw0h16.js → repository-cache-96kghewk.js} +13 -13
- package/dist/chunks/{worktree-339ss3x3.js → repository-cache-96wc915e.js} +11 -11
- package/dist/chunks/{worktree-gsa99s6r.js → repository-cache-9agdsh9n.js} +11 -11
- package/dist/chunks/{worktree-zbjae951.js → repository-cache-9bbt8hg3.js} +27 -27
- package/dist/chunks/repository-cache-9c7kcab0.js +247 -0
- package/dist/chunks/{worktree-xg9t41r3.js → repository-cache-9jwxq161.js} +2 -2
- package/dist/chunks/{worktree-sqwpcrch.js → repository-cache-9pcadkya.js} +162 -162
- package/dist/chunks/{worktree-a1bz86dw.js → repository-cache-a1bz86dw.js} +3 -3
- package/dist/chunks/{worktree-n4xj6hjn.js → repository-cache-a3zzqvpe.js} +13 -13
- package/dist/chunks/{worktree-eb2th8mh.js → repository-cache-a92mnrhm.js} +27 -27
- package/dist/chunks/{worktree-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-wyy37vyq.js → repository-cache-afa7f2c6.js} +59 -59
- package/dist/chunks/{worktree-vjy2y45p.js → repository-cache-afrwt492.js} +11 -11
- package/dist/chunks/{worktree-m3zza4qd.js → repository-cache-agsex9am.js} +8 -8
- package/dist/chunks/{worktree-ert0es5w.js → repository-cache-akfths19.js} +46 -46
- package/dist/chunks/{worktree-xn8fxkx5.js → repository-cache-arq879wx.js} +3 -3
- package/dist/chunks/{worktree-x3et2xth.js → repository-cache-asmz7wyz.js} +8 -8
- package/dist/chunks/repository-cache-at2k3fr9.js +22 -0
- package/dist/chunks/{worktree-6ygcjmn6.js → repository-cache-ava6n5t5.js} +5 -5
- package/dist/chunks/{worktree-n0efajb2.js → repository-cache-aym07vwf.js} +17 -17
- package/dist/chunks/{worktree-39z097b6.js → repository-cache-azqcdpv6.js} +41 -41
- package/dist/chunks/{worktree-za9cx4qh.js → repository-cache-b1h1c68h.js} +8 -8
- package/dist/chunks/{worktree-v30hr118.js → repository-cache-b1jgk49p.js} +9 -9
- package/dist/chunks/{worktree-78n98qb4.js → repository-cache-b3q7ckfa.js} +18 -18
- package/dist/chunks/{worktree-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-tta2m7dp.js → repository-cache-b7vfn6np.js} +14 -14
- package/dist/chunks/{worktree-dbyd747x.js → repository-cache-bazcgppa.js} +6 -6
- package/dist/chunks/{worktree-jdh6s7jq.js → repository-cache-bby00dsd.js} +8 -8
- package/dist/chunks/{worktree-f1mdy5hp.js → repository-cache-bfbs706x.js} +1 -1
- package/dist/chunks/{worktree-t1ej9bcf.js → repository-cache-bp29fhze.js} +16 -16
- package/dist/chunks/{worktree-pyw57n7w.js → repository-cache-bpdv2q4q.js} +28 -28
- package/dist/chunks/repository-cache-by5v678g.js +18 -0
- package/dist/chunks/{worktree-ha84e8c9.js → repository-cache-c4b91qws.js} +24 -24
- package/dist/chunks/{worktree-t0fxg8b9.js → repository-cache-c78bbtc9.js} +5 -5
- package/dist/chunks/{worktree-6zzmvhm0.js → repository-cache-c9qfb572.js} +24 -24
- package/dist/chunks/{worktree-4zktfs0e.js → repository-cache-cdvkhjgb.js} +35 -35
- package/dist/chunks/{worktree-wc3yqjej.js → repository-cache-cec1zq9m.js} +18 -18
- package/dist/chunks/{worktree-1smds1mj.js → repository-cache-cesx3e6j.js} +11 -11
- package/dist/chunks/{worktree-cfpkc3c9.js → repository-cache-cfpkc3c9.js} +2 -2
- package/dist/chunks/{worktree-ewt4vtrb.js → repository-cache-cmpzft2x.js} +27 -27
- package/dist/chunks/{worktree-73xy8fsw.js → repository-cache-cqt2378a.js} +5 -5
- package/dist/chunks/{worktree-1dpnrefp.js → repository-cache-crse5cka.js} +28 -28
- package/dist/chunks/{worktree-59h2sd9w.js → repository-cache-cssy2j8r.js} +13 -13
- package/dist/chunks/{worktree-n5y107kn.js → repository-cache-cvddfarj.js} +14 -14
- package/dist/chunks/{worktree-q2t36530.js → repository-cache-cwxby6pr.js} +9 -9
- package/dist/chunks/{worktree-p44d8wdy.js → repository-cache-d2aac7k2.js} +5 -5
- package/dist/chunks/{worktree-rfnzy394.js → repository-cache-d50f2zf5.js} +1 -1
- package/dist/chunks/{worktree-aq5rptpm.js → repository-cache-d66qjsz4.js} +19 -19
- package/dist/chunks/{worktree-nx9eezaw.js → repository-cache-d9teafh5.js} +6 -6
- package/dist/chunks/{worktree-5q02cxx3.js → repository-cache-dfe8djrf.js} +4 -4
- package/dist/chunks/{worktree-myactzt4.js → repository-cache-dk17j58h.js} +40 -40
- package/dist/chunks/{worktree-zsn9806r.js → repository-cache-dkqawgjf.js} +4 -4
- package/dist/chunks/{worktree-gm9ea5b0.js → repository-cache-dmvzxcj2.js} +20 -20
- package/dist/chunks/{worktree-trkat1qx.js → repository-cache-dykm6d0s.js} +45 -45
- package/dist/chunks/{worktree-3cdjp2z1.js → repository-cache-e0vtkr8g.js} +6 -6
- package/dist/chunks/{worktree-fmskcfx8.js → repository-cache-ec25eqt6.js} +15 -15
- package/dist/chunks/{worktree-cafdv0ym.js → repository-cache-eqte1rrt.js} +9 -9
- package/dist/chunks/{worktree-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-bxss1q04.js → repository-cache-ex4zhymv.js} +33 -33
- package/dist/chunks/{worktree-f3m2n1aw.js → repository-cache-f07f5max.js} +20 -20
- package/dist/chunks/{worktree-6shvhte3.js → repository-cache-f670kavr.js} +1 -1
- package/dist/chunks/{worktree-sj94bf0y.js → repository-cache-f6cernjp.js} +32 -32
- package/dist/chunks/{worktree-f828m53h.js → repository-cache-f828m53h.js} +2 -2
- package/dist/chunks/{worktree-r1gh3j25.js → repository-cache-fdyt9w1r.js} +10 -10
- package/dist/chunks/{worktree-t7bs0stv.js → repository-cache-fe5y4fwd.js} +15 -15
- package/dist/chunks/{worktree-6sfzc8j3.js → repository-cache-fm4b3qmy.js} +10 -10
- package/dist/chunks/{worktree-fxbjtjnd.js → repository-cache-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-84esvpjp.js → repository-cache-fyjrpq2n.js} +11 -11
- package/dist/chunks/{worktree-shh6fz4q.js → repository-cache-fyymr9xg.js} +4 -4
- package/dist/chunks/{worktree-2j5ah8jf.js → repository-cache-g3pa8mhf.js} +15 -15
- package/dist/chunks/{worktree-2dtw8x15.js → repository-cache-gb6c6afg.js} +3 -3
- package/dist/chunks/{worktree-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-b3psc49m.js → repository-cache-gdmgdw7j.js} +6 -6
- package/dist/chunks/{worktree-x0041dth.js → repository-cache-gjbb8j7c.js} +14 -14
- package/dist/chunks/{worktree-5cvc0nrh.js → repository-cache-gqr0prwp.js} +4 -4
- package/dist/chunks/{worktree-th5km1p3.js → repository-cache-gv6a8nnw.js} +5 -5
- package/dist/chunks/{worktree-h03wrkyp.js → repository-cache-h03wrkyp.js} +2 -2
- package/dist/chunks/{worktree-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-6jnybvqn.js → repository-cache-h7ygw6q4.js} +9 -9
- package/dist/chunks/{worktree-ka3v088s.js → repository-cache-h8kpkpct.js} +9 -9
- package/dist/chunks/{worktree-zjf5xpx9.js → repository-cache-hf83ja2d.js} +2 -2
- package/dist/chunks/{worktree-bha4atvq.js → repository-cache-hfdr1yjj.js} +4 -4
- package/dist/chunks/{worktree-7x1jk2s0.js → repository-cache-hhcd6ahx.js} +43 -43
- package/dist/chunks/{worktree-v9ht5xd0.js → repository-cache-hj5qcc5b.js} +11 -11
- package/dist/chunks/{worktree-bc078hx2.js → repository-cache-hqt9vmcs.js} +18 -18
- package/dist/chunks/{worktree-pt3jfr41.js → repository-cache-j5208yae.js} +4 -4
- package/dist/chunks/{worktree-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-jnkjkfmr.js → repository-cache-j6camevd.js} +35 -35
- package/dist/chunks/{worktree-nbddwgy7.js → repository-cache-jefma2gq.js} +10 -10
- package/dist/chunks/{worktree-edrmdtr5.js → repository-cache-jfqtm2ew.js} +7 -7
- package/dist/chunks/{worktree-9w4ppqge.js → repository-cache-jgttmm4a.js} +5 -5
- package/dist/chunks/{worktree-adm5ft2x.js → repository-cache-jmfdmvz8.js} +18 -18
- package/dist/chunks/{worktree-g0rx3fxn.js → repository-cache-jmwjz9ee.js} +89 -89
- package/dist/chunks/{worktree-40be3fby.js → repository-cache-jv5mxt3g.js} +14 -14
- package/dist/chunks/{worktree-baaqp4zd.js → repository-cache-jvf3yq6v.js} +4 -4
- package/dist/chunks/{worktree-zvnk3gn3.js → repository-cache-k4a4y6vh.js} +23 -23
- package/dist/chunks/{worktree-6zfbav3y.js → repository-cache-k587grms.js} +14 -14
- package/dist/chunks/{worktree-kg06axw8.js → repository-cache-kg06axw8.js} +1 -1
- package/dist/chunks/{worktree-xwjytmam.js → repository-cache-kpabkcqn.js} +22 -22
- package/dist/chunks/{worktree-z77pcmag.js → repository-cache-kwj37acz.js} +24 -24
- package/dist/chunks/{worktree-jv2bdre8.js → repository-cache-m6v021kz.js} +6 -6
- package/dist/chunks/{worktree-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-cavr175a.js → repository-cache-magykp64.js} +4 -4
- package/dist/chunks/{worktree-1ygqh575.js → repository-cache-mfqp6xfm.js} +6 -6
- package/dist/chunks/{worktree-73tb2d7t.js → repository-cache-mhkvc446.js} +3 -3
- package/dist/chunks/{worktree-cx7w19tq.js → repository-cache-mq4fp87a.js} +7 -7
- package/dist/chunks/{worktree-xab957cg.js → repository-cache-n1cm9b14.js} +28 -28
- package/dist/chunks/{worktree-2t72zxyz.js → repository-cache-nebm0gew.js} +3 -3
- package/dist/chunks/{worktree-0tzb1dzm.js → repository-cache-nev2fxrj.js} +24 -24
- package/dist/chunks/{worktree-3sdww6fp.js → repository-cache-nkr33rs8.js} +20 -20
- package/dist/chunks/{worktree-9abatgz1.js → repository-cache-nm6nhamf.js} +11 -11
- package/dist/chunks/{worktree-ddyp6dwd.js → repository-cache-np79qykh.js} +29 -29
- package/dist/chunks/{worktree-69t96w4v.js → repository-cache-nyst5tsy.js} +27 -27
- package/dist/chunks/{worktree-m2manvsf.js → repository-cache-p0a23dx6.js} +6 -6
- package/dist/chunks/{worktree-6npnztgt.js → repository-cache-p2ngd4p5.js} +4 -4
- package/dist/chunks/{worktree-0940wtvk.js → repository-cache-p4dkeycc.js} +51 -51
- package/dist/chunks/{worktree-46947paf.js → repository-cache-pb28tzs4.js} +25 -25
- package/dist/chunks/{worktree-x1w6f45z.js → repository-cache-pdmzt19y.js} +1 -1
- package/dist/chunks/{worktree-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-hbymah4p.js → repository-cache-pkvsb09a.js} +35 -35
- package/dist/chunks/{worktree-wvmhx4nb.js → repository-cache-prbnmmzj.js} +2 -2
- package/dist/chunks/{worktree-ba58znz1.js → repository-cache-prd8mh8w.js} +25 -25
- package/dist/chunks/{worktree-61rrve2h.js → repository-cache-psvs3tm8.js} +23 -23
- package/dist/chunks/{worktree-ebc7h8jh.js → repository-cache-q5j1bp2v.js} +4 -4
- package/dist/chunks/{worktree-th62sywm.js → repository-cache-q751p06t.js} +27 -27
- package/dist/chunks/{worktree-pemhtd8f.js → repository-cache-qdnhjq4f.js} +11 -11
- package/dist/chunks/{worktree-gg7pg1rj.js → repository-cache-qn4ba14w.js} +5 -5
- package/dist/chunks/{worktree-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-6tpyx64t.js → repository-cache-qse1qpjw.js} +41 -41
- package/dist/chunks/{worktree-0ctm8j7h.js → repository-cache-qvxa9qgk.js} +50 -50
- package/dist/chunks/{worktree-39pb4tj2.js → repository-cache-r2s0xq0f.js} +33 -33
- package/dist/chunks/{worktree-r9mregkx.js → repository-cache-r9mregkx.js} +2 -2
- package/dist/chunks/{worktree-vkz51m42.js → repository-cache-rbm1b5j8.js} +32 -32
- package/dist/chunks/{worktree-d807hzdp.js → repository-cache-rjt21bs1.js} +29 -29
- package/dist/chunks/{worktree-jn9etapn.js → repository-cache-rppmaq1v.js} +23 -23
- package/dist/chunks/{worktree-xx704vmn.js → repository-cache-ryef71pm.js} +22 -22
- package/dist/chunks/{worktree-721cw5cc.js → repository-cache-s8195qaq.js} +4 -4
- package/dist/chunks/{worktree-eaj1djv9.js → repository-cache-s8d7rejh.js} +6 -6
- package/dist/chunks/{worktree-qwkytnft.js → repository-cache-s8t4qsw4.js} +6 -6
- package/dist/chunks/{worktree-0npjq9jf.js → repository-cache-s99x642n.js} +2 -2
- package/dist/chunks/{worktree-m33rf8wm.js → repository-cache-scp3yb2x.js} +23 -23
- package/dist/chunks/{worktree-r4emgha1.js → repository-cache-sk7ax4wa.js} +19 -19
- package/dist/chunks/{worktree-et0ngb76.js → repository-cache-skvzv4w6.js} +8 -8
- package/dist/chunks/{worktree-j7wq2tw5.js → repository-cache-skyymkrr.js} +3 -3
- package/dist/chunks/{worktree-yr02nea7.js → repository-cache-ss0awb04.js} +4 -4
- package/dist/chunks/{worktree-m3x11w40.js → repository-cache-sz6bnm18.js} +11 -11
- package/dist/chunks/{worktree-mja71egn.js → repository-cache-t8vasjyp.js} +20 -20
- package/dist/chunks/{worktree-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → repository-cache-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-6g16d2bh.js → repository-cache-tf3dncy2.js} +5 -5
- package/dist/chunks/{worktree-t6bwgaqm.js → repository-cache-thy6r13a.js} +30 -30
- package/dist/chunks/{worktree-4x24p3x4.js → repository-cache-tjb6h3w6.js} +5 -5
- package/dist/chunks/{worktree-tvtrv512.js → repository-cache-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-t0x5rdq8.js → repository-cache-twy35tz0.js} +9 -9
- package/dist/chunks/{worktree-97n9g1za.js → repository-cache-tx2y7v18.js} +37 -37
- package/dist/chunks/{worktree-wz5zt972.js → repository-cache-ty9cn3m0.js} +22 -22
- package/dist/chunks/{worktree-thp4thqf.js → repository-cache-v1f63sx8.js} +19 -19
- package/dist/chunks/{worktree-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-vvgctfdq.js → repository-cache-vpt86awd.js} +12 -12
- package/dist/chunks/{worktree-xbrnhvx4.js → repository-cache-vqctwdvd.js} +22 -22
- package/dist/chunks/{worktree-dvgdgw3v.js → repository-cache-vsqds22x.js} +11 -11
- package/dist/chunks/{worktree-2c9cavng.js → repository-cache-vya36ff7.js} +46 -46
- package/dist/chunks/{worktree-vzcthcp8.js → repository-cache-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-77nksagb.js → repository-cache-w3zz45zz.js} +20 -20
- package/dist/chunks/{worktree-x3af3qht.js → repository-cache-w43r5vpk.js} +9 -9
- package/dist/chunks/{worktree-8x177ym8.js → repository-cache-w6sqybpe.js} +15 -15
- package/dist/chunks/{worktree-wkgmxye7.js → repository-cache-w6xg9mzm.js} +4 -4
- package/dist/chunks/{worktree-zw0bbc6p.js → repository-cache-w89kcrbm.js} +57 -57
- package/dist/chunks/{worktree-f59qb7z8.js → repository-cache-w9ytv6gf.js} +11 -11
- package/dist/chunks/{worktree-v912edbj.js → repository-cache-waxra22z.js} +18 -18
- package/dist/chunks/{worktree-5sdemcz3.js → repository-cache-wcjyc11q.js} +8 -8
- package/dist/chunks/{worktree-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-5y5thrnn.js → repository-cache-wnpvw90s.js} +20 -20
- package/dist/chunks/{worktree-mm6ytk77.js → repository-cache-wp6wx7ve.js} +8 -8
- package/dist/chunks/{worktree-3sz5ktbs.js → repository-cache-wtngjqkb.js} +8 -8
- package/dist/chunks/{worktree-mdbdsawz.js → repository-cache-wvat7gb2.js} +9 -9
- package/dist/chunks/{worktree-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-csayd5d3.js → repository-cache-x50bgc5b.js} +1 -1
- package/dist/chunks/{worktree-8c13b1f6.js → repository-cache-xcfb136s.js} +7 -7
- package/dist/chunks/{worktree-1tjg7tvh.js → repository-cache-xhmq8qgk.js} +9 -9
- package/dist/chunks/{worktree-gda53zk6.js → repository-cache-xk29e8eh.js} +14 -14
- package/dist/chunks/{worktree-pz1grgc9.js → repository-cache-xkz0p8cz.js} +13 -13
- package/dist/chunks/{worktree-g2ww2bbh.js → repository-cache-xywr1wcm.js} +16 -16
- package/dist/chunks/{worktree-j47svp76.js → repository-cache-xznwr7ns.js} +10 -10
- package/dist/chunks/{worktree-6xv9zrws.js → repository-cache-xztd0cs6.js} +47 -47
- package/dist/chunks/{worktree-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-73483k7j.js → repository-cache-y5fw0js9.js} +13 -13
- package/dist/chunks/{worktree-y71avatq.js → repository-cache-y71avatq.js} +1 -1
- package/dist/chunks/{worktree-cfk5fh02.js → repository-cache-y97nejxf.js} +13 -13
- package/dist/chunks/{worktree-8a649t19.js → repository-cache-yahr892z.js} +6 -6
- package/dist/chunks/{worktree-w76gpamr.js → repository-cache-yqnz8h4g.js} +14 -14
- package/dist/chunks/{worktree-yrhqyw5v.js → repository-cache-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → repository-cache-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-bjhqm2jc.js → repository-cache-ythpzqjx.js} +28 -28
- package/dist/chunks/{worktree-h7n6nt9k.js → repository-cache-yx2y4h4v.js} +4 -4
- package/dist/chunks/{worktree-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-7gf7znvm.js → repository-cache-z4cbs5y4.js} +16 -16
- package/dist/chunks/{worktree-z63w68vq.js → repository-cache-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-tjqe909z.js → repository-cache-za3dtc0x.js} +1 -1
- package/dist/chunks/{worktree-zhvsjxqr.js → repository-cache-za5pt3d7.js} +4 -4
- package/dist/chunks/{worktree-zeh9ct20.js → repository-cache-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-nj09xgek.js → repository-cache-zsa173n5.js} +12 -12
- package/dist/chunks/{worktree-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +90 -90
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +91 -91
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +79 -79
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +79 -79
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +81 -81
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +10 -10
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +83 -83
- package/dist/reference.js +83 -83
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +146 -146
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +113 -113
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/worktree-dxj72tfx.js +0 -18
- package/dist/chunks/worktree-rcjnff0b.js +0 -462
- package/dist/chunks/worktree-xptez47m.js +0 -247
- package/dist/chunks/worktree-z926abd4.js +0 -4
- package/dist/chunks/worktree-zw6vqswj.js +0 -22
- /package/dist/chunks/{worktree-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → repository-cache-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → repository-cache-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-hrnqkpcd.js → repository-cache-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-paphc93g.js → repository-cache-paphc93g.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → repository-cache-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./repository-cache-z4cbs5y4.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node81
|
|
13
|
+
} from "./repository-cache-k587grms.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service19,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node23
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service19 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service79;
|
|
44
|
+
const location = yield* Service76;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service19.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node23 = makeLocationNode({ service: Service19, layer, deps: [node84, node81] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service19, node23, exports_rpc, define2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node66,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node66 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node66, exports_driver };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./repository-cache-w89kcrbm.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input6,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin36,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name6
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name6 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input6 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input6.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin36 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service64;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name6,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input6,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin23 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name6,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input6, Plugin36, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID14,
|
|
10
|
+
Info: () => Info29,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
|
-
Request: () =>
|
|
13
|
+
Request: () => Request3,
|
|
14
14
|
Settings: () => Settings2,
|
|
15
15
|
aisdk: () => aisdk2,
|
|
16
16
|
isAISDK: () => isAISDK2,
|
|
@@ -24,7 +24,7 @@ import { Effect, Schema, Struct } from "effect";
|
|
|
24
24
|
import { Provider } from "@opencode/schema/provider";
|
|
25
25
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
26
26
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
27
|
-
var
|
|
27
|
+
var ID14 = Provider.ID;
|
|
28
28
|
var AISDK_PREFIX2 = "aisdk:";
|
|
29
29
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
30
30
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -142,9 +142,9 @@ function mergeHeaders2(base, overlay) {
|
|
|
142
142
|
return result;
|
|
143
143
|
}, new Map).values());
|
|
144
144
|
}
|
|
145
|
-
var
|
|
145
|
+
var Request3 = Provider.Request;
|
|
146
146
|
var Settings2 = Provider.Settings;
|
|
147
|
-
var
|
|
147
|
+
var Info29 = Provider.Info;
|
|
148
148
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
149
149
|
const module = yield* Effect.tryPromise({
|
|
150
150
|
try: () => {
|
|
@@ -166,4 +166,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
166
166
|
return module;
|
|
167
167
|
});
|
|
168
168
|
|
|
169
|
-
export {
|
|
169
|
+
export { ID14, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info29, exports_provider3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./repository-cache-k587grms.js";
|
|
9
9
|
import {
|
|
10
10
|
Service14,
|
|
11
11
|
node17
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-gjbb8j7c.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -78,7 +78,7 @@ class Service13 extends Context.Service()("@opencode/FileSystem") {
|
|
|
78
78
|
}
|
|
79
79
|
var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
81
|
+
const location = yield* Service76;
|
|
82
82
|
const search = yield* Service14;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
@@ -125,7 +125,7 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
125
125
|
var node16 = makeLocationNode({
|
|
126
126
|
service: Service13,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node81, node17]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
131
|
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./repository-cache-p0a23dx6.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-by5v678g.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-s8t4qsw4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./repository-cache-n1cm9b14.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service45;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./repository-cache-k587grms.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
@@ -24,7 +24,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
24
24
|
class Service15 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
26
|
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
27
|
-
const location = yield*
|
|
27
|
+
const location = yield* Service76;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -90,7 +90,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
90
90
|
var node18 = makeLocationNode({
|
|
91
91
|
service: Service15,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node81, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
96
|
export { Service15, node18, exports_formatter2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service5 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service5.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service5, node8, exports_update };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./repository-cache-wp6wx7ve.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,25 +12,25 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
16
|
-
Info: () =>
|
|
15
|
+
ID: () => ID13,
|
|
16
|
+
Info: () => Info28,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
|
-
Ref: () =>
|
|
19
|
+
Ref: () => Ref3,
|
|
20
20
|
VariantID: () => VariantID2,
|
|
21
21
|
compatibility: () => compatibility2,
|
|
22
|
-
parse: () =>
|
|
22
|
+
parse: () => parse4
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID13 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
29
29
|
var Compatibility2 = Model.Compatibility;
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var Ref3 = Model.Ref;
|
|
33
|
+
var Info28 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -38,12 +38,12 @@ function compatibility2(input) {
|
|
|
38
38
|
return;
|
|
39
39
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function parse4(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID14.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID13.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID13, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info28, compatibility2, parse4, exports_model2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./repository-cache-vsqds22x.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service63,
|
|
17
|
+
node: () => node68
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service63 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service80).db;
|
|
26
|
+
return Service63.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node68 = makeGlobalNode({ service: Service63, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service63, node68, exports_kv };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./repository-cache-cwxby6pr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./repository-cache-p0a23dx6.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-by5v678g.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service68
|
|
15
|
+
} from "./repository-cache-bby00dsd.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-s8t4qsw4.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service49
|
|
23
|
+
} from "./repository-cache-n1cm9b14.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service45;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service68;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service49;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service48;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|