@opencode-ai/core 0.0.0-dev-19107 → 0.0.0-dev-19108
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +78 -78
- package/dist/chunks/{shell-hjrjbgez.js → app-01w7s3hf.js} +5 -5
- package/dist/chunks/{shell-z7rb1vge.js → app-0386mn27.js} +18 -18
- package/dist/chunks/{shell-72s3cfct.js → app-0a8a3e10.js} +38 -38
- package/dist/chunks/{shell-3h5s5ba4.js → app-0c185145.js} +56 -56
- package/dist/chunks/{shell-0e0xafbb.js → app-0e0xafbb.js} +2 -2
- package/dist/chunks/{shell-afp9cpv0.js → app-0e2t5d9f.js} +17 -17
- package/dist/chunks/{shell-9vcfn3x3.js → app-0nv9ws4s.js} +8 -8
- package/dist/chunks/{shell-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0s9ayhjt.js → app-0s9ayhjt.js} +1 -1
- package/dist/chunks/{shell-6k404gxp.js → app-11tw25g0.js} +4 -4
- package/dist/chunks/{shell-kv8syyjy.js → app-12wjp4s5.js} +11 -11
- package/dist/chunks/{shell-vtq1wfzg.js → app-13c30bt4.js} +4 -4
- package/dist/chunks/{shell-rqe0j03n.js → app-14rfkr3c.js} +22 -22
- package/dist/chunks/{shell-7gv5bdgm.js → app-15pj8rnv.js} +8 -8
- package/dist/chunks/app-18pkcr1z.js +4 -0
- package/dist/chunks/{shell-1ct4r87x.js → app-1ct4r87x.js} +1 -1
- package/dist/chunks/{shell-eqwbrmm3.js → app-1nfhvprz.js} +18 -18
- package/dist/chunks/{shell-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{shell-xpa15rv0.js → app-23zmxrnh.js} +15 -15
- package/dist/chunks/{shell-2402vzrj.js → app-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-28pcbh69.js → app-28pcbh69.js} +1 -1
- package/dist/chunks/{shell-29x78va6.js → app-29x78va6.js} +2 -2
- package/dist/chunks/{shell-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-tpvyqr2s.js → app-2b9ezsen.js} +10 -10
- package/dist/chunks/{shell-2ht70gj7.js → app-2ht70gj7.js} +1 -1
- package/dist/chunks/{shell-2jqmte8w.js → app-2jqmte8w.js} +2 -2
- package/dist/chunks/{shell-6ym5me7r.js → app-2kykh1mj.js} +5 -5
- package/dist/chunks/{shell-mgnx1j9f.js → app-2w6vce98.js} +46 -46
- package/dist/chunks/{shell-36mzbjn4.js → app-36mzbjn4.js} +1 -1
- package/dist/chunks/{shell-fp066vz3.js → app-3c09ha2d.js} +16 -16
- package/dist/chunks/{shell-2vcth3xs.js → app-3dq3crbn.js} +24 -24
- package/dist/chunks/{shell-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-zmjynawk.js → app-3jj6bjb6.js} +5 -5
- package/dist/chunks/{shell-3qzbfqsy.js → app-3qzbfqsy.js} +2 -2
- package/dist/chunks/{shell-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-9f008s18.js → app-3tn3p1gv.js} +20 -20
- package/dist/chunks/{shell-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-6mh2j33h.js → app-3zphh05q.js} +8 -8
- package/dist/chunks/{shell-vdpqp5cm.js → app-40x3qkyt.js} +41 -41
- package/dist/chunks/{shell-yav02wcy.js → app-42har1fs.js} +24 -24
- package/dist/chunks/{shell-xkzmkx0v.js → app-42xrgkkt.js} +9 -9
- package/dist/chunks/{shell-454k5vzh.js → app-454k5vzh.js} +1 -1
- package/dist/chunks/{shell-my67wh8n.js → app-4e715r4p.js} +5 -5
- package/dist/chunks/{shell-p3e4re21.js → app-4ehv4ads.js} +1 -1
- package/dist/chunks/{shell-sf6gbvg9.js → app-4gsaceeb.js} +18 -18
- package/dist/chunks/{shell-4r2nyarf.js → app-4r2nyarf.js} +1 -1
- package/dist/chunks/{shell-s52y7s20.js → app-4rf45629.js} +35 -35
- package/dist/chunks/{shell-jhk1bjct.js → app-4rtnt5ag.js} +32 -32
- package/dist/chunks/{shell-2dnwhkbg.js → app-4v6kmz2f.js} +33 -33
- package/dist/chunks/{shell-h2jjxfqc.js → app-50np2ea7.js} +20 -20
- package/dist/chunks/{shell-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-5fmxt4p5.js → app-5fmxt4p5.js} +1 -1
- package/dist/chunks/{shell-aa68tp4y.js → app-5h1jpmjk.js} +9 -9
- package/dist/chunks/{shell-nmh0bsy2.js → app-5j4ycm01.js} +11 -11
- package/dist/chunks/{shell-5jvc5tg2.js → app-5jvc5tg2.js} +1 -1
- package/dist/chunks/{shell-1bnjqxwj.js → app-5jw85c42.js} +13 -13
- package/dist/chunks/{shell-pfxg458r.js → app-5ms2rpmc.js} +2 -2
- package/dist/chunks/{shell-1j5kcfzp.js → app-5nfd4rj2.js} +32 -32
- package/dist/chunks/{shell-ayhxp9k6.js → app-5nznyf8e.js} +26 -26
- package/dist/chunks/{shell-pxcwkz2f.js → app-5p4h4sxt.js} +12 -12
- package/dist/chunks/{shell-1sfe7ky6.js → app-5pn8t89y.js} +5 -5
- package/dist/chunks/{shell-cqqf9w6n.js → app-5rwzhfv6.js} +12 -12
- package/dist/chunks/{shell-5sg4xzjf.js → app-5sg4xzjf.js} +1 -1
- package/dist/chunks/{shell-6ygcz7av.js → app-5t5wq6gn.js} +14 -14
- package/dist/chunks/{shell-y90mbezs.js → app-5vybsdg6.js} +27 -27
- package/dist/chunks/{shell-zfbr2h3w.js → app-5w21de0h.js} +20 -20
- package/dist/chunks/{shell-gdv0z722.js → app-632gbntz.js} +14 -14
- package/dist/chunks/{shell-d0g1dj0w.js → app-66d61ks5.js} +32 -32
- package/dist/chunks/{shell-g2qnqccr.js → app-67yrdjps.js} +7 -7
- package/dist/chunks/{shell-gh8ys4e0.js → app-6dbrvgej.js} +6 -6
- package/dist/chunks/{shell-rjre9n2g.js → app-6degs2s3.js} +7 -7
- package/dist/chunks/{shell-y384eh8z.js → app-6mj9m63p.js} +26 -26
- package/dist/chunks/{shell-cpfp6xqs.js → app-6sct3hx6.js} +10 -10
- package/dist/chunks/{shell-6tf8tr4v.js → app-6tf8tr4v.js} +2 -2
- package/dist/chunks/{shell-esapbxtc.js → app-6v0yyvxp.js} +27 -27
- package/dist/chunks/{shell-yjkt68fp.js → app-70rkddr7.js} +26 -26
- package/dist/chunks/{shell-711hfp6y.js → app-711hfp6y.js} +2 -2
- package/dist/chunks/{shell-j5jk7a00.js → app-7122j8gw.js} +3 -3
- package/dist/chunks/{shell-y6j92mjt.js → app-74kdhb1m.js} +1 -1
- package/dist/chunks/{shell-1q9v9ha2.js → app-7az1ph81.js} +9 -9
- package/dist/chunks/{shell-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-qgn6gcr1.js → app-7dqw4kz8.js} +5 -5
- package/dist/chunks/{shell-8n28b114.js → app-7m2rk6qq.js} +22 -22
- package/dist/chunks/{shell-8a5sy8gj.js → app-7n0q0bv1.js} +34 -34
- package/dist/chunks/{shell-x1xxr4z6.js → app-7ysq4950.js} +16 -16
- package/dist/chunks/{shell-4gg3r4gf.js → app-7yy9xc4n.js} +13 -13
- package/dist/chunks/{shell-20rf0y56.js → app-85gpctef.js} +7 -7
- package/dist/chunks/{shell-mv4q59re.js → app-85h46ndy.js} +27 -27
- package/dist/chunks/{shell-pbm77kt4.js → app-8dd2f8ys.js} +10 -10
- package/dist/chunks/{shell-7grmgsg7.js → app-8fhts7ts.js} +4 -4
- package/dist/chunks/{shell-7namgvh9.js → app-8mwg67v8.js} +24 -24
- package/dist/chunks/{shell-93a8yfjt.js → app-93a8yfjt.js} +2 -2
- package/dist/chunks/{shell-yx0a4n2t.js → app-93dwfvj9.js} +160 -160
- package/dist/chunks/{shell-a38h5jqv.js → app-96vkjpcp.js} +20 -20
- package/dist/chunks/{shell-a68y78dg.js → app-9g3rryp6.js} +4 -4
- package/dist/chunks/{shell-j016kj46.js → app-9rtpxp4d.js} +4 -4
- package/dist/chunks/{shell-pwya9n2y.js → app-9thvk43w.js} +3 -3
- package/dist/chunks/{shell-trc7nn16.js → app-a010fcpj.js} +26 -26
- package/dist/chunks/{shell-95pr9fpn.js → app-a914cbek.js} +11 -11
- package/dist/chunks/{shell-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-8debsjz4.js → app-ac15t784.js} +9 -9
- package/dist/chunks/{shell-sxaj9jh7.js → app-aj2m52tf.js} +10 -10
- package/dist/chunks/{shell-cppazjgb.js → app-aj61jzn0.js} +15 -15
- package/dist/chunks/{shell-b5xnx7k5.js → app-an4fhdz5.js} +33 -33
- package/dist/chunks/{shell-vwy6nk1q.js → app-anj2smy6.js} +24 -24
- package/dist/chunks/{shell-ycqmrtvj.js → app-b3restqe.js} +9 -9
- package/dist/chunks/{shell-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-b9wsbatv.js → app-b9wsbatv.js} +1 -1
- package/dist/chunks/{shell-cdxs8vt7.js → app-bbqat6f3.js} +25 -25
- package/dist/chunks/{shell-dzmbxvmy.js → app-bmvd9c9n.js} +15 -15
- package/dist/chunks/{shell-408ksyxd.js → app-c00ty097.js} +13 -13
- package/dist/chunks/{shell-31ygehh2.js → app-cfzweq70.js} +41 -41
- package/dist/chunks/{shell-n04tf95v.js → app-cg1s5r8d.js} +20 -20
- package/dist/chunks/{shell-df7dtqa0.js → app-cj2pz883.js} +34 -34
- package/dist/chunks/{shell-y75rfnyd.js → app-cjzd33bf.js} +5 -5
- package/dist/chunks/{shell-n8s6eqvs.js → app-cp8zqkwj.js} +9 -9
- package/dist/chunks/{shell-cdet0khb.js → app-d1hpdj9g.js} +17 -17
- package/dist/chunks/app-d4xdtrpt.js +22 -0
- package/dist/chunks/{shell-eh8mvrv6.js → app-d5cz6mdb.js} +18 -18
- package/dist/chunks/{shell-kyd4za44.js → app-dbtksfef.js} +4 -4
- package/dist/chunks/{shell-9gq6sz2t.js → app-dexfpahx.js} +4 -4
- package/dist/chunks/{shell-scvxbhcz.js → app-df0xh4qc.js} +16 -16
- package/dist/chunks/{shell-frqgkxmn.js → app-dggmzrqa.js} +9 -9
- package/dist/chunks/{shell-fy7q1eta.js → app-djq9m59r.js} +51 -51
- package/dist/chunks/{shell-z3xgatyd.js → app-djtdz80w.js} +4 -4
- package/dist/chunks/{shell-3e44t4bb.js → app-dk8wcj9d.js} +24 -24
- package/dist/chunks/{shell-69wmbgv2.js → app-dqj39p43.js} +8 -8
- package/dist/chunks/{shell-5z7dtar2.js → app-dxt7zfy2.js} +6 -6
- package/dist/chunks/{shell-e6r8zxve.js → app-dyr52z27.js} +4 -4
- package/dist/chunks/{shell-zzjwypeh.js → app-e1rfyyrx.js} +6 -6
- package/dist/chunks/{shell-p3a1egma.js → app-e8tqfn4h.js} +6 -6
- package/dist/chunks/{shell-e7gkvq10.js → app-e9s3ep91.js} +42 -42
- package/dist/chunks/{shell-qwx7jfem.js → app-ec9akqb8.js} +11 -11
- package/dist/chunks/{shell-jk2s1369.js → app-egy8hdjc.js} +6 -6
- package/dist/chunks/{shell-x6yvv8z4.js → app-ek9v5jv9.js} +32 -32
- package/dist/chunks/{shell-5e3azpn7.js → app-emw2ra1t.js} +20 -20
- package/dist/chunks/{shell-hs7e9eb3.js → app-en8yrvtc.js} +11 -11
- package/dist/chunks/{shell-n3tzsxk8.js → app-enykx8hh.js} +3 -3
- package/dist/chunks/{shell-k19k1yqd.js → app-ep50a41x.js} +24 -24
- package/dist/chunks/{shell-zfnpc7fv.js → app-eq19x63z.js} +1 -1
- package/dist/chunks/{shell-39ztw17m.js → app-ett0qq7e.js} +22 -22
- package/dist/chunks/{shell-5az6gfje.js → app-f7j6k7qz.js} +289 -289
- package/dist/chunks/{shell-90eb95eh.js → app-favyzkqq.js} +2 -2
- package/dist/chunks/{shell-cqhbx4g8.js → app-fbg8t03t.js} +26 -26
- package/dist/chunks/{shell-ct776dgc.js → app-fc38zh4y.js} +11 -11
- package/dist/chunks/{shell-m39a6r9n.js → app-fc3s98q3.js} +16 -16
- package/dist/chunks/{shell-xvcttetg.js → app-fnptnz5b.js} +10 -10
- package/dist/chunks/{shell-fvanntqq.js → app-fvanntqq.js} +1 -1
- package/dist/chunks/{shell-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-fxypknc8.js → app-fxypknc8.js} +1 -1
- package/dist/chunks/{shell-hrvm11jt.js → app-g2dy4bvs.js} +3 -3
- package/dist/chunks/{shell-d72308c8.js → app-g2gt0w0k.js} +2 -2
- package/dist/chunks/{shell-kz8th6jy.js → app-g77vssk4.js} +3 -3
- package/dist/chunks/{shell-mp9v96eg.js → app-g8me1vrx.js} +15 -15
- package/dist/chunks/{shell-1fgsnpje.js → app-gc2v68jb.js} +5 -5
- package/dist/chunks/{shell-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-g4b2g2ka.js → app-ghnyn06t.js} +11 -11
- package/dist/chunks/{shell-2vj4jxez.js → app-gn9vvy7m.js} +10 -10
- package/dist/chunks/{shell-5424cwtj.js → app-h07v7wa8.js} +12 -12
- package/dist/chunks/{shell-nsppqmbg.js → app-h38qfw5s.js} +20 -20
- package/dist/chunks/{shell-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-at1ds9nv.js → app-h7q657j6.js} +37 -37
- package/dist/chunks/{shell-e9rgf6pe.js → app-hb3r4mne.js} +46 -46
- package/dist/chunks/{shell-rsrdehm7.js → app-he7f0mkx.js} +36 -36
- package/dist/chunks/{shell-heyhwy2w.js → app-heyhwy2w.js} +1 -1
- package/dist/chunks/{shell-jdnwrjf1.js → app-hzxq4bdr.js} +3 -3
- package/dist/chunks/{shell-frv4a811.js → app-j0ppee8q.js} +5 -5
- package/dist/chunks/{shell-enwn0tzc.js → app-j2823k0a.js} +2 -2
- package/dist/chunks/{shell-q71mak0n.js → app-j34s8085.js} +9 -9
- package/dist/chunks/{shell-bdqrk2vk.js → app-j5208yae.js} +4 -4
- package/dist/chunks/{shell-1wgy2qkb.js → app-jb3fmdkt.js} +20 -20
- package/dist/chunks/{shell-xq4tznss.js → app-jeec4msp.js} +20 -20
- package/dist/chunks/{shell-eg42tpd5.js → app-jqbwqfhj.js} +27 -27
- package/dist/chunks/{shell-g37h3sja.js → app-jtw2mhh0.js} +41 -41
- package/dist/chunks/{shell-jwcy2c2z.js → app-jwcy2c2z.js} +1 -1
- package/dist/chunks/{shell-zdhy8zs2.js → app-jxsp05s8.js} +3 -3
- package/dist/chunks/{shell-ysjsy6za.js → app-jz63f3q8.js} +21 -21
- package/dist/chunks/{shell-vqy8gbs1.js → app-jz6g0r88.js} +4 -4
- package/dist/chunks/{shell-bk2c6ybg.js → app-k0nnxhjy.js} +40 -40
- package/dist/chunks/{shell-7drzq840.js → app-k1r2d1at.js} +4 -4
- package/dist/chunks/{shell-k4bwy1x5.js → app-k4bwy1x5.js} +1 -1
- package/dist/chunks/{shell-9mvaddhj.js → app-k8t0xqq8.js} +15 -15
- package/dist/chunks/{shell-kg06axw8.js → app-kg06axw8.js} +1 -1
- package/dist/chunks/{shell-kk3rr3qh.js → app-kk3rr3qh.js} +2 -2
- package/dist/chunks/{shell-kvsjn1dr.js → app-kvsjn1dr.js} +2 -2
- package/dist/chunks/{shell-sz7a9shn.js → app-kx408293.js} +9 -9
- package/dist/chunks/{shell-1jf928x4.js → app-kzr84srk.js} +18 -18
- package/dist/chunks/{shell-k2qp0rt7.js → app-m207hpws.js} +1 -1
- package/dist/chunks/{shell-ww8c32hp.js → app-m3fm0fm8.js} +5 -5
- package/dist/chunks/{shell-wf9a4qst.js → app-m8pdp7md.js} +12 -12
- package/dist/chunks/{shell-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-jc8a71f0.js → app-md85gwrm.js} +11 -11
- package/dist/chunks/{shell-j028xdjb.js → app-mhkvc446.js} +3 -3
- package/dist/chunks/{shell-20gpa56p.js → app-mhv349kx.js} +11 -11
- package/dist/chunks/app-mkqtfevc.js +18 -0
- package/dist/chunks/{shell-vetx83r0.js → app-mmqcn6cn.js} +8 -8
- package/dist/chunks/{shell-2t83wyrz.js → app-n29cgmzy.js} +31 -31
- package/dist/chunks/{shell-fnb87gt3.js → app-n391bmby.js} +8 -8
- package/dist/chunks/{shell-wsfy2223.js → app-n3jkd22a.js} +4 -4
- package/dist/chunks/{shell-vhvxtbfv.js → app-n87mmw2p.js} +20 -20
- package/dist/chunks/{shell-fdrv5wj1.js → app-n91x5rnx.js} +5 -5
- package/dist/chunks/{shell-bw9752qy.js → app-nhrx4yjw.js} +19 -19
- package/dist/chunks/{shell-sbnvhk9g.js → app-nj1fe1jb.js} +4 -4
- package/dist/chunks/{shell-0kkhs0tb.js → app-nm1hd347.js} +14 -14
- package/dist/chunks/{shell-156p63ka.js → app-nn3t8h8p.js} +14 -14
- package/dist/chunks/{shell-paj2ftem.js → app-nn8gjz4a.js} +15 -15
- package/dist/chunks/{shell-hk9ng4w9.js → app-nrz5c8c1.js} +9 -9
- package/dist/chunks/{shell-jcd025mq.js → app-nszsghhy.js} +21 -21
- package/dist/chunks/{shell-p325kmej.js → app-p325kmej.js} +2 -2
- package/dist/chunks/{shell-trx91xdz.js → app-p7ygs7f5.js} +20 -20
- package/dist/chunks/{shell-gvkmngex.js → app-p839zhc6.js} +5 -5
- package/dist/chunks/{shell-4c5k13je.js → app-pbxt2nhv.js} +1 -1
- package/dist/chunks/{shell-n6mjs8gv.js → app-ph8fh0n1.js} +7 -7
- package/dist/chunks/{shell-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{shell-wgz7hchk.js → app-pkxfpd18.js} +6 -6
- package/dist/chunks/{shell-14s8ve6g.js → app-pq15x4g3.js} +1 -1
- package/dist/chunks/{shell-c6qfwypk.js → app-prc33r7y.js} +10 -10
- package/dist/chunks/{shell-abvdbqvv.js → app-pwxeq6k8.js} +3 -3
- package/dist/chunks/{shell-b9j1334g.js → app-pxh1w4gq.js} +10 -10
- package/dist/chunks/{shell-r2aqpy44.js → app-q00nexrm.js} +19 -19
- package/dist/chunks/{shell-ckfka8c9.js → app-q8x51wfp.js} +11 -11
- package/dist/chunks/{shell-pcx5yqze.js → app-qad2rhws.js} +63 -63
- package/dist/chunks/{shell-6pqc1wcj.js → app-qffh45tv.js} +15 -15
- package/dist/chunks/{shell-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-9qm9egsn.js → app-qvbcabdc.js} +2 -2
- package/dist/chunks/{shell-r8dhm0tv.js → app-r8dhm0tv.js} +1 -1
- package/dist/chunks/{shell-vncycja5.js → app-r98e92ep.js} +4 -4
- package/dist/chunks/{shell-fm2qvscf.js → app-ratrq7cm.js} +4 -4
- package/dist/chunks/{shell-tcrw0mk6.js → app-rehtxfbe.js} +1 -1
- package/dist/chunks/{shell-7paan8yh.js → app-rx10k930.js} +16 -16
- package/dist/chunks/{shell-6abnk40k.js → app-saak5ttd.js} +6 -6
- package/dist/chunks/{shell-sba4qhjf.js → app-sba4qhjf.js} +1 -1
- package/dist/chunks/{shell-c1sjkzjg.js → app-scr2tyqd.js} +13 -13
- package/dist/chunks/{shell-2bzqvgn8.js → app-sq5dxjr9.js} +85 -85
- package/dist/chunks/{shell-kvrh1aj8.js → app-t368439m.js} +10 -10
- package/dist/chunks/{shell-ye1hsen9.js → app-t40jpwh8.js} +8 -8
- package/dist/chunks/{shell-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-bphmvjfp.js → app-thfv75je.js} +5 -5
- package/dist/chunks/{shell-tjykrgmx.js → app-tjykrgmx.js} +1 -1
- package/dist/chunks/{shell-af4svgqg.js → app-tp6caa3d.js} +11 -11
- package/dist/chunks/{shell-vwvvp157.js → app-tppvcy65.js} +9 -9
- package/dist/chunks/{shell-0cm3syf1.js → app-twthcc5a.js} +12 -12
- package/dist/chunks/{shell-c5khapka.js → app-v4py6dym.js} +13 -13
- package/dist/chunks/{shell-p1gfy0ra.js → app-ve8mtpc7.js} +35 -35
- package/dist/chunks/{shell-g52wq5zw.js → app-vfmrq4xs.js} +4 -4
- package/dist/chunks/app-vra3567w.js +20 -0
- package/dist/chunks/{shell-v1sap15r.js → app-vwg59y3r.js} +9 -9
- package/dist/chunks/{shell-3xj9tye7.js → app-vxneg69e.js} +11 -11
- package/dist/chunks/{shell-2g7fb4sy.js → app-w1n2vv9p.js} +6 -6
- package/dist/chunks/{shell-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{shell-95rn6zea.js → app-wdw6j3rs.js} +79 -79
- package/dist/chunks/{shell-3m3401bg.js → app-wgayrvb3.js} +32 -32
- package/dist/chunks/{shell-5bfzd4v8.js → app-wm2410he.js} +9 -9
- package/dist/chunks/{shell-kyx4rev9.js → app-wv3apwzp.js} +29 -29
- package/dist/chunks/{shell-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-d6q9r95s.js → app-xmt2104j.js} +6 -6
- package/dist/chunks/{shell-zkcybhg5.js → app-xnzvg5qh.js} +43 -43
- package/dist/chunks/{shell-eyg363nj.js → app-xx9fdkq9.js} +20 -20
- package/dist/chunks/{shell-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-4m1vt040.js → app-y1rpdcqt.js} +26 -26
- package/dist/chunks/{shell-wrj6s030.js → app-y3rr0h4x.js} +30 -30
- package/dist/chunks/{shell-ajtjthsy.js → app-yg7sb877.js} +2 -2
- package/dist/chunks/{shell-z1k01bn4.js → app-z1k01bn4.js} +2 -2
- package/dist/chunks/{shell-4fcph0hq.js → app-z6keg9zw.js} +11 -11
- package/dist/chunks/{shell-8xx29per.js → app-zf7b75hh.js} +23 -23
- package/dist/chunks/{shell-hc4b3kyg.js → app-zfdtt056.js} +6 -6
- package/dist/chunks/{shell-6143np6g.js → app-ztbtsr59.js} +9 -9
- package/dist/chunks/{shell-sykc9y4a.js → app-zw4pk1bw.js} +5 -5
- package/dist/chunks/app-zx6w5c8x.js +243 -0
- package/dist/chunks/{shell-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- 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 +3 -3
- 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 +7 -7
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +77 -77
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +344 -344
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- 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 +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +210 -210
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +2 -2
- 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 +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +1 -1
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- 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 +4 -4
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- 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 +91 -91
- 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 +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +81 -81
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +7 -7
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +86 -86
- 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 +115 -115
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- 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 +1 -1
- 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 +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- 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 +7 -7
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +7 -7
- package/dist/chunks/shell-7zk4hah4.js +0 -4
- package/dist/chunks/shell-d1bm3mqt.js +0 -20
- package/dist/chunks/shell-jqh9b0xq.js +0 -18
- package/dist/chunks/shell-vzdd7ej8.js +0 -243
- package/dist/chunks/shell-yv6aypar.js +0 -22
- /package/dist/chunks/{shell-0fabt78z.js → app-0fabt78z.js} +0 -0
- /package/dist/chunks/{shell-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t738kvx.js → app-3t738kvx.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-41nvscxy.js → app-41nvscxy.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-982e01ww.js → app-982e01ww.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a1tpkmh4.js → app-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mntxs535.js → app-mntxs535.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p8qxwesx.js → app-p8qxwesx.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-se0s1eqw.js → app-se0s1eqw.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x1b8g1yb.js → app-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → app-z9919s4g.js} +0 -0
- /package/dist/chunks/{shell-zbjnn3ac.js → app-zbjnn3ac.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-zfdtt056.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service71,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node74
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID14,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service71 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service71, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service71.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node74 = makeLocationNode({ service: Service71, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service71, locationLayer2, node74, exports_aisdk };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make9(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make9 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured10,
|
|
11
|
+
layer: () => layer25,
|
|
12
|
+
make: () => make19,
|
|
13
|
+
node: () => node73,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make19()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make19(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer25 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer25(input), deps: [] });
|
|
33
|
+
var node73 = configured10();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer25, configured10, node73, exports_app };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service2 = {};
|
|
7
|
+
__export(exports_service2, {
|
|
8
|
+
Plugin: () => exports_service2,
|
|
9
|
+
Service: () => Service31,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service31 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service31.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service31, awaitActivation2, exports_service2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-saak5ttd.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin24,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin24 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin32 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint5);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint5, Plugin24, exports_exa };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./app-0e2t5d9f.js";
|
|
7
7
|
import {
|
|
8
8
|
externalDirectoryPermission2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service54
|
|
10
|
+
} from "./app-3c09ha2d.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service46
|
|
13
|
+
} from "./app-djq9m59r.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service7
|
|
16
|
+
} from "./app-q00nexrm.js";
|
|
17
17
|
import {
|
|
18
18
|
NotFound2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-2a5m3afh.js";
|
|
20
20
|
import {
|
|
21
21
|
MEDIA_MIMES2,
|
|
22
22
|
BinaryFileError2,
|
|
@@ -27,26 +27,26 @@ import {
|
|
|
27
27
|
FileContent2,
|
|
28
28
|
TextPage2,
|
|
29
29
|
ListPage2,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service6
|
|
31
|
+
} from "./app-k8t0xqq8.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./app-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/read.ts
|
|
37
37
|
var exports_read = {};
|
|
38
38
|
__export(exports_read, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Plugin: () => Plugin3,
|
|
41
41
|
ReadTool: () => exports_read,
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { basename, dirname, join } from "path";
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
49
|
-
var
|
|
49
|
+
var name3 = "read";
|
|
50
50
|
var FILENAME = "AGENTS.md";
|
|
51
51
|
var LocationInput = Schema.Struct({
|
|
52
52
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
|
|
|
57
57
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
58
58
|
})
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input3 = LocationInput;
|
|
61
61
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
62
|
-
var
|
|
62
|
+
var Plugin3 = {
|
|
63
63
|
id: "opencode.tool.read",
|
|
64
64
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
65
|
-
const reader = yield*
|
|
66
|
-
const mutation = yield*
|
|
67
|
-
const permission = yield*
|
|
68
|
-
const sessionInstructions = yield*
|
|
65
|
+
const reader = yield* Service6;
|
|
66
|
+
const mutation = yield* Service54;
|
|
67
|
+
const permission = yield* Service46;
|
|
68
|
+
const sessionInstructions = yield* Service7;
|
|
69
69
|
const fs = yield* FSUtil.Service;
|
|
70
|
-
const location = yield*
|
|
70
|
+
const location = yield* Service76;
|
|
71
71
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
72
|
-
name:
|
|
72
|
+
name: name3,
|
|
73
73
|
options: { codemode: false },
|
|
74
74
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
75
|
-
input:
|
|
75
|
+
input: Input3,
|
|
76
76
|
output: Output,
|
|
77
77
|
execute: (input, context) => {
|
|
78
78
|
return Effect.gen(function* () {
|
|
@@ -90,7 +90,7 @@ var Plugin24 = {
|
|
|
90
90
|
source
|
|
91
91
|
});
|
|
92
92
|
yield* permission.assert({
|
|
93
|
-
action:
|
|
93
|
+
action: name3,
|
|
94
94
|
resources: [target.resource],
|
|
95
95
|
save: ["*"],
|
|
96
96
|
sessionID: context.sessionID,
|
|
@@ -141,7 +141,7 @@ var Plugin24 = {
|
|
|
141
141
|
return { output: result.content, path: result.path };
|
|
142
142
|
}).pipe(Effect.map((result) => ({
|
|
143
143
|
output: result.output,
|
|
144
|
-
content:
|
|
144
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
145
145
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
146
146
|
})), Effect.mapError((error) => {
|
|
147
147
|
if (error instanceof ToolFailure)
|
|
@@ -173,7 +173,7 @@ ${suggestions.join(`
|
|
|
173
173
|
});
|
|
174
174
|
})
|
|
175
175
|
};
|
|
176
|
-
var
|
|
176
|
+
var toModelContent3 = (path, offset, output) => {
|
|
177
177
|
if (output.type === "file" && output.encoding === "base64")
|
|
178
178
|
return [
|
|
179
179
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -208,4 +208,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
208
208
|
`);
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { name3, Input3, Plugin3, toModelContent3, exports_read };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
15
|
Service: () => Service70,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
@@ -21,7 +21,7 @@ __export(exports_select, {
|
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node72,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,7 +43,7 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
@@ -208,6 +208,6 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
208
208
|
function configured9(options) {
|
|
209
209
|
return makeLocationNode({ service: Service70, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node72 = configured9();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options10, Service70, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured9, node72, exports_select };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service27,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service27 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service27, exports_runner };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-dyr52z27.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./app-0e2t5d9f.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info7,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service40,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node42
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2 } from "@opencode-ai/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode-ai/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service40 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service40.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node42 = makeLocationNode({
|
|
165
|
+
service: Service40,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node80, node83]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, Service40, node42, exports_vcs };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-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
12
|
Service: () => Service5,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode-ai/util/npm";
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export { Service5,
|
|
54
|
+
export { Service5, node7, exports_update };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-dyr52z27.js";
|
|
5
5
|
import {
|
|
6
6
|
llmClient2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-0e0xafbb.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionEvent2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-mntxs535.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-kg06axw8.js";
|
|
14
14
|
import {
|
|
15
15
|
toLLMMessages2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-zbjnn3ac.js";
|
|
17
17
|
import {
|
|
18
18
|
baseTranscript2,
|
|
19
19
|
unsupportedParts2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-wv3apwzp.js";
|
|
21
21
|
import {
|
|
22
22
|
isRetryable2,
|
|
23
23
|
policy2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-thfv75je.js";
|
|
25
25
|
import {
|
|
26
26
|
toSessionError2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-k1r2d1at.js";
|
|
28
28
|
import {
|
|
29
29
|
estimate2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-h6vf3j39.js";
|
|
31
31
|
import {
|
|
32
32
|
record2,
|
|
33
33
|
add2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./app-tjykrgmx.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./app-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/compaction.ts
|
|
40
40
|
var exports_compaction2 = {};
|
|
41
41
|
__export(exports_compaction2, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service9,
|
|
43
43
|
SessionCompaction: () => exports_compaction2,
|
|
44
44
|
buildPrompt: () => buildPrompt2,
|
|
45
45
|
estimateTokens: () => estimateTokens2,
|
|
46
46
|
layer: () => layer6,
|
|
47
|
-
node: () =>
|
|
47
|
+
node: () => node11,
|
|
48
48
|
serializeToolContent: () => serializeToolContent2,
|
|
49
49
|
truncateToolOutput: () => truncateToolOutput2
|
|
50
50
|
});
|
|
@@ -108,7 +108,7 @@ var SUMMARY_RULES = `Rules:
|
|
|
108
108
|
var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
109
109
|
`).filter((line) => line.startsWith("##"));
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
112
112
|
}
|
|
113
113
|
var estimateTokens2 = (input) => {
|
|
114
114
|
const index = input.messages.findLastIndex((message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0);
|
|
@@ -262,7 +262,7 @@ var buildPrompt2 = (update) => {
|
|
|
262
262
|
};
|
|
263
263
|
var hasSummarySection = (summary) => summary.split(`
|
|
264
264
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
265
|
-
var layer6 = Layer.effect(
|
|
265
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
266
266
|
const bus = yield* Service79;
|
|
267
267
|
const llm = yield* LLMClient.Service;
|
|
268
268
|
const state = create3({
|
|
@@ -479,7 +479,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
479
479
|
})
|
|
480
480
|
}));
|
|
481
481
|
});
|
|
482
|
-
return
|
|
482
|
+
return Service9.of({
|
|
483
483
|
transform: state.transform,
|
|
484
484
|
reload: state.reload,
|
|
485
485
|
enabled: () => state.get().auto,
|
|
@@ -488,10 +488,10 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
488
488
|
compactManual
|
|
489
489
|
});
|
|
490
490
|
}));
|
|
491
|
-
var
|
|
492
|
-
service:
|
|
491
|
+
var node11 = makeLocationNode({
|
|
492
|
+
service: Service9,
|
|
493
493
|
layer: layer6,
|
|
494
494
|
deps: [node83, llmClient2]
|
|
495
495
|
});
|
|
496
496
|
|
|
497
|
-
export {
|
|
497
|
+
export { Service9, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node11, exports_compaction2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
7
7
|
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info22,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule3
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info22 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule3,
|
|
41
|
+
export { Action2, Object2, Rule3, Info22, exports_permission2 };
|