@opencode-ai/core 0.0.0-dev-19178 → 0.0.0-dev-19181

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 (775) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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/{kv-erz98jwc.js → app-04nymyew.js} +26 -26
  9. package/dist/chunks/{kv-0e0xafbb.js → app-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{kv-rp8jz6x1.js → app-0ft9cg2j.js} +4 -4
  11. package/dist/chunks/{kv-t1bhb1bg.js → app-0n46b46t.js} +11 -11
  12. package/dist/chunks/{kv-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{kv-0s9ayhjt.js → app-0s9ayhjt.js} +1 -1
  14. package/dist/chunks/{kv-8fgv5w73.js → app-0taz3mjc.js} +18 -18
  15. package/dist/chunks/{kv-k6fnztft.js → app-10gpzbj0.js} +2 -2
  16. package/dist/chunks/{kv-ephmsh67.js → app-11zfvzac.js} +24 -24
  17. package/dist/chunks/{kv-g54w6h1q.js → app-13c094ja.js} +22 -22
  18. package/dist/chunks/{kv-0drwrr20.js → app-17fx0k0q.js} +18 -18
  19. package/dist/chunks/{kv-1ct4r87x.js → app-1ct4r87x.js} +1 -1
  20. package/dist/chunks/{kv-31fmz1fp.js → app-1cweq60h.js} +20 -20
  21. package/dist/chunks/{kv-0kj443hm.js → app-1k4ws4ty.js} +5 -5
  22. package/dist/chunks/{kv-21r38tys.js → app-21r38tys.js} +1 -1
  23. package/dist/chunks/{kv-7a2871xe.js → app-22ytshyy.js} +4 -4
  24. package/dist/chunks/{kv-fzf7e7x1.js → app-241twxbq.js} +43 -43
  25. package/dist/chunks/{kv-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{kv-zgne66ps.js → app-2amsxbr2.js} +43 -43
  27. package/dist/chunks/{kv-2ht70gj7.js → app-2ht70gj7.js} +1 -1
  28. package/dist/chunks/{kv-hv4p2p21.js → app-2vremtg6.js} +24 -24
  29. package/dist/chunks/{kv-7n2xhmm7.js → app-3e147rt9.js} +9 -9
  30. package/dist/chunks/{kv-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{kv-3qzbfqsy.js → app-3qzbfqsy.js} +2 -2
  32. package/dist/chunks/{kv-m4p2ftrf.js → app-3sd9qt72.js} +13 -13
  33. package/dist/chunks/{kv-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{kv-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{kv-gfvkvwrv.js → app-3vpahets.js} +28 -28
  36. package/dist/chunks/{kv-5gqcqfwy.js → app-40scemma.js} +22 -22
  37. package/dist/chunks/{kv-9epfrg2r.js → app-40tvfwh5.js} +8 -8
  38. package/dist/chunks/{kv-qnbahbj0.js → app-41f161pb.js} +14 -14
  39. package/dist/chunks/{kv-hjrjbgez.js → app-41mncz27.js} +5 -5
  40. package/dist/chunks/{kv-454k5vzh.js → app-454k5vzh.js} +1 -1
  41. package/dist/chunks/{kv-b2nzchm7.js → app-456303rs.js} +11 -11
  42. package/dist/chunks/{kv-rk9sw2av.js → app-456nf4bc.js} +8 -8
  43. package/dist/chunks/{kv-zqg3qsz2.js → app-4b1mthq9.js} +4 -4
  44. package/dist/chunks/{kv-sb910js5.js → app-4f62ejdk.js} +20 -20
  45. package/dist/chunks/{kv-dcspmnv1.js → app-4prqn7xv.js} +25 -25
  46. package/dist/chunks/{kv-4r2nyarf.js → app-4r2nyarf.js} +1 -1
  47. package/dist/chunks/{kv-kwvtfp1b.js → app-4seer4n3.js} +10 -10
  48. package/dist/chunks/{kv-mcxg6pmm.js → app-4x1g6k97.js} +1 -1
  49. package/dist/chunks/{kv-2v1h19tk.js → app-53nd5drw.js} +6 -6
  50. package/dist/chunks/{kv-mqyp5gdj.js → app-5904gm87.js} +20 -20
  51. package/dist/chunks/{kv-fv8a344a.js → app-59cz6q6x.js} +8 -8
  52. package/dist/chunks/{kv-9kbmc1bn.js → app-5d4cs7v3.js} +10 -10
  53. package/dist/chunks/{kv-5daktx2q.js → app-5daktx2q.js} +1 -1
  54. package/dist/chunks/{kv-5fmxt4p5.js → app-5fmxt4p5.js} +1 -1
  55. package/dist/chunks/{kv-5jvc5tg2.js → app-5jvc5tg2.js} +1 -1
  56. package/dist/chunks/{kv-w60ndp2z.js → app-5wvgbp96.js} +29 -29
  57. package/dist/chunks/{kv-y6nt3k22.js → app-5x14x66m.js} +2 -2
  58. package/dist/chunks/{kv-14hmenm3.js → app-61a3vjda.js} +3 -3
  59. package/dist/chunks/{kv-ph38rbv1.js → app-67dbm4zp.js} +8 -8
  60. package/dist/chunks/{kv-0pz84dxy.js → app-68pyy3e5.js} +9 -9
  61. package/dist/chunks/{kv-6enr500s.js → app-6cd6tdvt.js} +6 -6
  62. package/dist/chunks/{kv-5wnbjqvg.js → app-6g1q2hdd.js} +17 -17
  63. package/dist/chunks/{kv-2402vzrj.js → app-6h73sxmp.js} +5 -5
  64. package/dist/chunks/{kv-mwvt73nw.js → app-6n7vs3qv.js} +47 -47
  65. package/dist/chunks/{kv-jm1tdwje.js → app-6rgwnj84.js} +13 -13
  66. package/dist/chunks/{kv-711hfp6y.js → app-711hfp6y.js} +2 -2
  67. package/dist/chunks/{kv-72nftnjy.js → app-72nftnjy.js} +2 -2
  68. package/dist/chunks/{kv-7hmj7g9f.js → app-72xb1avz.js} +17 -17
  69. package/dist/chunks/{kv-r5x6zcsm.js → app-73tb2d7t.js} +3 -3
  70. package/dist/chunks/{kv-6e958v7x.js → app-75yf2d83.js} +8 -8
  71. package/dist/chunks/{kv-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{kv-7cnkxtbd.js → app-7cnkxtbd.js} +2 -2
  73. package/dist/chunks/{kv-mqds9z8y.js → app-7mjejgxa.js} +28 -28
  74. package/dist/chunks/{kv-aj9ffb68.js → app-7myzn9fy.js} +10 -10
  75. package/dist/chunks/app-7zk4hah4.js +4 -0
  76. package/dist/chunks/{kv-yydg8tay.js → app-828he9z6.js} +52 -36
  77. package/dist/chunks/app-839ymwzf.js +22 -0
  78. package/dist/chunks/{kv-xyvw3pp2.js → app-83rp9aqa.js} +17 -17
  79. package/dist/chunks/{kv-pk502bdp.js → app-84t6g51t.js} +16 -16
  80. package/dist/chunks/{kv-3rdd7m9r.js → app-88rt85wd.js} +25 -25
  81. package/dist/chunks/{kv-jq2whtdt.js → app-8bk2zzjm.js} +11 -11
  82. package/dist/chunks/{kv-rkjw441a.js → app-8e6swdk9.js} +287 -287
  83. package/dist/chunks/{kv-g41n1fn3.js → app-8ker6n7f.js} +5 -5
  84. package/dist/chunks/{kv-5k3f87xj.js → app-8spbxhn4.js} +1 -1
  85. package/dist/chunks/{kv-qqz1053v.js → app-90x1n3bd.js} +64 -64
  86. package/dist/chunks/{kv-93a8yfjt.js → app-93a8yfjt.js} +2 -2
  87. package/dist/chunks/{kv-s4ss2bw5.js → app-93yhyjwm.js} +51 -51
  88. package/dist/chunks/{kv-9q10gh9c.js → app-9bqaxr83.js} +14 -14
  89. package/dist/chunks/{kv-xn9aqqx6.js → app-9brvgznv.js} +10 -10
  90. package/dist/chunks/{kv-d09b090m.js → app-9cn7kp7k.js} +8 -8
  91. package/dist/chunks/{kv-d4cb5k3p.js → app-9f52v7jd.js} +8 -8
  92. package/dist/chunks/{kv-6nmsy562.js → app-9hhn40xk.js} +4 -4
  93. package/dist/chunks/{kv-w75j66fn.js → app-9nv1rt96.js} +9 -9
  94. package/dist/chunks/{kv-9qm9egsn.js → app-9qm9egsn.js} +2 -2
  95. package/dist/chunks/{kv-n6a7rk8g.js → app-9x4j1p49.js} +22 -22
  96. package/dist/chunks/{kv-3g2y1byn.js → app-a07sqv0b.js} +5 -5
  97. package/dist/chunks/{kv-afs1gfwh.js → app-a52x4gjk.js} +9 -9
  98. package/dist/chunks/{kv-aaet6srn.js → app-aaet6srn.js} +2 -2
  99. package/dist/chunks/{kv-djkavt39.js → app-acr0vn06.js} +24 -24
  100. package/dist/chunks/{kv-e5b0qn1c.js → app-ajgsgqyb.js} +1 -1
  101. package/dist/chunks/{kv-ajtjthsy.js → app-ajtjthsy.js} +2 -2
  102. package/dist/chunks/{kv-r0keqwvg.js → app-aqz4tv27.js} +23 -23
  103. package/dist/chunks/{kv-mfe1qetb.js → app-arbehxbm.js} +16 -16
  104. package/dist/chunks/{kv-h5rg6ge7.js → app-b2a82tgj.js} +32 -32
  105. package/dist/chunks/{kv-68dvzq1z.js → app-b3hfsjpn.js} +8 -8
  106. package/dist/chunks/{kv-ffs8r943.js → app-b4b7p3j5.js} +13 -13
  107. package/dist/chunks/{kv-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{kv-y18qbtn0.js → app-b8gzedky.js} +3 -3
  109. package/dist/chunks/{kv-b9wsbatv.js → app-b9wsbatv.js} +1 -1
  110. package/dist/chunks/{kv-2bac7mmh.js → app-bca4xk29.js} +13 -13
  111. package/dist/chunks/{kv-m60hmjpw.js → app-bmj3d0ka.js} +10 -10
  112. package/dist/chunks/{kv-238pagf0.js → app-bqarnab4.js} +2 -2
  113. package/dist/chunks/{kv-xczcj508.js → app-bssf13fr.js} +29 -29
  114. package/dist/chunks/app-bwt7bpgq.js +18 -0
  115. package/dist/chunks/{kv-xxzj7qcx.js → app-c2v1zyg3.js} +6 -6
  116. package/dist/chunks/{kv-q77zht3w.js → app-cc55107n.js} +4 -4
  117. package/dist/chunks/{kv-kf8thf07.js → app-cz8be0q1.js} +20 -20
  118. package/dist/chunks/{kv-6hh8tjw2.js → app-d216944b.js} +7 -7
  119. package/dist/chunks/{kv-d72308c8.js → app-d72308c8.js} +2 -2
  120. package/dist/chunks/{kv-wfvjw4z7.js → app-de8cp1fg.js} +21 -21
  121. package/dist/chunks/{kv-676wedsd.js → app-dfcf8dsh.js} +19 -19
  122. package/dist/chunks/{kv-qcz5xzee.js → app-dfns4ckt.js} +29 -29
  123. package/dist/chunks/{kv-ayqzvvm1.js → app-dhzp65aq.js} +5 -5
  124. package/dist/chunks/{kv-vep9yay1.js → app-djtdz80w.js} +4 -4
  125. package/dist/chunks/{kv-y71avatq.js → app-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{kv-s3eqpch7.js → app-dpqq4n8f.js} +1 -1
  127. package/dist/chunks/{kv-nr9x74c1.js → app-emtwgvxj.js} +24 -24
  128. package/dist/chunks/{kv-jhf9a7kk.js → app-er5cndkw.js} +63 -63
  129. package/dist/chunks/{kv-16yc1m91.js → app-f1m8ygb3.js} +11 -11
  130. package/dist/chunks/app-f3cn892e.js +247 -0
  131. package/dist/chunks/{kv-12fnx30g.js → app-fazyzkd8.js} +8 -8
  132. package/dist/chunks/{kv-syq477mx.js → app-fg4eb5cw.js} +45 -45
  133. package/dist/chunks/{kv-zess5s1n.js → app-fj1ykrdy.js} +31 -31
  134. package/dist/chunks/{kv-v4bdvzd3.js → app-fks45ynx.js} +88 -88
  135. package/dist/chunks/{kv-4ga6yzkg.js → app-fqz8c7f9.js} +29 -29
  136. package/dist/chunks/{kv-s2px886z.js → app-ftcadk3w.js} +1 -1
  137. package/dist/chunks/{kv-rynqx63d.js → app-fvh8qddj.js} +32 -32
  138. package/dist/chunks/{kv-t6srx486.js → app-fvn82d8v.js} +7 -7
  139. package/dist/chunks/{kv-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{kv-fxypknc8.js → app-fxypknc8.js} +1 -1
  141. package/dist/chunks/{kv-bv80vwep.js → app-g0h3g2y6.js} +19 -19
  142. package/dist/chunks/{kv-6gz15wwc.js → app-g11w9hv4.js} +30 -30
  143. package/dist/chunks/{kv-qhwr7wtz.js → app-g4fah38e.js} +13 -13
  144. package/dist/chunks/{kv-baw8dctm.js → app-g7ekdnc2.js} +17 -17
  145. package/dist/chunks/{kv-twy610cz.js → app-gb1rc5sc.js} +18 -18
  146. package/dist/chunks/{kv-tgaxz472.js → app-gbanwdp8.js} +28 -28
  147. package/dist/chunks/{kv-ykk6pqwd.js → app-gbqbc70j.js} +23 -23
  148. package/dist/chunks/{kv-5ggkvp9f.js → app-gcqp0jtf.js} +9 -9
  149. package/dist/chunks/{kv-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{kv-3fc6dm20.js → app-gdvy8fx6.js} +4 -4
  151. package/dist/chunks/{kv-xqsy6kp0.js → app-h4cwhs5v.js} +1 -1
  152. package/dist/chunks/{kv-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{kv-599cnyq5.js → app-h7tdc4p8.js} +27 -27
  154. package/dist/chunks/{kv-gcn4jvqh.js → app-hajgtq0x.js} +46 -46
  155. package/dist/chunks/{kv-7c21gvyv.js → app-hayfv2b5.js} +169 -169
  156. package/dist/chunks/{kv-heyhwy2w.js → app-heyhwy2w.js} +1 -1
  157. package/dist/chunks/{kv-e10cy4w0.js → app-hjzzbmk8.js} +31 -31
  158. package/dist/chunks/{kv-mdnhxyz2.js → app-hpr60q3x.js} +14 -14
  159. package/dist/chunks/{kv-hrvm11jt.js → app-hrvm11jt.js} +3 -3
  160. package/dist/chunks/{kv-kvsjn1dr.js → app-hw4pv20g.js} +2 -2
  161. package/dist/chunks/{kv-k8x9vhm8.js → app-hwemkwe8.js} +11 -11
  162. package/dist/chunks/{kv-5pdq8qgg.js → app-hyzy990m.js} +6 -6
  163. package/dist/chunks/{kv-hzecryb5.js → app-jbkh0tb7.js} +18 -18
  164. package/dist/chunks/{kv-rvhss2m2.js → app-jcyemy94.js} +4 -4
  165. package/dist/chunks/{kv-r5s1f9ds.js → app-je9hks3h.js} +5 -5
  166. package/dist/chunks/{kv-yms21qcc.js → app-jg19dd05.js} +20 -20
  167. package/dist/chunks/{kv-3wfq9j39.js → app-jp8chewc.js} +14 -14
  168. package/dist/chunks/{kv-k4bwy1x5.js → app-k4bwy1x5.js} +1 -1
  169. package/dist/chunks/{kv-x3stwmqx.js → app-k4zvwy7w.js} +25 -25
  170. package/dist/chunks/{kv-k7dwhv72.js → app-kbjam7h1.js} +20 -20
  171. package/dist/chunks/{kv-mxs1xwvp.js → app-kbznjata.js} +2 -2
  172. package/dist/chunks/{kv-kg06axw8.js → app-kg06axw8.js} +1 -1
  173. package/dist/chunks/{kv-868x4neb.js → app-kpn3khss.js} +9 -9
  174. package/dist/chunks/{kv-h625df0a.js → app-kzcd834w.js} +12 -12
  175. package/dist/chunks/{kv-65yprxq5.js → app-m08rz2n6.js} +6 -6
  176. package/dist/chunks/{kv-zjvrjqxt.js → app-m21fe36q.js} +7 -7
  177. package/dist/chunks/{kv-qfja8fnv.js → app-m5w7j81k.js} +7 -7
  178. package/dist/chunks/{kv-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{kv-z3qt4vrk.js → app-me149q6c.js} +32 -32
  180. package/dist/chunks/{kv-xf5bdvwx.js → app-mekcq3pn.js} +23 -23
  181. package/dist/chunks/{kv-5g0p4mxq.js → app-mjfhjmk5.js} +26 -26
  182. package/dist/chunks/{kv-fhgm40mk.js → app-msw86qcf.js} +4 -4
  183. package/dist/chunks/{kv-6xz6dfh8.js → app-mya6twgv.js} +34 -34
  184. package/dist/chunks/{kv-cxmh4q5b.js → app-n3jkd22a.js} +4 -4
  185. package/dist/chunks/{kv-2stffz79.js → app-n48a5sdv.js} +20 -20
  186. package/dist/chunks/{kv-m3fm0fm8.js → app-n95nq84g.js} +5 -5
  187. package/dist/chunks/{kv-tq1jg9v7.js → app-ndjv4j8j.js} +10 -10
  188. package/dist/chunks/{kv-pa8bv90n.js → app-nh0kgycx.js} +22 -22
  189. package/dist/chunks/{kv-pv5nzn32.js → app-nje80wxz.js} +10 -10
  190. package/dist/chunks/{kv-bvz5j511.js → app-npapp81d.js} +15 -15
  191. package/dist/chunks/{kv-57w39xht.js → app-nqk9406z.js} +5 -5
  192. package/dist/chunks/{kv-p425gb1k.js → app-nygk0pkd.js} +10 -10
  193. package/dist/chunks/{kv-hw73h5pz.js → app-p5cx4qq5.js} +37 -37
  194. package/dist/chunks/{kv-xqkm9ax4.js → app-p9r5yxxa.js} +4 -4
  195. package/dist/chunks/{kv-j935v87r.js → app-paphc93g.js} +2 -2
  196. package/dist/chunks/{kv-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{kv-pknna89w.js → app-pknna89w.js} +1 -1
  198. package/dist/chunks/{kv-fz1pdqz4.js → app-pt34y05q.js} +9 -9
  199. package/dist/chunks/{kv-b1cc60s2.js → app-pvsq6e0y.js} +32 -32
  200. package/dist/chunks/{kv-an7cqtb7.js → app-q2b1ymqp.js} +4 -4
  201. package/dist/chunks/{kv-vxz8nws8.js → app-qev88vwh.js} +9 -9
  202. package/dist/chunks/{kv-qgn6gcr1.js → app-qgn6gcr1.js} +1 -1
  203. package/dist/chunks/{kv-zn2pq4p8.js → app-qnfdxy2e.js} +5 -5
  204. package/dist/chunks/{kv-wgfc0hft.js → app-qq0s42pd.js} +9 -9
  205. package/dist/chunks/{kv-n7731ngr.js → app-qrgjqevf.js} +13 -13
  206. package/dist/chunks/{kv-14mbnhb1.js → app-qrzxywk7.js} +9 -9
  207. package/dist/chunks/{kv-qsdy395h.js → app-qsdy395h.js} +1 -1
  208. package/dist/chunks/{kv-py42k196.js → app-r0msr716.js} +4 -4
  209. package/dist/chunks/{kv-r8dhm0tv.js → app-r8dhm0tv.js} +1 -1
  210. package/dist/chunks/{kv-3gfsa2we.js → app-raf8wtnx.js} +20 -20
  211. package/dist/chunks/{kv-bw6y50md.js → app-rjqxra3c.js} +8 -8
  212. package/dist/chunks/{kv-gj8036k9.js → app-rpvck33q.js} +32 -32
  213. package/dist/chunks/{kv-kw3wy51s.js → app-rw4nkp5j.js} +33 -33
  214. package/dist/chunks/{kv-cq9zegd4.js → app-rxbdfnq0.js} +3 -3
  215. package/dist/chunks/{kv-npzt3p1j.js → app-rykst88f.js} +12 -12
  216. package/dist/chunks/{kv-v2aawvfd.js → app-ryv3tfwp.js} +16 -16
  217. package/dist/chunks/{kv-n38qs1ar.js → app-rz31k017.js} +9 -9
  218. package/dist/chunks/{kv-wgxn7ww3.js → app-rzwcgm09.js} +4 -4
  219. package/dist/chunks/{kv-pwb001t0.js → app-s8w5cjx7.js} +32 -32
  220. package/dist/chunks/{kv-sba4qhjf.js → app-sba4qhjf.js} +1 -1
  221. package/dist/chunks/{kv-86s3977f.js → app-sc524drs.js} +1 -1
  222. package/dist/chunks/{kv-p198ap2v.js → app-sj5n3trc.js} +35 -35
  223. package/dist/chunks/{kv-tj8gy5c5.js → app-smkpzyj7.js} +25 -25
  224. package/dist/chunks/{kv-4qf6hhyh.js → app-sr1rc1g2.js} +9 -9
  225. package/dist/chunks/{kv-f1kgb3zy.js → app-ssg9qmrn.js} +17 -17
  226. package/dist/chunks/{kv-h73jd86c.js → app-sv1sbqd5.js} +24 -24
  227. package/dist/chunks/{kv-nkkerv85.js → app-syegws57.js} +10 -10
  228. package/dist/chunks/{kv-js3p9a9k.js → app-sygprj6n.js} +11 -11
  229. package/dist/chunks/{kv-4z6b0fg6.js → app-szt7smwk.js} +8 -8
  230. package/dist/chunks/{kv-xez3q0qn.js → app-t5mvv7b6.js} +93 -93
  231. package/dist/chunks/{kv-rfjq507z.js → app-t8jjz1g4.js} +51 -51
  232. package/dist/chunks/{kv-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{kv-89znhe33.js → app-tcezcvh9.js} +4 -4
  234. package/dist/chunks/{kv-qnb0t8zm.js → app-teq0593w.js} +62 -62
  235. package/dist/chunks/{kv-tjykrgmx.js → app-tjykrgmx.js} +1 -1
  236. package/dist/chunks/{kv-rz1r1rv7.js → app-tnjwh1aj.js} +17 -17
  237. package/dist/chunks/{kv-5y6pdc3x.js → app-tppvcy65.js} +9 -9
  238. package/dist/chunks/{kv-1r3zydfx.js → app-tpqecd3t.js} +4 -4
  239. package/dist/chunks/{kv-fs7t3exj.js → app-trnhxq5y.js} +9 -9
  240. package/dist/chunks/{kv-dmqmcw2r.js → app-tx9pkam9.js} +29 -29
  241. package/dist/chunks/{kv-qxsy5p3f.js → app-txct46nv.js} +13 -13
  242. package/dist/chunks/{kv-e2jdrf4x.js → app-v0mw94ex.js} +19 -19
  243. package/dist/chunks/{kv-mav5hcv8.js → app-vhzvdfbz.js} +15 -15
  244. package/dist/chunks/{kv-p66fc0fz.js → app-vs3g981p.js} +9 -9
  245. package/dist/chunks/{kv-1mg2yz7f.js → app-vwg31drc.js} +3 -3
  246. package/dist/chunks/{kv-jg1zcjqp.js → app-vzcgnjed.js} +34 -34
  247. package/dist/chunks/{kv-7r35fj82.js → app-w2gndftq.js} +46 -46
  248. package/dist/chunks/{kv-6abnk40k.js → app-w3jym6ha.js} +6 -6
  249. package/dist/chunks/{kv-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{kv-yhh6951v.js → app-w6s4nrrc.js} +8 -8
  251. package/dist/chunks/{kv-69pzhmr6.js → app-w7z32673.js} +31 -31
  252. package/dist/chunks/{kv-xw8eq9f1.js → app-w8xr7nv8.js} +5 -5
  253. package/dist/chunks/{kv-vq25wjhh.js → app-w9gyfm2s.js} +25 -25
  254. package/dist/chunks/{kv-wrvstr67.js → app-wcwcztxs.js} +13 -13
  255. package/dist/chunks/{kv-wd87259q.js → app-wd87259q.js} +1 -1
  256. package/dist/chunks/{kv-496a646b.js → app-wdgvf9wf.js} +15 -15
  257. package/dist/chunks/{kv-3z7ymfy8.js → app-wf0xzsvt.js} +11 -11
  258. package/dist/chunks/{kv-sv33epe9.js → app-wgyqb6cs.js} +6 -6
  259. package/dist/chunks/{kv-4rsfp5k5.js → app-wsa4fayw.js} +5 -5
  260. package/dist/chunks/{kv-ry7mz5fv.js → app-wthvqgek.js} +17 -17
  261. package/dist/chunks/{kv-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{kv-wawr59mw.js → app-x28zqaf0.js} +25 -25
  263. package/dist/chunks/{kv-h1f297k2.js → app-x44q8c7y.js} +15 -15
  264. package/dist/chunks/{kv-ts23zk9x.js → app-xq4mkaf1.js} +25 -25
  265. package/dist/chunks/{kv-mn48t6tr.js → app-xspqbexe.js} +19 -19
  266. package/dist/chunks/{kv-z89789qm.js → app-xvksmx2v.js} +22 -22
  267. package/dist/chunks/{kv-wkz0j4q5.js → app-xvx5ymr3.js} +16 -16
  268. package/dist/chunks/{kv-p88s56y3.js → app-y18mx0w9.js} +30 -30
  269. package/dist/chunks/{kv-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{kv-db49mgn0.js → app-y667m2fe.js} +21 -21
  271. package/dist/chunks/{kv-hhxcwp9f.js → app-y7xtxfz5.js} +31 -31
  272. package/dist/chunks/{kv-yfbd16n1.js → app-yfbd16n1.js} +2 -2
  273. package/dist/chunks/{kv-v1ggvvtw.js → app-yq9z8ydh.js} +39 -39
  274. package/dist/chunks/{kv-vy051p0e.js → app-yxqhfdf1.js} +11 -11
  275. package/dist/chunks/{kv-ykcesz1b.js → app-yz9reb46.js} +4 -4
  276. package/dist/chunks/{kv-z1k01bn4.js → app-z1k01bn4.js} +2 -2
  277. package/dist/chunks/{kv-dctx0khx.js → app-z4yv9kjz.js} +25 -25
  278. package/dist/chunks/{kv-29x78va6.js → app-z63w68vq.js} +6 -6
  279. package/dist/chunks/{kv-jy629emf.js → app-z8ha6r0g.js} +10 -10
  280. package/dist/chunks/{kv-kd8v050h.js → app-zk1c1bcq.js} +12 -12
  281. package/dist/chunks/{kv-605y5xjw.js → app-zm0v3se3.js} +13 -13
  282. package/dist/chunks/{kv-07pjb4yj.js → app-zx51ac1r.js} +11 -11
  283. package/dist/chunks/{kv-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{kv-dhqg8tcb.js → app-zy9sz0a1.js} +9 -9
  285. package/dist/codemode/catalog.js +3 -3
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +81 -81
  289. package/dist/config/discovery.js +79 -79
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +114 -114
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +116 -116
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +114 -114
  300. package/dist/config/plugin/mcp.js +123 -123
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +117 -117
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +134 -134
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +110 -110
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +114 -114
  311. package/dist/config/plugin/worktree.js +117 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +116 -116
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +82 -82
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +77 -77
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +358 -358
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +3 -3
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +72 -72
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +214 -214
  415. package/dist/filesystem/protected.js +3 -3
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +13 -13
  419. package/dist/filesystem.js +100 -100
  420. package/dist/form.js +84 -84
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +84 -84
  423. package/dist/generate.js +92 -92
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +7 -7
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +2 -2
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +349 -349
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +5 -5
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +85 -85
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +86 -86
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +81 -81
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +84 -84
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +100 -100
  464. package/dist/mcp/instructions.js +120 -120
  465. package/dist/mcp/oauth.js +2 -2
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +7 -7
  469. package/dist/model-resolver.js +85 -85
  470. package/dist/model.js +10 -10
  471. package/dist/models-dev.js +80 -80
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +78 -78
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +111 -111
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +86 -86
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +93 -93
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +211 -211
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +320 -320
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +7 -7
  490. package/dist/plugin/optimize.js +21 -0
  491. package/dist/plugin/plan.js +96 -96
  492. package/dist/plugin/promise.js +1 -1
  493. package/dist/plugin/provider/alibaba.js +2 -2
  494. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  495. package/dist/plugin/provider/anthropic.js +2 -2
  496. package/dist/plugin/provider/azure.js +117 -117
  497. package/dist/plugin/provider/cerebras.js +2 -2
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +113 -113
  502. package/dist/plugin/provider/dynamic.js +2 -2
  503. package/dist/plugin/provider/factory.js +1 -1
  504. package/dist/plugin/provider/gateway.js +2 -2
  505. package/dist/plugin/provider/github-copilot.js +79 -79
  506. package/dist/plugin/provider/gitlab.js +3 -3
  507. package/dist/plugin/provider/google-vertex.js +2 -2
  508. package/dist/plugin/provider/kilo.js +2 -2
  509. package/dist/plugin/provider/llmgateway.js +75 -75
  510. package/dist/plugin/provider/lmstudio.js +116 -116
  511. package/dist/plugin/provider/mistral.js +2 -2
  512. package/dist/plugin/provider/modal.js +78 -78
  513. package/dist/plugin/provider/nvidia.js +2 -2
  514. package/dist/plugin/provider/ollama.js +116 -116
  515. package/dist/plugin/provider/openai-compatible.js +1 -1
  516. package/dist/plugin/provider/openai.js +77 -77
  517. package/dist/plugin/provider/opencode.js +75 -75
  518. package/dist/plugin/provider/openrouter.js +3 -3
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/sap-ai-core.js +3 -3
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +2 -2
  525. package/dist/plugin/provider/vllm.js +116 -116
  526. package/dist/plugin/provider/xai.js +76 -76
  527. package/dist/plugin/provider/zenmux.js +2 -2
  528. package/dist/plugin/provider.js +154 -154
  529. package/dist/plugin/sdk.js +74 -74
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +131 -131
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +335 -335
  534. package/dist/plugin/update.js +2 -2
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +111 -111
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +4 -4
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +222 -222
  546. package/dist/project/schema.js +8 -8
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +85 -85
  549. package/dist/provider.js +7 -7
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +92 -92
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +84 -84
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +93 -93
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +123 -123
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +217 -217
  569. package/dist/session/execution.js +120 -120
  570. package/dist/session/generate.js +146 -146
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +86 -86
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +7 -7
  581. package/dist/session/move.js +124 -124
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +3 -3
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +223 -223
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +85 -85
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +117 -117
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +167 -167
  596. package/dist/session/shell.js +130 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +73 -73
  600. package/dist/session/store.js +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +203 -203
  603. package/dist/session/system-prompt.js +7 -7
  604. package/dist/session/title.js +145 -145
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +216 -216
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +211 -211
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +9 -9
  613. package/dist/shell.js +132 -132
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +102 -102
  617. package/dist/snapshot.js +84 -84
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +117 -117
  622. package/dist/tool/plugin/edit.js +110 -110
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +115 -115
  625. package/dist/tool/plugin/grep.js +117 -117
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +112 -112
  628. package/dist/tool/plugin/question.js +99 -99
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +210 -210
  631. package/dist/tool/plugin/skill.js +103 -103
  632. package/dist/tool/plugin/subagent.js +206 -206
  633. package/dist/tool/plugin/webfetch.js +104 -104
  634. package/dist/tool/plugin/websearch.js +108 -108
  635. package/dist/tool/plugin/write.js +114 -114
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +13 -13
  640. package/dist/types/plugin/{system-prompt.d.ts → optimize.d.ts} +4 -2
  641. package/dist/util/error.js +1 -1
  642. package/dist/util/iife.js +1 -1
  643. package/dist/util/lazy.js +1 -1
  644. package/dist/util/slug.js +1 -1
  645. package/dist/util/token.js +1 -1
  646. package/dist/util/which.js +1 -1
  647. package/dist/util/wildcard.js +1 -1
  648. package/dist/v1/config/agent.js +5 -5
  649. package/dist/v1/config/attachment.js +4 -4
  650. package/dist/v1/config/command.js +5 -5
  651. package/dist/v1/config/config.js +16 -16
  652. package/dist/v1/config/error.js +4 -4
  653. package/dist/v1/config/formatter.js +7 -7
  654. package/dist/v1/config/layout.js +1 -1
  655. package/dist/v1/config/lsp.js +3 -3
  656. package/dist/v1/config/mcp.js +4 -4
  657. package/dist/v1/config/migrate.js +4 -4
  658. package/dist/v1/config/permission.js +7 -7
  659. package/dist/v1/config/plugin.js +1 -1
  660. package/dist/v1/config/provider-options.js +1 -1
  661. package/dist/v1/config/provider.js +4 -4
  662. package/dist/v1/config/server.js +2 -2
  663. package/dist/v1/config/skills.js +3 -3
  664. package/dist/v1/permission.js +1 -1
  665. package/dist/vcs/patch.js +1 -1
  666. package/dist/vcs.js +85 -85
  667. package/dist/websearch.js +82 -82
  668. package/dist/wellknown/plugin.js +74 -74
  669. package/dist/wellknown.js +77 -77
  670. package/dist/workspace/driver.js +7 -7
  671. package/dist/workspace/sql.js +1 -1
  672. package/dist/workspace.js +76 -76
  673. package/dist/worktree/directory.js +2 -2
  674. package/dist/worktree/git.js +5 -5
  675. package/dist/worktree/refresh.js +338 -338
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree.js +85 -85
  678. package/package.json +7 -7
  679. package/dist/chunks/kv-dh0q6p2e.js +0 -247
  680. package/dist/chunks/kv-mq1xgkyh.js +0 -22
  681. package/dist/chunks/kv-n6k242f4.js +0 -18
  682. package/dist/chunks/kv-w3vb4krt.js +0 -4
  683. package/dist/plugin/system-prompt.js +0 -17
  684. /package/dist/chunks/{kv-0fabt78z.js → app-0fabt78z.js} +0 -0
  685. /package/dist/chunks/{kv-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{kv-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{kv-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{kv-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{kv-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{kv-2710q6r3.js → app-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{kv-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{kv-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{kv-359p4xyc.js → app-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{kv-3asan66x.js → app-3asan66x.js} +0 -0
  695. /package/dist/chunks/{kv-3t738kvx.js → app-3t738kvx.js} +0 -0
  696. /package/dist/chunks/{kv-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{kv-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{kv-41nvscxy.js → app-41nvscxy.js} +0 -0
  699. /package/dist/chunks/{kv-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{kv-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{kv-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{kv-53557ph1.js → app-53557ph1.js} +0 -0
  703. /package/dist/chunks/{kv-550bvhaj.js → app-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{kv-6prwharc.js → app-6prwharc.js} +0 -0
  705. /package/dist/chunks/{kv-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  706. /package/dist/chunks/{kv-7m9af43g.js → app-7m9af43g.js} +0 -0
  707. /package/dist/chunks/{kv-822emrt2.js → app-822emrt2.js} +0 -0
  708. /package/dist/chunks/{kv-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  709. /package/dist/chunks/{kv-8n3pysct.js → app-8n3pysct.js} +0 -0
  710. /package/dist/chunks/{kv-982e01ww.js → app-982e01ww.js} +0 -0
  711. /package/dist/chunks/{kv-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  712. /package/dist/chunks/{kv-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  713. /package/dist/chunks/{kv-a1tpkmh4.js → app-a1tpkmh4.js} +0 -0
  714. /package/dist/chunks/{kv-af5trqkr.js → app-af5trqkr.js} +0 -0
  715. /package/dist/chunks/{kv-afrmfg78.js → app-afrmfg78.js} +0 -0
  716. /package/dist/chunks/{kv-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  717. /package/dist/chunks/{kv-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  718. /package/dist/chunks/{kv-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  719. /package/dist/chunks/{kv-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  720. /package/dist/chunks/{kv-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  721. /package/dist/chunks/{kv-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  722. /package/dist/chunks/{kv-d9fn303g.js → app-d9fn303g.js} +0 -0
  723. /package/dist/chunks/{kv-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  724. /package/dist/chunks/{kv-dajrwvna.js → app-dajrwvna.js} +0 -0
  725. /package/dist/chunks/{kv-dap0rakb.js → app-dap0rakb.js} +0 -0
  726. /package/dist/chunks/{kv-df08tz66.js → app-df08tz66.js} +0 -0
  727. /package/dist/chunks/{kv-dy18nga0.js → app-dy18nga0.js} +0 -0
  728. /package/dist/chunks/{kv-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  729. /package/dist/chunks/{kv-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  730. /package/dist/chunks/{kv-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  731. /package/dist/chunks/{kv-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  732. /package/dist/chunks/{kv-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  733. /package/dist/chunks/{kv-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  734. /package/dist/chunks/{kv-faypxj3z.js → app-faypxj3z.js} +0 -0
  735. /package/dist/chunks/{kv-fd410y7t.js → app-fd410y7t.js} +0 -0
  736. /package/dist/chunks/{kv-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  737. /package/dist/chunks/{kv-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  738. /package/dist/chunks/{kv-g86h250q.js → app-g86h250q.js} +0 -0
  739. /package/dist/chunks/{kv-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  740. /package/dist/chunks/{kv-hk9envan.js → app-hk9envan.js} +0 -0
  741. /package/dist/chunks/{kv-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  742. /package/dist/chunks/{kv-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  743. /package/dist/chunks/{kv-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  744. /package/dist/chunks/{kv-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  745. /package/dist/chunks/{kv-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  746. /package/dist/chunks/{kv-mntxs535.js → app-mntxs535.js} +0 -0
  747. /package/dist/chunks/{kv-mp448xyj.js → app-mp448xyj.js} +0 -0
  748. /package/dist/chunks/{kv-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  749. /package/dist/chunks/{kv-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  750. /package/dist/chunks/{kv-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  751. /package/dist/chunks/{kv-njntx4h6.js → app-njntx4h6.js} +0 -0
  752. /package/dist/chunks/{kv-p8qxwesx.js → app-p8qxwesx.js} +0 -0
  753. /package/dist/chunks/{kv-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  754. /package/dist/chunks/{kv-q74kybfr.js → app-q74kybfr.js} +0 -0
  755. /package/dist/chunks/{kv-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  756. /package/dist/chunks/{kv-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  757. /package/dist/chunks/{kv-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  758. /package/dist/chunks/{kv-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  759. /package/dist/chunks/{kv-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  760. /package/dist/chunks/{kv-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  761. /package/dist/chunks/{kv-se0s1eqw.js → app-se0s1eqw.js} +0 -0
  762. /package/dist/chunks/{kv-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  763. /package/dist/chunks/{kv-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  764. /package/dist/chunks/{kv-twg0f83k.js → app-twg0f83k.js} +0 -0
  765. /package/dist/chunks/{kv-w803qqfp.js → app-w803qqfp.js} +0 -0
  766. /package/dist/chunks/{kv-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  767. /package/dist/chunks/{kv-wtztk69x.js → app-wtztk69x.js} +0 -0
  768. /package/dist/chunks/{kv-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  769. /package/dist/chunks/{kv-x1b8g1yb.js → app-x1b8g1yb.js} +0 -0
  770. /package/dist/chunks/{kv-x61499pn.js → app-x61499pn.js} +0 -0
  771. /package/dist/chunks/{kv-y44na4kk.js → app-y44na4kk.js} +0 -0
  772. /package/dist/chunks/{kv-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  773. /package/dist/chunks/{kv-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  774. /package/dist/chunks/{kv-z9919s4g.js → app-z9919s4g.js} +0 -0
  775. /package/dist/chunks/{kv-zbjnn3ac.js → app-zbjnn3ac.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./kv-p8qxwesx.js";
4
+ } from "./app-p8qxwesx.js";
5
5
  import {
6
- Service65,
7
- node70
8
- } from "./kv-5wnbjqvg.js";
6
+ Service73,
7
+ node78
8
+ } from "./app-6g1q2hdd.js";
9
9
  import {
10
- Service61,
11
- node65
12
- } from "./kv-h5rg6ge7.js";
10
+ Service17,
11
+ node20
12
+ } from "./app-b2a82tgj.js";
13
13
  import {
14
14
  __export
15
- } from "./kv-9rqn6x4v.js";
15
+ } from "./app-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
@@ -20,25 +20,25 @@ __export(exports_filesystem, {
20
20
  Content: () => Content2,
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
- Entry: () => Entry4,
24
- Event: () => Event14,
23
+ Entry: () => Entry2,
24
+ Event: () => Event4,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
28
28
  GrepInput: () => GrepInput2,
29
- ListInput: () => ListInput5,
29
+ ListInput: () => ListInput2,
30
30
  Match: () => Match2,
31
31
  ReadInput: () => ReadInput2,
32
- Service: () => Service60,
32
+ Service: () => Service16,
33
33
  Submatch: () => Submatch2,
34
- node: () => node64
34
+ node: () => node19
35
35
  });
36
36
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
37
37
  import path from "path";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { FSUtil } from "@opencode-ai/util/fs-util";
40
40
  import { Entry, FileSystem, FindInput as FindInput2 } from "@opencode-ai/schema/filesystem";
41
- import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode-ai/schema/filesystem";
41
+ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode-ai/schema/filesystem";
42
42
  var ReadInput2 = Schema.Struct({
43
43
  path: RelativePath2
44
44
  });
@@ -49,7 +49,7 @@ var Content2 = Schema.Struct({
49
49
  encoding: Schema.Literals(["utf8", "base64"]),
50
50
  mime: Schema.String
51
51
  }).annotate({ identifier: "FileSystem.Content" });
52
- var ListInput5 = Schema.Struct({
52
+ var ListInput2 = Schema.Struct({
53
53
  path: Schema.String.pipe(Schema.optional)
54
54
  });
55
55
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
72
72
  limit: Schema.optionalKey(PositiveInt2)
73
73
  }) {
74
74
  }
75
- var Event14 = FileSystem.Event;
75
+ var Event4 = FileSystem.Event;
76
76
 
77
- class Service60 extends Context.Service()("@opencode/FileSystem") {
77
+ class Service16 extends Context.Service()("@opencode/FileSystem") {
78
78
  }
79
- var baseLayer = Layer.effect(Service60, Effect.gen(function* () {
79
+ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
80
80
  const fs = yield* FSUtil.Service;
81
- const location = yield* Service65;
82
- const search = yield* Service61;
81
+ const location = yield* Service73;
82
+ const search = yield* Service17;
83
83
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
84
84
  const resolve = Effect.fnUntraced(function* (input) {
85
85
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service60, Effect.gen(function* () {
90
90
  return yield* Effect.die(new Error("Path escapes the location"));
91
91
  return { absolute, real, directory: location.directory };
92
92
  });
93
- return Service60.of({
93
+ return Service16.of({
94
94
  find: search.find,
95
95
  read: Effect.fn("FileSystem.read")(function* (input) {
96
96
  const target = yield* resolve(input.path);
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service60, Effect.gen(function* () {
122
122
  })
123
123
  });
124
124
  }));
125
- var node64 = makeLocationNode({
126
- service: Service60,
125
+ var node19 = makeLocationNode({
126
+ service: Service16,
127
127
  layer: baseLayer,
128
- deps: [FSUtil.node, node70, node65]
128
+ deps: [FSUtil.node, node78, node20]
129
129
  });
130
130
 
131
- export { FindInput2, ReadInput2, Content2, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event14, Service60, node64, exports_filesystem, Entry4, Match2, Submatch2 };
131
+ export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service16, node19, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./kv-t1bhb1bg.js";
2
+ Service79,
3
+ node84
4
+ } from "./app-0n46b46t.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make19,
8
+ make21,
9
9
  combine2
10
- } from "./kv-6e958v7x.js";
10
+ } from "./app-75yf2d83.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./kv-hrvm11jt.js";
13
+ } from "./app-hrvm11jt.js";
14
14
  import {
15
15
  __export
16
- } from "./kv-9rqn6x4v.js";
16
+ } from "./app-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info7,
21
+ Info: () => Info6,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service33,
25
+ Service: () => Service32,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node37,
29
+ node: () => node36,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode-ai/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info7 = InstructionEntry.Info;
37
+ var Info6 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service33 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service32 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make19({
65
- key: Key3.make(`api/${entry.key}`),
64
+ var source = (entry) => make21({
65
+ key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,8 +75,8 @@ var source = (entry) => make19({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service33, Effect.gen(function* () {
79
- const { db } = yield* Service77;
78
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
79
+ const { db } = yield* Service79;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service33.of({ list, put, remove, load });
111
+ return Service32.of({ list, put, remove, load });
112
112
  }));
113
- var node37 = makeLocationNode({ service: Service33, layer, deps: [node82] });
113
+ var node36 = makeLocationNode({ service: Service32, layer, deps: [node84] });
114
114
 
115
- export { Key2, Info7, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service33, node37, exports_instruction_entry };
115
+ export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node36, exports_instruction_entry };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./kv-y71avatq.js";
3
+ } from "./app-dpkg50ah.js";
4
4
  import {
5
5
  __export
6
- } from "./kv-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service32
3
- } from "./kv-sv33epe9.js";
2
+ Service30
3
+ } from "./app-wgyqb6cs.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./kv-n6k242f4.js";
6
+ } from "./app-bwt7bpgq.js";
7
7
  import {
8
- Service49
9
- } from "./kv-s4ss2bw5.js";
8
+ Service40
9
+ } from "./app-93yhyjwm.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./kv-fxbjtjnd.js";
12
+ } from "./app-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./kv-9rqn6x4v.js";
15
+ } from "./app-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service32;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
25
+ const instances = yield* Service30;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service76
3
- } from "./kv-mfe1qetb.js";
2
+ Service75
3
+ } from "./app-arbehxbm.js";
4
4
  import {
5
- Service54,
6
- Event13
7
- } from "./kv-db49mgn0.js";
5
+ Service45,
6
+ Event8
7
+ } from "./app-y667m2fe.js";
8
8
  import {
9
9
  __export
10
- } from "./kv-9rqn6x4v.js";
10
+ } from "./app-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin14,
15
+ Plugin: () => Plugin44,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin14 = define({
20
+ var Plugin44 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service76;
24
- const wellknown = yield* Service54;
23
+ const bus = yield* Service75;
24
+ const wellknown = yield* Service45;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin14 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event8.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin14, exports_plugin };
48
+ export { Plugin44, exports_plugin };
@@ -1,11 +1,11 @@
1
1
  import {
2
- ID14,
3
- Service73
4
- } from "./kv-z3qt4vrk.js";
2
+ ID6,
3
+ Service60
4
+ } from "./app-me149q6c.js";
5
5
  import {
6
6
  isAISDK2,
7
7
  packageName2
8
- } from "./kv-4z6b0fg6.js";
8
+ } from "./app-szt7smwk.js";
9
9
 
10
10
  // src/plugin/provider/llmgateway.ts
11
11
  import { Effect } from "effect";
@@ -13,7 +13,7 @@ import { define } from "@opencode-ai/plugin/effect/plugin";
13
13
  var LLMGatewayPlugin2 = define({
14
14
  id: "opencode.provider.llmgateway",
15
15
  effect: Effect.fn(function* (ctx) {
16
- const integrations = yield* Service73;
16
+ const integrations = yield* Service60;
17
17
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
18
18
  yield* ctx.catalog.transform((evt) => {
19
19
  for (const item of evt.provider.list()) {
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
25
25
  continue;
26
26
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
27
27
  continue;
28
- if (!configured.has(ID14.make(item.provider.id)))
28
+ if (!configured.has(ID6.make(item.provider.id)))
29
29
  continue;
30
30
  evt.provider.update(item.provider.id, (provider) => {
31
31
  provider.headers = {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  mergeOverlay2
3
- } from "./kv-4z6b0fg6.js";
3
+ } from "./app-szt7smwk.js";
4
4
  import {
5
- Service72
6
- } from "./kv-mqds9z8y.js";
5
+ Service59
6
+ } from "./app-7mjejgxa.js";
7
7
  import {
8
- Service51
9
- } from "./kv-syq477mx.js";
8
+ Service43
9
+ } from "./app-fg4eb5cw.js";
10
10
 
11
11
  // src/plugin/provider/configured.ts
12
12
  import { Effect, Option } from "effect";
13
13
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
14
- const catalog = yield* Service72;
14
+ const catalog = yield* Service59;
15
15
  const current = (yield* catalog.provider.get(id))?.settings;
16
- const service = yield* Effect.serviceOption(Service51);
16
+ const service = yield* Effect.serviceOption(Service43);
17
17
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
18
18
  return foldSettings2(entries, id, current);
19
19
  });
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./kv-f0mxakyp.js";
3
+ } from "./app-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./kv-w3wsvvr9.js";
6
+ } from "./app-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./kv-7bmhse3q.js";
9
+ } from "./app-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./kv-cf4snx6d.js";
12
+ } from "./app-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./kv-822emrt2.js";
15
+ } from "./app-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./kv-wd87259q.js";
18
+ } from "./app-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./kv-m9w0rfyh.js";
21
+ } from "./app-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./kv-emrn6kk6.js";
7
+ } from "./app-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service76,
3
- node81
4
- } from "./kv-mfe1qetb.js";
5
- import {
6
- Key4,
7
2
  Service75,
8
3
  node80
9
- } from "./kv-p198ap2v.js";
4
+ } from "./app-arbehxbm.js";
5
+ import {
6
+ Key3,
7
+ Service62,
8
+ node65
9
+ } from "./app-sj5n3trc.js";
10
10
  import {
11
11
  create3
12
- } from "./kv-kg06axw8.js";
12
+ } from "./app-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./kv-4ga6yzkg.js";
16
+ } from "./app-fqz8c7f9.js";
17
17
  import {
18
18
  __export
19
- } from "./kv-9rqn6x4v.js";
19
+ } from "./app-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event18,
34
- ID: () => ID14,
35
- Info: () => Info28,
33
+ Event: () => Event14,
34
+ ID: () => ID6,
35
+ Info: () => Info21,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
- Ref: () => Ref3,
42
- Service: () => Service73,
43
- node: () => node78
41
+ Ref: () => Ref2,
42
+ Service: () => Service60,
43
+ node: () => node63
44
44
  });
45
45
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode-ai/schema/integration";
62
62
  import { AppProcess } from "@opencode-ai/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event18 } from "@opencode-ai/schema/integration";
65
- var ID14 = Integration.ID;
64
+ import { Event as Event14 } from "@opencode-ai/schema/integration";
65
+ var ID6 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info28 = Integration.Info;
73
+ var Info21 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -85,16 +85,16 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
85
85
  cause: Schema.Defect()
86
86
  }) {
87
87
  }
88
- var Ref3 = Integration.Ref;
88
+ var Ref2 = Integration.Ref;
89
89
 
90
- class Service73 extends Context.Service()("@opencode/Integration") {
90
+ class Service60 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service73, Effect.gen(function* () {
96
- const credentials = yield* Service75;
97
- const bus = yield* Service76;
95
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
96
+ const credentials = yield* Service62;
97
+ const bus = yield* Service75;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
100
100
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info28.make({
190
+ const project = (entry, connections) => Info21.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
271
271
  const persistence = yield* createCredential({
272
272
  integrationID: attempt.integrationID,
273
273
  label: attempt.label,
274
- value: Key4.make({ type: "key", key: exit.value })
274
+ value: Key3.make({ type: "key", key: exit.value })
275
275
  }).pipe(Effect.asVoid, Effect.exit);
276
276
  const settledAt = yield* Clock.currentTimeMillis;
277
277
  const terminal = Exit.isSuccess(persistence) ? {
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service73.of({
420
+ return Service60.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
438
438
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
439
439
  if (connection.type === "env") {
440
440
  const key = process.env[connection.name];
441
- return key ? Key4.make({ type: "key", key }) : undefined;
441
+ return key ? Key3.make({ type: "key", key }) : undefined;
442
442
  }
443
443
  const credential = yield* credentials.get(connection.id);
444
444
  if (!credential)
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
471
471
  yield* createCredential({
472
472
  integrationID: input.integrationID,
473
473
  label: input.label,
474
- value: Key4.make({
474
+ value: Key3.make({
475
475
  type: "key",
476
476
  key: input.key,
477
477
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node78 = makeLocationNode({
569
- service: Service73,
568
+ var node63 = makeLocationNode({
569
+ service: Service60,
570
570
  layer,
571
- deps: [node80, node81, AppProcess.node]
571
+ deps: [node65, node80, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service73, node78, exports_integration, Event18 };
574
+ export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service60, node63, exports_integration, Event14 };