@opencode/core 0.0.0-dev-20587 → 0.0.0-dev-20592

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 (778) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{reference-hnn8dgg2.js → location-04b814vj.js} +26 -26
  8. package/dist/chunks/{reference-mm5yq9f6.js → location-054tnc23.js} +6 -6
  9. package/dist/chunks/{reference-2vs2nh1n.js → location-06x8he3q.js} +4 -4
  10. package/dist/chunks/{reference-0a424z4m.js → location-0dg42ne5.js} +21 -21
  11. package/dist/chunks/{reference-vaaeps5c.js → location-0frxavx5.js} +8 -8
  12. package/dist/chunks/{reference-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{reference-4h0sqrpn.js → location-0q4asv20.js} +13 -13
  14. package/dist/chunks/{reference-z6c3x22d.js → location-0r3c1bmw.js} +5 -5
  15. package/dist/chunks/{reference-g7xeyaj0.js → location-0v8cvypb.js} +5 -5
  16. package/dist/chunks/{reference-0vbcp93d.js → location-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{reference-3dptaw0d.js → location-0zhyzqfm.js} +11 -11
  18. package/dist/chunks/{reference-hryntbm6.js → location-12jzj71f.js} +21 -21
  19. package/dist/chunks/{reference-f5gy8qwh.js → location-18rp1xkf.js} +8 -8
  20. package/dist/chunks/{reference-h9353qrc.js → location-1cfxdkjr.js} +24 -24
  21. package/dist/chunks/{reference-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{reference-1dvck2a7.js → location-1dvck2a7.js} +2 -2
  23. package/dist/chunks/{reference-bgjpcfh1.js → location-1ebfveph.js} +42 -42
  24. package/dist/chunks/{reference-6n0c2nxw.js → location-1fq1yvq8.js} +34 -34
  25. package/dist/chunks/{reference-1p07q0wb.js → location-1p07q0wb.js} +2 -2
  26. package/dist/chunks/{reference-zwc3pnar.js → location-1rax0fa3.js} +24 -24
  27. package/dist/chunks/{reference-f65bz2q7.js → location-1vn7zg0x.js} +1 -1
  28. package/dist/chunks/{reference-4dq32q0a.js → location-1vt8akqd.js} +8 -8
  29. package/dist/chunks/{reference-mzzkv1b5.js → location-208m000x.js} +1 -1
  30. package/dist/chunks/{reference-28at9kpj.js → location-28hqb7n1.js} +16 -16
  31. package/dist/chunks/{reference-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{reference-n90frd9p.js → location-2f6pnyrz.js} +3 -3
  33. package/dist/chunks/{reference-2k8khapm.js → location-2k8khapm.js} +1 -1
  34. package/dist/chunks/{reference-1hj56dzs.js → location-2xxcqrcn.js} +11 -11
  35. package/dist/chunks/{reference-ftyfyfhe.js → location-36tzexw9.js} +14 -14
  36. package/dist/chunks/{reference-3v047kxf.js → location-38ds4vsh.js} +16 -16
  37. package/dist/chunks/{reference-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{reference-k16ae6jh.js → location-3fkr87zm.js} +23 -23
  39. package/dist/chunks/{reference-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{reference-zzrgx2qg.js → location-3kd47etn.js} +1 -1
  41. package/dist/chunks/{reference-q9099wq0.js → location-3maez1s4.js} +11 -11
  42. package/dist/chunks/{reference-msxdz3am.js → location-3s266rdz.js} +5 -5
  43. package/dist/chunks/{reference-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{reference-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{reference-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{reference-n7szyvye.js → location-49a9rwdn.js} +18 -18
  47. package/dist/chunks/{reference-vh4dbhj0.js → location-4aa0vhjx.js} +46 -46
  48. package/dist/chunks/{reference-nh77y64w.js → location-4fk05cts.js} +7 -7
  49. package/dist/chunks/{reference-0w7ej8g6.js → location-4hb6xf6n.js} +79 -79
  50. package/dist/chunks/{reference-62txs9jh.js → location-4ndfp6x1.js} +11 -11
  51. package/dist/chunks/{reference-2ccvkpx1.js → location-4ts7tf6z.js} +2 -2
  52. package/dist/chunks/{reference-eptmzqw1.js → location-54e3h8mr.js} +11 -11
  53. package/dist/chunks/{reference-54ma36ye.js → location-54ma36ye.js} +1 -1
  54. package/dist/chunks/{reference-56gdpj1q.js → location-56gdpj1q.js} +2 -2
  55. package/dist/chunks/{reference-57b9ws8p.js → location-57b9ws8p.js} +1 -1
  56. package/dist/chunks/{reference-5daktx2q.js → location-5daktx2q.js} +1 -1
  57. package/dist/chunks/{reference-33vkvr6x.js → location-5f6vg0rf.js} +23 -23
  58. package/dist/chunks/{reference-rcz0qr92.js → location-5gvcwmqt.js} +9 -9
  59. package/dist/chunks/{reference-td76xh55.js → location-5ps1pq9q.js} +4 -4
  60. package/dist/chunks/{reference-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{reference-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{reference-9bzydxt0.js → location-5vv7abyh.js} +14 -14
  63. package/dist/chunks/{reference-669tq793.js → location-669tq793.js} +1 -1
  64. package/dist/chunks/{reference-e3cpgeff.js → location-68fe01gc.js} +11 -11
  65. package/dist/chunks/{reference-nxpdv9mh.js → location-6nad0zcg.js} +17 -17
  66. package/dist/chunks/{reference-9f35bx3k.js → location-6tgppvyb.js} +3 -3
  67. package/dist/chunks/{reference-6xb47vfp.js → location-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{reference-71az546q.js → location-71az546q.js} +2 -2
  69. package/dist/chunks/{reference-8c1ypbfp.js → location-744k6ap7.js} +21 -21
  70. package/dist/chunks/{reference-fedq4t26.js → location-753002kn.js} +8 -8
  71. package/dist/chunks/{reference-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{reference-g047z55c.js → location-7entjh6g.js} +9 -9
  73. package/dist/chunks/{reference-w36x1trb.js → location-7ghtbgxd.js} +3 -3
  74. package/dist/chunks/{reference-hdrn7jtd.js → location-7rgnchn8.js} +19 -19
  75. package/dist/chunks/{reference-qjy48y5a.js → location-7xenbtvb.js} +9 -9
  76. package/dist/chunks/{reference-84txncab.js → location-84txncab.js} +1 -1
  77. package/dist/chunks/{reference-qz5yzqrb.js → location-862a9g3e.js} +1 -1
  78. package/dist/chunks/{reference-ek9c5stx.js → location-885cwhyg.js} +5 -5
  79. package/dist/chunks/{reference-13st69t8.js → location-889f7s8w.js} +11 -11
  80. package/dist/chunks/{reference-be7qvw84.js → location-8aaqm6qj.js} +8 -8
  81. package/dist/chunks/{reference-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{reference-gwcpdn4r.js → location-8m3heav3.js} +11 -11
  83. package/dist/chunks/{reference-a7ykahx8.js → location-8mwfgycy.js} +14 -14
  84. package/dist/chunks/{reference-xasgz6m5.js → location-8nb6jekc.js} +7 -7
  85. package/dist/chunks/{reference-tbmac1c7.js → location-8tsdq50x.js} +4 -4
  86. package/dist/chunks/{reference-da456p6f.js → location-9a22g0r7.js} +28 -28
  87. package/dist/chunks/{reference-6121h2h6.js → location-9bdbrtbd.js} +2 -2
  88. package/dist/chunks/{reference-h26940z0.js → location-9ccmvy08.js} +24 -24
  89. package/dist/chunks/{reference-9e5bzkjp.js → location-9e5bzkjp.js} +3 -3
  90. package/dist/chunks/{reference-j02h87v3.js → location-9fg8585h.js} +1 -1
  91. package/dist/chunks/{reference-6jw82w3c.js → location-9mrc6n03.js} +25 -25
  92. package/dist/chunks/{reference-xwz313q0.js → location-9r3ewnwy.js} +20 -20
  93. package/dist/chunks/{reference-rhjbct0v.js → location-9t7a50xb.js} +4 -4
  94. package/dist/chunks/{reference-0v0fh1f4.js → location-9tkeg271.js} +42 -42
  95. package/dist/chunks/{reference-e51et464.js → location-a1f7asmn.js} +2 -2
  96. package/dist/chunks/{reference-2ghygp50.js → location-a36b5m4e.js} +10 -10
  97. package/dist/chunks/{reference-c20khjev.js → location-a8bn8zg0.js} +21 -21
  98. package/dist/chunks/{reference-aaet6srn.js → location-aaet6srn.js} +2 -2
  99. package/dist/chunks/{reference-7r0707g4.js → location-aanyagtj.js} +37 -37
  100. package/dist/chunks/{reference-xkwk6fd6.js → location-acwa04xh.js} +20 -20
  101. package/dist/chunks/{reference-z91awrxv.js → location-adysfw09.js} +16 -16
  102. package/dist/chunks/{reference-hneefbm4.js → location-agf2dshv.js} +9 -9
  103. package/dist/chunks/{reference-zyk1yjk8.js → location-b3f8fkhc.js} +5 -5
  104. package/dist/chunks/{reference-bk2zmp9c.js → location-b4e1wnd3.js} +13 -13
  105. package/dist/chunks/{reference-3556dn8t.js → location-b69jv39p.js} +1 -1
  106. package/dist/chunks/{reference-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{reference-1sx5ttk3.js → location-bg5zqpce.js} +19 -19
  108. package/dist/chunks/{reference-4bevpzhv.js → location-bj6es22j.js} +3 -3
  109. package/dist/chunks/{reference-tgjyt6x8.js → location-c7v6zzq0.js} +31 -31
  110. package/dist/chunks/{reference-q0a6wh5g.js → location-c909q0sd.js} +44 -44
  111. package/dist/chunks/{reference-b5hvc6g6.js → location-cezy49kc.js} +4 -4
  112. package/dist/chunks/{reference-fmt1hs8y.js → location-cpgfv9g7.js} +16 -16
  113. package/dist/chunks/{reference-62rnp32c.js → location-cs7mqzsj.js} +10 -10
  114. package/dist/chunks/{reference-y1pgr5ms.js → location-cs7pc868.js} +11 -11
  115. package/dist/chunks/{reference-qmqgtz8f.js → location-cwa6csj7.js} +9 -9
  116. package/dist/chunks/{reference-h4pjr44c.js → location-cy72xyjc.js} +20 -20
  117. package/dist/chunks/{reference-vaws9nke.js → location-d0xn2485.js} +24 -24
  118. package/dist/chunks/{reference-rt8ggq5v.js → location-d6kqysqe.js} +16 -16
  119. package/dist/chunks/{reference-yc4mm6dw.js → location-d6v3shm0.js} +14 -14
  120. package/dist/chunks/{reference-ae75as9k.js → location-d6zb4spv.js} +4 -4
  121. package/dist/chunks/{reference-dpkg50ah.js → location-dpkg50ah.js} +1 -1
  122. package/dist/chunks/{reference-1tdshpj3.js → location-dprde2v8.js} +36 -36
  123. package/dist/chunks/{reference-57e9z27j.js → location-dwq6ryhm.js} +8 -8
  124. package/dist/chunks/{reference-9eh6sf6d.js → location-e89xj288.js} +5 -5
  125. package/dist/chunks/{reference-qa3qhgw8.js → location-edrmdtr5.js} +7 -7
  126. package/dist/chunks/{reference-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{reference-8zs2xvcx.js → location-eh8c2qmt.js} +12 -12
  128. package/dist/chunks/{reference-s489hxh6.js → location-ejtxpja9.js} +32 -32
  129. package/dist/chunks/{reference-cpna35qm.js → location-etfnbv3k.js} +10 -10
  130. package/dist/chunks/{reference-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{reference-51r1ga28.js → location-f44pehqa.js} +30 -30
  132. package/dist/chunks/{reference-h1wh6nnm.js → location-f67x1zy2.js} +4 -4
  133. package/dist/chunks/{reference-906tg66d.js → location-f9fc5v37.js} +11 -11
  134. package/dist/chunks/{reference-276fgt7k.js → location-fftyvp1m.js} +15 -15
  135. package/dist/chunks/{reference-gnw3t1dc.js → location-fps9xx4y.js} +3 -3
  136. package/dist/chunks/{reference-crdrr85v.js → location-fq21f7h4.js} +3 -3
  137. package/dist/chunks/{reference-9nxp2j1r.js → location-fxk0vaaw.js} +6 -6
  138. package/dist/chunks/{reference-k8r11mjf.js → location-fy2r8eyy.js} +20 -20
  139. package/dist/chunks/{reference-yeezw0cj.js → location-g76set46.js} +11 -11
  140. package/dist/chunks/{reference-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{reference-tedbzwbh.js → location-ghe85yh1.js} +9 -9
  142. package/dist/chunks/{reference-mr4yzd1n.js → location-gj3rjvxa.js} +11 -11
  143. package/dist/chunks/{reference-c384rd0k.js → location-gje7t6g4.js} +2 -2
  144. package/dist/chunks/{reference-vqkrcv5y.js → location-gmmmxht9.js} +16 -16
  145. package/dist/chunks/{reference-h2tzc275.js → location-gnnxh0et.js} +17 -17
  146. package/dist/chunks/{reference-yn6nbke9.js → location-gxs67awe.js} +11 -11
  147. package/dist/chunks/{reference-4tbp73he.js → location-gzfwptkh.js} +6 -6
  148. package/dist/chunks/{reference-d5m53j50.js → location-h04255kf.js} +22 -22
  149. package/dist/chunks/{reference-h2b79v29.js → location-h2b79v29.js} +2 -2
  150. package/dist/chunks/{reference-1xxd6k95.js → location-h4ckqw4f.js} +8 -8
  151. package/dist/chunks/{reference-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{reference-3cd9n481.js → location-hb84g3y6.js} +9 -9
  153. package/dist/chunks/{reference-2c7hjkzv.js → location-hgtd7sxh.js} +9 -9
  154. package/dist/chunks/{reference-4n407jcq.js → location-hq6260kp.js} +10 -10
  155. package/dist/chunks/{reference-m74y07zs.js → location-hxqastbg.js} +3 -3
  156. package/dist/chunks/{reference-qapy5d55.js → location-hznm6a07.js} +13 -13
  157. package/dist/chunks/{reference-mvfsc1pv.js → location-j028xdjb.js} +3 -3
  158. package/dist/chunks/{reference-j56e64zr.js → location-j56e64zr.js} +1 -1
  159. package/dist/chunks/{reference-mzw9gwxy.js → location-j94h2k4s.js} +13 -13
  160. package/dist/chunks/{reference-0te1aq7m.js → location-jaj6bpj0.js} +28 -28
  161. package/dist/chunks/{reference-hasf9nkd.js → location-jca9gg5p.js} +39 -39
  162. package/dist/chunks/{reference-tbv9z12t.js → location-jh5x1drn.js} +2 -2
  163. package/dist/chunks/{reference-1jy03gaj.js → location-jsy5swvm.js} +7 -7
  164. package/dist/chunks/{reference-n21nhzwg.js → location-jx0hr23r.js} +4 -4
  165. package/dist/chunks/{reference-z493x013.js → location-k3snbwks.js} +3 -3
  166. package/dist/chunks/{reference-s48prvxc.js → location-kasw4fnh.js} +3 -3
  167. package/dist/chunks/{reference-rx5v959s.js → location-kp7xp7zq.js} +48 -48
  168. package/dist/chunks/{reference-e8mb8cqx.js → location-krh5ag8n.js} +30 -30
  169. package/dist/chunks/{reference-r9zdjfxd.js → location-kt94w41r.js} +23 -23
  170. package/dist/chunks/{reference-jk02jdk9.js → location-kyym90d5.js} +20 -20
  171. package/dist/chunks/{reference-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  172. package/dist/chunks/{reference-brt5an88.js → location-m67a48vq.js} +9 -9
  173. package/dist/chunks/{reference-pj1gdqhf.js → location-m6x09j7z.js} +9 -9
  174. package/dist/chunks/{reference-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{reference-mb14aw74.js → location-mb14aw74.js} +2 -2
  176. package/dist/chunks/{reference-dkr6ry3g.js → location-mdcmsqgv.js} +8 -8
  177. package/dist/chunks/{reference-mwwxnxty.js → location-mhgx8wws.js} +4 -4
  178. package/dist/chunks/{reference-9q26wnhp.js → location-mkw4htn4.js} +14 -14
  179. package/dist/chunks/{reference-89anvpvk.js → location-mms20fb7.js} +3 -3
  180. package/dist/chunks/{reference-0yw8jrmx.js → location-mtpf0eaq.js} +12 -12
  181. package/dist/chunks/{reference-9707ta7n.js → location-mw8x7xmb.js} +18 -18
  182. package/dist/chunks/{reference-2z6nk9rc.js → location-my7xq1gk.js} +13 -13
  183. package/dist/chunks/{reference-c02d881x.js → location-n50d1mbn.js} +13 -13
  184. package/dist/chunks/{reference-smgnyfxh.js → location-nzytz929.js} +312 -312
  185. package/dist/chunks/{reference-csmvz898.js → location-patgj9rf.js} +9 -9
  186. package/dist/chunks/{reference-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  187. package/dist/chunks/{reference-pknna89w.js → location-pknna89w.js} +1 -1
  188. package/dist/chunks/{reference-xwjbp7xw.js → location-pr8n2gpy.js} +49 -49
  189. package/dist/chunks/{reference-jh2kc7t1.js → location-ptr9j6f1.js} +13 -13
  190. package/dist/chunks/{reference-x6xjy9sr.js → location-pxgdc7gq.js} +30 -30
  191. package/dist/chunks/{reference-merhc0f7.js → location-pyg8na7s.js} +15 -15
  192. package/dist/chunks/{reference-0j77ygfz.js → location-q0xm7vwc.js} +6 -6
  193. package/dist/chunks/{reference-ckapse2z.js → location-q1rbzsas.js} +17 -17
  194. package/dist/chunks/{reference-4jrcr0tk.js → location-q35vxh5k.js} +15 -15
  195. package/dist/chunks/{reference-zn5p4xjj.js → location-q9bsambt.js} +4 -4
  196. package/dist/chunks/{reference-vkp904sp.js → location-qdkhcs1j.js} +9 -9
  197. package/dist/chunks/{reference-wadaxy67.js → location-qf0ka5h8.js} +21 -21
  198. package/dist/chunks/{reference-qnc92qwc.js → location-qnc92qwc.js} +1 -1
  199. package/dist/chunks/{reference-4rzegzkw.js → location-qp2k86zs.js} +20 -20
  200. package/dist/chunks/{reference-7zy8br1g.js → location-qpbcz52v.js} +3 -3
  201. package/dist/chunks/{reference-qsdy395h.js → location-qsdy395h.js} +1 -1
  202. package/dist/chunks/{reference-18pd0k8w.js → location-qtt91nwf.js} +9 -9
  203. package/dist/chunks/{reference-8mbscqky.js → location-qwjmgwmn.js} +8 -8
  204. package/dist/chunks/{reference-4ttn132a.js → location-r04gnbv5.js} +8 -8
  205. package/dist/chunks/{reference-z6sqrxtq.js → location-r7z4zpnk.js} +6 -6
  206. package/dist/chunks/{reference-1v231d3m.js → location-r9r9k7q8.js} +33 -33
  207. package/dist/chunks/{reference-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{reference-60zx66yq.js → location-rj343a89.js} +26 -26
  209. package/dist/chunks/{reference-axsdja44.js → location-rj6r6gv2.js} +15 -15
  210. package/dist/chunks/{reference-f0k10bmp.js → location-rknj2zf3.js} +8 -8
  211. package/dist/chunks/{reference-5e1anv4t.js → location-rnr5nq63.js} +19 -19
  212. package/dist/chunks/{reference-wf5a3he0.js → location-rsc59hem.js} +14 -14
  213. package/dist/chunks/{reference-sexz0h36.js → location-rvpc5zrz.js} +9 -9
  214. package/dist/chunks/{reference-fzztmtyv.js → location-rw98h6j7.js} +79 -79
  215. package/dist/chunks/{reference-1ahxm6sd.js → location-rx8vmh8h.js} +31 -31
  216. package/dist/chunks/{reference-rvwrtnmj.js → location-rz58q6yw.js} +32 -32
  217. package/dist/chunks/{reference-f9a4pn72.js → location-s61s5w7f.js} +7 -7
  218. package/dist/chunks/{reference-r44petzp.js → location-s800pt51.js} +5 -5
  219. package/dist/chunks/{reference-f79gec3w.js → location-sdvk2ad6.js} +20 -20
  220. package/dist/chunks/{reference-5w6ne2rj.js → location-sr6vbnxh.js} +10 -10
  221. package/dist/chunks/{reference-as4zy6vm.js → location-swabsky0.js} +6 -6
  222. package/dist/chunks/{reference-w9z1evgj.js → location-sxgab442.js} +9 -9
  223. package/dist/chunks/{reference-4mwpykj0.js → location-sxzvkvgj.js} +6 -6
  224. package/dist/chunks/{reference-aen5yss8.js → location-sz5ygx6f.js} +17 -17
  225. package/dist/chunks/{reference-jt8tan63.js → location-t4y3srrf.js} +14 -14
  226. package/dist/chunks/{reference-jax8j6c6.js → location-t6f0ehky.js} +10 -10
  227. package/dist/chunks/{reference-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{reference-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{reference-5w2vcsqn.js → location-tdqwxjwb.js} +122 -122
  230. package/dist/chunks/{reference-tdstcens.js → location-tdstcens.js} +1 -1
  231. package/dist/chunks/{reference-vcyfbsct.js → location-tez6vn9k.js} +6 -6
  232. package/dist/chunks/{reference-fpecnkgp.js → location-tg7bkhef.js} +5 -5
  233. package/dist/chunks/{reference-7mnt2941.js → location-tkq3xk61.js} +22 -22
  234. package/dist/chunks/{reference-br0tr5aq.js → location-tpw6cwsb.js} +8 -8
  235. package/dist/chunks/{reference-avw4htaf.js → location-ts68ycfj.js} +24 -24
  236. package/dist/chunks/location-v1faaxn9.js +18 -0
  237. package/dist/chunks/{reference-cfypbh6h.js → location-v3tqgmst.js} +22 -22
  238. package/dist/chunks/{reference-5cqz128n.js → location-v6f01h6h.js} +14 -14
  239. package/dist/chunks/{reference-0dh5pvxp.js → location-v7dthscp.js} +24 -24
  240. package/dist/chunks/{reference-mkh9k1h6.js → location-va45sze5.js} +29 -29
  241. package/dist/chunks/{reference-5eqgw8nb.js → location-vazrgfpm.js} +3 -3
  242. package/dist/chunks/{reference-veqvce7d.js → location-veqvce7d.js} +1 -1
  243. package/dist/chunks/{reference-vhtvrbyw.js → location-vkb7t2qc.js} +8 -8
  244. package/dist/chunks/{reference-0fmqyjny.js → location-vm0nw8c4.js} +25 -25
  245. package/dist/chunks/{reference-as7cf5zz.js → location-vn72gsba.js} +4 -4
  246. package/dist/chunks/{reference-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{reference-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{reference-w2h15q85.js → location-w39jehkq.js} +5 -5
  249. package/dist/chunks/{reference-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{reference-6apts7gk.js → location-w5t5kzd9.js} +5 -5
  251. package/dist/chunks/{reference-sfq2mayw.js → location-w69p11eg.js} +13 -13
  252. package/dist/chunks/{reference-40etmpxy.js → location-w84mnb9g.js} +14 -14
  253. package/dist/chunks/{reference-5ga8pmy8.js → location-w8qpna6r.js} +27 -27
  254. package/dist/chunks/{reference-wd87259q.js → location-wd87259q.js} +1 -1
  255. package/dist/chunks/location-wn9z1chv.js +253 -0
  256. package/dist/chunks/{reference-1qnvanna.js → location-wrxqmzes.js} +24 -24
  257. package/dist/chunks/{reference-a2xqkxgc.js → location-wt0s9j3r.js} +15 -15
  258. package/dist/chunks/{reference-axs6pdy0.js → location-x2d9qy7d.js} +5 -5
  259. package/dist/chunks/{reference-9sqgpkz6.js → location-x2w20ksh.js} +11 -11
  260. package/dist/chunks/{reference-bp8fbaqn.js → location-x3gqap9d.js} +4 -4
  261. package/dist/chunks/{reference-addxnjmp.js → location-x661k3y3.js} +4 -4
  262. package/dist/chunks/{reference-ez6c34s8.js → location-x7fd5fgg.js} +25 -25
  263. package/dist/chunks/{reference-xkntkrq7.js → location-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{reference-zcatgnda.js → location-xvc21b3d.js} +12 -12
  265. package/dist/chunks/{reference-xyafkbt0.js → location-xyafkbt0.js} +3 -3
  266. package/dist/chunks/{reference-vbdbrvqk.js → location-xyh3p86x.js} +27 -27
  267. package/dist/chunks/{reference-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{reference-t52a3v9d.js → location-y2ve5wpy.js} +1 -1
  269. package/dist/chunks/{reference-s8262drx.js → location-y8h45gdm.js} +19 -19
  270. package/dist/chunks/{reference-gqpz8759.js → location-y90f3fk4.js} +11 -11
  271. package/dist/chunks/{reference-yp2x3t23.js → location-yp2x3t23.js} +1 -1
  272. package/dist/chunks/{reference-4z58m4b4.js → location-yrcj3v3g.js} +4 -4
  273. package/dist/chunks/{reference-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{reference-bydnjh3t.js → location-z4ztj7g0.js} +5 -5
  275. package/dist/chunks/{reference-p5wc048m.js → location-za3xpkyj.js} +26 -26
  276. package/dist/chunks/{reference-hggj5nbt.js → location-zbt8hm9w.js} +70 -70
  277. package/dist/chunks/{reference-rarzp9d6.js → location-zegnn946.js} +40 -40
  278. package/dist/chunks/{reference-3yp4znr7.js → location-zes232r0.js} +13 -13
  279. package/dist/chunks/{reference-sjcrvc3z.js → location-znxafpy1.js} +6 -6
  280. package/dist/chunks/{reference-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{reference-75c7h6s3.js → location-zvej5ecj.js} +20 -20
  282. package/dist/chunks/{reference-ydm7tw01.js → location-zvvxcepe.js} +26 -26
  283. package/dist/chunks/{reference-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +117 -117
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +81 -81
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +97 -97
  419. package/dist/filesystem/watcher-binding.js +3 -3
  420. package/dist/filesystem/watcher.js +11 -11
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +83 -83
  425. package/dist/generate.js +105 -105
  426. package/dist/git.js +6 -6
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +85 -85
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +81 -81
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +103 -103
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +96 -96
  472. package/dist/model.js +98 -98
  473. package/dist/models-dev.js +103 -103
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +78 -78
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +113 -113
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +82 -82
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +102 -102
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +115 -115
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +115 -115
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +4 -4
  538. package/dist/plugin/vcs/git.js +84 -84
  539. package/dist/plugin/vcs/hg.js +84 -84
  540. package/dist/plugin/verbosity.js +91 -91
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +216 -216
  550. package/dist/project/schema.js +4 -4
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +82 -82
  553. package/dist/provider.js +97 -97
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +93 -93
  557. package/dist/reference/instructions.js +87 -87
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +7 -7
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +214 -214
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +15 -15
  577. package/dist/session/inbox.js +86 -86
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +1 -1
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +205 -205
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +205 -205
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +105 -105
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +126 -126
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +122 -122
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +4 -4
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +7 -7
  662. package/dist/v1/config/plugin.js +1 -1
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +84 -84
  669. package/dist/wellknown/plugin.js +74 -74
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +78 -78
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +8 -8
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +94 -94
  679. package/package.json +8 -8
  680. package/dist/chunks/reference-8eazr78z.js +0 -253
  681. package/dist/chunks/reference-9sh4wc5j.js +0 -18
  682. /package/dist/chunks/{reference-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{reference-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{reference-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  685. /package/dist/chunks/{reference-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  686. /package/dist/chunks/{reference-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  687. /package/dist/chunks/{reference-24dcb14g.js → location-24dcb14g.js} +0 -0
  688. /package/dist/chunks/{reference-2710q6r3.js → location-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{reference-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{reference-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{reference-34c7v6d4.js → location-34c7v6d4.js} +0 -0
  692. /package/dist/chunks/{reference-359p4xyc.js → location-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{reference-3asan66x.js → location-3asan66x.js} +0 -0
  694. /package/dist/chunks/{reference-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
  695. /package/dist/chunks/{reference-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{reference-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  697. /package/dist/chunks/{reference-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{reference-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{reference-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{reference-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  701. /package/dist/chunks/{reference-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{reference-53557ph1.js → location-53557ph1.js} +0 -0
  703. /package/dist/chunks/{reference-550bvhaj.js → location-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{reference-6prwharc.js → location-6prwharc.js} +0 -0
  705. /package/dist/chunks/{reference-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  706. /package/dist/chunks/{reference-7m9af43g.js → location-7m9af43g.js} +0 -0
  707. /package/dist/chunks/{reference-822emrt2.js → location-822emrt2.js} +0 -0
  708. /package/dist/chunks/{reference-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  709. /package/dist/chunks/{reference-8n3pysct.js → location-8n3pysct.js} +0 -0
  710. /package/dist/chunks/{reference-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  711. /package/dist/chunks/{reference-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  712. /package/dist/chunks/{reference-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  713. /package/dist/chunks/{reference-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  714. /package/dist/chunks/{reference-af5trqkr.js → location-af5trqkr.js} +0 -0
  715. /package/dist/chunks/{reference-afrmfg78.js → location-afrmfg78.js} +0 -0
  716. /package/dist/chunks/{reference-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  717. /package/dist/chunks/{reference-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  718. /package/dist/chunks/{reference-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  719. /package/dist/chunks/{reference-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  720. /package/dist/chunks/{reference-c2sed5cq.js → location-c2sed5cq.js} +0 -0
  721. /package/dist/chunks/{reference-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  722. /package/dist/chunks/{reference-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  723. /package/dist/chunks/{reference-d9fn303g.js → location-d9fn303g.js} +0 -0
  724. /package/dist/chunks/{reference-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  725. /package/dist/chunks/{reference-dajrwvna.js → location-dajrwvna.js} +0 -0
  726. /package/dist/chunks/{reference-dap0rakb.js → location-dap0rakb.js} +0 -0
  727. /package/dist/chunks/{reference-df08tz66.js → location-df08tz66.js} +0 -0
  728. /package/dist/chunks/{reference-dy18nga0.js → location-dy18nga0.js} +0 -0
  729. /package/dist/chunks/{reference-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  730. /package/dist/chunks/{reference-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  731. /package/dist/chunks/{reference-ec1grn59.js → location-ec1grn59.js} +0 -0
  732. /package/dist/chunks/{reference-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  733. /package/dist/chunks/{reference-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  734. /package/dist/chunks/{reference-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  735. /package/dist/chunks/{reference-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  736. /package/dist/chunks/{reference-faypxj3z.js → location-faypxj3z.js} +0 -0
  737. /package/dist/chunks/{reference-fd410y7t.js → location-fd410y7t.js} +0 -0
  738. /package/dist/chunks/{reference-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  739. /package/dist/chunks/{reference-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  740. /package/dist/chunks/{reference-g86h250q.js → location-g86h250q.js} +0 -0
  741. /package/dist/chunks/{reference-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  742. /package/dist/chunks/{reference-gftt206x.js → location-gftt206x.js} +0 -0
  743. /package/dist/chunks/{reference-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  744. /package/dist/chunks/{reference-hk9envan.js → location-hk9envan.js} +0 -0
  745. /package/dist/chunks/{reference-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  746. /package/dist/chunks/{reference-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  747. /package/dist/chunks/{reference-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  748. /package/dist/chunks/{reference-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  749. /package/dist/chunks/{reference-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  750. /package/dist/chunks/{reference-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  751. /package/dist/chunks/{reference-mp448xyj.js → location-mp448xyj.js} +0 -0
  752. /package/dist/chunks/{reference-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  753. /package/dist/chunks/{reference-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  754. /package/dist/chunks/{reference-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  755. /package/dist/chunks/{reference-njntx4h6.js → location-njntx4h6.js} +0 -0
  756. /package/dist/chunks/{reference-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  757. /package/dist/chunks/{reference-q74kybfr.js → location-q74kybfr.js} +0 -0
  758. /package/dist/chunks/{reference-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  759. /package/dist/chunks/{reference-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  760. /package/dist/chunks/{reference-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  761. /package/dist/chunks/{reference-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  762. /package/dist/chunks/{reference-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  763. /package/dist/chunks/{reference-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  764. /package/dist/chunks/{reference-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  765. /package/dist/chunks/{reference-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  766. /package/dist/chunks/{reference-w803qqfp.js → location-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{reference-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  768. /package/dist/chunks/{reference-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  769. /package/dist/chunks/{reference-wtztk69x.js → location-wtztk69x.js} +0 -0
  770. /package/dist/chunks/{reference-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  771. /package/dist/chunks/{reference-x61499pn.js → location-x61499pn.js} +0 -0
  772. /package/dist/chunks/{reference-y44na4kk.js → location-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{reference-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{reference-y8f7s663.js → location-y8f7s663.js} +0 -0
  775. /package/dist/chunks/{reference-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  776. /package/dist/chunks/{reference-ym463w8f.js → location-ym463w8f.js} +0 -0
  777. /package/dist/chunks/{reference-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  778. /package/dist/chunks/{reference-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./reference-brt5an88.js";
4
+ } from "./location-m67a48vq.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./reference-q0a6wh5g.js";
8
+ } from "./location-c909q0sd.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./reference-r9zdjfxd.js";
11
+ } from "./location-kt94w41r.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./reference-60zx66yq.js";
19
+ } from "./location-rj343a89.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./reference-3yp4znr7.js";
23
+ } from "./location-zes232r0.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./reference-z5v4ffb3.js";
3
+ } from "./location-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./reference-c20khjev.js";
6
+ } from "./location-a8bn8zg0.js";
7
7
  import {
8
- Info13
9
- } from "./reference-1xxd6k95.js";
8
+ Info11
9
+ } from "./location-h4ckqw4f.js";
10
10
  import {
11
- Info14
12
- } from "./reference-qa3qhgw8.js";
11
+ Info10
12
+ } from "./location-edrmdtr5.js";
13
13
  import {
14
- Info17
15
- } from "./reference-w2h15q85.js";
14
+ Info9
15
+ } from "./location-w39jehkq.js";
16
16
  import {
17
17
  Spec2
18
- } from "./reference-2k8khapm.js";
18
+ } from "./location-2k8khapm.js";
19
19
  import {
20
- Info15
21
- } from "./reference-z6c3x22d.js";
20
+ Info13
21
+ } from "./location-0r3c1bmw.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -27,10 +27,10 @@ import {
27
27
  migrateMcp2,
28
28
  migrateProvider2,
29
29
  providerID2
30
- } from "./reference-zn5p4xjj.js";
30
+ } from "./location-q9bsambt.js";
31
31
  import {
32
32
  __export
33
- } from "./reference-9rqn6x4v.js";
33
+ } from "./location-9rqn6x4v.js";
34
34
 
35
35
  // src/config/normalize.ts
36
36
  var exports_normalize = {};
@@ -97,12 +97,12 @@ function normalize2(input) {
97
97
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
98
98
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
99
99
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
100
- const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
100
+ const legacyCommands = decodeMap(input.command, Info10, ["command"], diagnostics, decodeValue);
101
101
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
102
102
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
103
103
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
104
104
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
105
- const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
105
+ const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
106
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
107
107
  const migratedSmallModel = modelSelection2(legacySmallModel);
108
108
  if (legacySmallModel && !migratedSmallModel)
@@ -116,7 +116,7 @@ function normalize2(input) {
116
116
  model: migratedSmallModel,
117
117
  ...legacyAgents.title
118
118
  };
119
- const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
119
+ const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
120
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
121
121
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
122
122
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
217
217
  normalizeMcpTimeout(value, timeout, path, diagnostics);
218
218
  return;
219
219
  }
220
- const server = decodeValue(Info17, value, path, diagnostics);
220
+ const server = decodeValue(Info9, value, path, diagnostics);
221
221
  if (server !== undefined)
222
222
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
223
223
  });
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
413
413
  diagnoseProviderUnsupported(raw, path, diagnostics);
414
414
  if (invalidProviderOverlays(raw, path, diagnostics))
415
415
  return [];
416
- const provider = decodeValue(Info15, raw, path, diagnostics);
416
+ const provider = decodeValue(Info13, raw, path, diagnostics);
417
417
  if (provider === undefined)
418
418
  return [];
419
419
  const destination = providerID2(name);
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./reference-z5v4ffb3.js";
3
+ } from "./location-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service64
7
- } from "./reference-1tdshpj3.js";
6
+ Service49
7
+ } from "./location-dprde2v8.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./reference-2a5m3afh.js";
10
+ } from "./location-2a5m3afh.js";
11
11
  import {
12
- Service50
13
- } from "./reference-0a424z4m.js";
12
+ Service51
13
+ } from "./location-0dg42ne5.js";
14
14
  import {
15
- Service69
16
- } from "./reference-3v047kxf.js";
15
+ Service43
16
+ } from "./location-38ds4vsh.js";
17
17
  import {
18
- Service57
19
- } from "./reference-q0a6wh5g.js";
18
+ Service64
19
+ } from "./location-c909q0sd.js";
20
20
  import {
21
- Service17,
21
+ Service57,
22
22
  resolvePath2
23
- } from "./reference-276fgt7k.js";
23
+ } from "./location-fftyvp1m.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./reference-vzs5sf6e.js";
29
+ } from "./location-vzs5sf6e.js";
30
30
  import {
31
- Service48,
31
+ Service54,
32
32
  name15
33
- } from "./reference-5e1anv4t.js";
33
+ } from "./location-rnr5nq63.js";
34
34
  import {
35
- NotFoundError7,
36
- Service45
37
- } from "./reference-bgjpcfh1.js";
35
+ NotFoundError6,
36
+ Service47
37
+ } from "./location-1ebfveph.js";
38
38
  import {
39
- Service25
40
- } from "./reference-fzztmtyv.js";
39
+ Service22
40
+ } from "./location-rw98h6j7.js";
41
41
  import {
42
42
  scan2
43
- } from "./reference-ae75as9k.js";
43
+ } from "./location-d6zb4spv.js";
44
44
  import {
45
45
  __export
46
- } from "./reference-9rqn6x4v.js";
46
+ } from "./location-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input2,
53
- Plugin: () => Plugin20,
54
- ShellTool: () => exports_shell2,
55
- name: () => name2
52
+ Input: () => Input3,
53
+ Plugin: () => Plugin3,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name3
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name2 = "shell";
59
+ var name3 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input2 = Schema.Struct({
73
+ var Input3 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin20 = {
119
+ var Plugin3 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service25;
123
- const jobs = yield* Service69;
122
+ const sessions = yield* Service22;
123
+ const jobs = yield* Service43;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service50;
126
- const access = yield* Service17;
127
- const shell = yield* Service45;
128
- const shellSelect = yield* Service48;
125
+ const environment = yield* Service51;
126
+ const access = yield* Service57;
127
+ const shell = yield* Service47;
128
+ const shellSelect = yield* Service54;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service57;
131
- const config = yield* Service64;
130
+ const permission = yield* Service64;
131
+ const config = yield* Service49;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin20 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name2,
150
+ action: name3,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin20 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name2,
187
+ name: name3,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input2,
190
+ input: Input3,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -210,7 +210,7 @@ var Plugin20 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError7({ id: info.id });
213
+ return yield* new NotFoundError6({ id: info.id });
214
214
  const output = output2(result);
215
215
  return {
216
216
  ...output,
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
224
224
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
225
225
  const job = yield* jobs.start({
226
226
  id: info.id,
227
- type: name2,
227
+ type: name3,
228
228
  title: info.command,
229
229
  metadata: { sessionID: context.sessionID, shellID: info.id },
230
230
  recovery: {
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
254
254
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
255
255
  })).pipe(Effect.orDie);
256
256
  const hook = (event) => Effect.gen(function* () {
257
- const tool = event.tools[name2];
257
+ const tool = event.tools[name3];
258
258
  if (!tool)
259
259
  return;
260
260
  tool.description = description(name15(yield* compatibleShell));
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
265
265
  })
266
266
  };
267
267
 
268
- export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin20, exports_shell2 };
268
+ export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin3, exports_shell };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service83
3
- } from "./reference-b5hvc6g6.js";
3
+ } from "./location-cezy49kc.js";
4
4
  import {
5
- Service66,
6
- Event11
7
- } from "./reference-k8r11mjf.js";
5
+ Service53,
6
+ Event10
7
+ } from "./location-fy2r8eyy.js";
8
8
  import {
9
9
  __export
10
- } from "./reference-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
@@ -21,7 +21,7 @@ var Plugin49 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service83;
24
- const wellknown = yield* Service66;
24
+ const wellknown = yield* Service53;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,7 +41,7 @@ var Plugin49 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
@@ -1,115 +1,115 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./reference-w36x1trb.js";
4
+ } from "./location-7ghtbgxd.js";
5
5
  import {
6
6
  Service79,
7
7
  node83
8
- } from "./reference-tbv9z12t.js";
8
+ } from "./location-jh5x1drn.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref2,
12
- Service74,
13
- node78
14
- } from "./reference-d5m53j50.js";
12
+ Service72,
13
+ node76
14
+ } from "./location-h04255kf.js";
15
15
  import {
16
16
  ID11,
17
- Service72,
18
- node75
19
- } from "./reference-mzw9gwxy.js";
17
+ Service67,
18
+ node71
19
+ } from "./location-j94h2k4s.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./reference-brt5an88.js";
22
+ } from "./location-m67a48vq.js";
23
23
  import {
24
24
  combine2
25
- } from "./reference-rhjbct0v.js";
25
+ } from "./location-9t7a50xb.js";
26
26
  import {
27
27
  provenance2
28
- } from "./reference-4z58m4b4.js";
28
+ } from "./location-yrcj3v3g.js";
29
29
  import {
30
30
  entriesForRunner2
31
- } from "./reference-3dptaw0d.js";
31
+ } from "./location-0zhyzqfm.js";
32
32
  import {
33
- Service58,
34
- node61
35
- } from "./reference-5cqz128n.js";
33
+ Service65,
34
+ node69
35
+ } from "./location-v6f01h6h.js";
36
36
  import {
37
37
  merge2
38
- } from "./reference-q0a6wh5g.js";
38
+ } from "./location-c909q0sd.js";
39
39
  import {
40
40
  make15
41
- } from "./reference-2c7hjkzv.js";
41
+ } from "./location-hgtd7sxh.js";
42
42
  import {
43
- Service67,
44
- node70
45
- } from "./reference-avw4htaf.js";
43
+ Service36,
44
+ node39
45
+ } from "./location-ts68ycfj.js";
46
46
  import {
47
- Service37,
48
- node40
49
- } from "./reference-sfq2mayw.js";
47
+ Service33,
48
+ node36
49
+ } from "./location-w69p11eg.js";
50
+ import {
51
+ Service69,
52
+ node73
53
+ } from "./location-1cfxdkjr.js";
50
54
  import {
51
- Service49,
52
- node51
53
- } from "./reference-h9353qrc.js";
55
+ Service31,
56
+ node34
57
+ } from "./location-9mrc6n03.js";
58
+ import {
59
+ Service30,
60
+ node33
61
+ } from "./location-744k6ap7.js";
54
62
  import {
55
63
  Service34,
56
64
  node37
57
- } from "./reference-6jw82w3c.js";
65
+ } from "./location-rj6r6gv2.js";
58
66
  import {
59
- Service33,
60
- node36
61
- } from "./reference-8c1ypbfp.js";
62
- import {
63
- Service36,
64
- node39
65
- } from "./reference-axsdja44.js";
67
+ Service26,
68
+ node29
69
+ } from "./location-6nad0zcg.js";
66
70
  import {
67
71
  Service28,
68
- node32
69
- } from "./reference-nxpdv9mh.js";
70
- import {
71
- Service31,
72
- node35
73
- } from "./reference-4jrcr0tk.js";
72
+ node31
73
+ } from "./location-q35vxh5k.js";
74
74
  import {
75
- Service29,
76
- node33
77
- } from "./reference-1ahxm6sd.js";
75
+ Service27,
76
+ node30
77
+ } from "./location-rx8vmh8h.js";
78
78
  import {
79
- Service42,
80
- node44
81
- } from "./reference-3yp4znr7.js";
79
+ Service41,
80
+ node43
81
+ } from "./location-zes232r0.js";
82
82
  import {
83
83
  __export
84
- } from "./reference-9rqn6x4v.js";
84
+ } from "./location-9rqn6x4v.js";
85
85
 
86
86
  // src/session/context.ts
87
87
  var exports_context = {};
88
88
  __export(exports_context, {
89
- Service: () => Service27,
89
+ Service: () => Service25,
90
90
  SessionContext: () => exports_context,
91
- node: () => node31
91
+ node: () => node28
92
92
  });
93
93
  import { Context, Effect, Layer } from "effect";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
- class Service27 extends Context.Service()("@opencode/SessionContext") {
95
+ class Service25 extends Context.Service()("@opencode/SessionContext") {
96
96
  }
97
- var layer = Layer.effect(Service27, Effect.gen(function* () {
98
- const agents = yield* Service72;
99
- const builtins = yield* Service37;
100
- const model = yield* Service74;
97
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
98
+ const agents = yield* Service67;
99
+ const builtins = yield* Service33;
100
+ const model = yield* Service72;
101
101
  const db = (yield* Service84).db;
102
- const discovery = yield* Service67;
103
- const entries = yield* Service31;
102
+ const discovery = yield* Service36;
103
+ const entries = yield* Service28;
104
104
  const location = yield* Service79;
105
- const mcpInstructions = yield* Service33;
106
- const mcpTools = yield* Service34;
107
- const models = yield* Service42;
108
- const request = yield* Service29;
109
- const referenceInstructions = yield* Service36;
110
- const skillInstructions = yield* Service28;
111
- const store = yield* Service58;
112
- const registry = yield* Service49;
105
+ const mcpInstructions = yield* Service30;
106
+ const mcpTools = yield* Service31;
107
+ const models = yield* Service41;
108
+ const request = yield* Service27;
109
+ const referenceInstructions = yield* Service34;
110
+ const skillInstructions = yield* Service26;
111
+ const store = yield* Service65;
112
+ const registry = yield* Service69;
113
113
  const resolveModel = (session) => models.resolve(session, model.available);
114
114
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
115
115
  const agent = yield* agents.get(ID11.make("title"));
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
188
188
  tools: selection.tools
189
189
  };
190
190
  });
191
- return Service27.of({ select, load, resolveModel, selectTitle, request });
191
+ return Service25.of({ select, load, resolveModel, selectTitle, request });
192
192
  }));
193
193
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
194
- var node31 = makeLocationNode({
195
- service: Service27,
194
+ var node28 = makeLocationNode({
195
+ service: Service25,
196
196
  layer,
197
197
  deps: [
198
- node75,
199
- node78,
198
+ node71,
199
+ node76,
200
200
  node88,
201
- node40,
202
- node70,
203
- node35,
204
- node83,
205
201
  node36,
206
- node37,
207
202
  node39,
208
- node44,
203
+ node31,
204
+ node83,
209
205
  node33,
210
- node61,
211
- node32,
212
- node51
206
+ node34,
207
+ node37,
208
+ node43,
209
+ node30,
210
+ node69,
211
+ node29,
212
+ node73
213
213
  ]
214
214
  });
215
215
 
216
- export { Service27, node31, exports_context };
216
+ export { Service25, node28, exports_context };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service65
3
- } from "./reference-f79gec3w.js";
2
+ Service50
3
+ } from "./location-sdvk2ad6.js";
4
4
  import {
5
- Service64
6
- } from "./reference-1tdshpj3.js";
5
+ Service49
6
+ } from "./location-dprde2v8.js";
7
7
  import {
8
8
  parse2
9
- } from "./reference-z6sqrxtq.js";
9
+ } from "./location-r7z4zpnk.js";
10
10
  import {
11
11
  __export
12
- } from "./reference-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin12
18
+ Plugin: () => Plugin25
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin12 = define({
24
+ var Plugin25 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service64;
27
+ const config = yield* Service49;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service65;
29
+ const watcher = yield* Service50;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin12 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin12, exports_compatibility };
76
+ export { Plugin25, exports_compatibility };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./reference-0j77ygfz.js";
3
+ } from "./location-q0xm7vwc.js";
4
4
  import {
5
5
  __export
6
- } from "./reference-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};