@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.
Files changed (772) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +75 -75
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{persistent-pty-yawraddd.js → shell-0cm3syf1.js} +14 -14
  9. package/dist/chunks/{persistent-pty-0e0xafbb.js → shell-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{persistent-pty-8g20mv6s.js → shell-0kkhs0tb.js} +18 -18
  11. package/dist/chunks/{persistent-pty-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{persistent-pty-0s9ayhjt.js → shell-0s9ayhjt.js} +1 -1
  13. package/dist/chunks/{persistent-pty-jnhf5mef.js → shell-14s8ve6g.js} +1 -1
  14. package/dist/chunks/{persistent-pty-1s4k183h.js → shell-156p63ka.js} +17 -17
  15. package/dist/chunks/{persistent-pty-k50eqkg3.js → shell-1bnjqxwj.js} +13 -13
  16. package/dist/chunks/{persistent-pty-1ct4r87x.js → shell-1ct4r87x.js} +1 -1
  17. package/dist/chunks/{persistent-pty-gqdgqbeh.js → shell-1fgsnpje.js} +10 -10
  18. package/dist/chunks/{persistent-pty-gjswkc62.js → shell-1j5kcfzp.js} +32 -32
  19. package/dist/chunks/{persistent-pty-8hxn7kz0.js → shell-1jf928x4.js} +17 -17
  20. package/dist/chunks/{persistent-pty-kbyz2dkt.js → shell-1q9v9ha2.js} +9 -9
  21. package/dist/chunks/{persistent-pty-5tfcvdvj.js → shell-1sfe7ky6.js} +5 -5
  22. package/dist/chunks/{persistent-pty-zhhz7vvj.js → shell-1wgy2qkb.js} +22 -22
  23. package/dist/chunks/{persistent-pty-twy2b4zd.js → shell-20gpa56p.js} +11 -11
  24. package/dist/chunks/{persistent-pty-738s90ft.js → shell-20rf0y56.js} +7 -7
  25. package/dist/chunks/{persistent-pty-21r38tys.js → shell-21r38tys.js} +1 -1
  26. package/dist/chunks/{persistent-pty-2402vzrj.js → shell-2402vzrj.js} +1 -1
  27. package/dist/chunks/{persistent-pty-97f5v037.js → shell-28pcbh69.js} +4 -4
  28. package/dist/chunks/{persistent-pty-29x78va6.js → shell-29x78va6.js} +2 -2
  29. package/dist/chunks/{persistent-pty-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{persistent-pty-ts7bph5s.js → shell-2bzqvgn8.js} +89 -89
  31. package/dist/chunks/{persistent-pty-c4ka2x60.js → shell-2dnwhkbg.js} +35 -35
  32. package/dist/chunks/{persistent-pty-2rjhfz2z.js → shell-2g7fb4sy.js} +6 -6
  33. package/dist/chunks/{persistent-pty-2ht70gj7.js → shell-2ht70gj7.js} +1 -1
  34. package/dist/chunks/{persistent-pty-2jqmte8w.js → shell-2jqmte8w.js} +2 -2
  35. package/dist/chunks/{persistent-pty-za3gge5n.js → shell-2t83wyrz.js} +31 -31
  36. package/dist/chunks/{persistent-pty-sgh09qtt.js → shell-2vcth3xs.js} +27 -27
  37. package/dist/chunks/{persistent-pty-nzf6eghd.js → shell-2vj4jxez.js} +10 -10
  38. package/dist/chunks/{persistent-pty-2b6y700x.js → shell-31ygehh2.js} +39 -39
  39. package/dist/chunks/{persistent-pty-36mzbjn4.js → shell-36mzbjn4.js} +1 -1
  40. package/dist/chunks/{persistent-pty-craj34q5.js → shell-39ztw17m.js} +23 -23
  41. package/dist/chunks/{persistent-pty-w6z2g4f7.js → shell-3e44t4bb.js} +26 -26
  42. package/dist/chunks/{persistent-pty-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{persistent-pty-stfay7w2.js → shell-3h5s5ba4.js} +57 -57
  44. package/dist/chunks/{persistent-pty-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{persistent-pty-2ghkytyg.js → shell-3m3401bg.js} +36 -36
  46. package/dist/chunks/{persistent-pty-3qzbfqsy.js → shell-3qzbfqsy.js} +2 -2
  47. package/dist/chunks/{persistent-pty-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{persistent-pty-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{persistent-pty-we5ggtsr.js → shell-3xj9tye7.js} +11 -11
  50. package/dist/chunks/{persistent-pty-kbg5ppnb.js → shell-408ksyxd.js} +13 -13
  51. package/dist/chunks/{persistent-pty-454k5vzh.js → shell-454k5vzh.js} +1 -1
  52. package/dist/chunks/{persistent-pty-ameg2vx3.js → shell-4c5k13je.js} +1 -1
  53. package/dist/chunks/{persistent-pty-bn8089at.js → shell-4fcph0hq.js} +11 -11
  54. package/dist/chunks/{persistent-pty-x15v48ws.js → shell-4gg3r4gf.js} +15 -15
  55. package/dist/chunks/{persistent-pty-h8q6a69m.js → shell-4m1vt040.js} +26 -26
  56. package/dist/chunks/{persistent-pty-4r2nyarf.js → shell-4r2nyarf.js} +1 -1
  57. package/dist/chunks/{persistent-pty-rb1agnwm.js → shell-5424cwtj.js} +12 -12
  58. package/dist/chunks/shell-5az6gfje.js +450 -0
  59. package/dist/chunks/{persistent-pty-ftr4qpk4.js → shell-5bfzd4v8.js} +9 -9
  60. package/dist/chunks/{persistent-pty-5daktx2q.js → shell-5daktx2q.js} +1 -1
  61. package/dist/chunks/{persistent-pty-2tn9agq3.js → shell-5e3azpn7.js} +28 -28
  62. package/dist/chunks/{persistent-pty-5fmxt4p5.js → shell-5fmxt4p5.js} +1 -1
  63. package/dist/chunks/{persistent-pty-5jvc5tg2.js → shell-5jvc5tg2.js} +1 -1
  64. package/dist/chunks/{persistent-pty-ez5b8bq3.js → shell-5sg4xzjf.js} +7 -7
  65. package/dist/chunks/{persistent-pty-3rtc4tqa.js → shell-5z7dtar2.js} +6 -6
  66. package/dist/chunks/{persistent-pty-fjkyzcze.js → shell-6143np6g.js} +11 -11
  67. package/dist/chunks/{persistent-pty-7dz4r7mk.js → shell-69wmbgv2.js} +8 -8
  68. package/dist/chunks/{persistent-pty-6z5bwd8g.js → shell-6abnk40k.js} +9 -9
  69. package/dist/chunks/{persistent-pty-s8g36k60.js → shell-6k404gxp.js} +4 -4
  70. package/dist/chunks/{persistent-pty-pae9v2p1.js → shell-6mh2j33h.js} +8 -8
  71. package/dist/chunks/{persistent-pty-6kgy03tf.js → shell-6pqc1wcj.js} +15 -15
  72. package/dist/chunks/{persistent-pty-6tf8tr4v.js → shell-6tf8tr4v.js} +2 -2
  73. package/dist/chunks/{persistent-pty-03xjq0tm.js → shell-6ygcz7av.js} +16 -16
  74. package/dist/chunks/{persistent-pty-x2rt1cxd.js → shell-6ym5me7r.js} +5 -5
  75. package/dist/chunks/{persistent-pty-711hfp6y.js → shell-711hfp6y.js} +2 -2
  76. package/dist/chunks/{persistent-pty-2pr8vdab.js → shell-72s3cfct.js} +43 -43
  77. package/dist/chunks/{persistent-pty-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{persistent-pty-ta4jwntf.js → shell-7drzq840.js} +4 -4
  79. package/dist/chunks/{persistent-pty-1f1wzhgc.js → shell-7grmgsg7.js} +4 -4
  80. package/dist/chunks/{persistent-pty-7x0f5kvq.js → shell-7gv5bdgm.js} +11 -11
  81. package/dist/chunks/{persistent-pty-0d5mggnk.js → shell-7namgvh9.js} +25 -25
  82. package/dist/chunks/{persistent-pty-xw378f4n.js → shell-7paan8yh.js} +28 -28
  83. package/dist/chunks/shell-7zk4hah4.js +4 -0
  84. package/dist/chunks/{persistent-pty-w5g2dnw1.js → shell-8a5sy8gj.js} +39 -39
  85. package/dist/chunks/{persistent-pty-6svye9h2.js → shell-8debsjz4.js} +9 -9
  86. package/dist/chunks/{persistent-pty-zcc5h559.js → shell-8n28b114.js} +24 -24
  87. package/dist/chunks/{persistent-pty-b6xfkz6v.js → shell-8xx29per.js} +28 -28
  88. package/dist/chunks/{persistent-pty-0w19ktq4.js → shell-90eb95eh.js} +2 -2
  89. package/dist/chunks/{persistent-pty-y2cqme3r.js → shell-93a8yfjt.js} +5 -5
  90. package/dist/chunks/{persistent-pty-rmpjenwd.js → shell-95pr9fpn.js} +11 -11
  91. package/dist/chunks/{persistent-pty-f02rj1me.js → shell-95rn6zea.js} +79 -79
  92. package/dist/chunks/{persistent-pty-1tag838h.js → shell-9f008s18.js} +27 -27
  93. package/dist/chunks/{persistent-pty-63kze1d3.js → shell-9gq6sz2t.js} +4 -4
  94. package/dist/chunks/{persistent-pty-a80d3v2r.js → shell-9mvaddhj.js} +17 -17
  95. package/dist/chunks/{persistent-pty-9qm9egsn.js → shell-9qm9egsn.js} +2 -2
  96. package/dist/chunks/{persistent-pty-xspyb9m3.js → shell-9vcfn3x3.js} +8 -8
  97. package/dist/chunks/{persistent-pty-qg20g60x.js → shell-a38h5jqv.js} +20 -20
  98. package/dist/chunks/{persistent-pty-j90p7j59.js → shell-a68y78dg.js} +4 -4
  99. package/dist/chunks/{persistent-pty-c5g21jc3.js → shell-aa68tp4y.js} +9 -9
  100. package/dist/chunks/{persistent-pty-aaet6srn.js → shell-aaet6srn.js} +2 -2
  101. package/dist/chunks/{persistent-pty-kpyq2w0f.js → shell-abvdbqvv.js} +3 -3
  102. package/dist/chunks/{persistent-pty-s1zas8dv.js → shell-af4svgqg.js} +8 -8
  103. package/dist/chunks/{persistent-pty-c47xcf4v.js → shell-afp9cpv0.js} +16 -16
  104. package/dist/chunks/{persistent-pty-ajtjthsy.js → shell-ajtjthsy.js} +2 -2
  105. package/dist/chunks/{persistent-pty-mbapk581.js → shell-at1ds9nv.js} +40 -40
  106. package/dist/chunks/{persistent-pty-70203jtn.js → shell-ayhxp9k6.js} +29 -29
  107. package/dist/chunks/{persistent-pty-xa3k010d.js → shell-b5xnx7k5.js} +36 -36
  108. package/dist/chunks/{persistent-pty-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{persistent-pty-n50399pa.js → shell-b9j1334g.js} +7 -7
  110. package/dist/chunks/{persistent-pty-b9wsbatv.js → shell-b9wsbatv.js} +1 -1
  111. package/dist/chunks/{persistent-pty-nca7p386.js → shell-bdqrk2vk.js} +4 -4
  112. package/dist/chunks/{persistent-pty-vwnnwet6.js → shell-bk2c6ybg.js} +50 -50
  113. package/dist/chunks/{persistent-pty-thfv75je.js → shell-bphmvjfp.js} +5 -5
  114. package/dist/chunks/{persistent-pty-me6p58dn.js → shell-bw9752qy.js} +25 -25
  115. package/dist/chunks/{persistent-pty-qmkhq1hj.js → shell-c1sjkzjg.js} +13 -13
  116. package/dist/chunks/{persistent-pty-88fw41mx.js → shell-c5khapka.js} +16 -16
  117. package/dist/chunks/{persistent-pty-gkdfetxb.js → shell-c6qfwypk.js} +10 -10
  118. package/dist/chunks/{persistent-pty-f4ywn050.js → shell-cdet0khb.js} +17 -17
  119. package/dist/chunks/{persistent-pty-3j6zyyvs.js → shell-cdxs8vt7.js} +25 -25
  120. package/dist/chunks/{persistent-pty-gev0qjxp.js → shell-ckfka8c9.js} +12 -12
  121. package/dist/chunks/{persistent-pty-0g7k506p.js → shell-cpfp6xqs.js} +10 -10
  122. package/dist/chunks/{persistent-pty-bqgp69re.js → shell-cppazjgb.js} +15 -15
  123. package/dist/chunks/{persistent-pty-06b9fxmy.js → shell-cqhbx4g8.js} +27 -27
  124. package/dist/chunks/{persistent-pty-s3kg5m6x.js → shell-cqqf9w6n.js} +14 -14
  125. package/dist/chunks/{persistent-pty-rpksmvzr.js → shell-ct776dgc.js} +11 -11
  126. package/dist/chunks/{persistent-pty-1r9xt4cr.js → shell-d0g1dj0w.js} +32 -32
  127. package/dist/chunks/shell-d1bm3mqt.js +20 -0
  128. package/dist/chunks/{persistent-pty-s6qgbjky.js → shell-d6q9r95s.js} +6 -6
  129. package/dist/chunks/{persistent-pty-d72308c8.js → shell-d72308c8.js} +2 -2
  130. package/dist/chunks/{persistent-pty-yzp432d8.js → shell-df7dtqa0.js} +38 -38
  131. package/dist/chunks/{persistent-pty-68qdqky7.js → shell-dzmbxvmy.js} +15 -15
  132. package/dist/chunks/{persistent-pty-smgpfta5.js → shell-e6r8zxve.js} +12 -12
  133. package/dist/chunks/{persistent-pty-vrxbpmbb.js → shell-e7gkvq10.js} +46 -46
  134. package/dist/chunks/{persistent-pty-skfe9q3s.js → shell-e9rgf6pe.js} +46 -46
  135. package/dist/chunks/{persistent-pty-xmtn9a9r.js → shell-eg42tpd5.js} +27 -27
  136. package/dist/chunks/{persistent-pty-eyrpjw8c.js → shell-eh8mvrv6.js} +23 -23
  137. package/dist/chunks/{persistent-pty-gpkgrk3z.js → shell-enwn0tzc.js} +2 -2
  138. package/dist/chunks/{persistent-pty-m7khsb1d.js → shell-eqwbrmm3.js} +20 -20
  139. package/dist/chunks/{persistent-pty-30janqm6.js → shell-esapbxtc.js} +22 -22
  140. package/dist/chunks/{persistent-pty-54bnqtv9.js → shell-eyg363nj.js} +18 -18
  141. package/dist/chunks/{persistent-pty-yxzxwnyx.js → shell-fdrv5wj1.js} +9 -9
  142. package/dist/chunks/{persistent-pty-1g7epwpd.js → shell-fm2qvscf.js} +7 -7
  143. package/dist/chunks/{persistent-pty-d8brfqjj.js → shell-fnb87gt3.js} +15 -15
  144. package/dist/chunks/{persistent-pty-628cc3h3.js → shell-fp066vz3.js} +16 -16
  145. package/dist/chunks/{persistent-pty-yvyswnaa.js → shell-frqgkxmn.js} +9 -9
  146. package/dist/chunks/{persistent-pty-10pzdvzd.js → shell-frv4a811.js} +7 -7
  147. package/dist/chunks/{persistent-pty-5mdrv3hm.js → shell-fvanntqq.js} +6 -6
  148. package/dist/chunks/{persistent-pty-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{persistent-pty-fxypknc8.js → shell-fxypknc8.js} +1 -1
  150. package/dist/chunks/{persistent-pty-af5cxv86.js → shell-fy7q1eta.js} +47 -47
  151. package/dist/chunks/{persistent-pty-twtpgget.js → shell-g2qnqccr.js} +7 -7
  152. package/dist/chunks/{persistent-pty-73tf0mnp.js → shell-g37h3sja.js} +42 -42
  153. package/dist/chunks/{persistent-pty-n8bbtjn9.js → shell-g4b2g2ka.js} +11 -11
  154. package/dist/chunks/{persistent-pty-vng46sf0.js → shell-g52wq5zw.js} +4 -4
  155. package/dist/chunks/{persistent-pty-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{persistent-pty-qp6zthdp.js → shell-gdv0z722.js} +19 -19
  157. package/dist/chunks/{persistent-pty-8jkpz5pq.js → shell-gh8ys4e0.js} +6 -6
  158. package/dist/chunks/{persistent-pty-a62e05n8.js → shell-gvkmngex.js} +5 -5
  159. package/dist/chunks/{persistent-pty-nrse418z.js → shell-h2jjxfqc.js} +18 -18
  160. package/dist/chunks/{persistent-pty-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{persistent-pty-g2c9bhkq.js → shell-hc4b3kyg.js} +6 -6
  162. package/dist/chunks/{persistent-pty-heyhwy2w.js → shell-heyhwy2w.js} +1 -1
  163. package/dist/chunks/{persistent-pty-yzd93mfj.js → shell-hjrjbgez.js} +5 -5
  164. package/dist/chunks/{persistent-pty-d7zznenn.js → shell-hk9ng4w9.js} +9 -9
  165. package/dist/chunks/{persistent-pty-hrvm11jt.js → shell-hrvm11jt.js} +3 -3
  166. package/dist/chunks/{persistent-pty-y89bt055.js → shell-hs7e9eb3.js} +11 -11
  167. package/dist/chunks/{persistent-pty-010ymet8.js → shell-j016kj46.js} +4 -4
  168. package/dist/chunks/{persistent-pty-eq1pz5kg.js → shell-j028xdjb.js} +3 -3
  169. package/dist/chunks/{persistent-pty-97058x90.js → shell-j5jk7a00.js} +3 -3
  170. package/dist/chunks/{persistent-pty-scarvxmk.js → shell-jc8a71f0.js} +11 -11
  171. package/dist/chunks/{persistent-pty-w40bmgb5.js → shell-jcd025mq.js} +27 -27
  172. package/dist/chunks/{persistent-pty-ckev9kd7.js → shell-jdnwrjf1.js} +3 -3
  173. package/dist/chunks/{persistent-pty-tckacx9z.js → shell-jhk1bjct.js} +26 -26
  174. package/dist/chunks/{persistent-pty-fgj7dkc9.js → shell-jk2s1369.js} +6 -6
  175. package/dist/chunks/shell-jqh9b0xq.js +18 -0
  176. package/dist/chunks/{persistent-pty-jwcy2c2z.js → shell-jwcy2c2z.js} +1 -1
  177. package/dist/chunks/{persistent-pty-ss7602g3.js → shell-k19k1yqd.js} +16 -16
  178. package/dist/chunks/{persistent-pty-g1v92phv.js → shell-k2qp0rt7.js} +1 -1
  179. package/dist/chunks/{persistent-pty-k4bwy1x5.js → shell-k4bwy1x5.js} +1 -1
  180. package/dist/chunks/{persistent-pty-kg06axw8.js → shell-kg06axw8.js} +1 -1
  181. package/dist/chunks/{persistent-pty-yfbd16n1.js → shell-kk3rr3qh.js} +5 -5
  182. package/dist/chunks/{persistent-pty-0v9kxdr7.js → shell-kv8syyjy.js} +17 -17
  183. package/dist/chunks/{persistent-pty-acdzekmc.js → shell-kvrh1aj8.js} +15 -15
  184. package/dist/chunks/{persistent-pty-kvsjn1dr.js → shell-kvsjn1dr.js} +2 -2
  185. package/dist/chunks/{persistent-pty-369x3t65.js → shell-kyd4za44.js} +4 -4
  186. package/dist/chunks/{persistent-pty-97tyj6c6.js → shell-kyx4rev9.js} +29 -29
  187. package/dist/chunks/{persistent-pty-1nk2mnc0.js → shell-kz8th6jy.js} +3 -3
  188. package/dist/chunks/{persistent-pty-tgpxmjaj.js → shell-m39a6r9n.js} +21 -21
  189. package/dist/chunks/{persistent-pty-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{persistent-pty-qqbjvkxt.js → shell-mgnx1j9f.js} +47 -47
  191. package/dist/chunks/{persistent-pty-czrfnqv4.js → shell-mp9v96eg.js} +17 -17
  192. package/dist/chunks/{persistent-pty-x92yqmyb.js → shell-mv4q59re.js} +31 -31
  193. package/dist/chunks/{persistent-pty-bpyfw359.js → shell-my67wh8n.js} +8 -8
  194. package/dist/chunks/{persistent-pty-r60qd0ca.js → shell-n04tf95v.js} +22 -22
  195. package/dist/chunks/{persistent-pty-zja0h37x.js → shell-n3tzsxk8.js} +3 -3
  196. package/dist/chunks/{persistent-pty-t7dkb9mz.js → shell-n6mjs8gv.js} +7 -7
  197. package/dist/chunks/{persistent-pty-fa2er9zw.js → shell-n8s6eqvs.js} +9 -9
  198. package/dist/chunks/{persistent-pty-d030bd0f.js → shell-nmh0bsy2.js} +11 -11
  199. package/dist/chunks/{persistent-pty-fhzfk9q0.js → shell-nsppqmbg.js} +23 -23
  200. package/dist/chunks/{persistent-pty-1mdarqb0.js → shell-p1gfy0ra.js} +37 -37
  201. package/dist/chunks/{persistent-pty-rvn46zq7.js → shell-p325kmej.js} +9 -9
  202. package/dist/chunks/{persistent-pty-20jvp80s.js → shell-p3a1egma.js} +8 -8
  203. package/dist/chunks/{persistent-pty-247ymhap.js → shell-p3e4re21.js} +1 -1
  204. package/dist/chunks/{persistent-pty-gynq7mwy.js → shell-paj2ftem.js} +11 -11
  205. package/dist/chunks/{persistent-pty-aj6efch7.js → shell-pbm77kt4.js} +12 -12
  206. package/dist/chunks/{persistent-pty-jn521bbx.js → shell-pcx5yqze.js} +68 -68
  207. package/dist/chunks/{persistent-pty-rs8bkfty.js → shell-pfxg458r.js} +2 -2
  208. package/dist/chunks/{persistent-pty-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{persistent-pty-pknna89w.js → shell-pknna89w.js} +1 -1
  210. package/dist/chunks/{persistent-pty-bzc17vb9.js → shell-pwya9n2y.js} +3 -3
  211. package/dist/chunks/{persistent-pty-4xjdkfjs.js → shell-pxcwkz2f.js} +18 -18
  212. package/dist/chunks/{persistent-pty-4kav5gz3.js → shell-q71mak0n.js} +9 -9
  213. package/dist/chunks/{persistent-pty-0jwsre1p.js → shell-qgn6gcr1.js} +5 -5
  214. package/dist/chunks/{persistent-pty-qsdy395h.js → shell-qsdy395h.js} +1 -1
  215. package/dist/chunks/{persistent-pty-fn2zck2h.js → shell-qwx7jfem.js} +11 -11
  216. package/dist/chunks/{persistent-pty-66b3gex4.js → shell-r2aqpy44.js} +22 -22
  217. package/dist/chunks/{persistent-pty-r8dhm0tv.js → shell-r8dhm0tv.js} +1 -1
  218. package/dist/chunks/{persistent-pty-e3vpkeje.js → shell-rjre9n2g.js} +13 -13
  219. package/dist/chunks/{persistent-pty-7k5q7gm2.js → shell-rqe0j03n.js} +25 -25
  220. package/dist/chunks/{persistent-pty-6ykkc5x7.js → shell-rsrdehm7.js} +36 -36
  221. package/dist/chunks/{persistent-pty-c2c0m65v.js → shell-s52y7s20.js} +37 -37
  222. package/dist/chunks/{persistent-pty-sba4qhjf.js → shell-sba4qhjf.js} +1 -1
  223. package/dist/chunks/{persistent-pty-h2st8tcp.js → shell-sbnvhk9g.js} +4 -4
  224. package/dist/chunks/{persistent-pty-cqzeme2b.js → shell-scvxbhcz.js} +16 -16
  225. package/dist/chunks/{persistent-pty-d3baj57q.js → shell-sf6gbvg9.js} +18 -18
  226. package/dist/chunks/{persistent-pty-wvx09938.js → shell-sxaj9jh7.js} +12 -12
  227. package/dist/chunks/{persistent-pty-ykczf8eq.js → shell-sykc9y4a.js} +5 -5
  228. package/dist/chunks/{persistent-pty-ak38yve4.js → shell-sz7a9shn.js} +9 -9
  229. package/dist/chunks/{persistent-pty-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{persistent-pty-89znhe33.js → shell-tcezcvh9.js} +4 -4
  231. package/dist/chunks/{persistent-pty-ddbc03cc.js → shell-tcrw0mk6.js} +1 -1
  232. package/dist/chunks/{persistent-pty-tjykrgmx.js → shell-tjykrgmx.js} +1 -1
  233. package/dist/chunks/{persistent-pty-3t5jsk6c.js → shell-tpvyqr2s.js} +10 -10
  234. package/dist/chunks/{persistent-pty-c3e32yye.js → shell-trc7nn16.js} +31 -31
  235. package/dist/chunks/{persistent-pty-zbqrcwzf.js → shell-trx91xdz.js} +23 -23
  236. package/dist/chunks/{persistent-pty-ajyamx78.js → shell-v1sap15r.js} +9 -9
  237. package/dist/chunks/{persistent-pty-w7y9r27g.js → shell-vdpqp5cm.js} +32 -32
  238. package/dist/chunks/{persistent-pty-ac3j6t8f.js → shell-vetx83r0.js} +8 -8
  239. package/dist/chunks/{persistent-pty-nt2wbfgf.js → shell-vhvxtbfv.js} +23 -23
  240. package/dist/chunks/{persistent-pty-an7cqtb7.js → shell-vncycja5.js} +4 -4
  241. package/dist/chunks/{persistent-pty-1nknpwm3.js → shell-vqy8gbs1.js} +4 -4
  242. package/dist/chunks/{persistent-pty-a0q04gk3.js → shell-vtq1wfzg.js} +5 -5
  243. package/dist/chunks/{persistent-pty-ymbwt96j.js → shell-vwvvp157.js} +7 -7
  244. package/dist/chunks/{persistent-pty-vqxj4jm3.js → shell-vwy6nk1q.js} +24 -24
  245. package/dist/chunks/shell-vzdd7ej8.js +243 -0
  246. package/dist/chunks/{persistent-pty-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{persistent-pty-wd87259q.js → shell-wd87259q.js} +1 -1
  248. package/dist/chunks/{persistent-pty-xr14zjyh.js → shell-wf9a4qst.js} +14 -14
  249. package/dist/chunks/{persistent-pty-wctfcgtb.js → shell-wgz7hchk.js} +6 -6
  250. package/dist/chunks/{persistent-pty-dba19q6g.js → shell-wrj6s030.js} +36 -36
  251. package/dist/chunks/{persistent-pty-m1ggyr73.js → shell-wsfy2223.js} +4 -4
  252. package/dist/chunks/{persistent-pty-m3fm0fm8.js → shell-ww8c32hp.js} +5 -5
  253. package/dist/chunks/{persistent-pty-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{persistent-pty-m79fg301.js → shell-x1xxr4z6.js} +18 -18
  255. package/dist/chunks/{persistent-pty-y6raa7nc.js → shell-x6yvv8z4.js} +35 -35
  256. package/dist/chunks/{persistent-pty-sy4zz7rh.js → shell-xkzmkx0v.js} +11 -11
  257. package/dist/chunks/{persistent-pty-serxh5qa.js → shell-xpa15rv0.js} +9 -9
  258. package/dist/chunks/{persistent-pty-edaf3eyg.js → shell-xq4tznss.js} +20 -20
  259. package/dist/chunks/{persistent-pty-shbsgx5h.js → shell-xvcttetg.js} +10 -10
  260. package/dist/chunks/{persistent-pty-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  261. package/dist/chunks/{persistent-pty-ne5w19nk.js → shell-y384eh8z.js} +29 -29
  262. package/dist/chunks/{persistent-pty-sagqnce1.js → shell-y6j92mjt.js} +3 -3
  263. package/dist/chunks/{persistent-pty-f44dq202.js → shell-y75rfnyd.js} +5 -5
  264. package/dist/chunks/{persistent-pty-81xmbs00.js → shell-y90mbezs.js} +18 -18
  265. package/dist/chunks/{persistent-pty-6d0jr2jk.js → shell-yav02wcy.js} +32 -32
  266. package/dist/chunks/{persistent-pty-a202dayn.js → shell-ycqmrtvj.js} +12 -12
  267. package/dist/chunks/{persistent-pty-64fqqfmx.js → shell-ye1hsen9.js} +8 -8
  268. package/dist/chunks/{persistent-pty-msxx7emw.js → shell-yjkt68fp.js} +26 -26
  269. package/dist/chunks/{persistent-pty-j8xe25ng.js → shell-ysjsy6za.js} +28 -28
  270. package/dist/chunks/shell-yv6aypar.js +22 -0
  271. package/dist/chunks/{persistent-pty-mpzahx5f.js → shell-yx0a4n2t.js} +160 -160
  272. package/dist/chunks/{persistent-pty-z1k01bn4.js → shell-z1k01bn4.js} +2 -2
  273. package/dist/chunks/{persistent-pty-a3x9xvd8.js → shell-z3xgatyd.js} +4 -4
  274. package/dist/chunks/{persistent-pty-70nq51cn.js → shell-z7rb1vge.js} +21 -21
  275. package/dist/chunks/{persistent-pty-8tj73bzm.js → shell-zdhy8zs2.js} +3 -3
  276. package/dist/chunks/{persistent-pty-cf6j12q4.js → shell-zfbr2h3w.js} +17 -17
  277. package/dist/chunks/{persistent-pty-82aytm87.js → shell-zfnpc7fv.js} +1 -1
  278. package/dist/chunks/{persistent-pty-eerwjj66.js → shell-zkcybhg5.js} +46 -46
  279. package/dist/chunks/{persistent-pty-6h414ywr.js → shell-zmjynawk.js} +5 -5
  280. package/dist/chunks/{persistent-pty-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  281. package/dist/chunks/{persistent-pty-pzjeeacc.js → shell-zzjwypeh.js} +4 -4
  282. package/dist/codemode/catalog.js +1 -1
  283. package/dist/codemode/instructions.js +7 -7
  284. package/dist/codemode/tool.js +2 -2
  285. package/dist/command.js +83 -83
  286. package/dist/config/discovery.js +79 -79
  287. package/dist/config/markdown.js +1 -1
  288. package/dist/config/normalize.js +19 -19
  289. package/dist/config/plugin/agent.js +116 -116
  290. package/dist/config/plugin/command.js +207 -207
  291. package/dist/config/plugin/compaction.js +153 -153
  292. package/dist/config/plugin/entry-observer.js +1 -1
  293. package/dist/config/plugin/formatter.js +116 -116
  294. package/dist/config/plugin/image.js +114 -114
  295. package/dist/config/plugin/instruction.js +85 -85
  296. package/dist/config/plugin/location-watcher.js +116 -116
  297. package/dist/config/plugin/mcp.js +125 -125
  298. package/dist/config/plugin/policy.js +113 -113
  299. package/dist/config/plugin/provider.js +112 -112
  300. package/dist/config/plugin/reference.js +116 -116
  301. package/dist/config/plugin/shell.js +117 -117
  302. package/dist/config/plugin/skill-file.js +96 -96
  303. package/dist/config/plugin/skill.js +134 -134
  304. package/dist/config/plugin/snapshot.js +114 -114
  305. package/dist/config/plugin/source.js +116 -116
  306. package/dist/config/plugin/tool-output.js +116 -116
  307. package/dist/config/plugin/websearch.js +114 -114
  308. package/dist/config/variable.js +3 -3
  309. package/dist/config/watch.js +1 -1
  310. package/dist/config.js +118 -118
  311. package/dist/credential/sql.js +2 -2
  312. package/dist/credential.js +76 -76
  313. package/dist/database/database.js +64 -64
  314. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  315. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  317. package/dist/database/drizzle/index.js +13 -13
  318. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  319. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  321. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  322. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  323. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  324. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  329. package/dist/database/drizzle.js +14 -14
  330. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  331. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  332. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  333. package/dist/database/migration/20260225215848_workspace.js +1 -1
  334. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  335. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  336. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  337. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  338. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  339. package/dist/database/migration/20260323234822_events.js +1 -1
  340. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  341. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  342. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  343. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  344. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  345. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  346. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  347. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  348. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  349. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  350. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  351. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  352. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  353. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  354. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  355. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  356. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  357. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  358. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  359. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  360. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  361. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  362. package/dist/database/migration/20260611035744_credential.js +1 -1
  363. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  364. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  365. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  366. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  367. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  368. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  369. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  370. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  371. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  372. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  373. package/dist/database/migration/20260812213948_worktree.js +1 -1
  374. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  375. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  376. package/dist/database/migration.gen.js +47 -47
  377. package/dist/database/migration.js +49 -49
  378. package/dist/database/path.js +2 -2
  379. package/dist/database/schema.gen.js +1 -1
  380. package/dist/database/schema.sql.js +1 -1
  381. package/dist/database/sqlite.bun.js +1 -1
  382. package/dist/database/sqlite.js +1 -1
  383. package/dist/database/sqlite.node.js +1 -1
  384. package/dist/database/sqlite.workerd.js +1 -1
  385. package/dist/database/v1-migration.bun.js +74 -74
  386. package/dist/database/v1-migration.js +1 -1
  387. package/dist/effect/app-node-builder.js +356 -356
  388. package/dist/effect/app-node-platform.js +2 -2
  389. package/dist/effect/keyed-mutex.js +1 -1
  390. package/dist/effect/websocket-constructor.js +1 -1
  391. package/dist/environment/driver.js +1 -1
  392. package/dist/environment/environment.js +88 -88
  393. package/dist/environment/exec-defaults.js +2 -2
  394. package/dist/environment/files.js +1 -1
  395. package/dist/environment/index.js +90 -90
  396. package/dist/environment/local.js +2 -2
  397. package/dist/environment/memory.js +2 -2
  398. package/dist/environment/unavailable.js +1 -1
  399. package/dist/event/sql.js +1 -1
  400. package/dist/event-logger.js +72 -72
  401. package/dist/file-mutation.js +89 -89
  402. package/dist/file-retention.js +1 -1
  403. package/dist/file.js +1 -1
  404. package/dist/filesystem/fff.bun.js +2 -2
  405. package/dist/filesystem/fff.js +1 -1
  406. package/dist/filesystem/fff.node.js +2 -2
  407. package/dist/filesystem/fff.workerd.js +2 -2
  408. package/dist/filesystem/ignore.js +1 -1
  409. package/dist/filesystem/location-watcher-policy.js +6 -6
  410. package/dist/filesystem/location-watcher.js +217 -217
  411. package/dist/filesystem/protected.js +3 -3
  412. package/dist/filesystem/search.js +99 -99
  413. package/dist/filesystem/watcher-binding.js +1 -1
  414. package/dist/filesystem/watcher.js +15 -15
  415. package/dist/filesystem.js +102 -102
  416. package/dist/form.js +82 -82
  417. package/dist/formatter/builtins.js +4 -4
  418. package/dist/formatter.js +82 -82
  419. package/dist/generate.js +90 -90
  420. package/dist/git.js +7 -7
  421. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  422. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  423. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  424. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  425. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  426. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  427. package/dist/github-copilot/copilot-provider.js +17 -17
  428. package/dist/github-copilot/models.js +7 -7
  429. package/dist/github-copilot/openai-compatible-error.js +1 -1
  430. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  431. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  432. package/dist/github-copilot/responses/openai-error.js +1 -1
  433. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  434. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  435. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  436. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  437. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  438. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  440. package/dist/id/id.js +1 -1
  441. package/dist/image/photon.js +2 -2
  442. package/dist/image.js +6 -6
  443. package/dist/instance/service.js +7 -7
  444. package/dist/instance.js +347 -347
  445. package/dist/instruction-discovery.js +83 -83
  446. package/dist/instructions/builtins.js +82 -82
  447. package/dist/instructions/index.js +3 -3
  448. package/dist/integration/connection.js +1 -1
  449. package/dist/integration.js +85 -85
  450. package/dist/job.js +77 -77
  451. package/dist/kv/sql.js +2 -2
  452. package/dist/kv.js +71 -71
  453. package/dist/location-activity.js +86 -86
  454. package/dist/location-mutation.js +81 -81
  455. package/dist/location-service-map.js +83 -83
  456. package/dist/location-services.js +344 -344
  457. package/dist/location.js +82 -82
  458. package/dist/mcp/client.js +86 -86
  459. package/dist/mcp/index.js +98 -98
  460. package/dist/mcp/instructions.js +120 -120
  461. package/dist/mcp/oauth.js +2 -2
  462. package/dist/mcp/stdio.js +85 -85
  463. package/dist/mime.js +1 -1
  464. package/dist/modal/models.js +7 -7
  465. package/dist/model-resolver.js +85 -85
  466. package/dist/model.js +8 -8
  467. package/dist/models-dev.js +86 -86
  468. package/dist/oauth/page.js +1 -1
  469. package/dist/permission/saved.js +76 -76
  470. package/dist/permission/sql.js +5 -5
  471. package/dist/permission.js +103 -103
  472. package/dist/persistent-pty/binary.bun.js +1 -1
  473. package/dist/persistent-pty/daemon.js +1 -1
  474. package/dist/persistent-pty/index.js +82 -82
  475. package/dist/persistent-pty/pty-binding.js +1 -1
  476. package/dist/persistent-pty.js +73 -73
  477. package/dist/plugin/agent.js +98 -98
  478. package/dist/plugin/command.js +95 -95
  479. package/dist/plugin/hooks.js +5 -5
  480. package/dist/plugin/host.js +210 -210
  481. package/dist/plugin/instance.js +5 -5
  482. package/dist/plugin/internal.js +316 -316
  483. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  484. package/dist/plugin/models-dev.js +75 -75
  485. package/dist/plugin/module.js +2 -2
  486. package/dist/plugin/plan.js +96 -96
  487. package/dist/plugin/promise.js +1 -1
  488. package/dist/plugin/provider/alibaba.js +2 -2
  489. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  490. package/dist/plugin/provider/anthropic.js +4 -4
  491. package/dist/plugin/provider/azure.js +117 -117
  492. package/dist/plugin/provider/cerebras.js +2 -2
  493. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  494. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  495. package/dist/plugin/provider/cohere.js +2 -2
  496. package/dist/plugin/provider/configured.js +113 -113
  497. package/dist/plugin/provider/dynamic.js +2 -2
  498. package/dist/plugin/provider/factory.js +1 -1
  499. package/dist/plugin/provider/gateway.js +2 -2
  500. package/dist/plugin/provider/github-copilot.js +79 -79
  501. package/dist/plugin/provider/gitlab.js +3 -3
  502. package/dist/plugin/provider/google-vertex.js +2 -2
  503. package/dist/plugin/provider/kilo.js +2 -2
  504. package/dist/plugin/provider/llmgateway.js +75 -75
  505. package/dist/plugin/provider/lmstudio.js +116 -116
  506. package/dist/plugin/provider/mistral.js +2 -2
  507. package/dist/plugin/provider/modal.js +78 -78
  508. package/dist/plugin/provider/nvidia.js +2 -2
  509. package/dist/plugin/provider/ollama.js +114 -114
  510. package/dist/plugin/provider/openai-compatible.js +1 -1
  511. package/dist/plugin/provider/openai.js +79 -79
  512. package/dist/plugin/provider/opencode.js +75 -75
  513. package/dist/plugin/provider/openrouter.js +3 -3
  514. package/dist/plugin/provider/perplexity.js +2 -2
  515. package/dist/plugin/provider/sap-ai-core.js +3 -3
  516. package/dist/plugin/provider/sdk-factory.js +1 -1
  517. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  518. package/dist/plugin/provider/venice.js +2 -2
  519. package/dist/plugin/provider/vercel.js +2 -2
  520. package/dist/plugin/provider/vllm.js +116 -116
  521. package/dist/plugin/provider/xai.js +76 -76
  522. package/dist/plugin/provider/zenmux.js +2 -2
  523. package/dist/plugin/provider.js +154 -154
  524. package/dist/plugin/sdk.js +70 -70
  525. package/dist/plugin/service.js +5 -5
  526. package/dist/plugin/skill.js +131 -131
  527. package/dist/plugin/source-directory.js +1 -1
  528. package/dist/plugin/supervisor.js +335 -335
  529. package/dist/plugin/system-prompt.js +5 -5
  530. package/dist/plugin/update.js +6 -6
  531. package/dist/plugin/variant.js +4 -4
  532. package/dist/plugin/vcs/git.js +82 -82
  533. package/dist/plugin/vcs/hg.js +82 -82
  534. package/dist/plugin/warming.js +111 -111
  535. package/dist/plugin/websearch/exa.js +7 -7
  536. package/dist/plugin/websearch/firecrawl.js +8 -8
  537. package/dist/plugin/websearch/index.js +8 -8
  538. package/dist/plugin/websearch/mcp.js +6 -6
  539. package/dist/plugin/websearch/parallel.js +8 -8
  540. package/dist/plugin/websearch/tavily.js +6 -6
  541. package/dist/plugin.js +219 -219
  542. package/dist/project/schema.js +6 -6
  543. package/dist/project/sql.js +4 -4
  544. package/dist/project.js +83 -83
  545. package/dist/provider.js +5 -5
  546. package/dist/pty/protocol.js +1 -1
  547. package/dist/pty/schema.js +3 -3
  548. package/dist/pty/ticket.js +1 -1
  549. package/dist/pty.js +92 -92
  550. package/dist/reference/instructions.js +84 -84
  551. package/dist/reference.js +84 -84
  552. package/dist/repository-cache.js +76 -76
  553. package/dist/repository.js +1 -1
  554. package/dist/ripgrep/binary.js +2 -2
  555. package/dist/ripgrep.js +93 -93
  556. package/dist/rpc.js +81 -81
  557. package/dist/schema.js +1 -1
  558. package/dist/session/command.js +72 -72
  559. package/dist/session/compaction.js +127 -127
  560. package/dist/session/context.js +145 -145
  561. package/dist/session/environment.js +5 -5
  562. package/dist/session/error.js +5 -5
  563. package/dist/session/event.js +1 -1
  564. package/dist/session/execution/restart.js +217 -217
  565. package/dist/session/execution.js +120 -120
  566. package/dist/session/generate.js +146 -146
  567. package/dist/session/history.js +12 -12
  568. package/dist/session/inbox.js +86 -86
  569. package/dist/session/info.js +3 -3
  570. package/dist/session/instruction-entry.js +77 -77
  571. package/dist/session/instruction-state.js +8 -8
  572. package/dist/session/instructions.js +91 -91
  573. package/dist/session/message-updater.js +4 -4
  574. package/dist/session/message.js +1 -1
  575. package/dist/session/model-request.js +112 -112
  576. package/dist/session/model-transport.js +9 -9
  577. package/dist/session/move.js +124 -124
  578. package/dist/session/projector.js +84 -84
  579. package/dist/session/prompt.js +99 -99
  580. package/dist/session/revert.js +85 -85
  581. package/dist/session/run-coordinator.js +3 -3
  582. package/dist/session/runner/index.js +3 -3
  583. package/dist/session/runner/llm.js +220 -220
  584. package/dist/session/runner/max-steps.js +1 -1
  585. package/dist/session/runner/model.js +85 -85
  586. package/dist/session/runner/publish-llm-event.js +3 -3
  587. package/dist/session/runner/retry.js +4 -4
  588. package/dist/session/runner/step.js +119 -119
  589. package/dist/session/runner/to-llm-message.js +1 -1
  590. package/dist/session/schema.js +5 -5
  591. package/dist/session/session.js +167 -167
  592. package/dist/session/shell.js +130 -130
  593. package/dist/session/skill.js +97 -97
  594. package/dist/session/sql.js +5 -5
  595. package/dist/session/stats.js +71 -71
  596. package/dist/session/store.js +84 -84
  597. package/dist/session/subagent-completion.js +1 -1
  598. package/dist/session/subagent-job.js +203 -203
  599. package/dist/session/system-prompt.js +1 -1
  600. package/dist/session/title.js +149 -149
  601. package/dist/session/to-session-error.js +105 -105
  602. package/dist/session/transfer.js +213 -213
  603. package/dist/session/usage.js +1 -1
  604. package/dist/session.js +211 -211
  605. package/dist/shell/parse.js +6 -6
  606. package/dist/shell/result.js +1 -1
  607. package/dist/shell/scan.js +1 -1
  608. package/dist/shell/select.js +11 -11
  609. package/dist/shell.js +132 -132
  610. package/dist/skill/discovery.js +6 -6
  611. package/dist/skill/instructions.js +99 -99
  612. package/dist/skill.js +104 -104
  613. package/dist/snapshot.js +86 -86
  614. package/dist/state.js +1 -1
  615. package/dist/tool/html-markdown.js +1 -1
  616. package/dist/tool/http-body.js +1 -1
  617. package/dist/tool/mcp.js +117 -117
  618. package/dist/tool/plugin/edit.js +110 -110
  619. package/dist/tool/plugin/file-diff.js +1 -1
  620. package/dist/tool/plugin/glob.js +119 -119
  621. package/dist/tool/plugin/grep.js +119 -119
  622. package/dist/tool/plugin/opencode.js +3 -3
  623. package/dist/tool/plugin/patch.js +116 -116
  624. package/dist/tool/plugin/question.js +97 -97
  625. package/dist/tool/plugin/read.js +120 -120
  626. package/dist/tool/plugin/shell.js +210 -210
  627. package/dist/tool/plugin/skill.js +105 -105
  628. package/dist/tool/plugin/subagent.js +212 -212
  629. package/dist/tool/plugin/webfetch.js +102 -102
  630. package/dist/tool/plugin/websearch.js +108 -108
  631. package/dist/tool/plugin/write.js +116 -116
  632. package/dist/tool/read-filesystem.js +96 -96
  633. package/dist/tool/runtime.js +1 -1
  634. package/dist/tool-output.js +8 -8
  635. package/dist/tool.js +15 -15
  636. package/dist/types/v1/config/migrate.d.ts +1 -1
  637. package/dist/util/error.js +1 -1
  638. package/dist/util/iife.js +1 -1
  639. package/dist/util/lazy.js +1 -1
  640. package/dist/util/slug.js +1 -1
  641. package/dist/util/token.js +1 -1
  642. package/dist/util/which.js +1 -1
  643. package/dist/util/wildcard.js +1 -1
  644. package/dist/v1/config/agent.js +5 -5
  645. package/dist/v1/config/attachment.js +4 -4
  646. package/dist/v1/config/command.js +5 -5
  647. package/dist/v1/config/config.js +16 -16
  648. package/dist/v1/config/error.js +2 -2
  649. package/dist/v1/config/formatter.js +3 -3
  650. package/dist/v1/config/layout.js +1 -1
  651. package/dist/v1/config/lsp.js +5 -5
  652. package/dist/v1/config/mcp.js +4 -4
  653. package/dist/v1/config/migrate.js +4 -4
  654. package/dist/v1/config/permission.js +3 -3
  655. package/dist/v1/config/plugin.js +3 -3
  656. package/dist/v1/config/provider-options.js +1 -1
  657. package/dist/v1/config/provider.js +4 -4
  658. package/dist/v1/config/server.js +2 -2
  659. package/dist/v1/config/skills.js +3 -3
  660. package/dist/v1/permission.js +1 -1
  661. package/dist/vcs/patch.js +1 -1
  662. package/dist/vcs.js +85 -85
  663. package/dist/websearch.js +82 -82
  664. package/dist/wellknown/plugin.js +74 -74
  665. package/dist/wellknown.js +77 -77
  666. package/dist/workspace/driver.js +3 -3
  667. package/dist/workspace/sql.js +1 -1
  668. package/dist/workspace.js +78 -78
  669. package/dist/worktree/directory.js +4 -4
  670. package/dist/worktree/git.js +7 -7
  671. package/dist/worktree/sql.js +5 -5
  672. package/dist/worktree.js +90 -90
  673. package/package.json +7 -7
  674. package/dist/chunks/persistent-pty-35chk74t.js +0 -4
  675. package/dist/chunks/persistent-pty-40ke5ycv.js +0 -18
  676. package/dist/chunks/persistent-pty-by7j3p9d.js +0 -22
  677. package/dist/chunks/persistent-pty-ch0he8ej.js +0 -450
  678. package/dist/chunks/persistent-pty-qqytqg20.js +0 -243
  679. package/dist/chunks/persistent-pty-zy35xm16.js +0 -20
  680. /package/dist/chunks/{persistent-pty-0fabt78z.js → shell-0fabt78z.js} +0 -0
  681. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  682. /package/dist/chunks/{persistent-pty-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  683. /package/dist/chunks/{persistent-pty-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  684. /package/dist/chunks/{persistent-pty-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  685. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  686. /package/dist/chunks/{persistent-pty-2710q6r3.js → shell-2710q6r3.js} +0 -0
  687. /package/dist/chunks/{persistent-pty-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  688. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  689. /package/dist/chunks/{persistent-pty-359p4xyc.js → shell-359p4xyc.js} +0 -0
  690. /package/dist/chunks/{persistent-pty-3asan66x.js → shell-3asan66x.js} +0 -0
  691. /package/dist/chunks/{persistent-pty-3t738kvx.js → shell-3t738kvx.js} +0 -0
  692. /package/dist/chunks/{persistent-pty-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  693. /package/dist/chunks/{persistent-pty-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-41nvscxy.js → shell-41nvscxy.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-53557ph1.js → shell-53557ph1.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-550bvhaj.js → shell-550bvhaj.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-5qd3pb7m.js → shell-5qd3pb7m.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-6prwharc.js → shell-6prwharc.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-7m9af43g.js → shell-7m9af43g.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-822emrt2.js → shell-822emrt2.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-8n3pysct.js → shell-8n3pysct.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-982e01ww.js → shell-982e01ww.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-a1tpkmh4.js → shell-a1tpkmh4.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-af5trqkr.js → shell-af5trqkr.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-afrmfg78.js → shell-afrmfg78.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-d9fn303g.js → shell-d9fn303g.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-dajrwvna.js → shell-dajrwvna.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-dap0rakb.js → shell-dap0rakb.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-df08tz66.js → shell-df08tz66.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-dy18nga0.js → shell-dy18nga0.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-faypxj3z.js → shell-faypxj3z.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-fd410y7t.js → shell-fd410y7t.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-g86h250q.js → shell-g86h250q.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-hk9envan.js → shell-hk9envan.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-mntxs535.js → shell-mntxs535.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-mp448xyj.js → shell-mp448xyj.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-njntx4h6.js → shell-njntx4h6.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-p8qxwesx.js → shell-p8qxwesx.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-q74kybfr.js → shell-q74kybfr.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-se0s1eqw.js → shell-se0s1eqw.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-twg0f83k.js → shell-twg0f83k.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-w803qqfp.js → shell-w803qqfp.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-wtztk69x.js → shell-wtztk69x.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-x1b8g1yb.js → shell-x1b8g1yb.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-x61499pn.js → shell-x61499pn.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-y44na4kk.js → shell-y44na4kk.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-z9919s4g.js → shell-z9919s4g.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-zbjnn3ac.js → shell-zbjnn3ac.js} +0 -0
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-p8qxwesx.js";
3
+ } from "./shell-p8qxwesx.js";
4
4
  import {
5
- node72
6
- } from "./persistent-pty-shbsgx5h.js";
5
+ node76
6
+ } from "./shell-xvcttetg.js";
7
7
  import {
8
8
  ID12
9
- } from "./persistent-pty-ymbwt96j.js";
9
+ } from "./shell-vwvvp157.js";
10
10
  import {
11
11
  Slug2
12
- } from "./persistent-pty-gebd4c9n.js";
12
+ } from "./shell-gebd4c9n.js";
13
13
  import {
14
14
  Service80,
15
15
  node84
16
- } from "./persistent-pty-bzc17vb9.js";
16
+ } from "./shell-pwya9n2y.js";
17
17
  import {
18
- Service78,
19
- node82
20
- } from "./persistent-pty-smgpfta5.js";
18
+ Service79,
19
+ node83
20
+ } from "./shell-e6r8zxve.js";
21
21
  import {
22
22
  ProjectTable2
23
- } from "./persistent-pty-9qm9egsn.js";
23
+ } from "./shell-9qm9egsn.js";
24
24
  import {
25
25
  WorktreeTable2
26
- } from "./persistent-pty-ajtjthsy.js";
26
+ } from "./shell-ajtjthsy.js";
27
27
  import {
28
- Service67,
29
- node70
30
- } from "./persistent-pty-c47xcf4v.js";
28
+ Service71,
29
+ node74
30
+ } from "./shell-afp9cpv0.js";
31
31
  import {
32
32
  DirectoryUnavailableError2,
33
- canonical3
34
- } from "./persistent-pty-y2cqme3r.js";
33
+ canonical2
34
+ } from "./shell-93a8yfjt.js";
35
35
  import {
36
- make17
37
- } from "./persistent-pty-7x0f5kvq.js";
36
+ make10
37
+ } from "./shell-7gv5bdgm.js";
38
38
  import {
39
39
  __export
40
- } from "./persistent-pty-9rqn6x4v.js";
40
+ } from "./shell-9rqn6x4v.js";
41
41
 
42
42
  // src/worktree.ts
43
43
  var exports_worktree = {};
@@ -46,21 +46,21 @@ __export(exports_worktree, {
46
46
  DestinationExistsError: () => DestinationExistsError2,
47
47
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
48
48
  DuplicateStrategyError: () => DuplicateStrategyError2,
49
- Event: () => Event7,
50
- Info: () => Info9,
49
+ Event: () => Event4,
50
+ Info: () => Info3,
51
51
  InvalidDirectoryError: () => InvalidDirectoryError2,
52
52
  List: () => List2,
53
53
  ListEntry: () => ListEntry3,
54
- ListInput: () => ListInput5,
54
+ ListInput: () => ListInput3,
55
55
  RefreshInput: () => RefreshInput2,
56
56
  RefreshResult: () => RefreshResult2,
57
57
  RemoveInput: () => RemoveInput2,
58
- Service: () => Service45,
58
+ Service: () => Service18,
59
59
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
60
60
  StrategyID: () => StrategyID2,
61
61
  StrategyUnavailableError: () => StrategyUnavailableError2,
62
62
  Worktree: () => exports_worktree,
63
- node: () => node47,
63
+ node: () => node20,
64
64
  refreshAfterBoot: () => refreshAfterBoot2,
65
65
  refreshNode: () => refreshNode2
66
66
  });
@@ -82,8 +82,8 @@ var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info9 = Worktree.Info;
86
- var ListInput5 = Worktree.ListInput;
85
+ var Info3 = Worktree.Info;
86
+ var ListInput3 = Worktree.ListInput;
87
87
  var List2 = Worktree.List;
88
88
  var ListEntry3 = Schema.Struct({
89
89
  directory: AbsolutePath2,
@@ -104,13 +104,13 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
104
104
 
105
105
  class DuplicateStrategyError2 extends Schema.TaggedError()("Worktree.DuplicateStrategyError", { strategy: StrategyID2 }) {
106
106
  }
107
- var Event7 = Worktree.Event;
107
+ var Event4 = Worktree.Event;
108
108
 
109
- class Service45 extends Context.Service()("@opencode/v2/Worktree") {
109
+ class Service18 extends Context.Service()("@opencode/v2/Worktree") {
110
110
  }
111
111
  var refreshAfterBoot2 = Effect.gen(function* () {
112
- const location = yield* Service67;
113
- const worktrees = yield* Service45;
112
+ const location = yield* Service71;
113
+ const worktrees = yield* Service18;
114
114
  yield* Effect.gen(function* () {
115
115
  yield* Effect.logInfo("worktree refresh started", { projectID: location.project.id });
116
116
  const result = yield* worktrees.refresh({ projectID: location.project.id });
@@ -121,14 +121,14 @@ var refreshAfterBoot2 = Effect.gen(function* () {
121
121
  });
122
122
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped, Effect.asVoid);
123
123
  });
124
- var layer = Layer.effect(Service45, Effect.gen(function* () {
124
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
125
125
  const fs = yield* FSUtil.Service;
126
126
  const db = (yield* Service80).db;
127
- const bus = yield* Service78;
127
+ const bus = yield* Service79;
128
128
  const processService = yield* AppProcess.Service;
129
129
  const changed = Effect.fnUntraced(function* (projectID, update) {
130
130
  if (update)
131
- yield* bus.publish(Event7.Updated, { projectID });
131
+ yield* bus.publish(Event4.Updated, { projectID });
132
132
  });
133
133
  const ops = {
134
134
  list: Effect.fn("Worktree.list")(function* (projectID) {
@@ -155,13 +155,13 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
155
155
  return yield* new DuplicateStrategyError2({ strategy: strategy.id });
156
156
  registry.set(strategy.id, strategy);
157
157
  });
158
- const gitStrategy = yield* make17;
158
+ const gitStrategy = yield* make10;
159
159
  yield* register(gitStrategy).pipe(Effect.orDie);
160
160
  const source = Effect.fnUntraced(function* (input, projectID) {
161
161
  const sourceDirectory = input ?? (yield* ops.primary(projectID))?.directory;
162
162
  if (!sourceDirectory)
163
163
  return yield* new SourceDirectoryNotFoundError2({ projectID });
164
- const resolved = yield* canonical3(fs, sourceDirectory);
164
+ const resolved = yield* canonical2(fs, sourceDirectory);
165
165
  if ((yield* ops.find(projectID, resolved)) === undefined)
166
166
  return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
167
167
  return resolved;
@@ -213,7 +213,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
213
213
  return result;
214
214
  });
215
215
  const remove = Effect.fn("Worktree.remove")(function* (input) {
216
- const worktreeDirectory = yield* canonical3(fs, input.directory);
216
+ const worktreeDirectory = yield* canonical2(fs, input.directory);
217
217
  const stored = yield* ops.find(input.projectID, worktreeDirectory);
218
218
  if (!stored?.strategy)
219
219
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
244
244
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
245
245
  return changes;
246
246
  });
247
- return Service45.of({
247
+ return Service18.of({
248
248
  register,
249
249
  list: ops.list,
250
250
  create,
@@ -252,15 +252,15 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
252
252
  refresh
253
253
  });
254
254
  }));
255
- var node47 = makeGlobalNode({
256
- service: Service45,
255
+ var node20 = makeGlobalNode({
256
+ service: Service18,
257
257
  layer,
258
- deps: [FSUtil.node, node72, node82, node84, AppProcess.node]
258
+ deps: [FSUtil.node, node76, node83, node84, AppProcess.node]
259
259
  });
260
260
  var refreshNode2 = makeLocationNode({
261
261
  name: "worktree-refresh",
262
262
  layer: Layer.effectDiscard(refreshAfterBoot2),
263
- deps: [node47, node70]
263
+ deps: [node20, node74]
264
264
  });
265
265
 
266
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshInput2, RefreshResult2, Info9, ListInput5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, DuplicateStrategyError2, Event7, Service45, refreshAfterBoot2, node47, refreshNode2, exports_worktree };
266
+ export { StrategyID2, CreateInput3, RemoveInput2, RefreshInput2, RefreshResult2, Info3, ListInput3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, DuplicateStrategyError2, Event4, Service18, refreshAfterBoot2, node20, refreshNode2, exports_worktree };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service57
4
- } from "./persistent-pty-eerwjj66.js";
3
+ Service63
4
+ } from "./shell-zkcybhg5.js";
5
5
  import {
6
- Service56
7
- } from "./persistent-pty-rb1agnwm.js";
6
+ Service68
7
+ } from "./shell-5424cwtj.js";
8
8
  import {
9
9
  observe2
10
- } from "./persistent-pty-qsdy395h.js";
10
+ } from "./shell-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin27
19
+ Plugin: () => Plugin17
20
20
  });
21
21
  import { define } from "@opencode-ai/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin27 = define({
23
+ var Plugin17 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service57;
27
- const output = yield* Service56;
26
+ const config = yield* Service63;
27
+ const output = yield* Service68;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin27 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin27, exports_tool_output };
41
+ export { Plugin17, exports_tool_output };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./persistent-pty-550bvhaj.js";
3
+ } from "./shell-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./persistent-pty-j5zkgpj8.js";
6
+ } from "./shell-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./persistent-pty-3asan66x.js";
9
+ } from "./shell-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./persistent-pty-ykczf8eq.js";
12
+ } from "./shell-sykc9y4a.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service78
3
- } from "./persistent-pty-smgpfta5.js";
2
+ Service79
3
+ } from "./shell-e6r8zxve.js";
4
4
  import {
5
- ID18
6
- } from "./persistent-pty-g2c9bhkq.js";
5
+ ID15
6
+ } from "./shell-hc4b3kyg.js";
7
7
  import {
8
- ID16
9
- } from "./persistent-pty-wvx09938.js";
8
+ ID14
9
+ } from "./shell-sxaj9jh7.js";
10
10
  import {
11
11
  Event19
12
- } from "./persistent-pty-81xmbs00.js";
12
+ } from "./shell-y90mbezs.js";
13
13
  import {
14
- ID14
15
- } from "./persistent-pty-ne5w19nk.js";
14
+ ID16
15
+ } from "./shell-y384eh8z.js";
16
16
  import {
17
- Service73
18
- } from "./persistent-pty-2tn9agq3.js";
17
+ Service56
18
+ } from "./shell-5e3azpn7.js";
19
19
  import {
20
- get2
21
- } from "./persistent-pty-4xjdkfjs.js";
20
+ get3
21
+ } from "./shell-pxcwkz2f.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect, Semaphore, Stream } from "effect";
25
25
  import { define } from "@opencode-ai/plugin/effect/plugin";
26
- var providerID = ID18.make("modal");
26
+ var providerID = ID15.make("modal");
27
27
  var ModalPlugin2 = define({
28
28
  id: "opencode.provider.modal",
29
29
  effect: Effect.fn(function* (ctx) {
30
- const catalog = yield* Service73;
31
- const bus = yield* Service78;
30
+ const catalog = yield* Service56;
31
+ const bus = yield* Service79;
32
32
  const loading = Semaphore.makeUnsafe(1);
33
33
  const loaded = {};
34
34
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
47
47
  loaded.baseURL = baseURL;
48
48
  const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
49
49
  loaded.models = yield* Effect.tryPromise({
50
- try: () => get2(baseURL, apiKey, existing),
50
+ try: () => get3(baseURL, apiKey, existing),
51
51
  catch: (cause) => cause
52
52
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
53
53
  });
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
58
58
  if (!loaded.models)
59
59
  return;
60
60
  for (const id of item.models.keys()) {
61
- if (!loaded.models.has(ID16.make(id)))
61
+ if (!loaded.models.has(ID14.make(id)))
62
62
  evt.model.remove(item.provider.id, id);
63
63
  }
64
64
  for (const [id, model] of loaded.models) {
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
66
66
  }
67
67
  });
68
68
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
69
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
70
  yield* refresh().pipe(Effect.forkScoped);
71
71
  })
72
72
  });
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-twy2b4zd.js";
3
+ } from "./shell-20gpa56p.js";
4
4
  import {
5
- ID18
6
- } from "./persistent-pty-g2c9bhkq.js";
5
+ ID15
6
+ } from "./shell-hc4b3kyg.js";
7
7
  import {
8
8
  iife2
9
- } from "./persistent-pty-1kg9ymc8.js";
9
+ } from "./shell-1kg9ymc8.js";
10
10
  import {
11
11
  configuredSettings2
12
- } from "./persistent-pty-10pzdvzd.js";
12
+ } from "./shell-frv4a811.js";
13
13
 
14
14
  // src/plugin/provider/cloudflare-ai-gateway.ts
15
15
  import os from "os";
16
16
  import { Effect, Option, Schema } from "effect";
17
17
  import { define } from "@opencode-ai/plugin/effect/plugin";
18
18
  import { Form } from "@opencode-ai/schema/form";
19
- var providerID = ID18.make("cloudflare-ai-gateway");
19
+ var providerID = ID15.make("cloudflare-ai-gateway");
20
20
  var CloudflareAIGatewayPlugin2 = define({
21
21
  id: "opencode.provider.cloudflare.ai.gateway",
22
22
  effect: Effect.fn(function* (ctx) {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./persistent-pty-af5cxv86.js";
3
+ } from "./shell-fy7q1eta.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin13
12
+ Plugin: () => Plugin42
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode-ai/ai";
15
15
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin13 = define({
32
+ var Plugin42 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin13, exports_plan };
109
+ export { Plugin42, exports_plan };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service40
3
- } from "./persistent-pty-af5cxv86.js";
2
+ Service41
3
+ } from "./shell-fy7q1eta.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./persistent-pty-a1tpkmh4.js";
7
+ } from "./shell-a1tpkmh4.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./persistent-pty-3v8g72cx.js";
10
+ } from "./shell-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input9,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
19
+ Input: () => Input6,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
22
  Plugin: () => Plugin23,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name9
27
+ name: () => name6
28
28
  });
29
29
  import { ToolFailure } from "@opencode-ai/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name9 = "webfetch";
34
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
33
+ var name6 = "webfetch";
34
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
37
  var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input9 = Schema.Struct({
41
+ var Input6 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input9.fields.format,
51
+ format: Input6.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -96,12 +96,12 @@ var Plugin23 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service40;
99
+ const permission = yield* Service41;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name9,
101
+ name: name6,
102
102
  options: { codemode: false },
103
103
  description: description4,
104
- input: Input9,
104
+ input: Input6,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin23 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name9,
112
+ action: name6,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin23, extractTextFromHTML2, exports_webfetch };
170
+ export { name6, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input6, Plugin23, extractTextFromHTML2, exports_webfetch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/provider.ts
6
6
  var exports_provider3 = {};
7
7
  __export(exports_provider3, {
8
8
  AISDK_PREFIX: () => AISDK_PREFIX2,
9
- ID: () => ID18,
10
- Info: () => Info31,
9
+ ID: () => ID15,
10
+ Info: () => Info29,
11
11
  LoadError: () => LoadError3,
12
12
  Provider: () => exports_provider3,
13
13
  Request: () => Request3,
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
23
23
  import { Provider } from "@opencode-ai/schema/provider";
24
24
  import { isRecord } from "@opencode-ai/ai/utils/record";
25
25
  import { importModule, resolveModule } from "@opencode-ai/util/runtime-import";
26
- var ID18 = Provider.ID;
26
+ var ID15 = Provider.ID;
27
27
  var AISDK_PREFIX2 = "aisdk:";
28
28
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
29
29
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -137,7 +137,7 @@ function mergeHeaders2(base, overlay) {
137
137
  }
138
138
  var Request3 = Provider.Request;
139
139
  var Settings2 = Provider.Settings;
140
- var Info31 = Provider.Info;
140
+ var Info29 = Provider.Info;
141
141
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
142
142
  const module = yield* Effect.tryPromise({
143
143
  try: () => {
@@ -159,4 +159,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
159
159
  return module;
160
160
  });
161
161
 
162
- export { ID18, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info31, exports_provider3 };
162
+ export { ID15, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info29, exports_provider3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./persistent-pty-se0s1eqw.js";
3
+ } from "./shell-se0s1eqw.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./persistent-pty-p8qxwesx.js";
3
+ } from "./shell-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info15,
12
+ Info: () => Info16,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info15 = Schema.Struct({
64
+ var Info16 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info15 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info15, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info16, exports_provider2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-p8qxwesx.js";
3
+ } from "./shell-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service11,
11
+ Service: () => Service3,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node13
13
+ node: () => node4
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service3 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service11, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service11.of({
66
+ return Service3.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node4 = makeGlobalNode({ service: Service3, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service11, node13, exports_discovery };
155
+ export { Service3, node4, exports_discovery };