@opencode-ai/core 0.0.0-dev-19182 → 0.0.0-dev-19184

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 (773) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  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 +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{location-c77qvs9x.js → job-02bxyhdh.js} +11 -11
  9. package/dist/chunks/{location-7svt03y5.js → job-09s42jda.js} +12 -12
  10. package/dist/chunks/{location-0e0xafbb.js → job-0e0xafbb.js} +2 -2
  11. package/dist/chunks/{location-099yzkay.js → job-0f1c069v.js} +11 -11
  12. package/dist/chunks/{location-0k2w8cze.js → job-0k72pry1.js} +4 -4
  13. package/dist/chunks/{location-0paq2nw3.js → job-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{location-gd1sbhjk.js → job-0q6xrvgj.js} +31 -31
  15. package/dist/chunks/{location-0s9ayhjt.js → job-0s9ayhjt.js} +1 -1
  16. package/dist/chunks/{location-fd8bdhp3.js → job-0z9wyxgm.js} +15 -15
  17. package/dist/chunks/{location-1ct4r87x.js → job-1ct4r87x.js} +1 -1
  18. package/dist/chunks/{location-ktkbhg1n.js → job-1hzxw0tj.js} +77 -77
  19. package/dist/chunks/{location-tv6ed4t8.js → job-1twky2jm.js} +16 -16
  20. package/dist/chunks/{location-0xf4rbjv.js → job-2064z0jh.js} +15 -15
  21. package/dist/chunks/{location-21r38tys.js → job-21r38tys.js} +1 -1
  22. package/dist/chunks/{location-mhz8fptg.js → job-22et5zeg.js} +35 -35
  23. package/dist/chunks/{location-22j3pzs9.js → job-27ccdvw2.js} +7 -7
  24. package/dist/chunks/{location-29x78va6.js → job-29x78va6.js} +2 -2
  25. package/dist/chunks/{location-d47nst9j.js → job-2a1cv4k1.js} +15 -15
  26. package/dist/chunks/{location-2a5m3afh.js → job-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{location-r33ff4dw.js → job-2d57kztd.js} +5 -5
  28. package/dist/chunks/{location-ms52v0md.js → job-2db6y7ze.js} +6 -13
  29. package/dist/chunks/{location-qf24q2gc.js → job-2dhcxaw1.js} +22 -22
  30. package/dist/chunks/{location-2ht70gj7.js → job-2ht70gj7.js} +1 -1
  31. package/dist/chunks/{location-madcmxva.js → job-2zryskc1.js} +4 -4
  32. package/dist/chunks/{location-0qnr3fek.js → job-3a95v3xn.js} +13 -13
  33. package/dist/chunks/{location-r6mjjjfn.js → job-3dbe24dq.js} +12 -12
  34. package/dist/chunks/{location-2drkfcgp.js → job-3eskwthn.js} +39 -39
  35. package/dist/chunks/{location-3fc6dm20.js → job-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{location-qypgck77.js → job-3gwyd720.js} +35 -35
  37. package/dist/chunks/{location-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{location-hx11aksh.js → job-3kwfatbg.js} +9 -9
  39. package/dist/chunks/{location-3qzbfqsy.js → job-3qzbfqsy.js} +2 -2
  40. package/dist/chunks/{location-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{location-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{location-wzv8aag1.js → job-3vv4p4vn.js} +11 -11
  43. package/dist/chunks/{location-3g5pjnhh.js → job-3xkqgm7n.js} +28 -28
  44. package/dist/chunks/{location-ghsrwkmd.js → job-3yjpcw2x.js} +13 -13
  45. package/dist/chunks/{location-454k5vzh.js → job-454k5vzh.js} +1 -1
  46. package/dist/chunks/{location-ghajtkjr.js → job-4dce09ht.js} +30 -30
  47. package/dist/chunks/{location-y04krdpn.js → job-4dd5a8sw.js} +15 -15
  48. package/dist/chunks/{location-f9anq697.js → job-4dxz6g2t.js} +14 -14
  49. package/dist/chunks/{location-w1s907pf.js → job-4n8qc73g.js} +2 -2
  50. package/dist/chunks/{location-3dh86x81.js → job-4nrv6rf6.js} +19 -19
  51. package/dist/chunks/{location-4r2nyarf.js → job-4r2nyarf.js} +1 -1
  52. package/dist/chunks/{location-me42z315.js → job-4tj0308d.js} +33 -33
  53. package/dist/chunks/{location-ph6d59n1.js → job-4vcv65ph.js} +21 -21
  54. package/dist/chunks/{location-4x0nmcjx.js → job-4z9ne5jz.js} +9 -9
  55. package/dist/chunks/{location-nj2y53n9.js → job-5429z1bt.js} +11 -11
  56. package/dist/chunks/{location-5daktx2q.js → job-5daktx2q.js} +1 -1
  57. package/dist/chunks/{location-5fmxt4p5.js → job-5fmxt4p5.js} +1 -1
  58. package/dist/chunks/{location-5jvc5tg2.js → job-5jvc5tg2.js} +1 -1
  59. package/dist/chunks/{location-sx35gfrx.js → job-5q3ervc3.js} +15 -15
  60. package/dist/chunks/{location-4henhw4d.js → job-5thnz3gh.js} +9 -9
  61. package/dist/chunks/{location-yfnsbj1e.js → job-5tvenq5z.js} +13 -13
  62. package/dist/chunks/{location-16s6chgv.js → job-609h7r9w.js} +7 -7
  63. package/dist/chunks/{location-ek2fqqy0.js → job-65zrdwzm.js} +18 -18
  64. package/dist/chunks/{location-dnwnzy9r.js → job-66mvy4rh.js} +15 -15
  65. package/dist/chunks/{location-6abnk40k.js → job-6abnk40k.js} +2 -2
  66. package/dist/chunks/{location-thpc82ks.js → job-6gvvk2ba.js} +6 -6
  67. package/dist/chunks/{location-4zwh31cg.js → job-6h1jvax1.js} +31 -31
  68. package/dist/chunks/{location-2402vzrj.js → job-6h73sxmp.js} +5 -5
  69. package/dist/chunks/{location-xj1dwba3.js → job-6m5v218x.js} +24 -24
  70. package/dist/chunks/{location-bve5bdy4.js → job-6qb1jm5z.js} +6 -6
  71. package/dist/chunks/{location-nphz3sty.js → job-6xsmrfqj.js} +11 -11
  72. package/dist/chunks/{location-tenhjnm9.js → job-6y7j49bw.js} +15 -15
  73. package/dist/chunks/{location-711hfp6y.js → job-711hfp6y.js} +2 -2
  74. package/dist/chunks/{location-72nftnjy.js → job-72nftnjy.js} +2 -2
  75. package/dist/chunks/{location-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{location-7hqpjwy9.js → job-7db7x6xf.js} +18 -18
  77. package/dist/chunks/{location-wvgh3gdf.js → job-7dz4r7mk.js} +8 -8
  78. package/dist/chunks/{location-7grmgsg7.js → job-7grmgsg7.js} +1 -1
  79. package/dist/chunks/{location-kg2v5vbd.js → job-7m12h8nb.js} +8 -8
  80. package/dist/chunks/{location-yhe302t1.js → job-7p7j7gh5.js} +56 -56
  81. package/dist/chunks/{location-06da17n0.js → job-7sp2pcg7.js} +10 -10
  82. package/dist/chunks/job-7zk4hah4.js +4 -0
  83. package/dist/chunks/{location-jtxymww5.js → job-87zxc0hn.js} +9 -9
  84. package/dist/chunks/{location-97y5dmbw.js → job-8pfq4m20.js} +14 -14
  85. package/dist/chunks/{location-eqtasyqd.js → job-8pm7xw7g.js} +15 -15
  86. package/dist/chunks/{location-8rzkd790.js → job-8ykh7x82.js} +16 -16
  87. package/dist/chunks/{location-1bk5txm0.js → job-980sga6b.js} +23 -23
  88. package/dist/chunks/{location-8491r7tk.js → job-9hsfhq9z.js} +23 -23
  89. package/dist/chunks/{location-bwt96rmt.js → job-9k8ga460.js} +1 -1
  90. package/dist/chunks/{location-9qm9egsn.js → job-9qm9egsn.js} +2 -2
  91. package/dist/chunks/{location-z3jc06sm.js → job-9v7rjn4h.js} +5 -5
  92. package/dist/chunks/{location-mh0wjfxe.js → job-a332ga15.js} +20 -20
  93. package/dist/chunks/{location-cezbqba5.js → job-a9qpe8qh.js} +6 -6
  94. package/dist/chunks/{location-aaet6srn.js → job-aaet6srn.js} +2 -2
  95. package/dist/chunks/{location-apnx2qk7.js → job-afs33nb8.js} +26 -26
  96. package/dist/chunks/{location-639gdf4d.js → job-agt1qkvz.js} +9 -9
  97. package/dist/chunks/{location-4ex15pvw.js → job-ah84y693.js} +1 -1
  98. package/dist/chunks/{location-ajtjthsy.js → job-ajtjthsy.js} +2 -2
  99. package/dist/chunks/{location-c8z193w6.js → job-aph3fsn5.js} +25 -25
  100. package/dist/chunks/{location-75qt4cx3.js → job-b5wgn8bf.js} +33 -33
  101. package/dist/chunks/{location-86je1vae.js → job-b6f7s0g4.js} +19 -19
  102. package/dist/chunks/{location-b6gygkdw.js → job-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{location-thcxaxg6.js → job-b75ft6nf.js} +4 -4
  104. package/dist/chunks/{location-b9wsbatv.js → job-b9wsbatv.js} +1 -1
  105. package/dist/chunks/{location-ztyxqxtg.js → job-bg4dxgdr.js} +6 -6
  106. package/dist/chunks/{location-w1bqf0dm.js → job-bkmt26be.js} +20 -20
  107. package/dist/chunks/{location-yj4j1qeh.js → job-bntmfpb4.js} +20 -20
  108. package/dist/chunks/{location-rae26gbb.js → job-bw6y50md.js} +8 -8
  109. package/dist/chunks/{location-fdhdqrxd.js → job-c87dbwev.js} +4 -4
  110. package/dist/chunks/{location-5ktyes22.js → job-ca8ntzdc.js} +17 -17
  111. package/dist/chunks/{location-m6zh5m6k.js → job-cfb4ez1f.js} +11 -11
  112. package/dist/chunks/job-cfn9rvpv.js +18 -0
  113. package/dist/chunks/{location-kpnhzsay.js → job-cm8d67t9.js} +11 -11
  114. package/dist/chunks/{location-sa86hhh4.js → job-csd1199e.js} +37 -37
  115. package/dist/chunks/{location-ag4rn41e.js → job-cxmh4q5b.js} +4 -4
  116. package/dist/chunks/{location-re9ss62v.js → job-cy44mvmp.js} +4 -4
  117. package/dist/chunks/{location-xk03nspc.js → job-cyaaer0t.js} +20 -20
  118. package/dist/chunks/{location-d72308c8.js → job-d72308c8.js} +2 -2
  119. package/dist/chunks/{location-v5x978b2.js → job-d890h9sp.js} +8 -8
  120. package/dist/chunks/{location-j5208yae.js → job-dg5bcj4q.js} +6 -6
  121. package/dist/chunks/{location-gq0p26s4.js → job-djybk775.js} +1 -1
  122. package/dist/chunks/{location-4dqndjrv.js → job-dz7wbq1s.js} +27 -27
  123. package/dist/chunks/{location-dyg53c9h.js → job-e0tgremq.js} +23 -23
  124. package/dist/chunks/{location-9te76ggx.js → job-e1b3d454.js} +20 -20
  125. package/dist/chunks/{location-1ayrcz9m.js → job-e9egqfbd.js} +24 -24
  126. package/dist/chunks/{location-0y9gq4bp.js → job-ebsvjtbn.js} +11 -11
  127. package/dist/chunks/{location-9y5wqfte.js → job-eg4pr325.js} +10 -10
  128. package/dist/chunks/{location-ew2tj2vj.js → job-ejqghcay.js} +3 -3
  129. package/dist/chunks/{location-j7a4wd22.js → job-evfdbawk.js} +5 -5
  130. package/dist/chunks/{location-z05r840e.js → job-ey8rdeqq.js} +22 -22
  131. package/dist/chunks/{location-mswj03b3.js → job-f0vdmdj0.js} +20 -20
  132. package/dist/chunks/{location-fy8q56jn.js → job-f4wpndmk.js} +3 -3
  133. package/dist/chunks/{location-hfwwmt6p.js → job-f575bfnr.js} +46 -46
  134. package/dist/chunks/{location-830tx1xt.js → job-f5jghqe5.js} +11 -11
  135. package/dist/chunks/{location-zdj4gqfz.js → job-f6bxf1y3.js} +22 -22
  136. package/dist/chunks/{location-5wca7bce.js → job-f7fp4m8t.js} +4 -4
  137. package/dist/chunks/{location-s97jcm3f.js → job-fjtpgy32.js} +11 -11
  138. package/dist/chunks/{location-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
  139. package/dist/chunks/{location-fxypknc8.js → job-fxypknc8.js} +1 -1
  140. package/dist/chunks/job-fy8tftem.js +247 -0
  141. package/dist/chunks/{location-637qq8n2.js → job-fz1pdqz4.js} +9 -9
  142. package/dist/chunks/{location-bmr95yyq.js → job-g0t53x8k.js} +3 -3
  143. package/dist/chunks/{location-69wcn9zj.js → job-g7csxrs7.js} +4 -4
  144. package/dist/chunks/{location-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{location-h2r6zf7a.js → job-gpvbfbv1.js} +15 -15
  146. package/dist/chunks/{location-zxkvh7j1.js → job-gw6z9r46.js} +17 -17
  147. package/dist/chunks/{location-38ccjcnc.js → job-gxw5qzxr.js} +11 -11
  148. package/dist/chunks/{location-rvfzszgw.js → job-gzhrch6w.js} +20 -20
  149. package/dist/chunks/{location-1hs7c9vy.js → job-h14evann.js} +4 -4
  150. package/dist/chunks/{location-k9rndcxy.js → job-h2f3z6kt.js} +9 -9
  151. package/dist/chunks/{location-dqpp7xtx.js → job-h5ekgej8.js} +24 -24
  152. package/dist/chunks/{location-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{location-8kfmb256.js → job-h78209bt.js} +37 -37
  154. package/dist/chunks/{location-heyhwy2w.js → job-heyhwy2w.js} +1 -1
  155. package/dist/chunks/{location-1358r5b6.js → job-hp9tz1t0.js} +17 -17
  156. package/dist/chunks/{location-hrvm11jt.js → job-hrvm11jt.js} +3 -3
  157. package/dist/chunks/{location-mrz6efe2.js → job-htjzpxps.js} +10 -10
  158. package/dist/chunks/{location-jpcaj8m5.js → job-hyh8v8zs.js} +15 -15
  159. package/dist/chunks/{location-dftw4z4t.js → job-j3s4xfhb.js} +41 -41
  160. package/dist/chunks/{location-av2t16y3.js → job-j4cdj4qy.js} +16 -16
  161. package/dist/chunks/{location-1dthfd4v.js → job-jbr8yybr.js} +22 -22
  162. package/dist/chunks/{location-g92whbrj.js → job-je2a8yvd.js} +11 -11
  163. package/dist/chunks/{location-c3w06mmk.js → job-jn9a8690.js} +29 -29
  164. package/dist/chunks/{location-vke5y7t4.js → job-jnphjmd7.js} +7 -7
  165. package/dist/chunks/{location-a3pcjqte.js → job-jqg8ax99.js} +28 -28
  166. package/dist/chunks/{location-tvtwyg9m.js → job-jrpeh8d2.js} +4 -4
  167. package/dist/chunks/{location-qz1nk4mn.js → job-js768sr4.js} +7 -7
  168. package/dist/chunks/{location-2zwygsj0.js → job-js8ve4g5.js} +6 -6
  169. package/dist/chunks/{location-ttxh07c1.js → job-jx5vaz62.js} +11 -11
  170. package/dist/chunks/{location-dkj4qht8.js → job-k0sqxq8y.js} +9 -9
  171. package/dist/chunks/{location-p0waw8z6.js → job-k0t36p8t.js} +8 -8
  172. package/dist/chunks/{location-k4bwy1x5.js → job-k4bwy1x5.js} +1 -1
  173. package/dist/chunks/{location-1nk2mnc0.js → job-k6300pcm.js} +3 -3
  174. package/dist/chunks/{location-g8d3gcyj.js → job-k8962brh.js} +4 -4
  175. package/dist/chunks/{location-kg06axw8.js → job-kg06axw8.js} +1 -1
  176. package/dist/chunks/{location-kk3rr3qh.js → job-kk3rr3qh.js} +2 -2
  177. package/dist/chunks/{location-y6apgg1j.js → job-kkm1c4fb.js} +1 -1
  178. package/dist/chunks/{location-h60nam6t.js → job-knzj16bx.js} +39 -39
  179. package/dist/chunks/{location-w1s1ra18.js → job-kpe4sfyz.js} +6 -6
  180. package/dist/chunks/{location-kvsjn1dr.js → job-kvsjn1dr.js} +2 -2
  181. package/dist/chunks/{location-xwm8he1j.js → job-kwz9fzca.js} +13 -13
  182. package/dist/chunks/{location-p04155vs.js → job-m61kp2d9.js} +24 -24
  183. package/dist/chunks/{location-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{location-b53d63he.js → job-mj72xa1v.js} +50 -50
  185. package/dist/chunks/{location-682nnvw5.js → job-mqact3bs.js} +40 -40
  186. package/dist/chunks/{location-yhr218qz.js → job-mtcjf44p.js} +4 -4
  187. package/dist/chunks/{location-rh86c5k9.js → job-mya7jach.js} +289 -289
  188. package/dist/chunks/{location-vqvq0533.js → job-n0zzw4by.js} +6 -6
  189. package/dist/chunks/{location-zdyy6p88.js → job-n1m3pdym.js} +34 -34
  190. package/dist/chunks/{location-810ayxav.js → job-n541m3ke.js} +6 -6
  191. package/dist/chunks/{location-06qbn9zd.js → job-n5f15nnr.js} +9 -9
  192. package/dist/chunks/{location-n3fvsc7x.js → job-n7e39qm9.js} +33 -33
  193. package/dist/chunks/{location-na3y75gh.js → job-na3y75gh.js} +2 -2
  194. package/dist/chunks/{location-nrha7cz6.js → job-nbyzd2fq.js} +36 -36
  195. package/dist/chunks/{location-kgyry3vk.js → job-njjgymf9.js} +15 -15
  196. package/dist/chunks/{location-xnxd0px6.js → job-p57kafe0.js} +10 -10
  197. package/dist/chunks/{location-tmxppmmw.js → job-p8yecnf8.js} +47 -47
  198. package/dist/chunks/{location-m538xkc9.js → job-p9pg2hvv.js} +22 -22
  199. package/dist/chunks/{location-8wvrh9f5.js → job-pjncx1t8.js} +1 -1
  200. package/dist/chunks/{location-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{location-pknna89w.js → job-pknna89w.js} +1 -1
  202. package/dist/chunks/{location-77dqx344.js → job-pr20j1nj.js} +23 -23
  203. package/dist/chunks/{location-jz74dd58.js → job-pvfwsgm1.js} +3 -3
  204. package/dist/chunks/{location-rxwhsv4j.js → job-pw8dfkn0.js} +11 -11
  205. package/dist/chunks/{location-th1g352w.js → job-pxmke92c.js} +22 -22
  206. package/dist/chunks/{location-sjv0717j.js → job-q6xhv6e5.js} +14 -14
  207. package/dist/chunks/{location-qgn6gcr1.js → job-qgn6gcr1.js} +1 -1
  208. package/dist/chunks/{location-ftbb7tdg.js → job-qhvqyjy9.js} +24 -24
  209. package/dist/chunks/{location-4tppse3b.js → job-qm8hf8xg.js} +10 -10
  210. package/dist/chunks/{location-qwnjk9y7.js → job-qqvc5avd.js} +4 -4
  211. package/dist/chunks/{location-qsdy395h.js → job-qsdy395h.js} +1 -1
  212. package/dist/chunks/{location-vrngk91y.js → job-qsftxw63.js} +23 -23
  213. package/dist/chunks/{location-g3v2a77t.js → job-qz6y97rf.js} +9 -9
  214. package/dist/chunks/{location-77y10504.js → job-r2tnwzf5.js} +7 -7
  215. package/dist/chunks/{location-25thvgnz.js → job-r4vzq1gz.js} +41 -41
  216. package/dist/chunks/{location-7yh4e7ss.js → job-r5x6zcsm.js} +3 -3
  217. package/dist/chunks/{location-r8dhm0tv.js → job-r8dhm0tv.js} +1 -1
  218. package/dist/chunks/{location-r9hy8h05.js → job-r9hy8h05.js} +2 -2
  219. package/dist/chunks/{location-jd00bmkr.js → job-rd5jvw8m.js} +6 -6
  220. package/dist/chunks/{location-nbwyzmjh.js → job-rmj7f2b7.js} +20 -20
  221. package/dist/chunks/{location-ew6k544p.js → job-rms9ppq5.js} +8 -8
  222. package/dist/chunks/{location-305k387t.js → job-rs7d7ay9.js} +1 -1
  223. package/dist/chunks/{location-g6z4jyvm.js → job-s13jwd54.js} +27 -27
  224. package/dist/chunks/{location-sba4qhjf.js → job-sba4qhjf.js} +1 -1
  225. package/dist/chunks/{location-4222c8h2.js → job-sbbdavyt.js} +5 -5
  226. package/dist/chunks/{location-0v2z2dt2.js → job-sdx8r7mr.js} +6 -6
  227. package/dist/chunks/{location-gpkgrk3z.js → job-sfgd47vq.js} +2 -2
  228. package/dist/chunks/{location-eexhp90h.js → job-sp18p0y7.js} +31 -31
  229. package/dist/chunks/{location-h9gn2f9p.js → job-srsjt1nn.js} +3 -3
  230. package/dist/chunks/{location-79x7mafq.js → job-stbyx3mv.js} +18 -18
  231. package/dist/chunks/{location-g376t9v5.js → job-t1thndgd.js} +83 -83
  232. package/dist/chunks/{location-kt2yjrhz.js → job-t656rjz2.js} +6 -6
  233. package/dist/chunks/{location-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{location-tcezcvh9.js → job-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{location-je9hks3h.js → job-thfv75je.js} +5 -5
  236. package/dist/chunks/{location-tjykrgmx.js → job-tjykrgmx.js} +1 -1
  237. package/dist/chunks/{location-56b1m769.js → job-tmgm3j45.js} +5 -5
  238. package/dist/chunks/{location-wb29ggtc.js → job-tppvcy65.js} +9 -9
  239. package/dist/chunks/{location-bp916t1p.js → job-ttbkqz8v.js} +4 -4
  240. package/dist/chunks/{location-yw1nvbcs.js → job-ty41k21p.js} +3 -3
  241. package/dist/chunks/{location-gr827txg.js → job-v4pbsw3g.js} +4 -4
  242. package/dist/chunks/{location-v6ghzfeb.js → job-v6ghzfeb.js} +5 -5
  243. package/dist/chunks/{location-6mxvj815.js → job-v6p69a6j.js} +16 -16
  244. package/dist/chunks/{location-neh68hxw.js → job-v98339m9.js} +5 -5
  245. package/dist/chunks/{location-djtdz80w.js → job-vep9yay1.js} +4 -4
  246. package/dist/chunks/{location-0r82rn0f.js → job-vgxv8r92.js} +43 -43
  247. package/dist/chunks/{location-pmr4s4kc.js → job-vncycja5.js} +4 -4
  248. package/dist/chunks/{location-fc48qkc5.js → job-vpyax6jy.js} +10 -10
  249. package/dist/chunks/{location-nm29mynh.js → job-vqfqq7df.js} +24 -24
  250. package/dist/chunks/{location-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{location-6hws6qdh.js → job-w4q2nban.js} +10 -10
  252. package/dist/chunks/{location-q11djy6h.js → job-w51an37d.js} +34 -34
  253. package/dist/chunks/{location-8n4wb1gp.js → job-w59a6phg.js} +12 -12
  254. package/dist/chunks/{location-fty3fzgh.js → job-wa9thkz4.js} +16 -16
  255. package/dist/chunks/{location-henbvbzz.js → job-wd2f12th.js} +10 -10
  256. package/dist/chunks/{location-wd87259q.js → job-wd87259q.js} +1 -1
  257. package/dist/chunks/{location-sms1b131.js → job-wwr3ad35.js} +1 -1
  258. package/dist/chunks/{location-56s0b4tg.js → job-wybz6hrf.js} +9 -9
  259. package/dist/chunks/{location-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{location-6mmthzyr.js → job-xf9mnr3x.js} +12 -12
  261. package/dist/chunks/{location-40myj96f.js → job-xhcaseqn.js} +7 -7
  262. package/dist/chunks/{location-7vhmdqap.js → job-xhtgrbvc.js} +8 -8
  263. package/dist/chunks/{location-06nv7jxy.js → job-xsmkv770.js} +2 -2
  264. package/dist/chunks/{location-24hkfxm1.js → job-xspyb9m3.js} +8 -8
  265. package/dist/chunks/{location-wksq6qf1.js → job-xt1f22df.js} +22 -22
  266. package/dist/chunks/{location-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{location-93a8yfjt.js → job-y2cqme3r.js} +5 -5
  268. package/dist/chunks/{location-v7n4f447.js → job-y3b1dp8q.js} +16 -16
  269. package/dist/chunks/{location-prjd7rz0.js → job-y6mxwddf.js} +166 -166
  270. package/dist/chunks/{location-y71avatq.js → job-y71avatq.js} +1 -1
  271. package/dist/chunks/{location-p6yzb5ay.js → job-ygkvt82s.js} +4 -4
  272. package/dist/chunks/{location-d5hq6bb0.js → job-yhaeervb.js} +14 -14
  273. package/dist/chunks/{location-26n7px8t.js → job-yht60hk8.js} +10 -10
  274. package/dist/chunks/{location-g21wvy94.js → job-yxt9m8zd.js} +6 -6
  275. package/dist/chunks/{location-t54a95zk.js → job-yz70yf3b.js} +14 -14
  276. package/dist/chunks/{location-41mncz27.js → job-yzd93mfj.js} +5 -5
  277. package/dist/chunks/{location-z1k01bn4.js → job-z1k01bn4.js} +2 -2
  278. package/dist/chunks/{location-sjtc86f5.js → job-z1pvxdba.js} +23 -23
  279. package/dist/chunks/{location-g50541fs.js → job-z235z5bk.js} +3 -3
  280. package/dist/chunks/{location-kdken766.js → job-z36s3nfk.js} +46 -46
  281. package/dist/chunks/{location-maje4ax4.js → job-z5c620kp.js} +11 -11
  282. package/dist/chunks/{location-mkvjn4ta.js → job-zvbn7w68.js} +32 -32
  283. package/dist/chunks/{location-zxq2ej10.js → job-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +81 -81
  288. package/dist/config/discovery.js +77 -77
  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 +112 -112
  302. package/dist/config/plugin/reference.js +116 -116
  303. package/dist/config/plugin/shell.js +117 -117
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +134 -134
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +110 -110
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +114 -114
  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 +64 -64
  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 +74 -74
  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 +68 -68
  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 +6 -6
  413. package/dist/filesystem/location-watcher.js +218 -218
  414. package/dist/filesystem/protected.js +1 -1
  415. package/dist/filesystem/search.js +95 -95
  416. package/dist/filesystem/watcher-binding.js +1 -1
  417. package/dist/filesystem/watcher.js +13 -13
  418. package/dist/filesystem.js +92 -92
  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 +3 -3
  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 +5 -5
  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 +83 -83
  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 +102 -102
  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 +3 -3
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +10 -10
  470. package/dist/models-dev.js +86 -86
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +76 -76
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +101 -101
  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 +1 -1
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +7 -7
  489. package/dist/plugin/optimize.js +4 -4
  490. package/dist/plugin/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +2 -2
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +116 -116
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +79 -79
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +74 -74
  529. package/dist/plugin/service.js +3 -3
  530. package/dist/plugin/skill.js +129 -129
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +335 -335
  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 +80 -80
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +4 -4
  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 +222 -222
  545. package/dist/project/schema.js +8 -8
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +85 -85
  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 +92 -92
  553. package/dist/reference/instructions.js +84 -84
  554. package/dist/reference.js +82 -82
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +3 -3
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +91 -91
  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 +123 -123
  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 +214 -214
  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 +110 -110
  579. package/dist/session/model-transport.js +7 -7
  580. package/dist/session/move.js +120 -120
  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 +117 -117
  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 +71 -71
  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 +3 -3
  603. package/dist/session/title.js +147 -147
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +210 -210
  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 +11 -11
  612. package/dist/shell.js +132 -132
  613. package/dist/skill/discovery.js +6 -6
  614. package/dist/skill/instructions.js +101 -101
  615. package/dist/skill.js +104 -104
  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 +119 -119
  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 +99 -99
  628. package/dist/tool/plugin/read.js +120 -120
  629. package/dist/tool/plugin/shell.js +206 -206
  630. package/dist/tool/plugin/skill.js +107 -107
  631. package/dist/tool/plugin/subagent.js +212 -212
  632. package/dist/tool/plugin/webfetch.js +104 -104
  633. package/dist/tool/plugin/websearch.js +108 -108
  634. package/dist/tool/plugin/write.js +110 -110
  635. package/dist/tool/read-filesystem.js +96 -96
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +6 -6
  638. package/dist/tool.js +11 -11
  639. package/dist/types/plugin/optimize.d.ts +1 -1
  640. package/dist/util/error.js +1 -1
  641. package/dist/util/iife.js +1 -1
  642. package/dist/util/lazy.js +1 -1
  643. package/dist/util/slug.js +1 -1
  644. package/dist/util/token.js +1 -1
  645. package/dist/util/which.js +1 -1
  646. package/dist/util/wildcard.js +1 -1
  647. package/dist/v1/config/agent.js +5 -5
  648. package/dist/v1/config/attachment.js +2 -2
  649. package/dist/v1/config/command.js +3 -3
  650. package/dist/v1/config/config.js +14 -14
  651. package/dist/v1/config/error.js +2 -2
  652. package/dist/v1/config/formatter.js +5 -5
  653. package/dist/v1/config/layout.js +1 -1
  654. package/dist/v1/config/lsp.js +3 -3
  655. package/dist/v1/config/mcp.js +2 -2
  656. package/dist/v1/config/migrate.js +4 -4
  657. package/dist/v1/config/permission.js +3 -3
  658. package/dist/v1/config/plugin.js +1 -1
  659. package/dist/v1/config/provider-options.js +1 -1
  660. package/dist/v1/config/provider.js +4 -4
  661. package/dist/v1/config/server.js +2 -2
  662. package/dist/v1/config/skills.js +3 -3
  663. package/dist/v1/permission.js +1 -1
  664. package/dist/vcs/patch.js +1 -1
  665. package/dist/vcs.js +85 -85
  666. package/dist/websearch.js +80 -80
  667. package/dist/wellknown/plugin.js +74 -74
  668. package/dist/wellknown.js +77 -77
  669. package/dist/workspace/driver.js +3 -3
  670. package/dist/workspace/sql.js +1 -1
  671. package/dist/workspace.js +76 -76
  672. package/dist/worktree/directory.js +4 -4
  673. package/dist/worktree/git.js +7 -7
  674. package/dist/worktree/refresh.js +338 -338
  675. package/dist/worktree/sql.js +5 -5
  676. package/dist/worktree.js +91 -91
  677. package/package.json +7 -7
  678. package/dist/chunks/location-b5q5y4vk.js +0 -4
  679. package/dist/chunks/location-sw98rrvn.js +0 -247
  680. package/dist/chunks/location-ydckrtmx.js +0 -18
  681. /package/dist/chunks/{location-0fabt78z.js → job-0fabt78z.js} +0 -0
  682. /package/dist/chunks/{location-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{location-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{location-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  685. /package/dist/chunks/{location-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  686. /package/dist/chunks/{location-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  687. /package/dist/chunks/{location-2710q6r3.js → job-2710q6r3.js} +0 -0
  688. /package/dist/chunks/{location-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  689. /package/dist/chunks/{location-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  690. /package/dist/chunks/{location-359p4xyc.js → job-359p4xyc.js} +0 -0
  691. /package/dist/chunks/{location-3asan66x.js → job-3asan66x.js} +0 -0
  692. /package/dist/chunks/{location-3t738kvx.js → job-3t738kvx.js} +0 -0
  693. /package/dist/chunks/{location-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  694. /package/dist/chunks/{location-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  695. /package/dist/chunks/{location-41nvscxy.js → job-41nvscxy.js} +0 -0
  696. /package/dist/chunks/{location-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  697. /package/dist/chunks/{location-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  698. /package/dist/chunks/{location-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  699. /package/dist/chunks/{location-53557ph1.js → job-53557ph1.js} +0 -0
  700. /package/dist/chunks/{location-550bvhaj.js → job-550bvhaj.js} +0 -0
  701. /package/dist/chunks/{location-6prwharc.js → job-6prwharc.js} +0 -0
  702. /package/dist/chunks/{location-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  703. /package/dist/chunks/{location-7m9af43g.js → job-7m9af43g.js} +0 -0
  704. /package/dist/chunks/{location-822emrt2.js → job-822emrt2.js} +0 -0
  705. /package/dist/chunks/{location-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  706. /package/dist/chunks/{location-8n3pysct.js → job-8n3pysct.js} +0 -0
  707. /package/dist/chunks/{location-982e01ww.js → job-982e01ww.js} +0 -0
  708. /package/dist/chunks/{location-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  709. /package/dist/chunks/{location-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  710. /package/dist/chunks/{location-a1tpkmh4.js → job-a1tpkmh4.js} +0 -0
  711. /package/dist/chunks/{location-af5trqkr.js → job-af5trqkr.js} +0 -0
  712. /package/dist/chunks/{location-afrmfg78.js → job-afrmfg78.js} +0 -0
  713. /package/dist/chunks/{location-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  714. /package/dist/chunks/{location-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  715. /package/dist/chunks/{location-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  716. /package/dist/chunks/{location-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  717. /package/dist/chunks/{location-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  718. /package/dist/chunks/{location-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  719. /package/dist/chunks/{location-d9fn303g.js → job-d9fn303g.js} +0 -0
  720. /package/dist/chunks/{location-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  721. /package/dist/chunks/{location-dajrwvna.js → job-dajrwvna.js} +0 -0
  722. /package/dist/chunks/{location-dap0rakb.js → job-dap0rakb.js} +0 -0
  723. /package/dist/chunks/{location-df08tz66.js → job-df08tz66.js} +0 -0
  724. /package/dist/chunks/{location-dy18nga0.js → job-dy18nga0.js} +0 -0
  725. /package/dist/chunks/{location-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  726. /package/dist/chunks/{location-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  727. /package/dist/chunks/{location-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  728. /package/dist/chunks/{location-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  729. /package/dist/chunks/{location-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  730. /package/dist/chunks/{location-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  731. /package/dist/chunks/{location-faypxj3z.js → job-faypxj3z.js} +0 -0
  732. /package/dist/chunks/{location-fd410y7t.js → job-fd410y7t.js} +0 -0
  733. /package/dist/chunks/{location-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
  734. /package/dist/chunks/{location-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  735. /package/dist/chunks/{location-g86h250q.js → job-g86h250q.js} +0 -0
  736. /package/dist/chunks/{location-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  737. /package/dist/chunks/{location-hk9envan.js → job-hk9envan.js} +0 -0
  738. /package/dist/chunks/{location-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  739. /package/dist/chunks/{location-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  740. /package/dist/chunks/{location-j935v87r.js → job-j935v87r.js} +0 -0
  741. /package/dist/chunks/{location-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  742. /package/dist/chunks/{location-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  743. /package/dist/chunks/{location-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  744. /package/dist/chunks/{location-mntxs535.js → job-mntxs535.js} +0 -0
  745. /package/dist/chunks/{location-mp448xyj.js → job-mp448xyj.js} +0 -0
  746. /package/dist/chunks/{location-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  747. /package/dist/chunks/{location-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  748. /package/dist/chunks/{location-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  749. /package/dist/chunks/{location-njntx4h6.js → job-njntx4h6.js} +0 -0
  750. /package/dist/chunks/{location-p8qxwesx.js → job-p8qxwesx.js} +0 -0
  751. /package/dist/chunks/{location-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  752. /package/dist/chunks/{location-q74kybfr.js → job-q74kybfr.js} +0 -0
  753. /package/dist/chunks/{location-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  754. /package/dist/chunks/{location-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  755. /package/dist/chunks/{location-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  756. /package/dist/chunks/{location-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  757. /package/dist/chunks/{location-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  758. /package/dist/chunks/{location-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  759. /package/dist/chunks/{location-se0s1eqw.js → job-se0s1eqw.js} +0 -0
  760. /package/dist/chunks/{location-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
  761. /package/dist/chunks/{location-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  762. /package/dist/chunks/{location-twg0f83k.js → job-twg0f83k.js} +0 -0
  763. /package/dist/chunks/{location-w803qqfp.js → job-w803qqfp.js} +0 -0
  764. /package/dist/chunks/{location-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  765. /package/dist/chunks/{location-wtztk69x.js → job-wtztk69x.js} +0 -0
  766. /package/dist/chunks/{location-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  767. /package/dist/chunks/{location-x1b8g1yb.js → job-x1b8g1yb.js} +0 -0
  768. /package/dist/chunks/{location-x61499pn.js → job-x61499pn.js} +0 -0
  769. /package/dist/chunks/{location-y44na4kk.js → job-y44na4kk.js} +0 -0
  770. /package/dist/chunks/{location-y8cydn3q.js → job-y8cydn3q.js} +0 -0
  771. /package/dist/chunks/{location-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  772. /package/dist/chunks/{location-z9919s4g.js → job-z9919s4g.js} +0 -0
  773. /package/dist/chunks/{location-zbjnn3ac.js → job-zbjnn3ac.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./location-g50541fs.js";
4
+ } from "./job-z235z5bk.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-y71avatq.js";
7
+ } from "./job-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node68
12
- } from "./location-bp916t1p.js";
11
+ node72
12
+ } from "./job-ttbkqz8v.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./location-faypxj3z.js";
15
+ } from "./job-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./location-9rqn6x4v.js";
18
+ } from "./job-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID11,
25
- Info: () => Info23,
24
+ ID: () => ID15,
25
+ Info: () => Info27,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service63,
27
+ Service: () => Service67,
28
28
  Workspace: () => exports_workspace,
29
29
  configured: () => configured9,
30
- node: () => node67
30
+ node: () => node71
31
31
  });
32
32
  import { Workspace } from "@opencode-ai/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID11 = Workspace.ID;
38
+ var ID15 = Workspace.ID;
39
39
 
40
- class Info23 extends Schema.Class("Workspace.Info")({
41
- id: ID11,
40
+ class Info27 extends Schema.Class("Workspace.Info")({
41
+ id: ID15,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info23 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID15 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID11,
53
+ workspaceID: ID15,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service63 extends Context.Service()("@opencode/Workspace") {
59
+ class Service67 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
61
  var configured9 = (options = {}) => makeGlobalNode({
62
- service: Service63,
62
+ service: Service67,
63
63
  layer: layer(options),
64
- deps: [node85, node68]
64
+ deps: [node85, node72]
65
65
  });
66
- var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info23({
83
+ const info = (row, binding) => new Info27({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service63.of({
157
+ return Service67.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID11.create();
159
+ const workspaceID = input.id ?? ID15.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node67 = configured9();
224
+ var node71 = configured9();
225
225
 
226
- export { ID11, Info23, NotFound3, CreateConflict2, Service63, configured9, node67, exports_workspace };
226
+ export { ID15, Info27, NotFound3, CreateConflict2, Service67, configured9, node71, exports_workspace };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./location-g50541fs.js";
4
+ } from "./job-z235z5bk.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./location-3hepkmqq.js";
7
+ } from "./job-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./job-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service71,
17
- node: () => node76
16
+ Service: () => Service70,
17
+ node: () => node75
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
22
- class Service71 extends Context.Service()("@opencode/KV") {
22
+ class Service70 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service71, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
25
25
  const db = (yield* Service80).db;
26
- return Service71.of({
26
+ return Service70.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node76 = makeGlobalNode({ service: Service71, layer, deps: [node85] });
54
+ var node75 = makeGlobalNode({ service: Service70, layer, deps: [node85] });
55
55
 
56
- export { Service71, node76, exports_kv };
56
+ export { Service70, node75, exports_kv };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./location-h2r6zf7a.js";
3
+ } from "./job-gpvbfbv1.js";
4
4
  import {
5
5
  lazy2
6
- } from "./location-88xbtdfr.js";
6
+ } from "./job-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./location-y1fvbwt7.js";
9
+ } from "./job-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./location-9rqn6x4v.js";
12
+ } from "./job-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service62
3
- } from "./location-p04155vs.js";
2
+ Service66
3
+ } from "./job-m61kp2d9.js";
4
4
  import {
5
- Service22,
5
+ Service17,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./location-ghsrwkmd.js";
8
+ } from "./job-3yjpcw2x.js";
9
9
  import {
10
- Service23
11
- } from "./location-jpcaj8m5.js";
10
+ Service13
11
+ } from "./job-hyh8v8zs.js";
12
12
  import {
13
13
  externalDirectoryPermission2,
14
- Service21
15
- } from "./location-tv6ed4t8.js";
14
+ Service75
15
+ } from "./job-1twky2jm.js";
16
16
  import {
17
- Service50
18
- } from "./location-682nnvw5.js";
17
+ Service47
18
+ } from "./job-mqact3bs.js";
19
19
  import {
20
20
  fileDiff2
21
- } from "./location-6prwharc.js";
21
+ } from "./job-6prwharc.js";
22
22
  import {
23
23
  __export
24
- } from "./location-9rqn6x4v.js";
24
+ } from "./job-9rqn6x4v.js";
25
25
 
26
26
  // src/tool/plugin/write.ts
27
27
  var exports_write = {};
28
28
  __export(exports_write, {
29
29
  Input: () => Input3,
30
30
  Output: () => Output3,
31
- Plugin: () => Plugin20,
31
+ Plugin: () => Plugin3,
32
32
  WriteTool: () => exports_write,
33
33
  name: () => name3,
34
- toModelContent: () => toModelContent3
34
+ toModelContent: () => toModelContent2
35
35
  });
36
36
  import { ToolFailure } from "@opencode-ai/ai";
37
37
  import { Effect, Schema } from "effect";
@@ -49,15 +49,15 @@ var Output3 = Schema.Struct({
49
49
  resource: Schema.String,
50
50
  existed: Schema.Boolean
51
51
  });
52
- var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
53
- var Plugin20 = {
52
+ var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
53
+ var Plugin3 = {
54
54
  id: "opencode.tool.write",
55
55
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
56
- const mutation = yield* Service21;
57
- const fileMutation = yield* Service22;
58
- const environment = yield* Service62;
59
- const formatter = yield* Service23;
60
- const permission = yield* Service50;
56
+ const mutation = yield* Service75;
57
+ const fileMutation = yield* Service17;
58
+ const environment = yield* Service66;
59
+ const formatter = yield* Service13;
60
+ const permission = yield* Service47;
61
61
  yield* ctx.tool.transform((editor) => editor.add({
62
62
  name: name3,
63
63
  options: { codemode: false, permission: "edit" },
@@ -101,9 +101,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
101
101
  yield* syncTextBom2(environment.files, target.absolute, bom);
102
102
  }
103
103
  return result;
104
- }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
104
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
105
105
  })).pipe(Effect.orDie);
106
106
  })
107
107
  };
108
108
 
109
- export { name3, Input3, Output3, toModelContent3, Plugin20, exports_write };
109
+ export { name3, Input3, Output3, toModelContent2, Plugin3, exports_write };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  latest2,
3
- Service58
4
- } from "./location-dftw4z4t.js";
3
+ Service56
4
+ } from "./job-j3s4xfhb.js";
5
5
  import {
6
6
  Service60
7
- } from "./location-vke5y7t4.js";
7
+ } from "./job-jnphjmd7.js";
8
8
  import {
9
9
  observe2
10
- } from "./location-qsdy395h.js";
10
+ } from "./job-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./job-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin3
19
+ Plugin: () => Plugin28
20
20
  });
21
21
  import { define } from "@opencode-ai/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin3 = define({
23
+ var Plugin28 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service58;
26
+ const config = yield* Service56;
27
27
  const output = yield* Service60;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
@@ -38,4 +38,4 @@ var Plugin3 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin3, exports_tool_output };
41
+ export { Plugin28, exports_tool_output };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./location-982e01ww.js";
3
+ } from "./job-982e01ww.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./location-1nk2mnc0.js";
6
+ } from "./job-k6300pcm.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./location-vqvq0533.js";
9
+ } from "./job-n0zzw4by.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./location-yhr218qz.js";
13
+ } from "./job-mtcjf44p.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./location-hrvm11jt.js";
16
+ } from "./job-hrvm11jt.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./location-69wcn9zj.js";
20
+ } from "./job-g7csxrs7.js";
21
21
  import {
22
22
  __export
23
- } from "./location-9rqn6x4v.js";
23
+ } from "./job-9rqn6x4v.js";
24
24
 
25
25
  // src/session/history.ts
26
26
  var exports_history = {};
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-p8qxwesx.js";
3
+ } from "./job-p8qxwesx.js";
4
4
  import {
5
5
  Service80,
6
6
  node85
7
- } from "./location-g50541fs.js";
7
+ } from "./job-z235z5bk.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./location-5wca7bce.js";
11
+ } from "./job-f7fp4m8t.js";
12
12
  import {
13
- Service70,
14
- node75
15
- } from "./location-9y5wqfte.js";
13
+ Service78,
14
+ node83
15
+ } from "./job-eg4pr325.js";
16
16
  import {
17
- ID13,
17
+ ID18,
18
18
  Current3,
19
- Info27,
19
+ Info32,
20
20
  UpdateInput4,
21
- Event16,
21
+ Event20,
22
22
  Vcs3
23
- } from "./location-wb29ggtc.js";
23
+ } from "./job-tppvcy65.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./location-9qm9egsn.js";
27
+ } from "./job-9qm9egsn.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./location-ajtjthsy.js";
30
+ } from "./job-ajtjthsy.js";
31
31
  import {
32
32
  __export
33
- } from "./location-9rqn6x4v.js";
33
+ } from "./job-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID12,
40
- Info: () => Info26,
41
- NotFoundError: () => NotFoundError9,
39
+ ID: () => ID17,
40
+ Info: () => Info31,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service69,
43
+ Service: () => Service77,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node74,
46
+ node: () => node82,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode-ai/util/fs-util";
55
55
  import { AppProcess } from "@opencode-ai/util/process";
56
56
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
57
57
  import { Hash } from "@opencode-ai/util/hash";
58
- var ID12 = ID13;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info26 = Info27;
61
+ var Info31 = Info32;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID12
64
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service69 extends Context.Service()("@opencode/Project") {
74
+ class Service77 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,9 +94,9 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service69, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const git = yield* Service70;
99
+ const git = yield* Service78;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const bus = yield* Service79;
102
102
  const db = (yield* Service80).db;
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
107
107
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
108
108
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
109
109
  if (row)
110
- yield* bus.publish(Event16.Updated, fromRow(row));
110
+ yield* bus.publish(Event20.Updated, fromRow(row));
111
111
  }
112
112
  if (!project.vcs)
113
113
  return project;
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
144
144
  yield* bus.publish(Worktree.Event.Resolved, {
145
145
  projectID: item.projectID,
146
146
  directory: item.directory,
147
- previous: project.previous ?? ID12.global,
147
+ previous: project.previous ?? ID17.global,
148
148
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
149
149
  }, {
150
150
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
166
166
  time_updated: Date.now()
167
167
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
168
168
  if (!row)
169
- return yield* new NotFoundError9({ projectID: input.projectID });
169
+ return yield* new NotFoundError10({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event16.Updated, project);
171
+ yield* bus.publish(Event20.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID12.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID12.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID12.make(root) : undefined;
211
+ return root ? ID17.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID12.make(node) : undefined;
227
+ return node ? ID17.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID12.global,
236
+ id: id ?? ID17.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID12.global,
253
+ id: id ?? ID17.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID12.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service69.of({ list, update, resolve });
273
+ return Service77.of({ list, update, resolve });
274
274
  }));
275
- var node74 = makeGlobalNode({
276
- service: Service69,
275
+ var node82 = makeGlobalNode({
276
+ service: Service77,
277
277
  layer,
278
- deps: [node84, node85, FSUtil.node, node75, AppProcess.node]
278
+ deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID12, Vcs2, Current2, Info26, UpdateInput3, NotFoundError9, root2, Service69, node74, exports_project };
281
+ export { ID17, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./location-qaymkmh1.js";
3
+ } from "./job-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make6(input) {
8
+ function make5(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make6 };
264
+ export { make5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-p8qxwesx.js";
3
+ } from "./job-p8qxwesx.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-p8qxwesx.js";
3
+ } from "./job-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./job-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./location-fxgpk5d8.js";
3
+ } from "./job-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./location-g4wezp1m.js";
6
+ } from "./job-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./location-x61499pn.js";
9
+ } from "./job-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./location-af5trqkr.js";
12
+ } from "./job-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./location-afrmfg78.js";
15
+ } from "./job-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./location-x0ckcb58.js";
18
+ } from "./job-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {