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

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 (774) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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/{shell-8g67dwbc.js → kv-07pjb4yj.js} +5 -5
  9. package/dist/chunks/{shell-7bfdkh1t.js → kv-0drwrr20.js} +15 -15
  10. package/dist/chunks/{shell-0e0xafbb.js → kv-0e0xafbb.js} +2 -2
  11. package/dist/chunks/{shell-mvhtz5js.js → kv-0kj443hm.js} +5 -5
  12. package/dist/chunks/{shell-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{shell-et79eehw.js → kv-0pz84dxy.js} +9 -9
  14. package/dist/chunks/{shell-0s9ayhjt.js → kv-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{shell-zj4p2a1k.js → kv-12fnx30g.js} +8 -8
  16. package/dist/chunks/{shell-2qrq5jg3.js → kv-14hmenm3.js} +3 -3
  17. package/dist/chunks/{shell-xay8nyhx.js → kv-14mbnhb1.js} +6 -6
  18. package/dist/chunks/{shell-jx283wc3.js → kv-16yc1m91.js} +9 -9
  19. package/dist/chunks/{shell-1ct4r87x.js → kv-1ct4r87x.js} +1 -1
  20. package/dist/chunks/{shell-esp3dmb3.js → kv-1mg2yz7f.js} +3 -3
  21. package/dist/chunks/{shell-az9b9mm6.js → kv-1r3zydfx.js} +4 -4
  22. package/dist/chunks/{shell-21r38tys.js → kv-21r38tys.js} +1 -1
  23. package/dist/chunks/{shell-ng39vjdn.js → kv-238pagf0.js} +2 -2
  24. package/dist/chunks/{shell-2402vzrj.js → kv-2402vzrj.js} +1 -1
  25. package/dist/chunks/{shell-29x78va6.js → kv-29x78va6.js} +2 -2
  26. package/dist/chunks/{shell-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{shell-h2sw8ea3.js → kv-2bac7mmh.js} +15 -15
  28. package/dist/chunks/{shell-2ht70gj7.js → kv-2ht70gj7.js} +1 -1
  29. package/dist/chunks/{shell-301db2e0.js → kv-2stffz79.js} +25 -25
  30. package/dist/chunks/{shell-ddcwh8jf.js → kv-2v1h19tk.js} +3 -3
  31. package/dist/chunks/{shell-vdxzp0s5.js → kv-31fmz1fp.js} +20 -20
  32. package/dist/chunks/{shell-gdvy8fx6.js → kv-3fc6dm20.js} +4 -4
  33. package/dist/chunks/{shell-3jj6bjb6.js → kv-3g2y1byn.js} +5 -5
  34. package/dist/chunks/{shell-eg1n48gj.js → kv-3gfsa2we.js} +15 -15
  35. package/dist/chunks/{shell-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{shell-3qzbfqsy.js → kv-3qzbfqsy.js} +2 -2
  37. package/dist/chunks/{shell-6g84bqmx.js → kv-3rdd7m9r.js} +21 -21
  38. package/dist/chunks/{shell-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{shell-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{shell-pjjtcy2p.js → kv-3wfq9j39.js} +12 -12
  41. package/dist/chunks/{shell-kja6ea6z.js → kv-3z7ymfy8.js} +11 -11
  42. package/dist/chunks/{shell-454k5vzh.js → kv-454k5vzh.js} +1 -1
  43. package/dist/chunks/{shell-4pb24dhv.js → kv-496a646b.js} +14 -14
  44. package/dist/chunks/{shell-75p0zbr9.js → kv-4ga6yzkg.js} +27 -27
  45. package/dist/chunks/{shell-ztjnpbp4.js → kv-4qf6hhyh.js} +9 -9
  46. package/dist/chunks/{shell-4r2nyarf.js → kv-4r2nyarf.js} +1 -1
  47. package/dist/chunks/{shell-vkh6dqf1.js → kv-4rsfp5k5.js} +3 -3
  48. package/dist/chunks/{shell-m4bpwynw.js → kv-4z6b0fg6.js} +6 -6
  49. package/dist/chunks/{shell-xe4jdaw3.js → kv-57w39xht.js} +5 -5
  50. package/dist/chunks/{shell-n87qk14a.js → kv-599cnyq5.js} +29 -29
  51. package/dist/chunks/{shell-5daktx2q.js → kv-5daktx2q.js} +1 -1
  52. package/dist/chunks/{shell-5fmxt4p5.js → kv-5fmxt4p5.js} +1 -1
  53. package/dist/chunks/{shell-ggysapes.js → kv-5g0p4mxq.js} +26 -26
  54. package/dist/chunks/{shell-gp4zh27s.js → kv-5ggkvp9f.js} +6 -6
  55. package/dist/chunks/{shell-hm2ca2ns.js → kv-5gqcqfwy.js} +18 -18
  56. package/dist/chunks/{shell-5jvc5tg2.js → kv-5jvc5tg2.js} +1 -1
  57. package/dist/chunks/{shell-7haxhjsc.js → kv-5k3f87xj.js} +1 -1
  58. package/dist/chunks/{shell-78h3c2ja.js → kv-5pdq8qgg.js} +6 -6
  59. package/dist/chunks/{shell-a61ajdq9.js → kv-5wnbjqvg.js} +17 -17
  60. package/dist/chunks/{shell-nag7dxjf.js → kv-5y6pdc3x.js} +9 -9
  61. package/dist/chunks/{shell-d8bdgt1m.js → kv-605y5xjw.js} +13 -13
  62. package/dist/chunks/{shell-a12tcaaf.js → kv-65yprxq5.js} +6 -6
  63. package/dist/chunks/{shell-rzq71d0k.js → kv-676wedsd.js} +22 -22
  64. package/dist/chunks/{shell-wdhc4zn8.js → kv-68dvzq1z.js} +8 -8
  65. package/dist/chunks/{shell-drz01ptw.js → kv-69pzhmr6.js} +28 -28
  66. package/dist/chunks/{shell-6abnk40k.js → kv-6abnk40k.js} +2 -2
  67. package/dist/chunks/{shell-mtcjf44p.js → kv-6e958v7x.js} +4 -4
  68. package/dist/chunks/{shell-6kgc56n8.js → kv-6enr500s.js} +6 -6
  69. package/dist/chunks/{shell-0sdspkc1.js → kv-6gz15wwc.js} +36 -36
  70. package/dist/chunks/{shell-806j49yq.js → kv-6hh8tjw2.js} +4 -4
  71. package/dist/chunks/{shell-ec2yajhv.js → kv-6nmsy562.js} +4 -4
  72. package/dist/chunks/{shell-zg1tfnff.js → kv-6xz6dfh8.js} +37 -37
  73. package/dist/chunks/{shell-711hfp6y.js → kv-711hfp6y.js} +2 -2
  74. package/dist/chunks/{shell-72nftnjy.js → kv-72nftnjy.js} +2 -2
  75. package/dist/chunks/{shell-344230wv.js → kv-7a2871xe.js} +6 -6
  76. package/dist/chunks/{shell-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{shell-220n1ymv.js → kv-7c21gvyv.js} +178 -178
  78. package/dist/chunks/{shell-9kksqv7m.js → kv-7cnkxtbd.js} +9 -9
  79. package/dist/chunks/{shell-3zzgc37f.js → kv-7hmj7g9f.js} +17 -17
  80. package/dist/chunks/{shell-pjedbq3k.js → kv-7n2xhmm7.js} +6 -6
  81. package/dist/chunks/{shell-zvpejf85.js → kv-7r35fj82.js} +46 -46
  82. package/dist/chunks/{shell-4za3avwx.js → kv-868x4neb.js} +9 -9
  83. package/dist/chunks/{shell-45t9anda.js → kv-86s3977f.js} +1 -1
  84. package/dist/chunks/{shell-tcezcvh9.js → kv-89znhe33.js} +4 -4
  85. package/dist/chunks/{shell-axh9mnjf.js → kv-8fgv5w73.js} +18 -18
  86. package/dist/chunks/{shell-y2cqme3r.js → kv-93a8yfjt.js} +5 -5
  87. package/dist/chunks/{shell-xnf7zpzd.js → kv-9epfrg2r.js} +11 -11
  88. package/dist/chunks/{shell-46e97tr7.js → kv-9kbmc1bn.js} +10 -10
  89. package/dist/chunks/{shell-qy387ach.js → kv-9q10gh9c.js} +11 -11
  90. package/dist/chunks/{shell-9qm9egsn.js → kv-9qm9egsn.js} +2 -2
  91. package/dist/chunks/{shell-aaet6srn.js → kv-aaet6srn.js} +2 -2
  92. package/dist/chunks/{shell-za9jakaj.js → kv-afs1gfwh.js} +9 -9
  93. package/dist/chunks/{shell-22jc9t4j.js → kv-aj9ffb68.js} +12 -12
  94. package/dist/chunks/{shell-ajtjthsy.js → kv-ajtjthsy.js} +2 -2
  95. package/dist/chunks/{shell-bf0ztrs3.js → kv-an7cqtb7.js} +4 -4
  96. package/dist/chunks/{shell-2qzq6ga3.js → kv-ayqzvvm1.js} +11 -11
  97. package/dist/chunks/{shell-t0z8h93t.js → kv-b1cc60s2.js} +49 -49
  98. package/dist/chunks/{shell-2nz939r2.js → kv-b2nzchm7.js} +11 -11
  99. package/dist/chunks/{shell-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{shell-b9wsbatv.js → kv-b9wsbatv.js} +1 -1
  101. package/dist/chunks/{shell-2yzeteq7.js → kv-baw8dctm.js} +13 -13
  102. package/dist/chunks/{shell-kjrs54vr.js → kv-bv80vwep.js} +16 -16
  103. package/dist/chunks/{shell-rh6wbg4w.js → kv-bvz5j511.js} +15 -15
  104. package/dist/chunks/{shell-759pz1a2.js → kv-bw6y50md.js} +8 -8
  105. package/dist/chunks/{shell-wkjngxy5.js → kv-cq9zegd4.js} +3 -3
  106. package/dist/chunks/{shell-g2fgb7sn.js → kv-cxmh4q5b.js} +4 -4
  107. package/dist/chunks/{shell-v623p3vn.js → kv-d09b090m.js} +8 -8
  108. package/dist/chunks/{shell-jv6tbxxe.js → kv-d4cb5k3p.js} +8 -8
  109. package/dist/chunks/{shell-d72308c8.js → kv-d72308c8.js} +2 -2
  110. package/dist/chunks/{shell-hd4bzg4a.js → kv-db49mgn0.js} +23 -23
  111. package/dist/chunks/{shell-ygtbksd3.js → kv-dcspmnv1.js} +32 -32
  112. package/dist/chunks/{shell-20k6nhm9.js → kv-dctx0khx.js} +23 -23
  113. package/dist/chunks/kv-dh0q6p2e.js +247 -0
  114. package/dist/chunks/{shell-pxz8xz7s.js → kv-dhqg8tcb.js} +9 -9
  115. package/dist/chunks/{shell-kthrd1n2.js → kv-djkavt39.js} +24 -24
  116. package/dist/chunks/{shell-c50658qd.js → kv-dmqmcw2r.js} +38 -38
  117. package/dist/chunks/{shell-58srr6fv.js → kv-e10cy4w0.js} +31 -31
  118. package/dist/chunks/{shell-bdrwax0s.js → kv-e2jdrf4x.js} +25 -25
  119. package/dist/chunks/{shell-74jy76yg.js → kv-e5b0qn1c.js} +1 -1
  120. package/dist/chunks/{shell-hpbyysca.js → kv-ephmsh67.js} +27 -27
  121. package/dist/chunks/{shell-76scvvk8.js → kv-erz98jwc.js} +32 -32
  122. package/dist/chunks/{shell-t2cat712.js → kv-f1kgb3zy.js} +17 -17
  123. package/dist/chunks/{shell-j0h9s30t.js → kv-ffs8r943.js} +13 -13
  124. package/dist/chunks/{shell-95z3gcrg.js → kv-fhgm40mk.js} +4 -4
  125. package/dist/chunks/{shell-fqt4fs5w.js → kv-fs7t3exj.js} +11 -11
  126. package/dist/chunks/{shell-ef5f9nen.js → kv-fv8a344a.js} +8 -8
  127. package/dist/chunks/{shell-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
  128. package/dist/chunks/{shell-fxypknc8.js → kv-fxypknc8.js} +1 -1
  129. package/dist/chunks/{shell-pbhkjpds.js → kv-fz1pdqz4.js} +5 -5
  130. package/dist/chunks/{shell-nghta7n5.js → kv-fzf7e7x1.js} +43 -43
  131. package/dist/chunks/{shell-pxednv00.js → kv-g41n1fn3.js} +5 -5
  132. package/dist/chunks/{shell-ygrnprnw.js → kv-g54w6h1q.js} +22 -22
  133. package/dist/chunks/{shell-p563rwwf.js → kv-gcn4jvqh.js} +41 -41
  134. package/dist/chunks/{shell-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  135. package/dist/chunks/{shell-n3m9wsvh.js → kv-gfvkvwrv.js} +28 -28
  136. package/dist/chunks/{shell-b94fcmr9.js → kv-gj8036k9.js} +34 -34
  137. package/dist/chunks/{shell-ca4j1r4e.js → kv-h1f297k2.js} +15 -15
  138. package/dist/chunks/{shell-nxz3kcv2.js → kv-h5rg6ge7.js} +32 -32
  139. package/dist/chunks/{shell-m05jjnz9.js → kv-h625df0a.js} +12 -12
  140. package/dist/chunks/{shell-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  141. package/dist/chunks/{shell-rdq9thdd.js → kv-h73jd86c.js} +24 -24
  142. package/dist/chunks/{shell-heyhwy2w.js → kv-heyhwy2w.js} +1 -1
  143. package/dist/chunks/{shell-6wf5mw7w.js → kv-hhxcwp9f.js} +31 -31
  144. package/dist/chunks/{shell-famd3pv6.js → kv-hjrjbgez.js} +5 -5
  145. package/dist/chunks/{shell-hrvm11jt.js → kv-hrvm11jt.js} +3 -3
  146. package/dist/chunks/{shell-w0nm8ced.js → kv-hv4p2p21.js} +24 -24
  147. package/dist/chunks/{shell-a9detkdy.js → kv-hw73h5pz.js} +37 -37
  148. package/dist/chunks/{shell-rpqdjjqf.js → kv-hzecryb5.js} +18 -18
  149. package/dist/chunks/{shell-2xx188mn.js → kv-jg1zcjqp.js} +37 -37
  150. package/dist/chunks/{shell-k6p8g4fk.js → kv-jhf9a7kk.js} +64 -64
  151. package/dist/chunks/{shell-r56wj6jx.js → kv-jm1tdwje.js} +13 -13
  152. package/dist/chunks/{shell-998dat6d.js → kv-jq2whtdt.js} +11 -11
  153. package/dist/chunks/{shell-w6h9pbxs.js → kv-js3p9a9k.js} +11 -11
  154. package/dist/chunks/{shell-5pdbny0n.js → kv-jy629emf.js} +10 -10
  155. package/dist/chunks/{shell-k4bwy1x5.js → kv-k4bwy1x5.js} +1 -1
  156. package/dist/chunks/{shell-hn4sjpb5.js → kv-k6fnztft.js} +2 -2
  157. package/dist/chunks/{shell-wsnh7t8r.js → kv-k7dwhv72.js} +18 -18
  158. package/dist/chunks/{shell-31nvjq2v.js → kv-k8x9vhm8.js} +11 -11
  159. package/dist/chunks/{shell-a9c7wcwq.js → kv-kd8v050h.js} +12 -12
  160. package/dist/chunks/{shell-ftabj2dg.js → kv-kf8thf07.js} +28 -28
  161. package/dist/chunks/{shell-kg06axw8.js → kv-kg06axw8.js} +1 -1
  162. package/dist/chunks/{shell-kvsjn1dr.js → kv-kvsjn1dr.js} +2 -2
  163. package/dist/chunks/{shell-gd25jggd.js → kv-kw3wy51s.js} +43 -43
  164. package/dist/chunks/{shell-vh6gf742.js → kv-kwvtfp1b.js} +10 -10
  165. package/dist/chunks/{shell-rzejcw32.js → kv-m3fm0fm8.js} +5 -5
  166. package/dist/chunks/{shell-9yq0qydf.js → kv-m4p2ftrf.js} +13 -13
  167. package/dist/chunks/{shell-cb182ger.js → kv-m60hmjpw.js} +7 -7
  168. package/dist/chunks/{shell-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  169. package/dist/chunks/{shell-dvf4z69w.js → kv-mav5hcv8.js} +27 -27
  170. package/dist/chunks/{shell-9t99dw5q.js → kv-mcxg6pmm.js} +1 -1
  171. package/dist/chunks/{shell-1dh290mh.js → kv-mdnhxyz2.js} +8 -8
  172. package/dist/chunks/{shell-dpc689ym.js → kv-mfe1qetb.js} +16 -16
  173. package/dist/chunks/{shell-r7cz99r0.js → kv-mn48t6tr.js} +15 -15
  174. package/dist/chunks/kv-mq1xgkyh.js +22 -0
  175. package/dist/chunks/{shell-2pqs5rb6.js → kv-mqds9z8y.js} +28 -28
  176. package/dist/chunks/{shell-gfz2zenh.js → kv-mqyp5gdj.js} +17 -17
  177. package/dist/chunks/{shell-ytpzjm8d.js → kv-mwvt73nw.js} +44 -44
  178. package/dist/chunks/{shell-nxrz604p.js → kv-mxs1xwvp.js} +9 -9
  179. package/dist/chunks/{shell-76wr4mq2.js → kv-n38qs1ar.js} +5 -5
  180. package/dist/chunks/{shell-ff1h9ct4.js → kv-n6a7rk8g.js} +20 -20
  181. package/dist/chunks/kv-n6k242f4.js +18 -0
  182. package/dist/chunks/{shell-1nqpxsj1.js → kv-n7731ngr.js} +13 -13
  183. package/dist/chunks/{shell-2cnxy6r2.js → kv-nkkerv85.js} +10 -10
  184. package/dist/chunks/{shell-tabs974f.js → kv-npzt3p1j.js} +12 -12
  185. package/dist/chunks/{shell-7p203cgq.js → kv-nr9x74c1.js} +24 -24
  186. package/dist/chunks/{shell-xxtg5rsy.js → kv-p198ap2v.js} +33 -33
  187. package/dist/chunks/{shell-8309kjat.js → kv-p425gb1k.js} +10 -10
  188. package/dist/chunks/{shell-bpcc17t3.js → kv-p66fc0fz.js} +11 -11
  189. package/dist/chunks/{shell-mjs0kabc.js → kv-p88s56y3.js} +28 -28
  190. package/dist/chunks/{shell-h8p6xf2n.js → kv-pa8bv90n.js} +22 -22
  191. package/dist/chunks/{shell-gvphy7jk.js → kv-ph38rbv1.js} +6 -6
  192. package/dist/chunks/{shell-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{shell-mpcfbaan.js → kv-pk502bdp.js} +16 -16
  194. package/dist/chunks/{shell-pknna89w.js → kv-pknna89w.js} +1 -1
  195. package/dist/chunks/{shell-0b65z5fp.js → kv-pv5nzn32.js} +10 -10
  196. package/dist/chunks/{shell-41k9cz4z.js → kv-pwb001t0.js} +32 -32
  197. package/dist/chunks/{shell-rh6rd7ag.js → kv-py42k196.js} +4 -4
  198. package/dist/chunks/{shell-c6trbygj.js → kv-q77zht3w.js} +4 -4
  199. package/dist/chunks/{shell-vnj6vh9c.js → kv-qcz5xzee.js} +32 -32
  200. package/dist/chunks/{shell-e83y27r5.js → kv-qfja8fnv.js} +7 -7
  201. package/dist/chunks/{shell-qgn6gcr1.js → kv-qgn6gcr1.js} +1 -1
  202. package/dist/chunks/{shell-ycn3x014.js → kv-qhwr7wtz.js} +13 -13
  203. package/dist/chunks/{shell-mn410wgw.js → kv-qnb0t8zm.js} +54 -54
  204. package/dist/chunks/{shell-rd7fx9p1.js → kv-qnbahbj0.js} +16 -16
  205. package/dist/chunks/{shell-1h4a14by.js → kv-qqz1053v.js} +72 -72
  206. package/dist/chunks/{shell-qsdy395h.js → kv-qsdy395h.js} +1 -1
  207. package/dist/chunks/{shell-6rbe69zm.js → kv-qxsy5p3f.js} +13 -13
  208. package/dist/chunks/{shell-12t3v3je.js → kv-r0keqwvg.js} +23 -23
  209. package/dist/chunks/{shell-bcezcar3.js → kv-r5s1f9ds.js} +5 -5
  210. package/dist/chunks/{shell-73tb2d7t.js → kv-r5x6zcsm.js} +3 -3
  211. package/dist/chunks/{shell-r8dhm0tv.js → kv-r8dhm0tv.js} +1 -1
  212. package/dist/chunks/{shell-83dvd1w2.js → kv-rfjq507z.js} +56 -56
  213. package/dist/chunks/{shell-02q19v1x.js → kv-rk9sw2av.js} +8 -8
  214. package/dist/chunks/{shell-8b1vkr5h.js → kv-rkjw441a.js} +290 -290
  215. package/dist/chunks/{shell-1tq060df.js → kv-rp8jz6x1.js} +6 -6
  216. package/dist/chunks/{shell-yw9364ag.js → kv-rvhss2m2.js} +4 -4
  217. package/dist/chunks/{shell-htbxhgrz.js → kv-ry7mz5fv.js} +17 -17
  218. package/dist/chunks/{shell-w794bvtj.js → kv-rynqx63d.js} +37 -37
  219. package/dist/chunks/{shell-6smwwksd.js → kv-rz1r1rv7.js} +17 -17
  220. package/dist/chunks/{shell-hjp2pbpf.js → kv-s2px886z.js} +1 -1
  221. package/dist/chunks/{shell-vqe9fq18.js → kv-s3eqpch7.js} +1 -1
  222. package/dist/chunks/{shell-18e1e1p1.js → kv-s4ss2bw5.js} +47 -47
  223. package/dist/chunks/{shell-7w2wm759.js → kv-sb910js5.js} +4 -4
  224. package/dist/chunks/{shell-sba4qhjf.js → kv-sba4qhjf.js} +1 -1
  225. package/dist/chunks/kv-sv33epe9.js +20 -0
  226. package/dist/chunks/{shell-h9ygsckj.js → kv-syq477mx.js} +46 -46
  227. package/dist/chunks/{shell-jqrqy21d.js → kv-t1bhb1bg.js} +11 -11
  228. package/dist/chunks/{shell-292hg6qz.js → kv-t6srx486.js} +7 -7
  229. package/dist/chunks/{shell-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{shell-s09ja0ad.js → kv-tgaxz472.js} +28 -28
  231. package/dist/chunks/{shell-ttr1bger.js → kv-tj8gy5c5.js} +22 -22
  232. package/dist/chunks/{shell-tjykrgmx.js → kv-tjykrgmx.js} +1 -1
  233. package/dist/chunks/{shell-wkqpxhsk.js → kv-tq1jg9v7.js} +7 -7
  234. package/dist/chunks/{shell-zzv1x10w.js → kv-ts23zk9x.js} +25 -25
  235. package/dist/chunks/{shell-6w7g5p5h.js → kv-twy610cz.js} +18 -18
  236. package/dist/chunks/{shell-5qea4ewy.js → kv-v1ggvvtw.js} +39 -39
  237. package/dist/chunks/{shell-avja4xez.js → kv-v2aawvfd.js} +18 -18
  238. package/dist/chunks/{shell-fg3wn8a9.js → kv-v4bdvzd3.js} +90 -90
  239. package/dist/chunks/{shell-z3xgatyd.js → kv-vep9yay1.js} +4 -4
  240. package/dist/chunks/{shell-yew4gc92.js → kv-vq25wjhh.js} +25 -25
  241. package/dist/chunks/{shell-863jw130.js → kv-vxz8nws8.js} +11 -11
  242. package/dist/chunks/{shell-m9q8vvrp.js → kv-vy051p0e.js} +11 -11
  243. package/dist/chunks/kv-w3vb4krt.js +4 -0
  244. package/dist/chunks/{shell-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{shell-tmq14ezd.js → kv-w60ndp2z.js} +36 -36
  246. package/dist/chunks/{shell-sq68wjyr.js → kv-w75j66fn.js} +6 -6
  247. package/dist/chunks/{shell-4n9v30zw.js → kv-wawr59mw.js} +25 -25
  248. package/dist/chunks/{shell-wd87259q.js → kv-wd87259q.js} +1 -1
  249. package/dist/chunks/{shell-s440spbv.js → kv-wfvjw4z7.js} +24 -24
  250. package/dist/chunks/{shell-dsfx0j74.js → kv-wgfc0hft.js} +6 -6
  251. package/dist/chunks/{shell-dsf572e0.js → kv-wgxn7ww3.js} +4 -4
  252. package/dist/chunks/{shell-35r8yfzd.js → kv-wkz0j4q5.js} +17 -17
  253. package/dist/chunks/{shell-ex76qa1h.js → kv-wrvstr67.js} +19 -19
  254. package/dist/chunks/{shell-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{shell-0h07sdbh.js → kv-x3stwmqx.js} +23 -23
  256. package/dist/chunks/{shell-74hfp9tv.js → kv-xczcj508.js} +27 -27
  257. package/dist/chunks/{shell-wn5mwez2.js → kv-xez3q0qn.js} +90 -90
  258. package/dist/chunks/{shell-gfz9gwkx.js → kv-xf5bdvwx.js} +23 -23
  259. package/dist/chunks/{shell-xgbmxshw.js → kv-xn9aqqx6.js} +15 -15
  260. package/dist/chunks/{shell-2xs5s17b.js → kv-xqkm9ax4.js} +4 -4
  261. package/dist/chunks/{shell-rzyn4jtv.js → kv-xqsy6kp0.js} +1 -1
  262. package/dist/chunks/{shell-vnwmzs4a.js → kv-xw8eq9f1.js} +5 -5
  263. package/dist/chunks/{shell-9nb3r9db.js → kv-xxzj7qcx.js} +6 -6
  264. package/dist/chunks/{shell-s9fwkeje.js → kv-xyvw3pp2.js} +15 -15
  265. package/dist/chunks/{shell-kyb951k0.js → kv-y18qbtn0.js} +3 -3
  266. package/dist/chunks/{shell-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{shell-00aww1yf.js → kv-y6nt3k22.js} +2 -2
  268. package/dist/chunks/{shell-y71avatq.js → kv-y71avatq.js} +1 -1
  269. package/dist/chunks/{shell-yfbd16n1.js → kv-yfbd16n1.js} +2 -2
  270. package/dist/chunks/{shell-5ctdmadx.js → kv-yhh6951v.js} +8 -8
  271. package/dist/chunks/{shell-cmwx9h7j.js → kv-ykcesz1b.js} +4 -4
  272. package/dist/chunks/{shell-5fc6d9pe.js → kv-ykk6pqwd.js} +20 -20
  273. package/dist/chunks/{shell-ewakhq0j.js → kv-yms21qcc.js} +20 -20
  274. package/dist/chunks/{shell-5mm0tfy6.js → kv-yydg8tay.js} +8 -8
  275. package/dist/chunks/{shell-z1k01bn4.js → kv-z1k01bn4.js} +2 -2
  276. package/dist/chunks/{shell-bzsb4ygm.js → kv-z3qt4vrk.js} +29 -29
  277. package/dist/chunks/{shell-f77xc9wm.js → kv-z89789qm.js} +22 -22
  278. package/dist/chunks/{shell-6hq5c2qk.js → kv-zess5s1n.js} +31 -31
  279. package/dist/chunks/{shell-nzfzr9h0.js → kv-zgne66ps.js} +43 -43
  280. package/dist/chunks/{shell-bh35m6yh.js → kv-zjvrjqxt.js} +7 -7
  281. package/dist/chunks/{shell-5nzbd5n0.js → kv-zn2pq4p8.js} +5 -5
  282. package/dist/chunks/{shell-g7csxrs7.js → kv-zqg3qsz2.js} +4 -4
  283. package/dist/chunks/{shell-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +3 -3
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +81 -81
  288. package/dist/config/discovery.js +79 -79
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +114 -114
  292. package/dist/config/plugin/command.js +205 -205
  293. package/dist/config/plugin/compaction.js +153 -153
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +116 -116
  296. package/dist/config/plugin/image.js +114 -114
  297. package/dist/config/plugin/instruction.js +85 -85
  298. package/dist/config/plugin/location-watcher.js +114 -114
  299. package/dist/config/plugin/mcp.js +123 -123
  300. package/dist/config/plugin/policy.js +113 -113
  301. package/dist/config/plugin/provider.js +110 -110
  302. package/dist/config/plugin/reference.js +116 -116
  303. package/dist/config/plugin/shell.js +113 -113
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +132 -132
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +116 -116
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +110 -110
  310. package/dist/config/plugin/worktree.js +117 -117
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +116 -116
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +80 -80
  316. package/dist/database/database.js +68 -68
  317. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  318. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +13 -13
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +14 -14
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration.gen.js +47 -47
  380. package/dist/database/migration.js +49 -49
  381. package/dist/database/path.js +2 -2
  382. package/dist/database/schema.gen.js +1 -1
  383. package/dist/database/schema.sql.js +1 -1
  384. package/dist/database/sqlite.bun.js +1 -1
  385. package/dist/database/sqlite.js +1 -1
  386. package/dist/database/sqlite.node.js +1 -1
  387. package/dist/database/sqlite.workerd.js +1 -1
  388. package/dist/database/v1-migration.bun.js +77 -77
  389. package/dist/database/v1-migration.js +1 -1
  390. package/dist/effect/app-node-builder.js +358 -358
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +1 -1
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +88 -88
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +90 -90
  399. package/dist/environment/local.js +2 -2
  400. package/dist/environment/memory.js +2 -2
  401. package/dist/environment/unavailable.js +1 -1
  402. package/dist/event/sql.js +1 -1
  403. package/dist/event-logger.js +72 -72
  404. package/dist/file-mutation.js +89 -89
  405. package/dist/file-retention.js +1 -1
  406. package/dist/file.js +1 -1
  407. package/dist/filesystem/fff.bun.js +2 -2
  408. package/dist/filesystem/fff.js +1 -1
  409. package/dist/filesystem/fff.node.js +2 -2
  410. package/dist/filesystem/fff.workerd.js +2 -2
  411. package/dist/filesystem/ignore.js +1 -1
  412. package/dist/filesystem/location-watcher-policy.js +4 -4
  413. package/dist/filesystem/location-watcher.js +214 -214
  414. package/dist/filesystem/protected.js +3 -3
  415. package/dist/filesystem/search.js +99 -99
  416. package/dist/filesystem/watcher-binding.js +1 -1
  417. package/dist/filesystem/watcher.js +13 -13
  418. package/dist/filesystem.js +98 -98
  419. package/dist/form.js +82 -82
  420. package/dist/formatter/builtins.js +4 -4
  421. package/dist/formatter.js +82 -82
  422. package/dist/generate.js +90 -90
  423. package/dist/git.js +7 -7
  424. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  425. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  426. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  428. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  430. package/dist/github-copilot/copilot-provider.js +17 -17
  431. package/dist/github-copilot/models.js +7 -7
  432. package/dist/github-copilot/openai-compatible-error.js +1 -1
  433. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  434. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  435. package/dist/github-copilot/responses/openai-error.js +1 -1
  436. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  437. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  438. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  439. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  440. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  443. package/dist/id/id.js +1 -1
  444. package/dist/image/photon.js +2 -2
  445. package/dist/image.js +6 -6
  446. package/dist/instance/service.js +7 -7
  447. package/dist/instance.js +349 -349
  448. package/dist/instruction-discovery.js +83 -83
  449. package/dist/instructions/builtins.js +82 -82
  450. package/dist/instructions/index.js +3 -3
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +85 -85
  453. package/dist/job.js +77 -77
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +71 -71
  456. package/dist/location-activity.js +86 -86
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +83 -83
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +84 -84
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +104 -104
  463. package/dist/mcp/instructions.js +120 -120
  464. package/dist/mcp/oauth.js +2 -2
  465. package/dist/mcp/stdio.js +85 -85
  466. package/dist/mime.js +1 -1
  467. package/dist/modal/models.js +7 -7
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +8 -8
  470. package/dist/models-dev.js +86 -86
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +78 -78
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +105 -105
  475. package/dist/persistent-pty/binary.bun.js +1 -1
  476. package/dist/persistent-pty/daemon.js +1 -1
  477. package/dist/persistent-pty/index.js +86 -86
  478. package/dist/persistent-pty/pty-binding.js +1 -1
  479. package/dist/persistent-pty.js +73 -73
  480. package/dist/plugin/agent.js +96 -96
  481. package/dist/plugin/command.js +93 -93
  482. package/dist/plugin/hooks.js +5 -5
  483. package/dist/plugin/host.js +211 -211
  484. package/dist/plugin/instance.js +5 -5
  485. package/dist/plugin/internal.js +320 -320
  486. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +7 -7
  489. package/dist/plugin/plan.js +96 -96
  490. package/dist/plugin/promise.js +1 -1
  491. package/dist/plugin/provider/alibaba.js +2 -2
  492. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  493. package/dist/plugin/provider/anthropic.js +2 -2
  494. package/dist/plugin/provider/azure.js +117 -117
  495. package/dist/plugin/provider/cerebras.js +2 -2
  496. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  497. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  498. package/dist/plugin/provider/cohere.js +2 -2
  499. package/dist/plugin/provider/configured.js +113 -113
  500. package/dist/plugin/provider/dynamic.js +2 -2
  501. package/dist/plugin/provider/factory.js +1 -1
  502. package/dist/plugin/provider/gateway.js +2 -2
  503. package/dist/plugin/provider/github-copilot.js +79 -79
  504. package/dist/plugin/provider/gitlab.js +3 -3
  505. package/dist/plugin/provider/google-vertex.js +2 -2
  506. package/dist/plugin/provider/kilo.js +2 -2
  507. package/dist/plugin/provider/llmgateway.js +75 -75
  508. package/dist/plugin/provider/lmstudio.js +116 -116
  509. package/dist/plugin/provider/mistral.js +2 -2
  510. package/dist/plugin/provider/modal.js +78 -78
  511. package/dist/plugin/provider/nvidia.js +2 -2
  512. package/dist/plugin/provider/ollama.js +116 -116
  513. package/dist/plugin/provider/openai-compatible.js +1 -1
  514. package/dist/plugin/provider/openai.js +79 -79
  515. package/dist/plugin/provider/opencode.js +75 -75
  516. package/dist/plugin/provider/openrouter.js +3 -3
  517. package/dist/plugin/provider/perplexity.js +2 -2
  518. package/dist/plugin/provider/sap-ai-core.js +3 -3
  519. package/dist/plugin/provider/sdk-factory.js +1 -1
  520. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  521. package/dist/plugin/provider/venice.js +2 -2
  522. package/dist/plugin/provider/vercel.js +2 -2
  523. package/dist/plugin/provider/vllm.js +116 -116
  524. package/dist/plugin/provider/xai.js +76 -76
  525. package/dist/plugin/provider/zenmux.js +2 -2
  526. package/dist/plugin/provider.js +154 -154
  527. package/dist/plugin/sdk.js +74 -74
  528. package/dist/plugin/service.js +5 -5
  529. package/dist/plugin/skill.js +129 -129
  530. package/dist/plugin/source-directory.js +1 -1
  531. package/dist/plugin/supervisor.js +339 -339
  532. package/dist/plugin/system-prompt.js +4 -4
  533. package/dist/plugin/update.js +6 -6
  534. package/dist/plugin/variant.js +4 -4
  535. package/dist/plugin/vcs/git.js +80 -80
  536. package/dist/plugin/vcs/hg.js +82 -82
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +6 -6
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +2 -2
  542. package/dist/plugin/websearch/parallel.js +8 -8
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin.js +216 -216
  545. package/dist/project/schema.js +8 -8
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +83 -83
  548. package/dist/provider.js +5 -5
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +3 -3
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +94 -94
  553. package/dist/reference/instructions.js +82 -82
  554. package/dist/reference.js +84 -84
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +1 -1
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +93 -93
  559. package/dist/rpc.js +81 -81
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +72 -72
  562. package/dist/session/compaction.js +127 -127
  563. package/dist/session/context.js +145 -145
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +5 -5
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +217 -217
  568. package/dist/session/execution.js +120 -120
  569. package/dist/session/generate.js +144 -144
  570. package/dist/session/history.js +12 -12
  571. package/dist/session/inbox.js +86 -86
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +77 -77
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +91 -91
  576. package/dist/session/message-updater.js +2 -2
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +112 -112
  579. package/dist/session/model-transport.js +9 -9
  580. package/dist/session/move.js +124 -124
  581. package/dist/session/projector.js +84 -84
  582. package/dist/session/prompt.js +99 -99
  583. package/dist/session/revert.js +85 -85
  584. package/dist/session/run-coordinator.js +3 -3
  585. package/dist/session/runner/index.js +3 -3
  586. package/dist/session/runner/llm.js +223 -223
  587. package/dist/session/runner/max-steps.js +1 -1
  588. package/dist/session/runner/model.js +85 -85
  589. package/dist/session/runner/publish-llm-event.js +3 -3
  590. package/dist/session/runner/retry.js +4 -4
  591. package/dist/session/runner/step.js +119 -119
  592. package/dist/session/runner/to-llm-message.js +1 -1
  593. package/dist/session/schema.js +5 -5
  594. package/dist/session/session.js +167 -167
  595. package/dist/session/shell.js +130 -130
  596. package/dist/session/skill.js +97 -97
  597. package/dist/session/sql.js +5 -5
  598. package/dist/session/stats.js +73 -73
  599. package/dist/session/store.js +82 -82
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +203 -203
  602. package/dist/session/system-prompt.js +5 -5
  603. package/dist/session/title.js +149 -149
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +216 -216
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +209 -209
  608. package/dist/shell/parse.js +6 -6
  609. package/dist/shell/result.js +1 -1
  610. package/dist/shell/scan.js +1 -1
  611. package/dist/shell/select.js +13 -13
  612. package/dist/shell.js +130 -130
  613. package/dist/skill/discovery.js +4 -4
  614. package/dist/skill/instructions.js +99 -99
  615. package/dist/skill.js +106 -106
  616. package/dist/snapshot.js +84 -84
  617. package/dist/state.js +1 -1
  618. package/dist/tool/html-markdown.js +1 -1
  619. package/dist/tool/http-body.js +1 -1
  620. package/dist/tool/mcp.js +117 -117
  621. package/dist/tool/plugin/edit.js +114 -114
  622. package/dist/tool/plugin/file-diff.js +1 -1
  623. package/dist/tool/plugin/glob.js +119 -119
  624. package/dist/tool/plugin/grep.js +119 -119
  625. package/dist/tool/plugin/opencode.js +3 -3
  626. package/dist/tool/plugin/patch.js +116 -116
  627. package/dist/tool/plugin/question.js +97 -97
  628. package/dist/tool/plugin/read.js +120 -120
  629. package/dist/tool/plugin/shell.js +208 -208
  630. package/dist/tool/plugin/skill.js +105 -105
  631. package/dist/tool/plugin/subagent.js +210 -210
  632. package/dist/tool/plugin/webfetch.js +104 -104
  633. package/dist/tool/plugin/websearch.js +106 -106
  634. package/dist/tool/plugin/write.js +116 -116
  635. package/dist/tool/read-filesystem.js +94 -94
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +8 -8
  638. package/dist/tool.js +13 -13
  639. package/dist/util/error.js +1 -1
  640. package/dist/util/iife.js +1 -1
  641. package/dist/util/lazy.js +1 -1
  642. package/dist/util/slug.js +1 -1
  643. package/dist/util/token.js +1 -1
  644. package/dist/util/which.js +1 -1
  645. package/dist/util/wildcard.js +1 -1
  646. package/dist/v1/config/agent.js +7 -7
  647. package/dist/v1/config/attachment.js +4 -4
  648. package/dist/v1/config/command.js +3 -3
  649. package/dist/v1/config/config.js +16 -16
  650. package/dist/v1/config/error.js +2 -2
  651. package/dist/v1/config/formatter.js +5 -5
  652. package/dist/v1/config/layout.js +1 -1
  653. package/dist/v1/config/lsp.js +5 -5
  654. package/dist/v1/config/mcp.js +4 -4
  655. package/dist/v1/config/migrate.js +4 -4
  656. package/dist/v1/config/permission.js +3 -3
  657. package/dist/v1/config/plugin.js +1 -1
  658. package/dist/v1/config/provider-options.js +1 -1
  659. package/dist/v1/config/provider.js +4 -4
  660. package/dist/v1/config/server.js +2 -2
  661. package/dist/v1/config/skills.js +3 -3
  662. package/dist/v1/permission.js +1 -1
  663. package/dist/vcs/patch.js +1 -1
  664. package/dist/vcs.js +85 -85
  665. package/dist/websearch.js +82 -82
  666. package/dist/wellknown/plugin.js +74 -74
  667. package/dist/wellknown.js +79 -79
  668. package/dist/workspace/driver.js +5 -5
  669. package/dist/workspace/sql.js +1 -1
  670. package/dist/workspace.js +78 -78
  671. package/dist/worktree/directory.js +4 -4
  672. package/dist/worktree/git.js +7 -7
  673. package/dist/worktree/refresh.js +336 -336
  674. package/dist/worktree/sql.js +5 -5
  675. package/dist/worktree.js +91 -91
  676. package/package.json +7 -7
  677. package/dist/chunks/shell-3724gxzf.js +0 -247
  678. package/dist/chunks/shell-4v7qdvcn.js +0 -18
  679. package/dist/chunks/shell-ep81hxt4.js +0 -20
  680. package/dist/chunks/shell-mb6dchx6.js +0 -22
  681. package/dist/chunks/shell-mf5kcrna.js +0 -4
  682. /package/dist/chunks/{shell-0fabt78z.js → kv-0fabt78z.js} +0 -0
  683. /package/dist/chunks/{shell-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{shell-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{shell-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{shell-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{shell-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{shell-2710q6r3.js → kv-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{shell-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{shell-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{shell-359p4xyc.js → kv-359p4xyc.js} +0 -0
  692. /package/dist/chunks/{shell-3asan66x.js → kv-3asan66x.js} +0 -0
  693. /package/dist/chunks/{shell-3t738kvx.js → kv-3t738kvx.js} +0 -0
  694. /package/dist/chunks/{shell-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  695. /package/dist/chunks/{shell-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  696. /package/dist/chunks/{shell-41nvscxy.js → kv-41nvscxy.js} +0 -0
  697. /package/dist/chunks/{shell-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  698. /package/dist/chunks/{shell-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  699. /package/dist/chunks/{shell-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  700. /package/dist/chunks/{shell-53557ph1.js → kv-53557ph1.js} +0 -0
  701. /package/dist/chunks/{shell-550bvhaj.js → kv-550bvhaj.js} +0 -0
  702. /package/dist/chunks/{shell-6prwharc.js → kv-6prwharc.js} +0 -0
  703. /package/dist/chunks/{shell-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  704. /package/dist/chunks/{shell-7m9af43g.js → kv-7m9af43g.js} +0 -0
  705. /package/dist/chunks/{shell-822emrt2.js → kv-822emrt2.js} +0 -0
  706. /package/dist/chunks/{shell-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  707. /package/dist/chunks/{shell-8n3pysct.js → kv-8n3pysct.js} +0 -0
  708. /package/dist/chunks/{shell-982e01ww.js → kv-982e01ww.js} +0 -0
  709. /package/dist/chunks/{shell-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  710. /package/dist/chunks/{shell-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  711. /package/dist/chunks/{shell-a1tpkmh4.js → kv-a1tpkmh4.js} +0 -0
  712. /package/dist/chunks/{shell-af5trqkr.js → kv-af5trqkr.js} +0 -0
  713. /package/dist/chunks/{shell-afrmfg78.js → kv-afrmfg78.js} +0 -0
  714. /package/dist/chunks/{shell-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  715. /package/dist/chunks/{shell-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  716. /package/dist/chunks/{shell-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  717. /package/dist/chunks/{shell-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  718. /package/dist/chunks/{shell-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  719. /package/dist/chunks/{shell-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  720. /package/dist/chunks/{shell-d9fn303g.js → kv-d9fn303g.js} +0 -0
  721. /package/dist/chunks/{shell-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  722. /package/dist/chunks/{shell-dajrwvna.js → kv-dajrwvna.js} +0 -0
  723. /package/dist/chunks/{shell-dap0rakb.js → kv-dap0rakb.js} +0 -0
  724. /package/dist/chunks/{shell-df08tz66.js → kv-df08tz66.js} +0 -0
  725. /package/dist/chunks/{shell-dy18nga0.js → kv-dy18nga0.js} +0 -0
  726. /package/dist/chunks/{shell-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  727. /package/dist/chunks/{shell-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  728. /package/dist/chunks/{shell-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  729. /package/dist/chunks/{shell-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  730. /package/dist/chunks/{shell-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  731. /package/dist/chunks/{shell-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  732. /package/dist/chunks/{shell-faypxj3z.js → kv-faypxj3z.js} +0 -0
  733. /package/dist/chunks/{shell-fd410y7t.js → kv-fd410y7t.js} +0 -0
  734. /package/dist/chunks/{shell-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  735. /package/dist/chunks/{shell-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  736. /package/dist/chunks/{shell-g86h250q.js → kv-g86h250q.js} +0 -0
  737. /package/dist/chunks/{shell-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  738. /package/dist/chunks/{shell-hk9envan.js → kv-hk9envan.js} +0 -0
  739. /package/dist/chunks/{shell-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  740. /package/dist/chunks/{shell-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  741. /package/dist/chunks/{shell-j935v87r.js → kv-j935v87r.js} +0 -0
  742. /package/dist/chunks/{shell-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{shell-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{shell-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{shell-mntxs535.js → kv-mntxs535.js} +0 -0
  746. /package/dist/chunks/{shell-mp448xyj.js → kv-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{shell-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  748. /package/dist/chunks/{shell-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  749. /package/dist/chunks/{shell-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  750. /package/dist/chunks/{shell-njntx4h6.js → kv-njntx4h6.js} +0 -0
  751. /package/dist/chunks/{shell-p8qxwesx.js → kv-p8qxwesx.js} +0 -0
  752. /package/dist/chunks/{shell-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{shell-q74kybfr.js → kv-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{shell-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{shell-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{shell-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{shell-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{shell-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{shell-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{shell-se0s1eqw.js → kv-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{shell-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{shell-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{shell-twg0f83k.js → kv-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{shell-w803qqfp.js → kv-w803qqfp.js} +0 -0
  765. /package/dist/chunks/{shell-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  766. /package/dist/chunks/{shell-wtztk69x.js → kv-wtztk69x.js} +0 -0
  767. /package/dist/chunks/{shell-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  768. /package/dist/chunks/{shell-x1b8g1yb.js → kv-x1b8g1yb.js} +0 -0
  769. /package/dist/chunks/{shell-x61499pn.js → kv-x61499pn.js} +0 -0
  770. /package/dist/chunks/{shell-y44na4kk.js → kv-y44na4kk.js} +0 -0
  771. /package/dist/chunks/{shell-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  772. /package/dist/chunks/{shell-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  773. /package/dist/chunks/{shell-z9919s4g.js → kv-z9919s4g.js} +0 -0
  774. /package/dist/chunks/{shell-zbjnn3ac.js → kv-zbjnn3ac.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service42
3
- } from "./shell-mn410wgw.js";
2
+ Service46
3
+ } from "./kv-qnb0t8zm.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./shell-a1tpkmh4.js";
7
+ } from "./kv-a1tpkmh4.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./shell-3v8g72cx.js";
10
+ } from "./kv-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./shell-9rqn6x4v.js";
13
+ } from "./kv-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input6,
19
+ Input: () => Input9,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin7,
22
+ Plugin: () => Plugin10,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description3,
25
+ description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name6
27
+ name: () => name9
28
28
  });
29
29
  import { ToolFailure } from "@opencode-ai/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name6 = "webfetch";
33
+ var name9 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input6 = Schema.Struct({
41
+ var Input9 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input6 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input6.fields.format,
51
+ format: Input9.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin7 = {
95
+ var Plugin10 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service42;
99
+ const permission = yield* Service46;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name6,
101
+ name: name9,
102
102
  options: { codemode: false },
103
- description: description3,
104
- input: Input6,
103
+ description: description5,
104
+ input: Input9,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin7 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name6,
112
+ action: name9,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name6, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input6, Plugin7, extractTextFromHTML2, exports_webfetch };
170
+ export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input9, Plugin10, extractTextFromHTML2, exports_webfetch };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
7
7
  __export(exports_catalog, {
8
8
  CodeModeCatalog: () => exports_catalog,
9
9
  Summary: () => Summary2,
10
- Tool: () => Tool3,
10
+ Tool: () => Tool2,
11
11
  namespaceLine: () => namespaceLine2,
12
12
  summarize: () => summarize2
13
13
  });
14
14
  import { Schema } from "effect";
15
- var Tool3 = Schema.Struct({
15
+ var Tool2 = Schema.Struct({
16
16
  type: Schema.Literal("tool"),
17
17
  name: Schema.String,
18
18
  description: Schema.String,
@@ -148,4 +148,4 @@ function cost(text) {
148
148
  return Math.round(text.length / CHARACTERS_PER_TOKEN);
149
149
  }
150
150
 
151
- export { Tool3, Summary2, summarize2, namespaceLine2, exports_catalog };
151
+ export { Tool2, Summary2, summarize2, namespaceLine2, exports_catalog };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./shell-p8qxwesx.js";
3
+ } from "./kv-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info17,
12
+ Info: () => Info15,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info17 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info17, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service49,
3
- node53
4
- } from "./shell-74hfp9tv.js";
2
+ Service44,
3
+ node47
4
+ } from "./kv-xczcj508.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make18,
8
+ make19,
9
9
  diffByKey2
10
- } from "./shell-mtcjf44p.js";
10
+ } from "./kv-6e958v7x.js";
11
11
  import {
12
12
  __export
13
- } from "./shell-9rqn6x4v.js";
13
+ } from "./kv-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
16
  var exports_instructions3 = {};
17
17
  __export(exports_instructions3, {
18
18
  ReferenceInstructions: () => exports_instructions3,
19
- Service: () => Service19,
20
- node: () => node22
19
+ Service: () => Service27,
20
+ node: () => node32
21
21
  });
22
22
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,18 +57,18 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service19 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service19, Effect.gen(function* () {
63
- const references = yield* Service49;
64
- return Service19.of({
62
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
63
+ const references = yield* Service44;
64
+ return Service27.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make18({
71
+ return make19({
72
72
  key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node22 = makeLocationNode({ service: Service19, layer, deps: [node53] });
84
+ var node32 = makeLocationNode({ service: Service27, layer, deps: [node47] });
85
85
 
86
- export { Service19, node22, exports_instructions3 };
86
+ export { Service27, node32, exports_instructions3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./shell-qfa1cgps.js";
3
+ } from "./kv-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./shell-mntxs535.js";
3
+ } from "./kv-mntxs535.js";
4
4
  import {
5
5
  tokens2
6
- } from "./shell-tjykrgmx.js";
6
+ } from "./kv-tjykrgmx.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -2,31 +2,31 @@ import {
2
2
  Key3,
3
3
  removed2,
4
4
  empty3,
5
- make18,
5
+ make19,
6
6
  diffByKey2
7
- } from "./shell-mtcjf44p.js";
7
+ } from "./kv-6e958v7x.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./shell-mn410wgw.js";
10
+ } from "./kv-qnb0t8zm.js";
11
11
  import {
12
- Service22,
13
- node25
14
- } from "./shell-83dvd1w2.js";
12
+ Service39,
13
+ node43
14
+ } from "./kv-rfjq507z.js";
15
15
  import {
16
16
  namespace2,
17
17
  name13
18
- } from "./shell-s09ja0ad.js";
18
+ } from "./kv-tgaxz472.js";
19
19
  import {
20
20
  __export
21
- } from "./shell-9rqn6x4v.js";
21
+ } from "./kv-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions2 = {};
25
- __export(exports_instructions2, {
26
- McpInstructions: () => exports_instructions2,
27
- Service: () => Service18,
28
- layer: () => layer9,
29
- node: () => node21
24
+ var exports_instructions5 = {};
25
+ __export(exports_instructions5, {
26
+ McpInstructions: () => exports_instructions5,
27
+ Service: () => Service34,
28
+ layer: () => layer12,
29
+ node: () => node38
30
30
  });
31
31
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,16 +62,16 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service18 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service34 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer9 = Layer.effect(Service18, Effect.gen(function* () {
68
- const mcp = yield* Service22;
69
- return Service18.of({
67
+ var layer12 = Layer.effect(Service34, Effect.gen(function* () {
68
+ const mcp = yield* Service39;
69
+ return Service34.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
- const source = (value) => make18({
74
+ const source = (value) => make19({
75
75
  key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
@@ -100,6 +100,6 @@ var layer9 = Layer.effect(Service18, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node21 = makeLocationNode({ service: Service18, layer: layer9, deps: [node25] });
103
+ var node38 = makeLocationNode({ service: Service34, layer: layer12, deps: [node43] });
104
104
 
105
- export { Service18, layer9, node21, exports_instructions2 };
105
+ export { Service34, layer12, node38, exports_instructions5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./kv-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 "./shell-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID13
3
- } from "./shell-m4bpwynw.js";
2
+ ID18
3
+ } from "./kv-4z6b0fg6.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/model.ts
9
9
  var exports_model2 = {};
@@ -12,25 +12,25 @@ __export(exports_model2, {
12
12
  Compatibility: () => Compatibility2,
13
13
  Cost: () => Cost2,
14
14
  Family: () => Family2,
15
- ID: () => ID12,
16
- Info: () => Info26,
15
+ ID: () => ID17,
16
+ Info: () => Info31,
17
17
  Model: () => exports_model2,
18
18
  ReasoningField: () => ReasoningField2,
19
- Ref: () => Ref3,
19
+ Ref: () => Ref4,
20
20
  VariantID: () => VariantID2,
21
21
  compatibility: () => compatibility2,
22
22
  parse: () => parse5
23
23
  });
24
24
  import { Model } from "@opencode-ai/schema/model";
25
- var ID12 = Model.ID;
25
+ var ID17 = Model.ID;
26
26
  var VariantID2 = Model.VariantID;
27
27
  var Family2 = Model.Family;
28
28
  var ReasoningField2 = Model.ReasoningField;
29
29
  var Compatibility2 = Model.Compatibility;
30
30
  var Capabilities2 = Model.Capabilities;
31
31
  var Cost2 = Model.Cost;
32
- var Ref3 = Model.Ref;
33
- var Info26 = Model.Info;
32
+ var Ref4 = Model.Ref;
33
+ var Info31 = Model.Info;
34
34
  function compatibility2(input) {
35
35
  if (typeof input === "string")
36
36
  return { reasoningField: input };
@@ -41,9 +41,9 @@ function compatibility2(input) {
41
41
  function parse5(input) {
42
42
  const index = input.indexOf("/");
43
43
  return {
44
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
45
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
44
+ providerID: ID18.make(index === -1 ? input : input.slice(0, index)),
45
+ modelID: ID17.make(index === -1 ? "" : input.slice(index + 1))
46
46
  };
47
47
  }
48
48
 
49
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info26, compatibility2, parse5, exports_model2 };
49
+ export { ID17, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref4, Info31, compatibility2, parse5, exports_model2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID13,
2
+ ID18,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./shell-m4bpwynw.js";
6
+ } from "./kv-4z6b0fg6.js";
7
7
  import {
8
8
  __export
9
- } from "./shell-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service41,
16
+ Service: () => Service71,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node45
18
+ node: () => node76
19
19
  });
20
20
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
128
128
  }
129
129
 
130
130
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
131
- providerID: ID13,
131
+ providerID: ID18,
132
132
  cause: Schema.Defect()
133
133
  }) {
134
134
  }
@@ -136,9 +136,9 @@ function initError(providerID) {
136
136
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
137
137
  }
138
138
 
139
- class Service41 extends Context.Service()("@opencode/AISDK") {
139
+ class Service71 extends Context.Service()("@opencode/AISDK") {
140
140
  }
141
- var locationLayer2 = Layer.effect(Service41, Effect.gen(function* () {
141
+ var locationLayer2 = Layer.effect(Service71, Effect.gen(function* () {
142
142
  let sdkHooks = [];
143
143
  let languageHooks = [];
144
144
  const languages = new Map;
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service41, Effect.gen(function* () {
176
176
  }
177
177
  return event;
178
178
  });
179
- const service = Service41.of({
179
+ const service = Service71.of({
180
180
  hook: {
181
181
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
182
182
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
809
809
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
810
810
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
811
811
  }
812
- var node45 = makeLocationNode({ service: Service41, layer: locationLayer2, deps: [] });
812
+ var node76 = makeLocationNode({ service: Service71, layer: locationLayer2, deps: [] });
813
813
 
814
- export { InitError2, Service41, locationLayer2, node45, exports_aisdk };
814
+ export { InitError2, Service71, locationLayer2, node76, exports_aisdk };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./shell-x1b8g1yb.js";
3
+ } from "./kv-x1b8g1yb.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./shell-p8qxwesx.js";
5
+ } from "./kv-p8qxwesx.js";
6
6
  import {
7
- Service68,
8
- node72
9
- } from "./shell-7p203cgq.js";
7
+ Service63,
8
+ node67
9
+ } from "./kv-nr9x74c1.js";
10
10
  import {
11
11
  Content2
12
- } from "./shell-0h07sdbh.js";
12
+ } from "./kv-x3stwmqx.js";
13
13
  import {
14
14
  detect2
15
- } from "./shell-3smtnn6g.js";
15
+ } from "./kv-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./shell-9rqn6x4v.js";
18
+ } from "./kv-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,7 +33,7 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service6,
36
+ Service: () => Service5,
37
37
  TextPage: () => TextPage2,
38
38
  node: () => node8,
39
39
  read: () => read2
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service6, Effect.gen(function* () {
330
- const environment = yield* Service68;
331
- return Service6.of({
329
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
330
+ const environment = yield* Service63;
331
+ return Service5.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node8 = makeLocationNode({ service: Service6, layer, deps: [node72] });
336
+ var node8 = makeLocationNode({ service: Service5, layer, deps: [node67] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node8, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node8, exports_read_filesystem };