@opencode/core 0.0.0-dev-19714 → 0.0.0-dev-19715

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 (483) hide show
  1. package/dist/agent.js +69 -69
  2. package/dist/aisdk-native.js +72 -72
  3. package/dist/aisdk.js +77 -77
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +62 -62
  6. package/dist/chunks/{model-resolver-105491yy.js → model-resolver-018rch66.js} +57 -57
  7. package/dist/chunks/{model-resolver-ymcr6gjs.js → model-resolver-03ej3xf2.js} +6 -6
  8. package/dist/chunks/{model-resolver-jkbwdfs8.js → model-resolver-03ya27h5.js} +20 -20
  9. package/dist/chunks/{model-resolver-fcrkznn8.js → model-resolver-0jwsre1p.js} +4 -4
  10. package/dist/chunks/{model-resolver-y8s1zs8h.js → model-resolver-0msmke65.js} +12 -12
  11. package/dist/chunks/{model-resolver-7jjj6fmh.js → model-resolver-0vva8vqn.js} +25 -25
  12. package/dist/chunks/{model-resolver-n8c291r7.js → model-resolver-0z8vjex2.js} +8 -8
  13. package/dist/chunks/{model-resolver-0cwrv3rz.js → model-resolver-0zcechvz.js} +23 -23
  14. package/dist/chunks/model-resolver-12rmxn42.js +26 -0
  15. package/dist/chunks/{model-resolver-8gnjjt4m.js → model-resolver-13q063b0.js} +6 -6
  16. package/dist/chunks/{model-resolver-0gzst43f.js → model-resolver-14e3p8es.js} +24 -21
  17. package/dist/chunks/{model-resolver-y9g5yfg0.js → model-resolver-1627k7qg.js} +26 -26
  18. package/dist/chunks/{model-resolver-wq0zvr2n.js → model-resolver-163dsem0.js} +22 -22
  19. package/dist/chunks/{model-resolver-k60bgaqn.js → model-resolver-19sa2dm4.js} +22 -22
  20. package/dist/chunks/{model-resolver-73tb2d7t.js → model-resolver-1bbkgx8g.js} +2 -2
  21. package/dist/chunks/{model-resolver-fq77vv66.js → model-resolver-1krsbgzh.js} +10 -10
  22. package/dist/chunks/{model-resolver-kjexfpn9.js → model-resolver-2e7snx76.js} +12 -12
  23. package/dist/chunks/{model-resolver-qzhqhqdj.js → model-resolver-2g4qtz8w.js} +93 -93
  24. package/dist/chunks/{model-resolver-d4h3qc93.js → model-resolver-2hdn0xd5.js} +16 -16
  25. package/dist/chunks/{model-resolver-s5qg1d5b.js → model-resolver-2jkesbth.js} +4 -4
  26. package/dist/chunks/{model-resolver-37w67f0s.js → model-resolver-2wnfz5wx.js} +4 -4
  27. package/dist/chunks/{model-resolver-k2f8e2fb.js → model-resolver-30n129z3.js} +18 -18
  28. package/dist/chunks/{model-resolver-0wmjfan7.js → model-resolver-37nypx1t.js} +9 -9
  29. package/dist/chunks/{model-resolver-qqtwvk4z.js → model-resolver-3b1q5j1v.js} +5 -5
  30. package/dist/chunks/{model-resolver-dvh6e8nq.js → model-resolver-3dwbpzm6.js} +1 -1
  31. package/dist/chunks/{model-resolver-2qq7qy34.js → model-resolver-3f15rfkp.js} +7 -7
  32. package/dist/chunks/{model-resolver-xqjcyj9c.js → model-resolver-3h3ebsbh.js} +2 -2
  33. package/dist/chunks/{model-resolver-fb1pb7ec.js → model-resolver-3hcrnb3w.js} +4 -4
  34. package/dist/chunks/{model-resolver-6dpxe5wv.js → model-resolver-3n5a2veh.js} +38 -38
  35. package/dist/chunks/{model-resolver-136t2gc4.js → model-resolver-49ngy6nw.js} +12 -12
  36. package/dist/chunks/{model-resolver-h6r3nrb9.js → model-resolver-4dgbcxzg.js} +3 -3
  37. package/dist/chunks/{model-resolver-ps87kzvs.js → model-resolver-4g9kkqcn.js} +28 -28
  38. package/dist/chunks/{model-resolver-xq5wqvhk.js → model-resolver-4j06sfkj.js} +14 -14
  39. package/dist/chunks/{model-resolver-xndsvhpx.js → model-resolver-4k5cy1h1.js} +22 -22
  40. package/dist/chunks/{model-resolver-jsvzcvkq.js → model-resolver-4sqf757v.js} +8 -8
  41. package/dist/chunks/{model-resolver-dxj72tfx.js → model-resolver-4v7qdvcn.js} +4 -4
  42. package/dist/chunks/{model-resolver-f2bg7dfe.js → model-resolver-4x0p6wc7.js} +14 -14
  43. package/dist/chunks/{model-resolver-n7ec94wg.js → model-resolver-4x4qpr1k.js} +20 -20
  44. package/dist/chunks/{model-resolver-hkbhb5q6.js → model-resolver-53b56yzz.js} +5 -5
  45. package/dist/chunks/{model-resolver-h0za90c7.js → model-resolver-55xz6a4b.js} +9 -9
  46. package/dist/chunks/{model-resolver-mfqp6xfm.js → model-resolver-56gdpj1q.js} +4 -4
  47. package/dist/chunks/{model-resolver-gw1g6bxq.js → model-resolver-5e78k31r.js} +46 -46
  48. package/dist/chunks/{model-resolver-j7k61pcz.js → model-resolver-5h812224.js} +22 -22
  49. package/dist/chunks/{model-resolver-cbkyy13e.js → model-resolver-5mrjc4yb.js} +31 -31
  50. package/dist/chunks/{model-resolver-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
  51. package/dist/chunks/{model-resolver-c8eb5bxh.js → model-resolver-5vb0pc45.js} +24 -24
  52. package/dist/chunks/{model-resolver-wgyq80v0.js → model-resolver-5zj12wam.js} +6 -6
  53. package/dist/chunks/{model-resolver-0tj19dxf.js → model-resolver-600jpw1a.js} +37 -37
  54. package/dist/chunks/{model-resolver-d92zep6j.js → model-resolver-65rp8168.js} +8 -8
  55. package/dist/chunks/{model-resolver-h2rkx437.js → model-resolver-6c46qrvz.js} +14 -14
  56. package/dist/chunks/{model-resolver-vmakrqm7.js → model-resolver-6cehp1nk.js} +21 -21
  57. package/dist/chunks/{model-resolver-t4pxw6gg.js → model-resolver-6d7rtenb.js} +13 -13
  58. package/dist/chunks/{model-resolver-2eysy4zx.js → model-resolver-6r4v01x8.js} +40 -40
  59. package/dist/chunks/{model-resolver-4hcdp5hb.js → model-resolver-6vb019bv.js} +13 -13
  60. package/dist/chunks/{model-resolver-j7bcq5se.js → model-resolver-6yr1acw8.js} +15 -15
  61. package/dist/chunks/{model-resolver-qnenbneg.js → model-resolver-7h4d0hsa.js} +8 -8
  62. package/dist/chunks/{model-resolver-4aa2m1a0.js → model-resolver-7m2q8372.js} +11 -11
  63. package/dist/chunks/{model-resolver-fwmj055g.js → model-resolver-7m2r0vgy.js} +20 -20
  64. package/dist/chunks/{model-resolver-vzvmv61a.js → model-resolver-7xrtp4yq.js} +42 -42
  65. package/dist/chunks/{model-resolver-jg86prm2.js → model-resolver-7y8bq3bf.js} +3 -3
  66. package/dist/chunks/{model-resolver-5pmj86cf.js → model-resolver-80yczg4x.js} +21 -21
  67. package/dist/chunks/{model-resolver-8xd21chy.js → model-resolver-818pfwc9.js} +5 -5
  68. package/dist/chunks/{model-resolver-p10e02dr.js → model-resolver-82cncyfr.js} +33 -33
  69. package/dist/chunks/{model-resolver-tcezcvh9.js → model-resolver-89znhe33.js} +3 -3
  70. package/dist/chunks/{model-resolver-6a86sy3s.js → model-resolver-8n65eehz.js} +12 -12
  71. package/dist/chunks/{model-resolver-09kan382.js → model-resolver-8rtyjtxr.js} +24 -24
  72. package/dist/chunks/{model-resolver-582h4ye8.js → model-resolver-8trbt2et.js} +17 -17
  73. package/dist/chunks/{model-resolver-7ewmrn6e.js → model-resolver-8z4mzydb.js} +5 -5
  74. package/dist/chunks/{model-resolver-cvn0pq7m.js → model-resolver-95py5vr5.js} +2 -2
  75. package/dist/chunks/{model-resolver-5pf115b2.js → model-resolver-96ngbw1f.js} +10 -10
  76. package/dist/chunks/{model-resolver-z6f2y3jk.js → model-resolver-98mrngdw.js} +33 -33
  77. package/dist/chunks/{model-resolver-w7wmj8nh.js → model-resolver-9c540yp5.js} +29 -29
  78. package/dist/chunks/{model-resolver-tsc91ve6.js → model-resolver-9d58krhf.js} +16 -16
  79. package/dist/chunks/{model-resolver-hg488ry8.js → model-resolver-9y0wa7jp.js} +21 -21
  80. package/dist/chunks/{model-resolver-5c4hm403.js → model-resolver-a1bz86dw.js} +1 -1
  81. package/dist/chunks/{model-resolver-y56ehv6b.js → model-resolver-a3ftg8j6.js} +8 -8
  82. package/dist/chunks/{model-resolver-rd82n06c.js → model-resolver-a3t5n920.js} +4 -4
  83. package/dist/chunks/{model-resolver-4fqcgg66.js → model-resolver-aaxq2vfe.js} +19 -19
  84. package/dist/chunks/{model-resolver-54pcgdgx.js → model-resolver-ak0zzeb3.js} +8 -8
  85. package/dist/chunks/{model-resolver-grkqts8z.js → model-resolver-as67bepm.js} +12 -12
  86. package/dist/chunks/{model-resolver-sxk5rhme.js → model-resolver-b9zfys3q.js} +47 -47
  87. package/dist/chunks/{model-resolver-b4scv1je.js → model-resolver-bcft8wmc.js} +7 -7
  88. package/dist/chunks/{model-resolver-sej7e0cf.js → model-resolver-bjn91642.js} +3 -3
  89. package/dist/chunks/{model-resolver-8mrgngee.js → model-resolver-bqapkkwx.js} +37 -37
  90. package/dist/chunks/{model-resolver-g5m51wyg.js → model-resolver-bynfxm7n.js} +6 -6
  91. package/dist/chunks/{model-resolver-djszqvmq.js → model-resolver-c765mh8b.js} +7 -7
  92. package/dist/chunks/{model-resolver-mcjy4xdq.js → model-resolver-c808kqea.js} +31 -31
  93. package/dist/chunks/{model-resolver-mx9vqzsb.js → model-resolver-cdm0dq9n.js} +5 -5
  94. package/dist/chunks/{model-resolver-07770t2t.js → model-resolver-ceetf7sw.js} +5 -5
  95. package/dist/chunks/{model-resolver-m0jqrx5p.js → model-resolver-cfpkc3c9.js} +1 -1
  96. package/dist/chunks/{model-resolver-1g2j4a9r.js → model-resolver-ch5kqfnt.js} +15 -15
  97. package/dist/chunks/{model-resolver-m879hchs.js → model-resolver-cmq7pf5c.js} +19 -19
  98. package/dist/chunks/{model-resolver-fab8hzt3.js → model-resolver-cq37gk0t.js} +1 -1
  99. package/dist/chunks/{model-resolver-tc5jn9f0.js → model-resolver-d109n3v6.js} +22 -22
  100. package/dist/chunks/{model-resolver-a0p1bqyg.js → model-resolver-d2yvgesw.js} +9 -9
  101. package/dist/chunks/{model-resolver-vje7zzhn.js → model-resolver-d5czr6p1.js} +3 -3
  102. package/dist/chunks/{model-resolver-zq6stcrg.js → model-resolver-dwq6ryhm.js} +4 -4
  103. package/dist/chunks/{model-resolver-q378wj2a.js → model-resolver-dx0v4jym.js} +10 -10
  104. package/dist/chunks/{model-resolver-h9520sm0.js → model-resolver-e5k77c54.js} +14 -14
  105. package/dist/chunks/{model-resolver-mvydm7va.js → model-resolver-edw5f9yb.js} +3 -3
  106. package/dist/chunks/{model-resolver-h3v21342.js → model-resolver-efc3y9qy.js} +24 -24
  107. package/dist/chunks/{model-resolver-3te71xag.js → model-resolver-encgc94b.js} +13 -13
  108. package/dist/chunks/{model-resolver-z3pw5915.js → model-resolver-evbgk2k8.js} +3 -3
  109. package/dist/chunks/{model-resolver-hdnk95c8.js → model-resolver-f828m53h.js} +1 -1
  110. package/dist/chunks/{model-resolver-scq4khx8.js → model-resolver-fch79rh9.js} +1 -1
  111. package/dist/chunks/{model-resolver-21v8w307.js → model-resolver-fmf6pfgv.js} +3 -3
  112. package/dist/chunks/{model-resolver-h96pgs48.js → model-resolver-fn6s2bpw.js} +9 -9
  113. package/dist/chunks/{model-resolver-n2sfrcvm.js → model-resolver-fpbvkm1j.js} +10 -10
  114. package/dist/chunks/model-resolver-fq8e80gj.js +478 -0
  115. package/dist/chunks/{model-resolver-91p1v22t.js → model-resolver-fqhbsnr5.js} +7 -7
  116. package/dist/chunks/{model-resolver-036p5t1s.js → model-resolver-fwrss4ad.js} +3 -3
  117. package/dist/chunks/{model-resolver-exbfn0n5.js → model-resolver-fx9zhezm.js} +11 -11
  118. package/dist/chunks/{model-resolver-s2b6rjy8.js → model-resolver-fy3y9pe0.js} +30 -30
  119. package/dist/chunks/{model-resolver-akv0dm8z.js → model-resolver-fz4jpxex.js} +14 -14
  120. package/dist/chunks/{model-resolver-c20khjev.js → model-resolver-g190xswt.js} +18 -18
  121. package/dist/chunks/{model-resolver-3k1d3fsa.js → model-resolver-g5r1tnmz.js} +27 -27
  122. package/dist/chunks/{model-resolver-6rgj1aye.js → model-resolver-g757ar9v.js} +4 -4
  123. package/dist/chunks/{model-resolver-sa4vrjjn.js → model-resolver-ggn5tyje.js} +8 -8
  124. package/dist/chunks/{model-resolver-w3nq1sqw.js → model-resolver-gr1f03ws.js} +7 -7
  125. package/dist/chunks/{model-resolver-37med0fv.js → model-resolver-gypa8pv9.js} +3 -3
  126. package/dist/chunks/{model-resolver-43yktx36.js → model-resolver-h47manga.js} +9 -9
  127. package/dist/chunks/{model-resolver-kmk2vv10.js → model-resolver-h9h1j1mz.js} +11 -11
  128. package/dist/chunks/{model-resolver-f4t5cf30.js → model-resolver-hjp5nr78.js} +30 -30
  129. package/dist/chunks/{model-resolver-avm8jn6n.js → model-resolver-hkfg6fzm.js} +3 -3
  130. package/dist/chunks/{model-resolver-q5dg9qes.js → model-resolver-j2w7j3x5.js} +26 -26
  131. package/dist/chunks/{model-resolver-hvxy08g5.js → model-resolver-j3bqg59g.js} +14 -14
  132. package/dist/chunks/{model-resolver-6p3xqd60.js → model-resolver-j3ev6qnf.js} +1 -1
  133. package/dist/chunks/{model-resolver-x442ch9z.js → model-resolver-j46cxss4.js} +1 -1
  134. package/dist/chunks/{model-resolver-a3r4dcrj.js → model-resolver-j699j8bt.js} +1 -1
  135. package/dist/chunks/{model-resolver-280hqnth.js → model-resolver-j95y1bft.js} +12 -12
  136. package/dist/chunks/{model-resolver-knddexfq.js → model-resolver-jbryrjhm.js} +10 -10
  137. package/dist/chunks/{model-resolver-9ae838bd.js → model-resolver-jcbyds1h.js} +5 -5
  138. package/dist/chunks/{model-resolver-hja6fhvt.js → model-resolver-jharhjnw.js} +20 -20
  139. package/dist/chunks/{model-resolver-jt63vget.js → model-resolver-jk24q48k.js} +9 -9
  140. package/dist/chunks/{model-resolver-e9bbt0wn.js → model-resolver-jnjv4swr.js} +152 -152
  141. package/dist/chunks/{model-resolver-1e3gp6z5.js → model-resolver-jp55f8a2.js} +1 -1
  142. package/dist/chunks/{model-resolver-797kpq2p.js → model-resolver-jrqpj1rz.js} +9 -9
  143. package/dist/chunks/{model-resolver-7z4dgn25.js → model-resolver-k4kd387c.js} +10 -10
  144. package/dist/chunks/{model-resolver-g22wph12.js → model-resolver-k9axbpjs.js} +29 -29
  145. package/dist/chunks/model-resolver-kpe9p76v.js +252 -0
  146. package/dist/chunks/{model-resolver-3a7v3mfb.js → model-resolver-kv88q56w.js} +5 -5
  147. package/dist/chunks/{model-resolver-12x7tyn7.js → model-resolver-kz3etvb1.js} +14 -14
  148. package/dist/chunks/{model-resolver-p55fzyn7.js → model-resolver-m485abxa.js} +13 -13
  149. package/dist/chunks/{model-resolver-03j0d1mj.js → model-resolver-m717gk7q.js} +4 -4
  150. package/dist/chunks/{model-resolver-mae1f2vv.js → model-resolver-ma7aqx0g.js} +29 -29
  151. package/dist/chunks/{model-resolver-88sz8qcd.js → model-resolver-mfhfdr54.js} +3 -3
  152. package/dist/chunks/{model-resolver-re1b4xdv.js → model-resolver-mgwx0cg1.js} +18 -18
  153. package/dist/chunks/{model-resolver-26x0xdfb.js → model-resolver-mjnf20yt.js} +28 -28
  154. package/dist/chunks/{model-resolver-t96rdxhd.js → model-resolver-mksbb8nz.js} +16 -16
  155. package/dist/chunks/{model-resolver-er91jp3n.js → model-resolver-mkssaqtm.js} +27 -27
  156. package/dist/chunks/{model-resolver-b5hby8zf.js → model-resolver-n9e4wkb0.js} +8 -8
  157. package/dist/chunks/{model-resolver-py5agcrg.js → model-resolver-ncfs2mqg.js} +8 -8
  158. package/dist/chunks/{model-resolver-8mdv2t2t.js → model-resolver-ncrmpxjj.js} +5 -5
  159. package/dist/chunks/{model-resolver-tsmnctvy.js → model-resolver-ndccpjjz.js} +17 -17
  160. package/dist/chunks/{model-resolver-9afpsfvx.js → model-resolver-p4pkk9xt.js} +16 -16
  161. package/dist/chunks/{model-resolver-g25ey1zv.js → model-resolver-p4y0yfrh.js} +1 -1
  162. package/dist/chunks/{model-resolver-6706eqrn.js → model-resolver-pa484fme.js} +12 -12
  163. package/dist/chunks/{model-resolver-tpw6cwsb.js → model-resolver-phstrbs2.js} +7 -7
  164. package/dist/chunks/{model-resolver-d068vn8b.js → model-resolver-pjjzqhjh.js} +24 -24
  165. package/dist/chunks/{model-resolver-jexxy024.js → model-resolver-pk2244jm.js} +3 -3
  166. package/dist/chunks/{model-resolver-gzgc3wej.js → model-resolver-pnja8679.js} +26 -26
  167. package/dist/chunks/{model-resolver-8m6g92fr.js → model-resolver-pq7ecckh.js} +34 -34
  168. package/dist/chunks/{model-resolver-w0x80a1d.js → model-resolver-pqx0ybs2.js} +3 -3
  169. package/dist/chunks/{model-resolver-1v4fec1y.js → model-resolver-q7p04bx4.js} +9 -9
  170. package/dist/chunks/{model-resolver-xsgfbn57.js → model-resolver-q936sf20.js} +27 -27
  171. package/dist/chunks/{model-resolver-szrkjaj8.js → model-resolver-qcn7s4dm.js} +13 -13
  172. package/dist/chunks/{model-resolver-pdqjgxh5.js → model-resolver-qgekj8ca.js} +24 -24
  173. package/dist/chunks/{model-resolver-57b9ws8p.js → model-resolver-qqeeq2t9.js} +3 -3
  174. package/dist/chunks/{model-resolver-6cv92x4b.js → model-resolver-qr39vjzw.js} +7 -7
  175. package/dist/chunks/{model-resolver-fxkmg59r.js → model-resolver-r0cdk6bg.js} +16 -16
  176. package/dist/chunks/{model-resolver-cs9gs3bj.js → model-resolver-r345bmqf.js} +10 -10
  177. package/dist/chunks/{model-resolver-4tvste0q.js → model-resolver-r53vwz5c.js} +13 -13
  178. package/dist/chunks/{model-resolver-qy0qaq8h.js → model-resolver-r5pvgzgj.js} +19 -19
  179. package/dist/chunks/{model-resolver-mj754nyr.js → model-resolver-r629fsmj.js} +53 -53
  180. package/dist/chunks/{model-resolver-19x634pp.js → model-resolver-renjvscw.js} +27 -27
  181. package/dist/chunks/{model-resolver-hbecdtej.js → model-resolver-rhpdx0qt.js} +10 -10
  182. package/dist/chunks/{model-resolver-kycpm9x6.js → model-resolver-rn0a0t8a.js} +16 -16
  183. package/dist/chunks/{model-resolver-q3bxgjqn.js → model-resolver-rve0xcj6.js} +1 -1
  184. package/dist/chunks/{model-resolver-b662eqrs.js → model-resolver-ry53p5f5.js} +41 -41
  185. package/dist/chunks/{model-resolver-jfqtm2ew.js → model-resolver-ryr25ayn.js} +3 -3
  186. package/dist/chunks/{model-resolver-g1f3nzyq.js → model-resolver-s4se5etm.js} +12 -12
  187. package/dist/chunks/{model-resolver-77t38nde.js → model-resolver-s4tv09cy.js} +71 -71
  188. package/dist/chunks/{model-resolver-32n3v4ks.js → model-resolver-sh9h5wwb.js} +18 -18
  189. package/dist/chunks/{model-resolver-q38hx1yx.js → model-resolver-shhj53tb.js} +7 -7
  190. package/dist/chunks/{model-resolver-s8skvdk2.js → model-resolver-st5e36a0.js} +5 -5
  191. package/dist/chunks/{model-resolver-99qst2hg.js → model-resolver-sttvgref.js} +30 -30
  192. package/dist/chunks/{model-resolver-ve4pfa0n.js → model-resolver-sx1n432n.js} +3 -3
  193. package/dist/chunks/{model-resolver-jvf3yq6v.js → model-resolver-t2az9yje.js} +3 -3
  194. package/dist/chunks/{model-resolver-843r718v.js → model-resolver-t8f302nt.js} +4 -4
  195. package/dist/chunks/{model-resolver-h90v2x9d.js → model-resolver-tbmac1c7.js} +3 -3
  196. package/dist/chunks/{model-resolver-4e8vs6eh.js → model-resolver-thjxzeng.js} +7 -7
  197. package/dist/chunks/{model-resolver-n2q19pyc.js → model-resolver-tjnzpwm8.js} +9 -9
  198. package/dist/chunks/{model-resolver-4sxejfta.js → model-resolver-ttypvbs3.js} +4 -4
  199. package/dist/chunks/{model-resolver-gnp856re.js → model-resolver-tvf48a4m.js} +10 -10
  200. package/dist/chunks/{model-resolver-6j6rjarh.js → model-resolver-tvtfxz4g.js} +6 -6
  201. package/dist/chunks/{model-resolver-hxd5vk3m.js → model-resolver-tzfanr63.js} +16 -16
  202. package/dist/chunks/{model-resolver-aeqcmxjy.js → model-resolver-v2cxq5df.js} +6 -6
  203. package/dist/chunks/{model-resolver-c2qzrg7b.js → model-resolver-v5922aq3.js} +9 -9
  204. package/dist/chunks/{model-resolver-gpanbyjj.js → model-resolver-vacv9019.js} +5 -5
  205. package/dist/chunks/{model-resolver-zpb5kyv6.js → model-resolver-vb4gjqtk.js} +12 -12
  206. package/dist/chunks/{model-resolver-y57wc7ze.js → model-resolver-vf5b43e0.js} +87 -87
  207. package/dist/chunks/{model-resolver-kewfkj5e.js → model-resolver-vgd6my2m.js} +22 -22
  208. package/dist/chunks/{model-resolver-dsqfhhxw.js → model-resolver-vq049g7e.js} +4 -4
  209. package/dist/chunks/{model-resolver-6vcd148b.js → model-resolver-vxjtd25a.js} +35 -35
  210. package/dist/chunks/{model-resolver-qgwyt9kf.js → model-resolver-vzxxg8zg.js} +20 -20
  211. package/dist/chunks/{model-resolver-wf37p31v.js → model-resolver-wfcjyhbd.js} +42 -42
  212. package/dist/chunks/{model-resolver-qwhb49p5.js → model-resolver-x2zthxjy.js} +12 -12
  213. package/dist/chunks/{model-resolver-rcz1rf0a.js → model-resolver-x8xgg3h0.js} +31 -31
  214. package/dist/chunks/{model-resolver-bxvw9c4f.js → model-resolver-xfa6k0ew.js} +24 -24
  215. package/dist/chunks/{model-resolver-t4zcj5pn.js → model-resolver-xrsny83m.js} +7 -7
  216. package/dist/chunks/model-resolver-xrsqh21y.js +4 -0
  217. package/dist/chunks/{model-resolver-9p3ceqmc.js → model-resolver-xxn18gh4.js} +6 -6
  218. package/dist/chunks/{model-resolver-32hhr2bd.js → model-resolver-y396q54h.js} +15 -15
  219. package/dist/chunks/{model-resolver-dpkg50ah.js → model-resolver-y71avatq.js} +3 -3
  220. package/dist/chunks/{model-resolver-w7ejeta8.js → model-resolver-y7n7x5e2.js} +23 -23
  221. package/dist/chunks/{model-resolver-fav965pf.js → model-resolver-yjtbktzn.js} +26 -26
  222. package/dist/chunks/{model-resolver-s4enseaf.js → model-resolver-yrznvahk.js} +1 -1
  223. package/dist/chunks/{model-resolver-61bshzb4.js → model-resolver-yt385gn2.js} +19 -19
  224. package/dist/chunks/{model-resolver-1sr9wk0z.js → model-resolver-yxc7efnj.js} +22 -22
  225. package/dist/chunks/{model-resolver-29x78va6.js → model-resolver-z63w68vq.js} +4 -4
  226. package/dist/chunks/{model-resolver-h28m7sc2.js → model-resolver-z8nvkxrw.js} +3 -3
  227. package/dist/chunks/{model-resolver-a4y05av3.js → model-resolver-z9g8xfyx.js} +50 -50
  228. package/dist/chunks/{model-resolver-xfdrc2qg.js → model-resolver-zqx8wcya.js} +1 -1
  229. package/dist/chunks/{model-resolver-qvsy8jwx.js → model-resolver-zrwc20gf.js} +18 -18
  230. package/dist/codemode/instructions.js +5 -5
  231. package/dist/codemode/tool.js +2 -2
  232. package/dist/command.js +69 -69
  233. package/dist/config/discovery.js +69 -69
  234. package/dist/config/normalize.js +88 -88
  235. package/dist/config/plugin/agent.js +101 -101
  236. package/dist/config/plugin/command.js +178 -178
  237. package/dist/config/plugin/compaction.js +134 -134
  238. package/dist/config/plugin/compatibility.js +119 -119
  239. package/dist/config/plugin/formatter.js +102 -102
  240. package/dist/config/plugin/image.js +101 -101
  241. package/dist/config/plugin/instruction.js +72 -72
  242. package/dist/config/plugin/location-watcher.js +103 -103
  243. package/dist/config/plugin/mcp.js +105 -105
  244. package/dist/config/plugin/policy.js +101 -101
  245. package/dist/config/plugin/provider.js +101 -101
  246. package/dist/config/plugin/reference.js +102 -102
  247. package/dist/config/plugin/shell.js +103 -103
  248. package/dist/config/plugin/skill-file.js +82 -82
  249. package/dist/config/plugin/skill.js +122 -122
  250. package/dist/config/plugin/snapshot.js +101 -101
  251. package/dist/config/plugin/source.js +102 -102
  252. package/dist/config/plugin/tool-output.js +103 -103
  253. package/dist/config/plugin/websearch.js +102 -102
  254. package/dist/config/plugin/worktree.js +103 -103
  255. package/dist/config/variable.js +2 -2
  256. package/dist/config.js +107 -107
  257. package/dist/credential.js +70 -70
  258. package/dist/database/database.js +60 -60
  259. package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
  260. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  261. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  262. package/dist/database/drizzle/index.js +11 -11
  263. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  264. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  265. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  266. package/dist/database/drizzle.js +11 -11
  267. package/dist/database/migration.gen.js +39 -39
  268. package/dist/database/migration.js +41 -41
  269. package/dist/database/v1-migration.bun.js +14 -14
  270. package/dist/effect/app-node-builder.js +237 -237
  271. package/dist/effect/keyed-mutex.js +3 -3
  272. package/dist/environment/environment.js +74 -74
  273. package/dist/environment/index.js +76 -76
  274. package/dist/event-logger.js +14 -14
  275. package/dist/file-access.js +85 -85
  276. package/dist/file-mutation.js +75 -75
  277. package/dist/filesystem/location-watcher-policy.js +5 -5
  278. package/dist/filesystem/location-watcher.js +194 -194
  279. package/dist/filesystem/protected.js +3 -3
  280. package/dist/filesystem/search.js +83 -83
  281. package/dist/filesystem/watcher-binding.js +3 -3
  282. package/dist/filesystem/watcher.js +14 -14
  283. package/dist/filesystem.js +86 -86
  284. package/dist/form.js +73 -73
  285. package/dist/formatter/builtins.js +3 -3
  286. package/dist/formatter.js +73 -73
  287. package/dist/generate.js +80 -80
  288. package/dist/git.js +8 -8
  289. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
  290. package/dist/github-copilot/copilot-provider.js +3 -3
  291. package/dist/github-copilot/models.js +82 -82
  292. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  293. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  294. package/dist/image/photon.js +1 -1
  295. package/dist/image.js +5 -5
  296. package/dist/instance/service.js +5 -5
  297. package/dist/instance.js +315 -315
  298. package/dist/instruction-discovery.js +72 -72
  299. package/dist/instructions/builtins.js +71 -71
  300. package/dist/integration/connection.js +3 -3
  301. package/dist/integration.js +66 -66
  302. package/dist/job.js +67 -67
  303. package/dist/kv.js +61 -61
  304. package/dist/location-activity.js +58 -58
  305. package/dist/location-lifecycle.js +87 -87
  306. package/dist/location-mutation.js +33 -33
  307. package/dist/location-service-map.js +71 -71
  308. package/dist/location-services.js +313 -313
  309. package/dist/location.js +70 -70
  310. package/dist/mcp/client.js +19 -19
  311. package/dist/mcp/index.js +87 -87
  312. package/dist/mcp/instructions.js +102 -102
  313. package/dist/mcp/oauth.js +14 -14
  314. package/dist/mcp/stdio.js +71 -71
  315. package/dist/modal/models.js +82 -82
  316. package/dist/model-resolver.js +81 -81
  317. package/dist/model.js +83 -83
  318. package/dist/models-dev.js +87 -87
  319. package/dist/permission/saved.js +70 -70
  320. package/dist/permission/sql.js +3 -3
  321. package/dist/permission.js +94 -94
  322. package/dist/persistent-pty/index.js +72 -72
  323. package/dist/persistent-pty.js +60 -60
  324. package/dist/plugin/agent.js +83 -83
  325. package/dist/plugin/command.js +78 -78
  326. package/dist/plugin/hooks.js +5 -5
  327. package/dist/plugin/host.js +185 -185
  328. package/dist/plugin/identity.js +3 -3
  329. package/dist/plugin/instance.js +5 -5
  330. package/dist/plugin/internal.js +288 -288
  331. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  332. package/dist/plugin/models-dev.js +78 -78
  333. package/dist/plugin/module.js +3 -3
  334. package/dist/plugin/optimize.js +2 -2
  335. package/dist/plugin/plan.js +83 -83
  336. package/dist/plugin/provider/amazon-bedrock.js +73 -73
  337. package/dist/plugin/provider/azure.js +100 -100
  338. package/dist/plugin/provider/cloudflare-ai-gateway.js +99 -99
  339. package/dist/plugin/provider/cloudflare-workers-ai.js +99 -99
  340. package/dist/plugin/provider/configured.js +98 -98
  341. package/dist/plugin/provider/digitalocean.js +75 -75
  342. package/dist/plugin/provider/github-copilot.js +76 -76
  343. package/dist/plugin/provider/gitlab.js +74 -74
  344. package/dist/plugin/provider/google-vertex.js +73 -73
  345. package/dist/plugin/provider/llmgateway.js +63 -63
  346. package/dist/plugin/provider/lmstudio.js +101 -101
  347. package/dist/plugin/provider/modal.js +75 -75
  348. package/dist/plugin/provider/ollama.js +101 -101
  349. package/dist/plugin/provider/openai.js +74 -74
  350. package/dist/plugin/provider/opencode.js +75 -75
  351. package/dist/plugin/provider/openrouter.js +74 -74
  352. package/dist/plugin/provider/poe.js +63 -63
  353. package/dist/plugin/provider/prompt-cache-key.js +73 -73
  354. package/dist/plugin/provider/sap-ai-core.js +73 -73
  355. package/dist/plugin/provider/snowflake-cortex.js +100 -100
  356. package/dist/plugin/provider/vercel.js +73 -73
  357. package/dist/plugin/provider/vllm.js +101 -101
  358. package/dist/plugin/provider/xai.js +74 -74
  359. package/dist/plugin/provider.js +133 -133
  360. package/dist/plugin/sdk.js +65 -65
  361. package/dist/plugin/service.js +3 -3
  362. package/dist/plugin/skill.js +120 -120
  363. package/dist/plugin/supervisor.js +305 -305
  364. package/dist/plugin/update.js +6 -6
  365. package/dist/plugin/vcs/git.js +70 -70
  366. package/dist/plugin/vcs/hg.js +70 -70
  367. package/dist/plugin/warming.js +100 -100
  368. package/dist/plugin/websearch/exa.js +4 -4
  369. package/dist/plugin/websearch/firecrawl.js +5 -5
  370. package/dist/plugin/websearch/index.js +8 -8
  371. package/dist/plugin/websearch/mcp.js +3 -3
  372. package/dist/plugin/websearch/parallel.js +5 -5
  373. package/dist/plugin/websearch/tavily.js +4 -4
  374. package/dist/plugin/websearch/tinyfish.js +5 -5
  375. package/dist/plugin.js +196 -196
  376. package/dist/project/sql.js +2 -2
  377. package/dist/project.js +71 -71
  378. package/dist/provider.js +82 -82
  379. package/dist/pty/schema.js +3 -3
  380. package/dist/pty.js +81 -81
  381. package/dist/reference/instructions.js +73 -73
  382. package/dist/reference.js +73 -73
  383. package/dist/repository-cache.js +67 -67
  384. package/dist/ripgrep.js +77 -77
  385. package/dist/rpc.js +71 -71
  386. package/dist/session/command.js +62 -62
  387. package/dist/session/compaction.js +110 -110
  388. package/dist/session/context.js +125 -125
  389. package/dist/session/diff.js +71 -71
  390. package/dist/session/environment.js +5 -5
  391. package/dist/session/error.js +6 -6
  392. package/dist/session/execution/restart.js +123 -123
  393. package/dist/session/execution.js +105 -105
  394. package/dist/session/generate.js +124 -124
  395. package/dist/session/history.js +10 -10
  396. package/dist/session/inbox.js +73 -73
  397. package/dist/session/info.js +2 -2
  398. package/dist/session/instruction-entry.js +66 -66
  399. package/dist/session/instruction-state.js +4 -4
  400. package/dist/session/instructions.js +79 -79
  401. package/dist/session/model-request.js +98 -98
  402. package/dist/session/model-transport.js +7 -7
  403. package/dist/session/move.js +107 -107
  404. package/dist/session/projector.js +68 -68
  405. package/dist/session/prompt.js +85 -85
  406. package/dist/session/provider-context.js +3 -3
  407. package/dist/session/revert.js +73 -73
  408. package/dist/session/runner/index.js +3 -3
  409. package/dist/session/runner/llm.js +194 -194
  410. package/dist/session/runner/model.js +81 -81
  411. package/dist/session/runner/retry.js +94 -94
  412. package/dist/session/runner/step.js +102 -102
  413. package/dist/session/runner/to-llm-message.js +2 -2
  414. package/dist/session/schema.js +5 -5
  415. package/dist/session/session.js +144 -144
  416. package/dist/session/shell.js +112 -112
  417. package/dist/session/skill.js +84 -84
  418. package/dist/session/sql.js +3 -3
  419. package/dist/session/stats.js +12 -12
  420. package/dist/session/store.js +72 -72
  421. package/dist/session/subagent-job.js +176 -176
  422. package/dist/session/system-prompt.js +3 -3
  423. package/dist/session/title.js +126 -126
  424. package/dist/session/to-session-error.js +91 -91
  425. package/dist/session/transfer.js +123 -123
  426. package/dist/session.js +190 -190
  427. package/dist/shell/parse.js +3 -3
  428. package/dist/shell/select.js +11 -11
  429. package/dist/shell.js +115 -115
  430. package/dist/skill/instructions.js +86 -86
  431. package/dist/skill.js +93 -93
  432. package/dist/snapshot.js +75 -75
  433. package/dist/tool/mcp.js +101 -101
  434. package/dist/tool/plugin/edit.js +92 -92
  435. package/dist/tool/plugin/glob.js +97 -97
  436. package/dist/tool/plugin/grep.js +97 -97
  437. package/dist/tool/plugin/opencode.js +3 -3
  438. package/dist/tool/plugin/patch.js +98 -98
  439. package/dist/tool/plugin/question.js +82 -82
  440. package/dist/tool/plugin/read.js +101 -101
  441. package/dist/tool/plugin/shell.js +184 -184
  442. package/dist/tool/plugin/skill.js +92 -92
  443. package/dist/tool/plugin/subagent.js +183 -183
  444. package/dist/tool/plugin/webfetch.js +90 -90
  445. package/dist/tool/plugin/websearch.js +93 -93
  446. package/dist/tool/plugin/write.js +98 -98
  447. package/dist/tool/read-filesystem.js +80 -80
  448. package/dist/tool-output.js +5 -5
  449. package/dist/tool.js +11 -11
  450. package/dist/v1/config/agent.js +4 -4
  451. package/dist/v1/config/attachment.js +3 -3
  452. package/dist/v1/config/command.js +3 -3
  453. package/dist/v1/config/config.js +14 -14
  454. package/dist/v1/config/error.js +3 -3
  455. package/dist/v1/config/formatter.js +7 -7
  456. package/dist/v1/config/lsp.js +5 -5
  457. package/dist/v1/config/mcp.js +3 -3
  458. package/dist/v1/config/migrate.js +74 -74
  459. package/dist/v1/config/permission.js +5 -5
  460. package/dist/v1/config/plugin.js +3 -3
  461. package/dist/v1/config/skills.js +3 -3
  462. package/dist/variant.js +76 -76
  463. package/dist/vcs.js +73 -73
  464. package/dist/websearch.js +68 -68
  465. package/dist/wellknown/plugin.js +63 -63
  466. package/dist/wellknown.js +68 -68
  467. package/dist/workspace/driver.js +5 -5
  468. package/dist/workspace.js +69 -69
  469. package/dist/worktree/git.js +7 -7
  470. package/dist/worktree/sql.js +3 -3
  471. package/dist/worktree/strategies.js +72 -72
  472. package/dist/worktree.js +80 -80
  473. package/package.json +8 -8
  474. package/dist/chunks/model-resolver-0mesazry.js +0 -4
  475. package/dist/chunks/model-resolver-aspdhtxw.js +0 -26
  476. package/dist/chunks/model-resolver-qsj989em.js +0 -478
  477. package/dist/chunks/model-resolver-tz5bhpr7.js +0 -252
  478. /package/dist/chunks/{model-resolver-dj2t23y0.js → model-resolver-8p4f9s12.js} +0 -0
  479. /package/dist/chunks/{model-resolver-e0vtkr8g.js → model-resolver-brp8zeym.js} +0 -0
  480. /package/dist/chunks/{model-resolver-b29mbqx6.js → model-resolver-ghrzdqqx.js} +0 -0
  481. /package/dist/chunks/{model-resolver-k3c624dm.js → model-resolver-nzks3jc8.js} +0 -0
  482. /package/dist/chunks/{model-resolver-wy2za45w.js → model-resolver-paj7g8d0.js} +0 -0
  483. /package/dist/chunks/{model-resolver-mtc1r9z5.js → model-resolver-tew83jr1.js} +0 -0
@@ -2,9 +2,9 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./model-resolver-922hggd3.js";
4
4
  import {
5
- Service81,
6
- node85
7
- } from "./model-resolver-sa4vrjjn.js";
5
+ Service76,
6
+ node80
7
+ } from "./model-resolver-ggn5tyje.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
@@ -12,9 +12,9 @@ import {
12
12
  same2
13
13
  } from "./model-resolver-2402vzrj.js";
14
14
  import {
15
- Service70,
16
- node73
17
- } from "./model-resolver-4aa2m1a0.js";
15
+ Service50,
16
+ node53
17
+ } from "./model-resolver-7m2q8372.js";
18
18
  import {
19
19
  __export
20
20
  } from "./model-resolver-9rqn6x4v.js";
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service40,
33
+ Service: () => Service44,
34
34
  isError: () => isError2,
35
- node: () => node43,
35
+ node: () => node47,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service40 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service44 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service40, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service81;
106
+ const git = yield* Service76;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service70;
110
- return Service40.of({
109
+ const kv = yield* Service50;
110
+ return Service44.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node43 = makeGlobalNode({
171
- service: Service40,
170
+ var node47 = makeGlobalNode({
171
+ service: Service44,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node73]
173
+ deps: [EffectFlock.node, FSUtil.node, node80, Global.node, node53]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service40, isError2, validateBranch2, node43, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service44, isError2, validateBranch2, node47, exports_repository_cache };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./model-resolver-er91jp3n.js";
2
+ ID12
3
+ } from "./model-resolver-mkssaqtm.js";
4
4
 
5
5
  // src/plugin/provider/google-vertex.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.provider.transform((evt) => {
26
26
  for (const item of evt.list()) {
27
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
27
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
28
28
  continue;
29
29
  const project = resolveProject(item.provider.settings ?? {});
30
30
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
42
42
  });
43
43
  yield* ctx.model.transform((models) => {
44
44
  for (const item of models.provider.list()) {
45
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
45
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
46
46
  continue;
47
47
  const project = resolveProject(item.provider.settings ?? {});
48
48
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
59
59
  }
60
60
  });
61
61
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
62
- if (evt.model.providerID !== ID13.googleVertex)
62
+ if (evt.model.providerID !== ID12.googleVertex)
63
63
  return;
64
64
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
65
65
  }));
@@ -4,11 +4,11 @@ import {
4
4
  } from "./model-resolver-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./model-resolver-er91jp3n.js";
7
+ } from "./model-resolver-mkssaqtm.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./model-resolver-mcjy4xdq.js";
11
+ } from "./model-resolver-c808kqea.js";
12
12
  import {
13
13
  __export
14
14
  } from "./model-resolver-9rqn6x4v.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID12,
2
+ ID11,
3
3
  Family2
4
- } from "./model-resolver-mcjy4xdq.js";
4
+ } from "./model-resolver-c808kqea.js";
5
5
  import {
6
- Service66
7
- } from "./model-resolver-gw1g6bxq.js";
6
+ Service47
7
+ } from "./model-resolver-5e78k31r.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./model-resolver-aeqcmxjy.js";
10
+ } from "./model-resolver-v2cxq5df.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make10(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service66;
39
+ const config = yield* Service47;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  providers.models.update(providerID, item.key, (model) => {
66
- model.modelID = ID12.make(item.key);
66
+ model.modelID = ID11.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make6();
128
+ var LMStudioPlugin2 = make10();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make6, LMStudioPlugin2 };
145
+ export { make10, LMStudioPlugin2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service83
3
- } from "./model-resolver-7z4dgn25.js";
2
+ Service80
3
+ } from "./model-resolver-k4kd387c.js";
4
4
  import {
5
- Service82
6
- } from "./model-resolver-akv0dm8z.js";
5
+ Service79
6
+ } from "./model-resolver-fz4jpxex.js";
7
7
  import {
8
- Service45
9
- } from "./model-resolver-mx9vqzsb.js";
8
+ Service35
9
+ } from "./model-resolver-cdm0dq9n.js";
10
10
  import {
11
11
  userNotification2
12
12
  } from "./model-resolver-fxbjtjnd.js";
@@ -14,41 +14,41 @@ import {
14
14
  SessionMessage2
15
15
  } from "./model-resolver-gftt206x.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError6,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./model-resolver-2qq7qy34.js";
23
+ } from "./model-resolver-3f15rfkp.js";
24
24
  import {
25
25
  SessionEvent2
26
26
  } from "./model-resolver-ec1grn59.js";
27
27
  import {
28
- Service53
29
- } from "./model-resolver-k2f8e2fb.js";
28
+ Service55
29
+ } from "./model-resolver-30n129z3.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service43
34
- } from "./model-resolver-w7ejeta8.js";
33
+ Service33
34
+ } from "./model-resolver-y7n7x5e2.js";
35
35
  import {
36
- Service41
37
- } from "./model-resolver-6dpxe5wv.js";
36
+ Service31
37
+ } from "./model-resolver-3n5a2veh.js";
38
38
  import {
39
39
  prepare2
40
- } from "./model-resolver-hvxy08g5.js";
40
+ } from "./model-resolver-j3bqg59g.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./model-resolver-hg488ry8.js";
45
+ } from "./model-resolver-9y0wa7jp.js";
46
46
  import {
47
47
  start2
48
- } from "./model-resolver-q38hx1yx.js";
48
+ } from "./model-resolver-shhj53tb.js";
49
49
  import {
50
50
  get4
51
- } from "./model-resolver-qnenbneg.js";
51
+ } from "./model-resolver-7h4d0hsa.js";
52
52
  import {
53
53
  __export
54
54
  } from "./model-resolver-9rqn6x4v.js";
@@ -57,24 +57,24 @@ import {
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make13
60
+ make: () => make12
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make13 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service82;
67
- const database = yield* Service83;
68
- const store = yield* Service53;
69
- const instances = yield* Service45;
70
- const execution = yield* Service41;
71
- const admission = yield* Service43;
65
+ var make12 = Effect.fn("Session.make")(function* () {
66
+ const bus = yield* Service79;
67
+ const database = yield* Service80;
68
+ const store = yield* Service55;
69
+ const instances = yield* Service35;
70
+ const execution = yield* Service31;
71
+ const admission = yield* Service33;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError8({ sessionID });
77
+ return yield* new NotFoundError6({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service35, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service35, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service35, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service35, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service82, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service35, instances), Effect.provideService(Service79, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make13, exports_session2 };
325
+ export { make12, exports_session2 };
@@ -5,26 +5,26 @@ import {
5
5
  RelativePath2
6
6
  } from "./model-resolver-922hggd3.js";
7
7
  import {
8
- Service79
9
- } from "./model-resolver-4tvste0q.js";
8
+ Service74
9
+ } from "./model-resolver-r53vwz5c.js";
10
10
  import {
11
- Service69
12
- } from "./model-resolver-61bshzb4.js";
11
+ Service68
12
+ } from "./model-resolver-yt385gn2.js";
13
13
  import {
14
- Service20
15
- } from "./model-resolver-j7bcq5se.js";
14
+ Service67
15
+ } from "./model-resolver-6yr1acw8.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
- Entry2
21
- } from "./model-resolver-ps87kzvs.js";
20
+ Entry4
21
+ } from "./model-resolver-4g9kkqcn.js";
22
22
  import {
23
- Service52
24
- } from "./model-resolver-mj754nyr.js";
23
+ Service54
24
+ } from "./model-resolver-r629fsmj.js";
25
25
  import {
26
- Service24
27
- } from "./model-resolver-t96rdxhd.js";
26
+ Service53
27
+ } from "./model-resolver-mksbb8nz.js";
28
28
  import {
29
29
  __export
30
30
  } from "./model-resolver-9rqn6x4v.js";
@@ -33,17 +33,17 @@ import {
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input2,
36
+ Input: () => Input3,
37
37
  Output: () => Output2,
38
- Plugin: () => Plugin34,
39
- name: () => name2,
38
+ Plugin: () => Plugin3,
39
+ name: () => name3,
40
40
  toModelContent: () => toModelContent2
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name2 = "glob";
46
- var Input2 = Schema.Struct({
45
+ var name3 = "glob";
46
+ var Input3 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,7 +55,7 @@ var Input2 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output2 = Schema.Array(Entry2);
58
+ var Output2 = Schema.Array(Entry4);
59
59
  var toModelContent2 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
@@ -63,19 +63,19 @@ var toModelContent2 = (entries, truncated = false) => {
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin34 = {
66
+ var Plugin3 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service69;
70
- const ripgrep = yield* Service20;
71
- const location = yield* Service79;
72
- const access = yield* Service24;
73
- const permission = yield* Service52;
69
+ const environment = yield* Service68;
70
+ const ripgrep = yield* Service67;
71
+ const location = yield* Service74;
72
+ const access = yield* Service53;
73
+ const permission = yield* Service54;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name2,
75
+ name: name3,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input2,
78
+ input: Input3,
79
79
  output: Output2,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
@@ -83,7 +83,7 @@ var Plugin34 = {
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name2,
86
+ action: name3,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -111,7 +111,7 @@ var Plugin34 = {
111
111
  orElse: () => Effect.fail(new ToolFailure({
112
112
  message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
113
113
  }))
114
- }), Effect.map((result) => result.map((entry) => Entry2.make({
114
+ }), Effect.map((result) => result.map((entry) => Entry4.make({
115
115
  ...entry,
116
116
  path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
117
117
  }))));
@@ -125,4 +125,4 @@ var Plugin34 = {
125
125
  })
126
126
  };
127
127
 
128
- export { name2, Input2, Output2, toModelContent2, Plugin34, exports_glob };
128
+ export { name3, Input3, Output2, toModelContent2, Plugin3, exports_glob };
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./model-resolver-akv0dm8z.js";
2
+ Service79,
3
+ node83
4
+ } from "./model-resolver-fz4jpxex.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
8
  } from "./model-resolver-922hggd3.js";
9
9
  import {
10
10
  Ref4,
11
- Service79,
12
- node83
13
- } from "./model-resolver-4tvste0q.js";
11
+ Service74,
12
+ node78
13
+ } from "./model-resolver-r53vwz5c.js";
14
14
  import {
15
15
  __export
16
16
  } from "./model-resolver-9rqn6x4v.js";
@@ -19,15 +19,15 @@ import {
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service51,
22
+ Service: () => Service73,
23
23
  define: () => define2,
24
- node: () => node54
24
+ node: () => node77
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service51 extends Context.Service()("@opencode/Rpc") {
30
+ class Service73 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service51, Effect.gen(function* () {
43
- const bus = yield* Service82;
44
- const location = yield* Service79;
42
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
43
+ const bus = yield* Service79;
44
+ const location = yield* Service74;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service74, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service51.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service73.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node54 = makeLocationNode({ service: Service51, layer, deps: [node86, node83] });
128
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [node83, node78] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service51, node54, exports_rpc, define2 };
213
+ export { Service73, node77, exports_rpc, define2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service83
3
- } from "./model-resolver-7z4dgn25.js";
2
+ Service80
3
+ } from "./model-resolver-k4kd387c.js";
4
4
  import {
5
- Service82
6
- } from "./model-resolver-akv0dm8z.js";
5
+ Service79
6
+ } from "./model-resolver-fz4jpxex.js";
7
7
  import {
8
- Service45
9
- } from "./model-resolver-mx9vqzsb.js";
8
+ Service35
9
+ } from "./model-resolver-cdm0dq9n.js";
10
10
  import {
11
11
  RelativePath2
12
12
  } from "./model-resolver-922hggd3.js";
13
13
  import {
14
- ID6,
15
- Service49
16
- } from "./model-resolver-mae1f2vv.js";
14
+ ID5,
15
+ Service46
16
+ } from "./model-resolver-ma7aqx0g.js";
17
17
  import {
18
18
  SessionEvent2
19
19
  } from "./model-resolver-ec1grn59.js";
@@ -22,10 +22,10 @@ import {
22
22
  } from "./model-resolver-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./model-resolver-2qq7qy34.js";
25
+ } from "./model-resolver-3f15rfkp.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./model-resolver-5c4hm403.js";
28
+ } from "./model-resolver-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
31
  } from "./model-resolver-9rqn6x4v.js";
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service45;
46
- const database = yield* Service83;
47
- const bus = yield* Service82;
45
+ const instances = yield* Service35;
46
+ const database = yield* Service80;
47
+ const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service49;
50
- const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service46;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service45;
78
- const bus = yield* Service82;
77
+ const instances = yield* Service35;
78
+ const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service49;
80
+ const snapshot = yield* Service46;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID6.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -7,7 +7,7 @@ import {
7
7
  } from "./model-resolver-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./model-resolver-dj2t23y0.js";
10
+ } from "./model-resolver-8p4f9s12.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";