@opencode-ai/core 0.0.0-dev-19102 → 0.0.0-dev-19107
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 +75 -75
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{persistent-pty-yawraddd.js → shell-0cm3syf1.js} +14 -14
- package/dist/chunks/{persistent-pty-0e0xafbb.js → shell-0e0xafbb.js} +2 -2
- package/dist/chunks/{persistent-pty-8g20mv6s.js → shell-0kkhs0tb.js} +18 -18
- package/dist/chunks/{persistent-pty-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0s9ayhjt.js → shell-0s9ayhjt.js} +1 -1
- package/dist/chunks/{persistent-pty-jnhf5mef.js → shell-14s8ve6g.js} +1 -1
- package/dist/chunks/{persistent-pty-1s4k183h.js → shell-156p63ka.js} +17 -17
- package/dist/chunks/{persistent-pty-k50eqkg3.js → shell-1bnjqxwj.js} +13 -13
- package/dist/chunks/{persistent-pty-1ct4r87x.js → shell-1ct4r87x.js} +1 -1
- package/dist/chunks/{persistent-pty-gqdgqbeh.js → shell-1fgsnpje.js} +10 -10
- package/dist/chunks/{persistent-pty-gjswkc62.js → shell-1j5kcfzp.js} +32 -32
- package/dist/chunks/{persistent-pty-8hxn7kz0.js → shell-1jf928x4.js} +17 -17
- package/dist/chunks/{persistent-pty-kbyz2dkt.js → shell-1q9v9ha2.js} +9 -9
- package/dist/chunks/{persistent-pty-5tfcvdvj.js → shell-1sfe7ky6.js} +5 -5
- package/dist/chunks/{persistent-pty-zhhz7vvj.js → shell-1wgy2qkb.js} +22 -22
- package/dist/chunks/{persistent-pty-twy2b4zd.js → shell-20gpa56p.js} +11 -11
- package/dist/chunks/{persistent-pty-738s90ft.js → shell-20rf0y56.js} +7 -7
- package/dist/chunks/{persistent-pty-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2402vzrj.js → shell-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-97f5v037.js → shell-28pcbh69.js} +4 -4
- package/dist/chunks/{persistent-pty-29x78va6.js → shell-29x78va6.js} +2 -2
- package/dist/chunks/{persistent-pty-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-ts7bph5s.js → shell-2bzqvgn8.js} +89 -89
- package/dist/chunks/{persistent-pty-c4ka2x60.js → shell-2dnwhkbg.js} +35 -35
- package/dist/chunks/{persistent-pty-2rjhfz2z.js → shell-2g7fb4sy.js} +6 -6
- package/dist/chunks/{persistent-pty-2ht70gj7.js → shell-2ht70gj7.js} +1 -1
- package/dist/chunks/{persistent-pty-2jqmte8w.js → shell-2jqmte8w.js} +2 -2
- package/dist/chunks/{persistent-pty-za3gge5n.js → shell-2t83wyrz.js} +31 -31
- package/dist/chunks/{persistent-pty-sgh09qtt.js → shell-2vcth3xs.js} +27 -27
- package/dist/chunks/{persistent-pty-nzf6eghd.js → shell-2vj4jxez.js} +10 -10
- package/dist/chunks/{persistent-pty-2b6y700x.js → shell-31ygehh2.js} +39 -39
- package/dist/chunks/{persistent-pty-36mzbjn4.js → shell-36mzbjn4.js} +1 -1
- package/dist/chunks/{persistent-pty-craj34q5.js → shell-39ztw17m.js} +23 -23
- package/dist/chunks/{persistent-pty-w6z2g4f7.js → shell-3e44t4bb.js} +26 -26
- package/dist/chunks/{persistent-pty-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-stfay7w2.js → shell-3h5s5ba4.js} +57 -57
- package/dist/chunks/{persistent-pty-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-2ghkytyg.js → shell-3m3401bg.js} +36 -36
- package/dist/chunks/{persistent-pty-3qzbfqsy.js → shell-3qzbfqsy.js} +2 -2
- package/dist/chunks/{persistent-pty-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-we5ggtsr.js → shell-3xj9tye7.js} +11 -11
- package/dist/chunks/{persistent-pty-kbg5ppnb.js → shell-408ksyxd.js} +13 -13
- package/dist/chunks/{persistent-pty-454k5vzh.js → shell-454k5vzh.js} +1 -1
- package/dist/chunks/{persistent-pty-ameg2vx3.js → shell-4c5k13je.js} +1 -1
- package/dist/chunks/{persistent-pty-bn8089at.js → shell-4fcph0hq.js} +11 -11
- package/dist/chunks/{persistent-pty-x15v48ws.js → shell-4gg3r4gf.js} +15 -15
- package/dist/chunks/{persistent-pty-h8q6a69m.js → shell-4m1vt040.js} +26 -26
- package/dist/chunks/{persistent-pty-4r2nyarf.js → shell-4r2nyarf.js} +1 -1
- package/dist/chunks/{persistent-pty-rb1agnwm.js → shell-5424cwtj.js} +12 -12
- package/dist/chunks/shell-5az6gfje.js +450 -0
- package/dist/chunks/{persistent-pty-ftr4qpk4.js → shell-5bfzd4v8.js} +9 -9
- package/dist/chunks/{persistent-pty-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-2tn9agq3.js → shell-5e3azpn7.js} +28 -28
- package/dist/chunks/{persistent-pty-5fmxt4p5.js → shell-5fmxt4p5.js} +1 -1
- package/dist/chunks/{persistent-pty-5jvc5tg2.js → shell-5jvc5tg2.js} +1 -1
- package/dist/chunks/{persistent-pty-ez5b8bq3.js → shell-5sg4xzjf.js} +7 -7
- package/dist/chunks/{persistent-pty-3rtc4tqa.js → shell-5z7dtar2.js} +6 -6
- package/dist/chunks/{persistent-pty-fjkyzcze.js → shell-6143np6g.js} +11 -11
- package/dist/chunks/{persistent-pty-7dz4r7mk.js → shell-69wmbgv2.js} +8 -8
- package/dist/chunks/{persistent-pty-6z5bwd8g.js → shell-6abnk40k.js} +9 -9
- package/dist/chunks/{persistent-pty-s8g36k60.js → shell-6k404gxp.js} +4 -4
- package/dist/chunks/{persistent-pty-pae9v2p1.js → shell-6mh2j33h.js} +8 -8
- package/dist/chunks/{persistent-pty-6kgy03tf.js → shell-6pqc1wcj.js} +15 -15
- package/dist/chunks/{persistent-pty-6tf8tr4v.js → shell-6tf8tr4v.js} +2 -2
- package/dist/chunks/{persistent-pty-03xjq0tm.js → shell-6ygcz7av.js} +16 -16
- package/dist/chunks/{persistent-pty-x2rt1cxd.js → shell-6ym5me7r.js} +5 -5
- package/dist/chunks/{persistent-pty-711hfp6y.js → shell-711hfp6y.js} +2 -2
- package/dist/chunks/{persistent-pty-2pr8vdab.js → shell-72s3cfct.js} +43 -43
- package/dist/chunks/{persistent-pty-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-ta4jwntf.js → shell-7drzq840.js} +4 -4
- package/dist/chunks/{persistent-pty-1f1wzhgc.js → shell-7grmgsg7.js} +4 -4
- package/dist/chunks/{persistent-pty-7x0f5kvq.js → shell-7gv5bdgm.js} +11 -11
- package/dist/chunks/{persistent-pty-0d5mggnk.js → shell-7namgvh9.js} +25 -25
- package/dist/chunks/{persistent-pty-xw378f4n.js → shell-7paan8yh.js} +28 -28
- package/dist/chunks/shell-7zk4hah4.js +4 -0
- package/dist/chunks/{persistent-pty-w5g2dnw1.js → shell-8a5sy8gj.js} +39 -39
- package/dist/chunks/{persistent-pty-6svye9h2.js → shell-8debsjz4.js} +9 -9
- package/dist/chunks/{persistent-pty-zcc5h559.js → shell-8n28b114.js} +24 -24
- package/dist/chunks/{persistent-pty-b6xfkz6v.js → shell-8xx29per.js} +28 -28
- package/dist/chunks/{persistent-pty-0w19ktq4.js → shell-90eb95eh.js} +2 -2
- package/dist/chunks/{persistent-pty-y2cqme3r.js → shell-93a8yfjt.js} +5 -5
- package/dist/chunks/{persistent-pty-rmpjenwd.js → shell-95pr9fpn.js} +11 -11
- package/dist/chunks/{persistent-pty-f02rj1me.js → shell-95rn6zea.js} +79 -79
- package/dist/chunks/{persistent-pty-1tag838h.js → shell-9f008s18.js} +27 -27
- package/dist/chunks/{persistent-pty-63kze1d3.js → shell-9gq6sz2t.js} +4 -4
- package/dist/chunks/{persistent-pty-a80d3v2r.js → shell-9mvaddhj.js} +17 -17
- package/dist/chunks/{persistent-pty-9qm9egsn.js → shell-9qm9egsn.js} +2 -2
- package/dist/chunks/{persistent-pty-xspyb9m3.js → shell-9vcfn3x3.js} +8 -8
- package/dist/chunks/{persistent-pty-qg20g60x.js → shell-a38h5jqv.js} +20 -20
- package/dist/chunks/{persistent-pty-j90p7j59.js → shell-a68y78dg.js} +4 -4
- package/dist/chunks/{persistent-pty-c5g21jc3.js → shell-aa68tp4y.js} +9 -9
- package/dist/chunks/{persistent-pty-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-kpyq2w0f.js → shell-abvdbqvv.js} +3 -3
- package/dist/chunks/{persistent-pty-s1zas8dv.js → shell-af4svgqg.js} +8 -8
- package/dist/chunks/{persistent-pty-c47xcf4v.js → shell-afp9cpv0.js} +16 -16
- package/dist/chunks/{persistent-pty-ajtjthsy.js → shell-ajtjthsy.js} +2 -2
- package/dist/chunks/{persistent-pty-mbapk581.js → shell-at1ds9nv.js} +40 -40
- package/dist/chunks/{persistent-pty-70203jtn.js → shell-ayhxp9k6.js} +29 -29
- package/dist/chunks/{persistent-pty-xa3k010d.js → shell-b5xnx7k5.js} +36 -36
- package/dist/chunks/{persistent-pty-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-n50399pa.js → shell-b9j1334g.js} +7 -7
- package/dist/chunks/{persistent-pty-b9wsbatv.js → shell-b9wsbatv.js} +1 -1
- package/dist/chunks/{persistent-pty-nca7p386.js → shell-bdqrk2vk.js} +4 -4
- package/dist/chunks/{persistent-pty-vwnnwet6.js → shell-bk2c6ybg.js} +50 -50
- package/dist/chunks/{persistent-pty-thfv75je.js → shell-bphmvjfp.js} +5 -5
- package/dist/chunks/{persistent-pty-me6p58dn.js → shell-bw9752qy.js} +25 -25
- package/dist/chunks/{persistent-pty-qmkhq1hj.js → shell-c1sjkzjg.js} +13 -13
- package/dist/chunks/{persistent-pty-88fw41mx.js → shell-c5khapka.js} +16 -16
- package/dist/chunks/{persistent-pty-gkdfetxb.js → shell-c6qfwypk.js} +10 -10
- package/dist/chunks/{persistent-pty-f4ywn050.js → shell-cdet0khb.js} +17 -17
- package/dist/chunks/{persistent-pty-3j6zyyvs.js → shell-cdxs8vt7.js} +25 -25
- package/dist/chunks/{persistent-pty-gev0qjxp.js → shell-ckfka8c9.js} +12 -12
- package/dist/chunks/{persistent-pty-0g7k506p.js → shell-cpfp6xqs.js} +10 -10
- package/dist/chunks/{persistent-pty-bqgp69re.js → shell-cppazjgb.js} +15 -15
- package/dist/chunks/{persistent-pty-06b9fxmy.js → shell-cqhbx4g8.js} +27 -27
- package/dist/chunks/{persistent-pty-s3kg5m6x.js → shell-cqqf9w6n.js} +14 -14
- package/dist/chunks/{persistent-pty-rpksmvzr.js → shell-ct776dgc.js} +11 -11
- package/dist/chunks/{persistent-pty-1r9xt4cr.js → shell-d0g1dj0w.js} +32 -32
- package/dist/chunks/shell-d1bm3mqt.js +20 -0
- package/dist/chunks/{persistent-pty-s6qgbjky.js → shell-d6q9r95s.js} +6 -6
- package/dist/chunks/{persistent-pty-d72308c8.js → shell-d72308c8.js} +2 -2
- package/dist/chunks/{persistent-pty-yzp432d8.js → shell-df7dtqa0.js} +38 -38
- package/dist/chunks/{persistent-pty-68qdqky7.js → shell-dzmbxvmy.js} +15 -15
- package/dist/chunks/{persistent-pty-smgpfta5.js → shell-e6r8zxve.js} +12 -12
- package/dist/chunks/{persistent-pty-vrxbpmbb.js → shell-e7gkvq10.js} +46 -46
- package/dist/chunks/{persistent-pty-skfe9q3s.js → shell-e9rgf6pe.js} +46 -46
- package/dist/chunks/{persistent-pty-xmtn9a9r.js → shell-eg42tpd5.js} +27 -27
- package/dist/chunks/{persistent-pty-eyrpjw8c.js → shell-eh8mvrv6.js} +23 -23
- package/dist/chunks/{persistent-pty-gpkgrk3z.js → shell-enwn0tzc.js} +2 -2
- package/dist/chunks/{persistent-pty-m7khsb1d.js → shell-eqwbrmm3.js} +20 -20
- package/dist/chunks/{persistent-pty-30janqm6.js → shell-esapbxtc.js} +22 -22
- package/dist/chunks/{persistent-pty-54bnqtv9.js → shell-eyg363nj.js} +18 -18
- package/dist/chunks/{persistent-pty-yxzxwnyx.js → shell-fdrv5wj1.js} +9 -9
- package/dist/chunks/{persistent-pty-1g7epwpd.js → shell-fm2qvscf.js} +7 -7
- package/dist/chunks/{persistent-pty-d8brfqjj.js → shell-fnb87gt3.js} +15 -15
- package/dist/chunks/{persistent-pty-628cc3h3.js → shell-fp066vz3.js} +16 -16
- package/dist/chunks/{persistent-pty-yvyswnaa.js → shell-frqgkxmn.js} +9 -9
- package/dist/chunks/{persistent-pty-10pzdvzd.js → shell-frv4a811.js} +7 -7
- package/dist/chunks/{persistent-pty-5mdrv3hm.js → shell-fvanntqq.js} +6 -6
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-fxypknc8.js → shell-fxypknc8.js} +1 -1
- package/dist/chunks/{persistent-pty-af5cxv86.js → shell-fy7q1eta.js} +47 -47
- package/dist/chunks/{persistent-pty-twtpgget.js → shell-g2qnqccr.js} +7 -7
- package/dist/chunks/{persistent-pty-73tf0mnp.js → shell-g37h3sja.js} +42 -42
- package/dist/chunks/{persistent-pty-n8bbtjn9.js → shell-g4b2g2ka.js} +11 -11
- package/dist/chunks/{persistent-pty-vng46sf0.js → shell-g52wq5zw.js} +4 -4
- package/dist/chunks/{persistent-pty-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-qp6zthdp.js → shell-gdv0z722.js} +19 -19
- package/dist/chunks/{persistent-pty-8jkpz5pq.js → shell-gh8ys4e0.js} +6 -6
- package/dist/chunks/{persistent-pty-a62e05n8.js → shell-gvkmngex.js} +5 -5
- package/dist/chunks/{persistent-pty-nrse418z.js → shell-h2jjxfqc.js} +18 -18
- package/dist/chunks/{persistent-pty-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-g2c9bhkq.js → shell-hc4b3kyg.js} +6 -6
- package/dist/chunks/{persistent-pty-heyhwy2w.js → shell-heyhwy2w.js} +1 -1
- package/dist/chunks/{persistent-pty-yzd93mfj.js → shell-hjrjbgez.js} +5 -5
- package/dist/chunks/{persistent-pty-d7zznenn.js → shell-hk9ng4w9.js} +9 -9
- package/dist/chunks/{persistent-pty-hrvm11jt.js → shell-hrvm11jt.js} +3 -3
- package/dist/chunks/{persistent-pty-y89bt055.js → shell-hs7e9eb3.js} +11 -11
- package/dist/chunks/{persistent-pty-010ymet8.js → shell-j016kj46.js} +4 -4
- package/dist/chunks/{persistent-pty-eq1pz5kg.js → shell-j028xdjb.js} +3 -3
- package/dist/chunks/{persistent-pty-97058x90.js → shell-j5jk7a00.js} +3 -3
- package/dist/chunks/{persistent-pty-scarvxmk.js → shell-jc8a71f0.js} +11 -11
- package/dist/chunks/{persistent-pty-w40bmgb5.js → shell-jcd025mq.js} +27 -27
- package/dist/chunks/{persistent-pty-ckev9kd7.js → shell-jdnwrjf1.js} +3 -3
- package/dist/chunks/{persistent-pty-tckacx9z.js → shell-jhk1bjct.js} +26 -26
- package/dist/chunks/{persistent-pty-fgj7dkc9.js → shell-jk2s1369.js} +6 -6
- package/dist/chunks/shell-jqh9b0xq.js +18 -0
- package/dist/chunks/{persistent-pty-jwcy2c2z.js → shell-jwcy2c2z.js} +1 -1
- package/dist/chunks/{persistent-pty-ss7602g3.js → shell-k19k1yqd.js} +16 -16
- package/dist/chunks/{persistent-pty-g1v92phv.js → shell-k2qp0rt7.js} +1 -1
- package/dist/chunks/{persistent-pty-k4bwy1x5.js → shell-k4bwy1x5.js} +1 -1
- package/dist/chunks/{persistent-pty-kg06axw8.js → shell-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-yfbd16n1.js → shell-kk3rr3qh.js} +5 -5
- package/dist/chunks/{persistent-pty-0v9kxdr7.js → shell-kv8syyjy.js} +17 -17
- package/dist/chunks/{persistent-pty-acdzekmc.js → shell-kvrh1aj8.js} +15 -15
- package/dist/chunks/{persistent-pty-kvsjn1dr.js → shell-kvsjn1dr.js} +2 -2
- package/dist/chunks/{persistent-pty-369x3t65.js → shell-kyd4za44.js} +4 -4
- package/dist/chunks/{persistent-pty-97tyj6c6.js → shell-kyx4rev9.js} +29 -29
- package/dist/chunks/{persistent-pty-1nk2mnc0.js → shell-kz8th6jy.js} +3 -3
- package/dist/chunks/{persistent-pty-tgpxmjaj.js → shell-m39a6r9n.js} +21 -21
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-qqbjvkxt.js → shell-mgnx1j9f.js} +47 -47
- package/dist/chunks/{persistent-pty-czrfnqv4.js → shell-mp9v96eg.js} +17 -17
- package/dist/chunks/{persistent-pty-x92yqmyb.js → shell-mv4q59re.js} +31 -31
- package/dist/chunks/{persistent-pty-bpyfw359.js → shell-my67wh8n.js} +8 -8
- package/dist/chunks/{persistent-pty-r60qd0ca.js → shell-n04tf95v.js} +22 -22
- package/dist/chunks/{persistent-pty-zja0h37x.js → shell-n3tzsxk8.js} +3 -3
- package/dist/chunks/{persistent-pty-t7dkb9mz.js → shell-n6mjs8gv.js} +7 -7
- package/dist/chunks/{persistent-pty-fa2er9zw.js → shell-n8s6eqvs.js} +9 -9
- package/dist/chunks/{persistent-pty-d030bd0f.js → shell-nmh0bsy2.js} +11 -11
- package/dist/chunks/{persistent-pty-fhzfk9q0.js → shell-nsppqmbg.js} +23 -23
- package/dist/chunks/{persistent-pty-1mdarqb0.js → shell-p1gfy0ra.js} +37 -37
- package/dist/chunks/{persistent-pty-rvn46zq7.js → shell-p325kmej.js} +9 -9
- package/dist/chunks/{persistent-pty-20jvp80s.js → shell-p3a1egma.js} +8 -8
- package/dist/chunks/{persistent-pty-247ymhap.js → shell-p3e4re21.js} +1 -1
- package/dist/chunks/{persistent-pty-gynq7mwy.js → shell-paj2ftem.js} +11 -11
- package/dist/chunks/{persistent-pty-aj6efch7.js → shell-pbm77kt4.js} +12 -12
- package/dist/chunks/{persistent-pty-jn521bbx.js → shell-pcx5yqze.js} +68 -68
- package/dist/chunks/{persistent-pty-rs8bkfty.js → shell-pfxg458r.js} +2 -2
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-bzc17vb9.js → shell-pwya9n2y.js} +3 -3
- package/dist/chunks/{persistent-pty-4xjdkfjs.js → shell-pxcwkz2f.js} +18 -18
- package/dist/chunks/{persistent-pty-4kav5gz3.js → shell-q71mak0n.js} +9 -9
- package/dist/chunks/{persistent-pty-0jwsre1p.js → shell-qgn6gcr1.js} +5 -5
- package/dist/chunks/{persistent-pty-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-fn2zck2h.js → shell-qwx7jfem.js} +11 -11
- package/dist/chunks/{persistent-pty-66b3gex4.js → shell-r2aqpy44.js} +22 -22
- package/dist/chunks/{persistent-pty-r8dhm0tv.js → shell-r8dhm0tv.js} +1 -1
- package/dist/chunks/{persistent-pty-e3vpkeje.js → shell-rjre9n2g.js} +13 -13
- package/dist/chunks/{persistent-pty-7k5q7gm2.js → shell-rqe0j03n.js} +25 -25
- package/dist/chunks/{persistent-pty-6ykkc5x7.js → shell-rsrdehm7.js} +36 -36
- package/dist/chunks/{persistent-pty-c2c0m65v.js → shell-s52y7s20.js} +37 -37
- package/dist/chunks/{persistent-pty-sba4qhjf.js → shell-sba4qhjf.js} +1 -1
- package/dist/chunks/{persistent-pty-h2st8tcp.js → shell-sbnvhk9g.js} +4 -4
- package/dist/chunks/{persistent-pty-cqzeme2b.js → shell-scvxbhcz.js} +16 -16
- package/dist/chunks/{persistent-pty-d3baj57q.js → shell-sf6gbvg9.js} +18 -18
- package/dist/chunks/{persistent-pty-wvx09938.js → shell-sxaj9jh7.js} +12 -12
- package/dist/chunks/{persistent-pty-ykczf8eq.js → shell-sykc9y4a.js} +5 -5
- package/dist/chunks/{persistent-pty-ak38yve4.js → shell-sz7a9shn.js} +9 -9
- package/dist/chunks/{persistent-pty-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-89znhe33.js → shell-tcezcvh9.js} +4 -4
- package/dist/chunks/{persistent-pty-ddbc03cc.js → shell-tcrw0mk6.js} +1 -1
- package/dist/chunks/{persistent-pty-tjykrgmx.js → shell-tjykrgmx.js} +1 -1
- package/dist/chunks/{persistent-pty-3t5jsk6c.js → shell-tpvyqr2s.js} +10 -10
- package/dist/chunks/{persistent-pty-c3e32yye.js → shell-trc7nn16.js} +31 -31
- package/dist/chunks/{persistent-pty-zbqrcwzf.js → shell-trx91xdz.js} +23 -23
- package/dist/chunks/{persistent-pty-ajyamx78.js → shell-v1sap15r.js} +9 -9
- package/dist/chunks/{persistent-pty-w7y9r27g.js → shell-vdpqp5cm.js} +32 -32
- package/dist/chunks/{persistent-pty-ac3j6t8f.js → shell-vetx83r0.js} +8 -8
- package/dist/chunks/{persistent-pty-nt2wbfgf.js → shell-vhvxtbfv.js} +23 -23
- package/dist/chunks/{persistent-pty-an7cqtb7.js → shell-vncycja5.js} +4 -4
- package/dist/chunks/{persistent-pty-1nknpwm3.js → shell-vqy8gbs1.js} +4 -4
- package/dist/chunks/{persistent-pty-a0q04gk3.js → shell-vtq1wfzg.js} +5 -5
- package/dist/chunks/{persistent-pty-ymbwt96j.js → shell-vwvvp157.js} +7 -7
- package/dist/chunks/{persistent-pty-vqxj4jm3.js → shell-vwy6nk1q.js} +24 -24
- package/dist/chunks/shell-vzdd7ej8.js +243 -0
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-xr14zjyh.js → shell-wf9a4qst.js} +14 -14
- package/dist/chunks/{persistent-pty-wctfcgtb.js → shell-wgz7hchk.js} +6 -6
- package/dist/chunks/{persistent-pty-dba19q6g.js → shell-wrj6s030.js} +36 -36
- package/dist/chunks/{persistent-pty-m1ggyr73.js → shell-wsfy2223.js} +4 -4
- package/dist/chunks/{persistent-pty-m3fm0fm8.js → shell-ww8c32hp.js} +5 -5
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-m79fg301.js → shell-x1xxr4z6.js} +18 -18
- package/dist/chunks/{persistent-pty-y6raa7nc.js → shell-x6yvv8z4.js} +35 -35
- package/dist/chunks/{persistent-pty-sy4zz7rh.js → shell-xkzmkx0v.js} +11 -11
- package/dist/chunks/{persistent-pty-serxh5qa.js → shell-xpa15rv0.js} +9 -9
- package/dist/chunks/{persistent-pty-edaf3eyg.js → shell-xq4tznss.js} +20 -20
- package/dist/chunks/{persistent-pty-shbsgx5h.js → shell-xvcttetg.js} +10 -10
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-ne5w19nk.js → shell-y384eh8z.js} +29 -29
- package/dist/chunks/{persistent-pty-sagqnce1.js → shell-y6j92mjt.js} +3 -3
- package/dist/chunks/{persistent-pty-f44dq202.js → shell-y75rfnyd.js} +5 -5
- package/dist/chunks/{persistent-pty-81xmbs00.js → shell-y90mbezs.js} +18 -18
- package/dist/chunks/{persistent-pty-6d0jr2jk.js → shell-yav02wcy.js} +32 -32
- package/dist/chunks/{persistent-pty-a202dayn.js → shell-ycqmrtvj.js} +12 -12
- package/dist/chunks/{persistent-pty-64fqqfmx.js → shell-ye1hsen9.js} +8 -8
- package/dist/chunks/{persistent-pty-msxx7emw.js → shell-yjkt68fp.js} +26 -26
- package/dist/chunks/{persistent-pty-j8xe25ng.js → shell-ysjsy6za.js} +28 -28
- package/dist/chunks/shell-yv6aypar.js +22 -0
- package/dist/chunks/{persistent-pty-mpzahx5f.js → shell-yx0a4n2t.js} +160 -160
- package/dist/chunks/{persistent-pty-z1k01bn4.js → shell-z1k01bn4.js} +2 -2
- package/dist/chunks/{persistent-pty-a3x9xvd8.js → shell-z3xgatyd.js} +4 -4
- package/dist/chunks/{persistent-pty-70nq51cn.js → shell-z7rb1vge.js} +21 -21
- package/dist/chunks/{persistent-pty-8tj73bzm.js → shell-zdhy8zs2.js} +3 -3
- package/dist/chunks/{persistent-pty-cf6j12q4.js → shell-zfbr2h3w.js} +17 -17
- package/dist/chunks/{persistent-pty-82aytm87.js → shell-zfnpc7fv.js} +1 -1
- package/dist/chunks/{persistent-pty-eerwjj66.js → shell-zkcybhg5.js} +46 -46
- package/dist/chunks/{persistent-pty-6h414ywr.js → shell-zmjynawk.js} +5 -5
- package/dist/chunks/{persistent-pty-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-pzjeeacc.js → shell-zzjwypeh.js} +4 -4
- 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 +83 -83
- package/dist/config/discovery.js +79 -79
- 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 +76 -76
- 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 +72 -72
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +344 -344
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +120 -120
- 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 +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- 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 +4 -4
- 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 +114 -114
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- 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 +70 -70
- 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 +5 -5
- package/dist/plugin/update.js +6 -6
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- 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 +217 -217
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- 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 +85 -85
- 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 +84 -84
- 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 +213 -213
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +104 -104
- 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 +117 -117
- package/dist/tool/plugin/edit.js +110 -110
- 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 +102 -102
- 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 +15 -15
- package/dist/types/v1/config/migrate.d.ts +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- 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 +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +7 -7
- package/dist/chunks/persistent-pty-35chk74t.js +0 -4
- package/dist/chunks/persistent-pty-40ke5ycv.js +0 -18
- package/dist/chunks/persistent-pty-by7j3p9d.js +0 -22
- package/dist/chunks/persistent-pty-ch0he8ej.js +0 -450
- package/dist/chunks/persistent-pty-qqytqg20.js +0 -243
- package/dist/chunks/persistent-pty-zy35xm16.js +0 -20
- /package/dist/chunks/{persistent-pty-0fabt78z.js → shell-0fabt78z.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3t738kvx.js → shell-3t738kvx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-41nvscxy.js → shell-41nvscxy.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → shell-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-982e01ww.js → shell-982e01ww.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a1tpkmh4.js → shell-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mntxs535.js → shell-mntxs535.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-p8qxwesx.js → shell-p8qxwesx.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-se0s1eqw.js → shell-se0s1eqw.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x1b8g1yb.js → shell-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → shell-z9919s4g.js} +0 -0
- /package/dist/chunks/{persistent-pty-zbjnn3ac.js → shell-zbjnn3ac.js} +0 -0
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service71
|
|
9
|
+
} from "./shell-afp9cpv0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./shell-vwy6nk1q.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service16
|
|
16
|
+
} from "./shell-0kkhs0tb.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-jcd025mq.js";
|
|
24
24
|
import {
|
|
25
25
|
externalDirectoryPermission2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service58
|
|
27
|
+
} from "./shell-fp066vz3.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service41
|
|
30
|
+
} from "./shell-fy7q1eta.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/grep.ts
|
|
36
36
|
var exports_grep = {};
|
|
37
37
|
__export(exports_grep, {
|
|
38
38
|
GrepTool: () => exports_grep,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
39
|
+
Input: () => Input12,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin29,
|
|
42
|
+
name: () => name12,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
46
46
|
import { Effect, Schema } from "effect";
|
|
47
47
|
import path from "path";
|
|
48
|
-
var
|
|
49
|
-
var
|
|
48
|
+
var name12 = "grep";
|
|
49
|
+
var Input12 = Schema.Struct({
|
|
50
50
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
51
51
|
description: "Regular expression or literal text to match in file contents."
|
|
52
52
|
}),
|
|
@@ -66,8 +66,8 @@ var Input2 = Schema.Struct({
|
|
|
66
66
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
67
67
|
})
|
|
68
68
|
});
|
|
69
|
-
var
|
|
70
|
-
var
|
|
69
|
+
var Output8 = Schema.Array(Match2);
|
|
70
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
71
71
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
72
72
|
let current = "";
|
|
73
73
|
for (const match of matches) {
|
|
@@ -84,20 +84,20 @@ var toModelContent2 = (matches, truncated = false) => {
|
|
|
84
84
|
return lines.join(`
|
|
85
85
|
`);
|
|
86
86
|
};
|
|
87
|
-
var
|
|
87
|
+
var Plugin29 = {
|
|
88
88
|
id: "opencode.tool.grep",
|
|
89
89
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
90
|
-
const environment = yield*
|
|
91
|
-
const ripgrep = yield*
|
|
92
|
-
const location = yield*
|
|
93
|
-
const mutation = yield*
|
|
94
|
-
const permission = yield*
|
|
90
|
+
const environment = yield* Service65;
|
|
91
|
+
const ripgrep = yield* Service16;
|
|
92
|
+
const location = yield* Service71;
|
|
93
|
+
const mutation = yield* Service58;
|
|
94
|
+
const permission = yield* Service41;
|
|
95
95
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
96
|
-
name:
|
|
96
|
+
name: name12,
|
|
97
97
|
options: { codemode: false },
|
|
98
98
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
99
|
-
input:
|
|
100
|
-
output:
|
|
99
|
+
input: Input12,
|
|
100
|
+
output: Output8,
|
|
101
101
|
execute: (input, context) => Effect.gen(function* () {
|
|
102
102
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
103
103
|
const target = yield* mutation.resolve({ path: input.path ?? "." });
|
|
@@ -109,7 +109,7 @@ var Plugin15 = {
|
|
|
109
109
|
source
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name12,
|
|
113
113
|
resources: [input.pattern],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: {
|
|
@@ -143,7 +143,7 @@ var Plugin15 = {
|
|
|
143
143
|
}))
|
|
144
144
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
145
145
|
...match,
|
|
146
|
-
entry:
|
|
146
|
+
entry: Entry2.make({
|
|
147
147
|
...match.entry,
|
|
148
148
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
149
149
|
})
|
|
@@ -151,7 +151,7 @@ var Plugin15 = {
|
|
|
151
151
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
152
152
|
}).pipe(Effect.map((result) => ({
|
|
153
153
|
output: result.matches,
|
|
154
|
-
content:
|
|
154
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
155
155
|
...match,
|
|
156
156
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
157
157
|
})), result.truncated),
|
|
@@ -161,4 +161,4 @@ var Plugin15 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { name12, Input12, Output8, toModelContent6, Plugin29, exports_grep };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-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: () => Info21,
|
|
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 Info21 = 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, Info21, exports_permission2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./shell-v1sap15r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./shell-d1bm3mqt.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-jqh9b0xq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service67
|
|
15
|
+
} from "./shell-69wmbgv2.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-2g7fb4sy.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service40
|
|
23
|
+
} from "./shell-3e44t4bb.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./shell-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service37;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service67;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service40;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service51;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-3e44t4bb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service63
|
|
11
|
+
} from "./shell-zkcybhg5.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin38,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
422
422
|
var ReportContent2 = report_default;
|
|
423
423
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
424
424
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
425
|
-
var
|
|
425
|
+
var Plugin38 = define({
|
|
426
426
|
id: "opencode.skill",
|
|
427
427
|
effect: Effect.fn(function* (ctx) {
|
|
428
428
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
429
429
|
yield* ctx.skill.transform((editor) => {
|
|
430
|
-
editor.add(
|
|
431
|
-
id:
|
|
430
|
+
editor.add(Info7.make({
|
|
431
|
+
id: ID5.make("opencode"),
|
|
432
432
|
name: Name2.make("OpenCode"),
|
|
433
433
|
description: OpencodeDescription2,
|
|
434
434
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
435
435
|
content: OpencodeContent2
|
|
436
436
|
}));
|
|
437
|
-
editor.add(
|
|
438
|
-
id:
|
|
437
|
+
editor.add(Info7.make({
|
|
438
|
+
id: ID5.make("report"),
|
|
439
439
|
name: Name2.make("Report"),
|
|
440
440
|
description: REPORT_DESCRIPTION,
|
|
441
441
|
slash: true,
|
|
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
464
464
|
`);
|
|
465
465
|
});
|
|
466
466
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
467
|
-
const config = yield*
|
|
467
|
+
const config = yield* Service63;
|
|
468
468
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
469
469
|
});
|
|
470
470
|
function terminal() {
|
|
@@ -478,4 +478,4 @@ function shell() {
|
|
|
478
478
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
481
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin38, exports_skill3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./shell-hc4b3kyg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,25 +12,25 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
16
|
-
Info: () =>
|
|
15
|
+
ID: () => ID14,
|
|
16
|
+
Info: () => Info28,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
|
-
Ref: () =>
|
|
19
|
+
Ref: () => Ref3,
|
|
20
20
|
VariantID: () => VariantID2,
|
|
21
21
|
compatibility: () => compatibility2,
|
|
22
22
|
parse: () => parse5
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode-ai/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID14 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
29
29
|
var Compatibility2 = Model.Compatibility;
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var Ref3 = Model.Ref;
|
|
33
|
+
var Info28 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -41,9 +41,9 @@ function compatibility2(input) {
|
|
|
41
41
|
function parse5(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID15.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID14.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info28, compatibility2, parse5, exports_model2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./shell-afp9cpv0.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
DiffError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-vhvxtbfv.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/vcs/git.ts
|
|
19
19
|
var exports_git = {};
|
|
20
20
|
__export(exports_git, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin36,
|
|
22
22
|
VcsGitPlugin: () => exports_git
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
25
25
|
import { Effect } from "effect";
|
|
26
26
|
import { ChildProcess } from "effect/unstable/process";
|
|
27
27
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
28
|
-
var
|
|
28
|
+
var Plugin36 = define({
|
|
29
29
|
id: "opencode.vcs.git",
|
|
30
30
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
31
|
-
const location = yield*
|
|
31
|
+
const location = yield* Service71;
|
|
32
32
|
if (location.vcs?.type !== "git")
|
|
33
33
|
return;
|
|
34
34
|
const processes = yield* AppProcess.Service;
|
|
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
467
467
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
468
468
|
});
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { Plugin36, exports_git };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names3() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names3, paths2, exports_protected };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-afp9cpv0.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
13
|
-
canonical: () =>
|
|
14
|
-
node: () =>
|
|
12
|
+
Service: () => Service39,
|
|
13
|
+
canonical: () => canonical3,
|
|
14
|
+
node: () => node41
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode-ai/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service39 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service39, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
26
|
+
var node41 = LayerNode.unbound(Service39, Node.tags.values.global);
|
|
27
|
+
function canonical3(ref) {
|
|
28
28
|
return Ref2.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service39, node41, canonical3, exports_location_service_map };
|