@opencode/core 0.0.0-dev-20399 → 0.0.0-dev-20402
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +3 -3
- package/dist/bus.js +73 -73
- package/dist/chunks/{state-e6jwgc59.js → file-retention-07ehc897.js} +30 -30
- package/dist/chunks/{state-cwjmqj7d.js → file-retention-07v38qck.js} +16 -16
- package/dist/chunks/{state-emfaaa2t.js → file-retention-08cyycf1.js} +6 -6
- package/dist/chunks/{state-vbmd7ks8.js → file-retention-0by5znvt.js} +3 -3
- package/dist/chunks/{state-jxebx42g.js → file-retention-0jy993ce.js} +39 -50
- package/dist/chunks/{state-rwbt1vvv.js → file-retention-0kt9y2yg.js} +5 -5
- package/dist/chunks/{state-mxy2bzd7.js → file-retention-0mc7b5yt.js} +37 -37
- package/dist/chunks/{state-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-kn5am6yy.js → file-retention-0t1hj50p.js} +48 -48
- package/dist/chunks/{state-xcd3tayp.js → file-retention-0tpv2kjk.js} +17 -17
- package/dist/chunks/{state-ns8p33ds.js → file-retention-0y9112s8.js} +15 -15
- package/dist/chunks/{state-0j6y2kgk.js → file-retention-0ydfd3tt.js} +11 -11
- package/dist/chunks/{state-3xkzbdqd.js → file-retention-16b29q1p.js} +6 -6
- package/dist/chunks/{state-1acjjqhc.js → file-retention-1acjjqhc.js} +1 -1
- package/dist/chunks/{state-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-g82hej27.js → file-retention-1h6fgt3y.js} +8 -8
- package/dist/chunks/{state-0wev32e0.js → file-retention-1s8bbjk0.js} +21 -21
- package/dist/chunks/{state-026a3pxx.js → file-retention-1tnfewyb.js} +11 -11
- package/dist/chunks/{state-s72bj1y6.js → file-retention-1tp0pegs.js} +9 -9
- package/dist/chunks/{state-anz1zs5v.js → file-retention-1v17rnrm.js} +37 -37
- package/dist/chunks/{state-gwna2mhe.js → file-retention-1vp4gevy.js} +11 -11
- package/dist/chunks/{state-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{state-dwsv6nwq.js → file-retention-23vhgpjn.js} +46 -46
- package/dist/chunks/{state-jgt16j01.js → file-retention-26wtd377.js} +22 -22
- package/dist/chunks/{state-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-z3pw5915.js → file-retention-2f0bjgcj.js} +5 -5
- package/dist/chunks/{state-sfn0p3x3.js → file-retention-2q4jbtx6.js} +14 -14
- package/dist/chunks/{state-md2ktbcf.js → file-retention-2qr48v8r.js} +6 -6
- package/dist/chunks/{state-cmmdg65p.js → file-retention-30846h32.js} +8 -8
- package/dist/chunks/{state-wyetx6hk.js → file-retention-32ymn5e1.js} +9 -9
- package/dist/chunks/{state-xx0efrt7.js → file-retention-382s30hz.js} +5 -5
- package/dist/chunks/{state-82nf7ed8.js → file-retention-3a9d28fc.js} +15 -15
- package/dist/chunks/{state-chasyyfh.js → file-retention-3aw7vgta.js} +27 -27
- package/dist/chunks/{state-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-c7rpvq7c.js → file-retention-3m0ax14b.js} +28 -28
- package/dist/chunks/{state-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-etzxwssw.js → file-retention-3t81ps34.js} +44 -44
- package/dist/chunks/{state-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-g1ced42j.js → file-retention-3v25ja2b.js} +17 -17
- package/dist/chunks/{state-gwdrm622.js → file-retention-3wa3ckeq.js} +7 -7
- package/dist/chunks/{state-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
- package/dist/chunks/{state-h1yrgtr6.js → file-retention-4agzmtjj.js} +26 -26
- package/dist/chunks/{state-4z58m4b4.js → file-retention-4j4tgtq5.js} +4 -4
- package/dist/chunks/{state-b9tbzjbv.js → file-retention-4kc82and.js} +13 -13
- package/dist/chunks/{state-t6kcjggt.js → file-retention-4pk7p1z9.js} +25 -25
- package/dist/chunks/{state-ydhe5npn.js → file-retention-4q7jz6f3.js} +39 -39
- package/dist/chunks/{state-qbm7jezs.js → file-retention-4wct8n2q.js} +9 -9
- package/dist/chunks/{state-xsd4ddn1.js → file-retention-4xykdr3j.js} +8 -8
- package/dist/chunks/{state-32s37th8.js → file-retention-4ygabsyh.js} +35 -35
- package/dist/chunks/{state-ns8ct35d.js → file-retention-5178wfd8.js} +32 -32
- package/dist/chunks/{state-6h3ncj6c.js → file-retention-53ms7kcc.js} +32 -32
- package/dist/chunks/{state-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
- package/dist/chunks/{state-xjtv0ejd.js → file-retention-555wn5z1.js} +21 -21
- package/dist/chunks/{state-56gdpj1q.js → file-retention-56gdpj1q.js} +2 -2
- package/dist/chunks/{state-57ez7d0k.js → file-retention-57ez7d0k.js} +2 -2
- package/dist/chunks/{state-9cc4b95v.js → file-retention-5ar0959a.js} +11 -11
- package/dist/chunks/{state-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{state-k1yhx0mf.js → file-retention-5hd43tkx.js} +28 -28
- package/dist/chunks/{state-e3qxr5gk.js → file-retention-5qd3pb7m.js} +2 -2
- package/dist/chunks/{state-ww4pz79z.js → file-retention-5sm82are.js} +6 -6
- package/dist/chunks/{state-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-5xpznt2d.js → file-retention-5xpznt2d.js} +4 -4
- package/dist/chunks/{state-5d6rpvta.js → file-retention-5xychhr1.js} +26 -26
- package/dist/chunks/{state-xt29f2pd.js → file-retention-61wct4zt.js} +29 -28
- package/dist/chunks/{state-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{state-0bsghn5e.js → file-retention-68dcddmz.js} +4 -4
- package/dist/chunks/{state-kkpyfm5t.js → file-retention-6es9zfpy.js} +34 -34
- package/dist/chunks/{state-fm2qvscf.js → file-retention-6hh8tjw2.js} +4 -4
- package/dist/chunks/{state-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-bwa7sjpv.js → file-retention-6psg71na.js} +5 -5
- package/dist/chunks/{state-ym7mf8x8.js → file-retention-6r9q50nc.js} +17 -17
- package/dist/chunks/{state-jp4bxf0b.js → file-retention-6x3ncgzs.js} +48 -48
- package/dist/chunks/{state-pr5bwn0j.js → file-retention-70e78xk1.js} +2 -2
- package/dist/chunks/{state-m6vzghbm.js → file-retention-73880a7e.js} +11 -11
- package/dist/chunks/{state-wh8p5p12.js → file-retention-76tq4jpv.js} +50 -50
- package/dist/chunks/{state-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-2k8khapm.js → file-retention-7dqw4kz8.js} +5 -5
- package/dist/chunks/{state-b8vgw5fj.js → file-retention-7q81yew2.js} +12 -12
- package/dist/chunks/{state-0awtbsan.js → file-retention-7qkbk131.js} +11 -11
- package/dist/chunks/{state-6bsje7ws.js → file-retention-7w99qc9d.js} +3 -3
- package/dist/chunks/{state-m9s7qv8x.js → file-retention-8142ayq4.js} +30 -30
- package/dist/chunks/{state-84txncab.js → file-retention-84txncab.js} +1 -1
- package/dist/chunks/{state-cbjpdsvm.js → file-retention-8csa8wgg.js} +42 -42
- package/dist/chunks/{state-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-030jzqrs.js → file-retention-8fm7fx0h.js} +1 -1
- package/dist/chunks/{state-41h2mdr0.js → file-retention-8g4srgx8.js} +30 -30
- package/dist/chunks/{state-3tt1qkhr.js → file-retention-8ryk0bb9.js} +5 -5
- package/dist/chunks/{state-cfsekr6v.js → file-retention-8sze2n9a.js} +6 -6
- package/dist/chunks/{state-fh2tfnch.js → file-retention-8wshxwa8.js} +25 -25
- package/dist/chunks/{state-an0fjdax.js → file-retention-901fz9t0.js} +21 -21
- package/dist/chunks/{state-p77z413r.js → file-retention-914z0d4t.js} +10 -10
- package/dist/chunks/{state-t0r3rek8.js → file-retention-92nsqna1.js} +3 -3
- package/dist/chunks/{state-94ek1h2f.js → file-retention-94ek1h2f.js} +2 -2
- package/dist/chunks/{state-wvvff302.js → file-retention-96kfm23h.js} +8 -8
- package/dist/chunks/{state-kg9rvkrr.js → file-retention-9965yrjj.js} +14 -14
- package/dist/chunks/{state-e9akvjhf.js → file-retention-9cvt8pvp.js} +26 -26
- package/dist/chunks/{state-wh176n5n.js → file-retention-9zmzhm3z.js} +12 -12
- package/dist/chunks/{state-d72h0ct2.js → file-retention-a2w2trrv.js} +16 -16
- package/dist/chunks/{state-fhff0x2d.js → file-retention-a7bcxdzj.js} +9 -9
- package/dist/chunks/{state-fgprdtmf.js → file-retention-a8ymkhm3.js} +15 -15
- package/dist/chunks/{state-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{state-g6yxzqxx.js → file-retention-ae141jqd.js} +15 -15
- package/dist/chunks/{state-avm8jn6n.js → file-retention-af04s6ss.js} +5 -5
- package/dist/chunks/{state-w969batc.js → file-retention-azw3908z.js} +23 -23
- package/dist/chunks/{state-pxz53wth.js → file-retention-b0a6mgz0.js} +4 -4
- package/dist/chunks/{state-63jfhv3x.js → file-retention-b34228va.js} +20 -20
- package/dist/chunks/{state-76x0exek.js → file-retention-b6c8hgaq.js} +7 -7
- package/dist/chunks/{state-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-tag6x3x4.js → file-retention-ba15hegp.js} +9 -9
- package/dist/chunks/{state-m48gk93k.js → file-retention-bah76z4e.js} +12 -12
- package/dist/chunks/{state-wfwxzv8g.js → file-retention-bjc78pkx.js} +5 -5
- package/dist/chunks/{state-bdqrk2vk.js → file-retention-bscb95cy.js} +4 -4
- package/dist/chunks/{state-dt3wvx3f.js → file-retention-bw7f9m3t.js} +15 -15
- package/dist/chunks/{state-44pdqs77.js → file-retention-c651xxjb.js} +4 -4
- package/dist/chunks/{state-cp8b7tfh.js → file-retention-car3yqh5.js} +4 -4
- package/dist/chunks/{state-vm3v4gr3.js → file-retention-ccy2pgf3.js} +13 -13
- package/dist/chunks/{state-j3d0563g.js → file-retention-cgsggtpg.js} +85 -85
- package/dist/chunks/{state-ckecvw8r.js → file-retention-ckecvw8r.js} +2 -2
- package/dist/chunks/{state-q5gv92h7.js → file-retention-cst1g9ty.js} +97 -97
- package/dist/chunks/{state-byw7mfcf.js → file-retention-cw1stz9h.js} +21 -21
- package/dist/chunks/{state-s2rv4ncm.js → file-retention-cx4jqw99.js} +3 -3
- package/dist/chunks/{state-9tsamph0.js → file-retention-d0xdxexk.js} +30 -30
- package/dist/chunks/{state-cwa6csj7.js → file-retention-d4he2qe1.js} +9 -9
- package/dist/chunks/{state-5t6w898y.js → file-retention-d5grx31m.js} +12 -12
- package/dist/chunks/{state-ve4pfa0n.js → file-retention-dfe8djrf.js} +4 -4
- package/dist/chunks/{state-s41z59kz.js → file-retention-dhfqkfjw.js} +27 -27
- package/dist/chunks/{state-xq5cbp2j.js → file-retention-dk1ph2hs.js} +9 -9
- package/dist/chunks/{state-xkntkrq7.js → file-retention-dmqcgk4z.js} +5 -5
- package/dist/chunks/{state-gx3a42a4.js → file-retention-dnxkq42g.js} +4 -4
- package/dist/chunks/{state-cm2g4gk6.js → file-retention-e75wa3q3.js} +14 -14
- package/dist/chunks/{state-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-8rnn6t2g.js → file-retention-efkdte57.js} +18 -18
- package/dist/chunks/{state-22t6ymqa.js → file-retention-en6tpsg7.js} +7 -7
- package/dist/chunks/{state-rmyrmc3b.js → file-retention-enghkq7s.js} +35 -35
- package/dist/chunks/{state-325vrkv0.js → file-retention-epdvd4ev.js} +5 -5
- package/dist/chunks/{state-jj6avjan.js → file-retention-er0xdfmw.js} +28 -28
- package/dist/chunks/{state-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-zgzqctvw.js → file-retention-exx9ekpx.js} +11 -11
- package/dist/chunks/{state-cc9yd0np.js → file-retention-f1mm0mp4.js} +16 -16
- package/dist/chunks/{state-d3nanzm1.js → file-retention-f36tabf2.js} +8 -8
- package/dist/chunks/{state-d8nxzx5d.js → file-retention-f3v49yrq.js} +16 -16
- package/dist/chunks/{state-zxs6a24a.js → file-retention-f5gy8qwh.js} +8 -8
- package/dist/chunks/{state-6j71bdrn.js → file-retention-fnge4047.js} +4 -4
- package/dist/chunks/{state-crbh5ayy.js → file-retention-fpn03fpt.js} +15 -15
- package/dist/chunks/{state-qxz26mk9.js → file-retention-frt7t1he.js} +42 -42
- package/dist/chunks/{state-y56ehv6b.js → file-retention-ftjf86m5.js} +2 -2
- package/dist/chunks/{state-ka9kg3q0.js → file-retention-g2jqna9d.js} +34 -34
- package/dist/chunks/{state-aqxjtcsj.js → file-retention-g9jwfn6x.js} +11 -11
- package/dist/chunks/{state-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-kmy8da6b.js → file-retention-gp2fw5da.js} +10 -10
- package/dist/chunks/{state-7a5vwq9w.js → file-retention-gqbx8pvk.js} +11 -11
- package/dist/chunks/{state-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{state-k5ghjtzv.js → file-retention-gxjs0nkc.js} +28 -28
- package/dist/chunks/{state-9n655km2.js → file-retention-gztggq6p.js} +5 -5
- package/dist/chunks/{state-q8f45dp9.js → file-retention-h0ddtxn3.js} +76 -76
- package/dist/chunks/{state-axs6pdy0.js → file-retention-h4z1mxff.js} +5 -5
- package/dist/chunks/{state-d1fv27qq.js → file-retention-h67bwh8a.js} +35 -35
- package/dist/chunks/{state-7pr2hkwv.js → file-retention-h6b02349.js} +5 -5
- package/dist/chunks/{state-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-sxzvkvgj.js → file-retention-h896pcm5.js} +6 -6
- package/dist/chunks/{state-3556dn8t.js → file-retention-hd8vw2pw.js} +1 -1
- package/dist/chunks/{state-vajs8ne8.js → file-retention-hkw967g2.js} +11 -11
- package/dist/chunks/{state-hsr4f390.js → file-retention-hphkqdz5.js} +20 -20
- package/dist/chunks/{state-eyh1y9f4.js → file-retention-hv3sa1e0.js} +11 -11
- package/dist/chunks/{state-e1d45rdw.js → file-retention-hwhbafy2.js} +15 -15
- package/dist/chunks/{state-gz4t4j50.js → file-retention-hyd4csjw.js} +13 -13
- package/dist/chunks/{state-vz2meb4r.js → file-retention-hyt73fgk.js} +19 -19
- package/dist/chunks/{state-1fw2a5v8.js → file-retention-hznfsya8.js} +22 -22
- package/dist/chunks/{state-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{state-sm77csgv.js → file-retention-j6c2djjz.js} +3 -3
- package/dist/chunks/{state-3h8f8rgq.js → file-retention-jdcs44sz.js} +17 -17
- package/dist/chunks/{state-3w4da0bf.js → file-retention-jjctv81n.js} +14 -14
- package/dist/chunks/file-retention-jqh9b0xq.js +18 -0
- package/dist/chunks/{state-7dabebq9.js → file-retention-jqryekp8.js} +18 -18
- package/dist/chunks/file-retention-js7f2ndc.js +507 -0
- package/dist/chunks/{state-k3c624dm.js → file-retention-k3c624dm.js} +3 -3
- package/dist/chunks/{state-a1cedfep.js → file-retention-k9xjptez.js} +24 -24
- package/dist/chunks/{state-yvq8qe6t.js → file-retention-kbq17jxs.js} +14 -14
- package/dist/chunks/{state-spb6tddc.js → file-retention-kd88yaz5.js} +38 -38
- package/dist/chunks/{state-4wgy5v9e.js → file-retention-kjwwdp92.js} +31 -31
- package/dist/chunks/{state-jvp68s7q.js → file-retention-kkcecp2w.js} +30 -30
- package/dist/chunks/{state-jewzahs7.js → file-retention-kkp8zx71.js} +4 -4
- package/dist/chunks/{state-h2aqvaqe.js → file-retention-kp34pf0p.js} +11 -11
- package/dist/chunks/{state-jhb9dspf.js → file-retention-m12j2t06.js} +14 -14
- package/dist/chunks/{state-pnv527nz.js → file-retention-m2d0j7c0.js} +9 -9
- package/dist/chunks/{state-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
- package/dist/chunks/{state-m58kmhef.js → file-retention-m58kmhef.js} +2 -2
- package/dist/chunks/{state-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-vsp1fds9.js → file-retention-magykp64.js} +21 -21
- package/dist/chunks/{state-e7710hd6.js → file-retention-mm5kxf07.js} +8 -8
- package/dist/chunks/{state-3hts4nh5.js → file-retention-mt193r2g.js} +27 -27
- package/dist/chunks/{state-gnwckkcb.js → file-retention-n3sb98w8.js} +25 -25
- package/dist/chunks/file-retention-n4ksp8v5.js +26 -0
- package/dist/chunks/{state-zh8n6fvg.js → file-retention-n7hfvk42.js} +3 -3
- package/dist/chunks/{state-m5skzvyv.js → file-retention-na8089pj.js} +8 -8
- package/dist/chunks/{state-thkpyy1e.js → file-retention-ndc9tmhz.js} +21 -21
- package/dist/chunks/{state-ff0svapt.js → file-retention-nng2ktcm.js} +2 -2
- package/dist/chunks/{state-h6bjgbqg.js → file-retention-nvymb3gw.js} +20 -20
- package/dist/chunks/{state-dpkg50ah.js → file-retention-nxm207yx.js} +4 -4
- package/dist/chunks/{state-x1c67pw4.js → file-retention-nxy4r4q2.js} +48 -48
- package/dist/chunks/{state-7yqjxrmz.js → file-retention-p0b4ytnr.js} +4 -4
- package/dist/chunks/{state-h73fwzy4.js → file-retention-p4h43hm5.js} +9 -9
- package/dist/chunks/{state-qvc7rwfe.js → file-retention-p8g5gece.js} +10 -10
- package/dist/chunks/{state-dhwr7h25.js → file-retention-pb1eahw5.js} +11 -11
- package/dist/chunks/{state-jzgb5xky.js → file-retention-pfvbrrxt.js} +13 -13
- package/dist/chunks/{state-rzke9gk0.js → file-retention-pgk2xcsw.js} +62 -62
- package/dist/chunks/{state-6h3wybc7.js → file-retention-phjaars8.js} +6 -6
- package/dist/chunks/{state-pa8pe2x7.js → file-retention-phstrbs2.js} +8 -8
- package/dist/chunks/{state-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-6zma4dqp.js → file-retention-pkkyf0r9.js} +5 -5
- package/dist/chunks/{state-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{state-cgpscxj9.js → file-retention-psm6mvq2.js} +23 -23
- package/dist/chunks/{state-bvgg99d4.js → file-retention-ptg1zr2n.js} +7 -7
- package/dist/chunks/{state-xk6fmnkg.js → file-retention-pvx6jnbt.js} +15 -15
- package/dist/chunks/file-retention-pwvtcxk6.js +252 -0
- package/dist/chunks/{state-c2qp786d.js → file-retention-pyhnah5r.js} +30 -30
- package/dist/chunks/{state-1rfara83.js → file-retention-q4qpptcn.js} +23 -23
- package/dist/chunks/{state-y8t82fx5.js → file-retention-qj12mzv5.js} +12 -12
- package/dist/chunks/{state-hnr5yq9h.js → file-retention-qn4ba14w.js} +5 -5
- package/dist/chunks/{state-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{state-7rwqf82v.js → file-retention-qvb3nf84.js} +8 -8
- package/dist/chunks/{state-7yh4e7ss.js → file-retention-r5x6zcsm.js} +3 -3
- package/dist/chunks/{state-4238gvvk.js → file-retention-rd456c9t.js} +24 -24
- package/dist/chunks/{state-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-f9h36e2w.js → file-retention-rfkk6xr1.js} +18 -18
- package/dist/chunks/{state-zf62gzsh.js → file-retention-rjkh2wef.js} +3 -3
- package/dist/chunks/{state-d1xrdev2.js → file-retention-rjreqr61.js} +32 -32
- package/dist/chunks/{state-a8k20txy.js → file-retention-rsper1ey.js} +23 -23
- package/dist/chunks/{state-fsyf11as.js → file-retention-rsrs7t03.js} +4 -4
- package/dist/chunks/{state-jytterhh.js → file-retention-s16mhmbj.js} +4 -4
- package/dist/chunks/{state-s8d7rejh.js → file-retention-s8d7rejh.js} +1 -1
- package/dist/chunks/{state-8ckcg3zf.js → file-retention-t3kdfj5b.js} +3 -3
- package/dist/chunks/{state-xe9sg8zb.js → file-retention-t5nr2mq2.js} +13 -13
- package/dist/chunks/{state-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-53t1r0k7.js → file-retention-tc5he9wg.js} +43 -43
- package/dist/chunks/{state-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-cv56zjsy.js → file-retention-tckasdr8.js} +22 -22
- package/dist/chunks/{state-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{state-6t6v3d0p.js → file-retention-tjhbrvq4.js} +13 -13
- package/dist/chunks/{state-xt02y0n1.js → file-retention-tnnwyf4v.js} +13 -13
- package/dist/chunks/{state-f9wz3e2s.js → file-retention-tqqs58hf.js} +11 -11
- package/dist/chunks/{state-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{state-3wtv5frj.js → file-retention-tzhaj3et.js} +9 -9
- package/dist/chunks/{state-6s6k8698.js → file-retention-v1c9ckpm.js} +13 -13
- package/dist/chunks/{state-hqqvrbf6.js → file-retention-v2yybn63.js} +3 -3
- package/dist/chunks/{state-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{state-m67aag9e.js → file-retention-vyr41dye.js} +24 -24
- package/dist/chunks/{state-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
- package/dist/chunks/{state-9ehh8z5c.js → file-retention-w1ym612x.js} +1 -1
- package/dist/chunks/{state-hbjnfksx.js → file-retention-w3bcvcpc.js} +10 -10
- package/dist/chunks/{state-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-wd3x2cqz.js → file-retention-wd3x2cqz.js} +2 -2
- package/dist/chunks/{state-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{state-qk0w6ykp.js → file-retention-wgm89zzg.js} +6 -6
- package/dist/chunks/{state-vfgebdsx.js → file-retention-wvje6e6q.js} +7 -7
- package/dist/chunks/{state-5stztzc8.js → file-retention-wycphyd6.js} +27 -27
- package/dist/chunks/{state-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-zgc61ws8.js → file-retention-x2gkbbe6.js} +5 -5
- package/dist/chunks/{state-518c5t7m.js → file-retention-x2t18wqz.js} +8 -8
- package/dist/chunks/{state-vg6qrb8m.js → file-retention-x757zt7n.js} +24 -24
- package/dist/chunks/{state-n73fkcwy.js → file-retention-xf1sebn0.js} +11 -11
- package/dist/chunks/{state-g5w8qwbj.js → file-retention-xfkkasph.js} +4 -4
- package/dist/chunks/{state-kb4we5bm.js → file-retention-xj3m6db3.js} +14 -14
- package/dist/chunks/{state-hgzmshwk.js → file-retention-y042j87z.js} +29 -29
- package/dist/chunks/{state-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-b3x448qn.js → file-retention-y3yyngt1.js} +18 -18
- package/dist/chunks/{state-y5rf7nzv.js → file-retention-y5rf7nzv.js} +1 -1
- package/dist/chunks/{state-475vsxfq.js → file-retention-ycgx5mwh.js} +12 -12
- package/dist/chunks/{state-s3cc2cs9.js → file-retention-yebp4zhw.js} +5 -5
- package/dist/chunks/{state-sa273yf3.js → file-retention-yktqjfap.js} +10 -10
- package/dist/chunks/{state-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-s4enseaf.js → file-retention-yrznvahk.js} +2 -2
- package/dist/chunks/{state-z07pqspn.js → file-retention-z07pqspn.js} +3 -3
- package/dist/chunks/{state-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-9g1bwmtd.js → file-retention-z1h4hzgz.js} +45 -45
- package/dist/chunks/{state-r11gfdxy.js → file-retention-z5s5xvpn.js} +16 -16
- package/dist/chunks/{state-29x78va6.js → file-retention-z63w68vq.js} +6 -6
- package/dist/chunks/{state-5ynfe8h2.js → file-retention-z8bdrrqs.js} +154 -154
- package/dist/chunks/{state-06x8he3q.js → file-retention-zav06jzw.js} +4 -4
- package/dist/chunks/{state-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{state-zzd0v6bh.js → file-retention-zj4ah9h6.js} +19 -19
- package/dist/chunks/{state-gptt3tzt.js → file-retention-znjk7567.js} +15 -15
- package/dist/chunks/{state-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-0p4abda4.js → file-retention-ztwp6n71.js} +5 -5
- package/dist/chunks/{state-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/state-5ptk6qrn.js +0 -507
- package/dist/chunks/state-92scpske.js +0 -26
- package/dist/chunks/state-9sh4wc5j.js +0 -18
- package/dist/chunks/state-txavf3vy.js +0 -252
- /package/dist/chunks/{state-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-retention-z5s5xvpn.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service39,
|
|
21
|
+
layer: () => layer17,
|
|
22
|
+
node: () => node42
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event9 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service39 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service82;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service39.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node42 = makeLocationNode({
|
|
75
|
+
service: Service39,
|
|
76
|
+
layer: layer17,
|
|
77
|
+
deps: [node86]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError6, ExecutionError2, Service39, layer17, node42, exports_command4, Event9 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service84,
|
|
3
|
-
node88
|
|
4
|
-
} from "./state-eyh1y9f4.js";
|
|
5
1
|
import {
|
|
6
2
|
Service83,
|
|
7
3
|
node87
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./file-retention-hv3sa1e0.js";
|
|
5
|
+
import {
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./file-retention-z5s5xvpn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service52,
|
|
11
|
+
node54
|
|
12
|
+
} from "./file-retention-0y9112s8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service50,
|
|
15
|
+
node52
|
|
16
|
+
} from "./file-retention-h896pcm5.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service48
|
|
26
|
+
} from "./file-retention-zav06jzw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service65,
|
|
29
|
+
node68
|
|
30
|
+
} from "./file-retention-zj4ah9h6.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-ztwp6n71.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-retention-5hd43tkx.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service47,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer19,
|
|
47
|
+
node: () => node50,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service47 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
67
|
-
const db = (yield*
|
|
62
|
+
var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service65;
|
|
64
|
+
const instances = yield* Service50;
|
|
65
|
+
const bus = yield* Service82;
|
|
66
|
+
const jobs = yield* Service52;
|
|
67
|
+
const db = (yield* Service83).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
70
70
|
commit: () => store.claim(sessionID)
|
|
@@ -76,7 +76,7 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service48.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -104,7 +104,7 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service47.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node50 = makeGlobalNode({
|
|
127
|
+
service: Service47,
|
|
128
|
+
layer: layer19,
|
|
129
|
+
deps: [node68, node52, node86, node87, node54]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service47, Service47.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service38, Service38.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service47, terminal2, layer19, node50, noopLayer3, exports_execution };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./file-retention-0tpv2kjk.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-q4qpptcn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin35,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin35 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service79;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin35, exports_hg };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-3aw7vgta.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./file-retention-y042j87z.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin44,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,10 +23,10 @@ var direct = new Set([
|
|
|
23
23
|
"@opencode/ai/providers/azure/responses"
|
|
24
24
|
]);
|
|
25
25
|
var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
|
|
26
|
-
var
|
|
26
|
+
var Plugin44 = define({
|
|
27
27
|
id: "opencode.prompt.verbosity",
|
|
28
28
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
29
|
-
const models = yield*
|
|
29
|
+
const models = yield* Service74;
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
31
31
|
if (event.options.textVerbosity !== undefined)
|
|
32
32
|
return;
|
|
@@ -66,4 +66,4 @@ function openAIModelID(model) {
|
|
|
66
66
|
return id.slice("openai/".length);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Plugin44, exports_verbosity };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./file-retention-0tpv2kjk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service70
|
|
12
|
+
} from "./file-retention-x757zt7n.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service68
|
|
15
|
+
} from "./file-retention-jjctv81n.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-07ehc897.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service63
|
|
24
|
+
} from "./file-retention-nxy4r4q2.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service17
|
|
27
|
+
} from "./file-retention-y3yyngt1.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input12,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin16,
|
|
39
|
+
name: () => name12,
|
|
40
|
+
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name12 = "glob";
|
|
46
|
+
var Input12 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input8 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output8 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent6 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin16 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service70;
|
|
70
|
+
const ripgrep = yield* Service68;
|
|
71
|
+
const location = yield* Service79;
|
|
72
|
+
const access = yield* Service17;
|
|
73
|
+
const permission = yield* Service63;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input12,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name12,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin27 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name12, Input12, Output8, toModelContent6, Plugin16, exports_glob };
|
|
@@ -2,50 +2,50 @@ import {
|
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
4
|
node55
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-382s30hz.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-4j4tgtq5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service67,
|
|
12
|
+
node70
|
|
13
|
+
} from "./file-retention-30846h32.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-nxy4r4q2.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-xj3m6db3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error3
|
|
22
|
+
} from "./file-retention-8wshxwa8.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-retention-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service31,
|
|
28
|
+
node34
|
|
29
|
+
} from "./file-retention-1tnfewyb.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make15
|
|
32
|
+
} from "./file-retention-xfkkasph.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-retention-hd8vw2pw.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service30,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer13,
|
|
48
|
+
node: () => node33,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -172,11 +172,11 @@ var boundImages2 = (messages) => {
|
|
|
172
172
|
}));
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
-
class
|
|
175
|
+
class Service30 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
176
176
|
}
|
|
177
|
-
var
|
|
178
|
-
const hooks = yield*
|
|
179
|
-
const transport = yield*
|
|
177
|
+
var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
178
|
+
const hooks = yield* Service67;
|
|
179
|
+
const transport = yield* Service31;
|
|
180
180
|
const app = yield* Metadata2;
|
|
181
181
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
182
182
|
const session = input.session;
|
|
@@ -184,7 +184,7 @@ var layer9 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
184
184
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
185
185
|
const tools = input.tools ?? {
|
|
186
186
|
definitions: [],
|
|
187
|
-
execute: () => new
|
|
187
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
188
188
|
};
|
|
189
189
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
190
190
|
const shaped = yield* shape({
|
|
@@ -282,17 +282,17 @@ var layer9 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
282
282
|
};
|
|
283
283
|
});
|
|
284
284
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
285
|
-
return
|
|
285
|
+
return Service30.of({
|
|
286
286
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
287
287
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
288
288
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
289
289
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
290
290
|
});
|
|
291
291
|
}));
|
|
292
|
-
var
|
|
293
|
-
service:
|
|
294
|
-
layer:
|
|
295
|
-
deps: [
|
|
292
|
+
var node33 = makeLocationNode({
|
|
293
|
+
service: Service30,
|
|
294
|
+
layer: layer13,
|
|
295
|
+
deps: [node70, node34, node55]
|
|
296
296
|
});
|
|
297
297
|
|
|
298
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
298
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service30, layer13, node33, exports_model_request };
|