@opencode/core 0.0.0-dev-20203 → 0.0.0-dev-20206

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{location-services-s0kg6ey3.js → model-resolver-06x0cg99.js} +13 -13
  8. package/dist/chunks/{location-services-cvjyqy8b.js → model-resolver-0ad39zh4.js} +23 -23
  9. package/dist/chunks/{location-services-qgn6gcr1.js → model-resolver-0jwsre1p.js} +5 -5
  10. package/dist/chunks/{location-services-h9mky73t.js → model-resolver-0mm9aq32.js} +15 -15
  11. package/dist/chunks/{location-services-b3za54ys.js → model-resolver-0mtkqq6e.js} +6 -6
  12. package/dist/chunks/{location-services-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-services-shgcqddn.js → model-resolver-0xyjb436.js} +12 -12
  14. package/dist/chunks/{location-services-bf54q0vn.js → model-resolver-0yw898m4.js} +38 -38
  15. package/dist/chunks/{location-services-b5y4wceh.js → model-resolver-1aq54yaq.js} +23 -23
  16. package/dist/chunks/{location-services-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{location-services-46je7tbg.js → model-resolver-1ey1z90k.js} +16 -16
  18. package/dist/chunks/{location-services-q9hdtabh.js → model-resolver-1h9atmhq.js} +18 -18
  19. package/dist/chunks/{location-services-bxnwhgcr.js → model-resolver-1nv7ymr6.js} +27 -27
  20. package/dist/chunks/{location-services-fn25s999.js → model-resolver-1qghahg6.js} +23 -23
  21. package/dist/chunks/{location-services-xzhjr7c3.js → model-resolver-1r2atdqm.js} +25 -25
  22. package/dist/chunks/{location-services-jdvpg0be.js → model-resolver-1wjepk3t.js} +34 -34
  23. package/dist/chunks/{location-services-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  24. package/dist/chunks/{location-services-6h73sxmp.js → model-resolver-2402vzrj.js} +5 -5
  25. package/dist/chunks/{location-services-dgs4c22x.js → model-resolver-267sahkc.js} +48 -48
  26. package/dist/chunks/{location-services-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{location-services-rp8jz6x1.js → model-resolver-2d57kztd.js} +4 -4
  28. package/dist/chunks/{location-services-p1spfnmp.js → model-resolver-2fvr2s65.js} +21 -21
  29. package/dist/chunks/{location-services-a354z5sm.js → model-resolver-2zdc6rg7.js} +11 -11
  30. package/dist/chunks/{location-services-pttdfhpz.js → model-resolver-31879egc.js} +9 -9
  31. package/dist/chunks/{location-services-kn6v00wg.js → model-resolver-31j6fr5m.js} +18 -18
  32. package/dist/chunks/{location-services-d9wzmzc3.js → model-resolver-35ng7dkh.js} +5 -5
  33. package/dist/chunks/{location-services-an3y63gz.js → model-resolver-35xajyyx.js} +11 -11
  34. package/dist/chunks/{location-services-z3pw5915.js → model-resolver-37s12vcn.js} +5 -5
  35. package/dist/chunks/{location-services-4p9aey09.js → model-resolver-3c98vr6c.js} +8 -8
  36. package/dist/chunks/{location-services-1w8sqpqb.js → model-resolver-3dx22m0j.js} +15 -15
  37. package/dist/chunks/{location-services-7h7s3rmt.js → model-resolver-3f15rfkp.js} +9 -9
  38. package/dist/chunks/{location-services-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{location-services-pq983g12.js → model-resolver-3ghz8s00.js} +16 -16
  40. package/dist/chunks/{location-services-t8rew5kn.js → model-resolver-3h8pbnga.js} +12 -12
  41. package/dist/chunks/{location-services-fej70bpn.js → model-resolver-3hdgzgjd.js} +19 -19
  42. package/dist/chunks/{location-services-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{location-services-ggp883ka.js → model-resolver-3k23bpvr.js} +6 -6
  44. package/dist/chunks/{location-services-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{location-services-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{location-services-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{location-services-5w8x6yjj.js → model-resolver-40jcz8ad.js} +8 -8
  48. package/dist/chunks/{location-services-7s76t0fg.js → model-resolver-4111r571.js} +24 -24
  49. package/dist/chunks/{location-services-jeqepyqp.js → model-resolver-48zhkjc5.js} +67 -65
  50. package/dist/chunks/{location-services-4dgbcxzg.js → model-resolver-4dgbcxzg.js} +1 -1
  51. package/dist/chunks/{location-services-3w9hmcr6.js → model-resolver-4gtvk39h.js} +4 -4
  52. package/dist/chunks/{location-services-vzc886ch.js → model-resolver-4kngcreg.js} +32 -32
  53. package/dist/chunks/{location-services-h0rgcqpm.js → model-resolver-4rhbtwdt.js} +8 -8
  54. package/dist/chunks/model-resolver-4v7qdvcn.js +18 -0
  55. package/dist/chunks/{location-services-96ymsse1.js → model-resolver-4w4q249n.js} +8 -8
  56. package/dist/chunks/{location-services-n7mjttc7.js → model-resolver-55kqbvq6.js} +9 -9
  57. package/dist/chunks/{location-services-1ygqh575.js → model-resolver-56gdpj1q.js} +9 -9
  58. package/dist/chunks/{location-services-81swgkk7.js → model-resolver-57ez7d0k.js} +7 -7
  59. package/dist/chunks/{location-services-h9m1c2w5.js → model-resolver-5ctg7cef.js} +42 -24
  60. package/dist/chunks/{location-services-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  61. package/dist/chunks/{location-services-0zdhcxq1.js → model-resolver-5jmkacqm.js} +2 -2
  62. package/dist/chunks/{location-services-3664e2vt.js → model-resolver-5jqe332k.js} +11 -11
  63. package/dist/chunks/{location-services-0gz88f7v.js → model-resolver-5kgz3sjj.js} +20 -20
  64. package/dist/chunks/{location-services-j7axrqd8.js → model-resolver-5nb4515h.js} +36 -36
  65. package/dist/chunks/{location-services-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
  66. package/dist/chunks/model-resolver-5qyz8na8.js +507 -0
  67. package/dist/chunks/{location-services-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{location-services-sxz61evh.js → model-resolver-662kcsnq.js} +15 -15
  69. package/dist/chunks/{location-services-669tq793.js → model-resolver-669tq793.js} +1 -1
  70. package/dist/chunks/{location-services-g3y93bdq.js → model-resolver-6bwfswtt.js} +25 -25
  71. package/dist/chunks/{location-services-7m38xmwt.js → model-resolver-6kkcd6qd.js} +8 -8
  72. package/dist/chunks/{location-services-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{location-services-wqgv35h5.js → model-resolver-6ncjhc5z.js} +33 -33
  74. package/dist/chunks/{location-services-gap9hmaf.js → model-resolver-6nf8xs8b.js} +56 -42
  75. package/dist/chunks/{location-services-04j5qzgw.js → model-resolver-6ntqtawn.js} +33 -33
  76. package/dist/chunks/{location-services-xtsf53gz.js → model-resolver-6st2m2tt.js} +4 -4
  77. package/dist/chunks/{location-services-fwf02z8y.js → model-resolver-6w2apkvv.js} +24 -24
  78. package/dist/chunks/{location-services-3j6aw61a.js → model-resolver-6xec00j9.js} +26 -26
  79. package/dist/chunks/{location-services-20x4t0fx.js → model-resolver-6ytc35nj.js} +21 -21
  80. package/dist/chunks/{location-services-ganadfp0.js → model-resolver-70pv625h.js} +23 -23
  81. package/dist/chunks/{location-services-dy7h2h1w.js → model-resolver-72syy6q7.js} +2 -2
  82. package/dist/chunks/{location-services-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{location-services-xedyykk9.js → model-resolver-7f9xvnkr.js} +18 -18
  84. package/dist/chunks/{location-services-6pc27hjz.js → model-resolver-7fkffz83.js} +8 -8
  85. package/dist/chunks/{location-services-t6tst13s.js → model-resolver-7pnt7zw0.js} +10 -10
  86. package/dist/chunks/{location-services-2ynhemhj.js → model-resolver-7y88vt3g.js} +12 -12
  87. package/dist/chunks/{location-services-73tb2d7t.js → model-resolver-7yh4e7ss.js} +3 -3
  88. package/dist/chunks/{location-services-jfb30j9d.js → model-resolver-84gx0bmj.js} +1 -1
  89. package/dist/chunks/{location-services-89znhe33.js → model-resolver-89znhe33.js} +1 -1
  90. package/dist/chunks/{location-services-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{location-services-qfgcszr2.js → model-resolver-8emzq1v9.js} +11 -11
  92. package/dist/chunks/{location-services-ndwv7bs8.js → model-resolver-8h1zszsv.js} +17 -17
  93. package/dist/chunks/{location-services-tqqd1wey.js → model-resolver-8q7htp70.js} +21 -21
  94. package/dist/chunks/{location-services-6hg3r82e.js → model-resolver-8q8smbff.js} +9 -9
  95. package/dist/chunks/{location-services-7p2zmt5w.js → model-resolver-8qa1wps4.js} +3 -3
  96. package/dist/chunks/{location-services-1hbenywt.js → model-resolver-8tpjzhs1.js} +6 -6
  97. package/dist/chunks/{location-services-ph842b28.js → model-resolver-8tsdq50x.js} +4 -4
  98. package/dist/chunks/{location-services-c8y3sydt.js → model-resolver-8ttzzsr1.js} +43 -43
  99. package/dist/chunks/{location-services-bt39fvn6.js → model-resolver-8x7avsgx.js} +5 -5
  100. package/dist/chunks/{location-services-wqtjegkd.js → model-resolver-90zwzkn8.js} +20 -20
  101. package/dist/chunks/{location-services-kwhnaq83.js → model-resolver-93gypvht.js} +29 -29
  102. package/dist/chunks/{location-services-85sxd0h8.js → model-resolver-93smetpw.js} +3 -3
  103. package/dist/chunks/{location-services-gfvb90ym.js → model-resolver-94ek1h2f.js} +2 -2
  104. package/dist/chunks/{location-services-z8ay4g4r.js → model-resolver-9h236asx.js} +19 -19
  105. package/dist/chunks/{location-services-d1kmb1kz.js → model-resolver-9y9w4qw6.js} +6 -6
  106. package/dist/chunks/{location-services-bt483pgf.js → model-resolver-a0s8413t.js} +5 -5
  107. package/dist/chunks/{location-services-wk5z6jzv.js → model-resolver-a3ftg8j6.js} +9 -9
  108. package/dist/chunks/{location-services-e9xwgjwy.js → model-resolver-a8vp4ryg.js} +5 -5
  109. package/dist/chunks/{location-services-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  110. package/dist/chunks/{location-services-h20z1ya9.js → model-resolver-acnx8j53.js} +9 -9
  111. package/dist/chunks/{location-services-pe5ggv3d.js → model-resolver-ak9g7d9n.js} +30 -30
  112. package/dist/chunks/{location-services-qd16t7pt.js → model-resolver-b03gjzb4.js} +24 -24
  113. package/dist/chunks/{location-services-n2cd4sc1.js → model-resolver-b37fysv1.js} +13 -13
  114. package/dist/chunks/{location-services-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{location-services-f62qkzqr.js → model-resolver-b7b4ctej.js} +5 -5
  116. package/dist/chunks/{location-services-dhtjyx18.js → model-resolver-bb326kwh.js} +13 -13
  117. package/dist/chunks/{location-services-ph6sxt2m.js → model-resolver-bds46r3z.js} +44 -44
  118. package/dist/chunks/{location-services-ns8v16m0.js → model-resolver-beg0vm9f.js} +20 -20
  119. package/dist/chunks/{location-services-y0zn2255.js → model-resolver-bg8arhpn.js} +30 -30
  120. package/dist/chunks/{location-services-v7z2bvyd.js → model-resolver-bgc5ggmx.js} +4 -4
  121. package/dist/chunks/{location-services-wem8116r.js → model-resolver-bhgmygfr.js} +6 -6
  122. package/dist/chunks/{location-services-bz7ff98x.js → model-resolver-bmcwmng9.js} +8 -8
  123. package/dist/chunks/{location-services-fqg394v6.js → model-resolver-bmv2wk1h.js} +24 -24
  124. package/dist/chunks/{location-services-jvnghvnw.js → model-resolver-bnmr3cva.js} +8 -8
  125. package/dist/chunks/{location-services-jqwafpw4.js → model-resolver-bpm0h9ra.js} +23 -23
  126. package/dist/chunks/{location-services-5xtgfte3.js → model-resolver-br0tr5aq.js} +8 -8
  127. package/dist/chunks/{location-services-a7cgx6bn.js → model-resolver-c1q35zrn.js} +21 -21
  128. package/dist/chunks/{location-services-1rn5pcm9.js → model-resolver-c35597j6.js} +4 -4
  129. package/dist/chunks/{location-services-8rxxwv2n.js → model-resolver-c5885s0q.js} +5 -5
  130. package/dist/chunks/{location-services-ag4rn41e.js → model-resolver-ca7w653e.js} +4 -4
  131. package/dist/chunks/{location-services-mntr9wjt.js → model-resolver-cbx2ya3s.js} +28 -28
  132. package/dist/chunks/{location-services-c1pmqqvm.js → model-resolver-cgmaehw3.js} +4 -4
  133. package/dist/chunks/{location-services-54tcyq79.js → model-resolver-ckecvw8r.js} +2 -2
  134. package/dist/chunks/{location-services-ywv187z9.js → model-resolver-cnvnzs5z.js} +12 -12
  135. package/dist/chunks/{location-services-r95crx12.js → model-resolver-d2m9pb5z.js} +18 -18
  136. package/dist/chunks/{location-services-38j7x2hc.js → model-resolver-d3mkwwpa.js} +42 -42
  137. package/dist/chunks/{location-services-mmtg5wy2.js → model-resolver-d3ndzfne.js} +27 -27
  138. package/dist/chunks/{location-services-cwa6csj7.js → model-resolver-d4he2qe1.js} +9 -9
  139. package/dist/chunks/{location-services-5e1npf9a.js → model-resolver-d9ayxges.js} +42 -42
  140. package/dist/chunks/{location-services-dyv6jqgc.js → model-resolver-dfbbfk99.js} +20 -20
  141. package/dist/chunks/{location-services-rf1x1me2.js → model-resolver-dfbyaknh.js} +5 -5
  142. package/dist/chunks/{location-services-k5qdgh99.js → model-resolver-dr1fjqgk.js} +8 -8
  143. package/dist/chunks/{location-services-9fbzm6a9.js → model-resolver-dzrsrzty.js} +8 -8
  144. package/dist/chunks/{location-services-2wveq407.js → model-resolver-e8n3qg4t.js} +27 -27
  145. package/dist/chunks/{location-services-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
  146. package/dist/chunks/{location-services-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  147. package/dist/chunks/{location-services-zy883y1h.js → model-resolver-eq6d70b7.js} +36 -36
  148. package/dist/chunks/{location-services-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{location-services-dajjmxcf.js → model-resolver-exarhmpa.js} +15 -15
  150. package/dist/chunks/{location-services-c20khjev.js → model-resolver-f3ngv102.js} +21 -21
  151. package/dist/chunks/{location-services-bcnfbw3r.js → model-resolver-f3rwh7he.js} +20 -20
  152. package/dist/chunks/{location-services-xs0sd5xy.js → model-resolver-fmcqyzhx.js} +9 -9
  153. package/dist/chunks/{location-services-xp3fh2h7.js → model-resolver-fp2xarvc.js} +1 -1
  154. package/dist/chunks/{location-services-kbhmzeq3.js → model-resolver-fp8b183e.js} +10 -10
  155. package/dist/chunks/{location-services-42rf9s8q.js → model-resolver-gce79w0q.js} +19 -19
  156. package/dist/chunks/{location-services-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{location-services-frp52m33.js → model-resolver-gja2jk4r.js} +41 -41
  158. package/dist/chunks/{location-services-dbtc50z0.js → model-resolver-gse5gt66.js} +4 -4
  159. package/dist/chunks/{location-services-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{location-services-ey7mvkmc.js → model-resolver-gyswrdsk.js} +1 -1
  161. package/dist/chunks/{location-services-n3e4gkzn.js → model-resolver-h6pajdtw.js} +7 -7
  162. package/dist/chunks/{location-services-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{location-services-qzyph8ek.js → model-resolver-ha2jz5gs.js} +11 -11
  164. package/dist/chunks/{location-services-rwe7vfy4.js → model-resolver-hagmrwq3.js} +58 -58
  165. package/dist/chunks/{location-services-129hjeyj.js → model-resolver-hez0a82b.js} +26 -26
  166. package/dist/chunks/{location-services-e7173haz.js → model-resolver-hgf5wkwr.js} +20 -20
  167. package/dist/chunks/{location-services-mwwxnxty.js → model-resolver-hnr8f6ws.js} +4 -4
  168. package/dist/chunks/{location-services-bw6qjwge.js → model-resolver-j3pfw49f.js} +15 -15
  169. package/dist/chunks/{location-services-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  170. package/dist/chunks/{location-services-mrvjcs5x.js → model-resolver-j5w2yx54.js} +6 -6
  171. package/dist/chunks/{location-services-cmkj70ft.js → model-resolver-j699j8bt.js} +2 -2
  172. package/dist/chunks/{location-services-xx97hvw2.js → model-resolver-j7d6ser5.js} +26 -26
  173. package/dist/chunks/{location-services-2s51ny8k.js → model-resolver-j9gbxbd4.js} +3 -3
  174. package/dist/chunks/{location-services-yy7hf67g.js → model-resolver-jc9nhtt9.js} +13 -13
  175. package/dist/chunks/{location-services-zsn9zpn8.js → model-resolver-jehhjn5p.js} +11 -11
  176. package/dist/chunks/{location-services-mv9w5stb.js → model-resolver-jnt43jm9.js} +81 -81
  177. package/dist/chunks/{location-services-mz18n95x.js → model-resolver-jqseed9b.js} +17 -17
  178. package/dist/chunks/{location-services-tnjf10ex.js → model-resolver-jwz36s33.js} +152 -152
  179. package/dist/chunks/{location-services-s4bzt415.js → model-resolver-k50stbs9.js} +5 -5
  180. package/dist/chunks/{location-services-94mr9t66.js → model-resolver-k7fv6ppr.js} +11 -11
  181. package/dist/chunks/{location-services-kbcbk3rc.js → model-resolver-k7h4drr1.js} +22 -22
  182. package/dist/chunks/{location-services-6v2f9cm4.js → model-resolver-kcrma5rg.js} +16 -16
  183. package/dist/chunks/{location-services-by36gnm3.js → model-resolver-kd7vez3r.js} +4 -4
  184. package/dist/chunks/{location-services-728seb0w.js → model-resolver-kt0b5dy1.js} +21 -21
  185. package/dist/chunks/{location-services-930n0wtx.js → model-resolver-kw6cevd8.js} +40 -40
  186. package/dist/chunks/{location-services-q34hn4m8.js → model-resolver-m0t981be.js} +31 -31
  187. package/dist/chunks/{location-services-wfg70ajk.js → model-resolver-m11tzp6r.js} +3 -3
  188. package/dist/chunks/{location-services-qg0jgkcp.js → model-resolver-m2d0j7c0.js} +9 -9
  189. package/dist/chunks/{location-services-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  190. package/dist/chunks/{location-services-zkdqcrb9.js → model-resolver-m3qnxpr9.js} +11 -11
  191. package/dist/chunks/{location-services-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{location-services-zwznb21e.js → model-resolver-mbekgbbb.js} +3 -3
  193. package/dist/chunks/{location-services-aryx1f52.js → model-resolver-mj3g57tw.js} +19 -19
  194. package/dist/chunks/{location-services-m9jd0mcb.js → model-resolver-mnbtwaby.js} +8 -8
  195. package/dist/chunks/{location-services-evd3jqhg.js → model-resolver-ms5024b2.js} +4 -4
  196. package/dist/chunks/{location-services-ms93yq6r.js → model-resolver-ms93yq6r.js} +1 -1
  197. package/dist/chunks/{location-services-784hb5j4.js → model-resolver-mvksx64m.js} +4 -4
  198. package/dist/chunks/{location-services-xjvaav3g.js → model-resolver-n0eb95ej.js} +8 -8
  199. package/dist/chunks/model-resolver-n4x6w9v1.js +26 -0
  200. package/dist/chunks/{location-services-0w62qmxp.js → model-resolver-naj50rvz.js} +8 -8
  201. package/dist/chunks/{location-services-yy3gmdz3.js → model-resolver-nhqjn2vx.js} +8 -8
  202. package/dist/chunks/{location-services-8s7zrxf3.js → model-resolver-nk4qtf6b.js} +26 -26
  203. package/dist/chunks/{location-services-avm8jn6n.js → model-resolver-nxhqveyz.js} +5 -5
  204. package/dist/chunks/{location-services-k3c624dm.js → model-resolver-nzks3jc8.js} +3 -3
  205. package/dist/chunks/model-resolver-pg8etanv.js +252 -0
  206. package/dist/chunks/{location-services-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{location-services-ba07h9gm.js → model-resolver-pk2244jm.js} +3 -3
  208. package/dist/chunks/{location-services-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  209. package/dist/chunks/{location-services-bf0ztrs3.js → model-resolver-pmr4s4kc.js} +4 -4
  210. package/dist/chunks/{location-services-h8dspmgn.js → model-resolver-pvz5x29g.js} +3 -3
  211. package/dist/chunks/{location-services-0fgcbzg9.js → model-resolver-q1aqvm29.js} +25 -25
  212. package/dist/chunks/{location-services-5y305m15.js → model-resolver-q5q8f7qb.js} +28 -28
  213. package/dist/chunks/{location-services-a2ew8a62.js → model-resolver-qa3qhgw8.js} +4 -4
  214. package/dist/chunks/{location-services-p1nm93x7.js → model-resolver-qn4ba14w.js} +5 -5
  215. package/dist/chunks/{location-services-drwq78ky.js → model-resolver-qqeeq2t9.js} +7 -7
  216. package/dist/chunks/{location-services-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  217. package/dist/chunks/{location-services-5jdch5sh.js → model-resolver-r6zp23ak.js} +17 -17
  218. package/dist/chunks/{location-services-xaaqc030.js → model-resolver-r8v59qyv.js} +16 -16
  219. package/dist/chunks/{location-services-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{location-services-t550f9t1.js → model-resolver-rhjbct0v.js} +4 -4
  221. package/dist/chunks/{location-services-vh5rvw9s.js → model-resolver-rsh5se6h.js} +9 -9
  222. package/dist/chunks/{location-services-hxx0ygc8.js → model-resolver-rzmcp3en.js} +16 -16
  223. package/dist/chunks/{location-services-jm8m12cd.js → model-resolver-rznw7p1c.js} +22 -22
  224. package/dist/chunks/{location-services-wfe10mpm.js → model-resolver-s0thh5dw.js} +10 -10
  225. package/dist/chunks/{location-services-5p8spvcz.js → model-resolver-s3pj7kac.js} +15 -15
  226. package/dist/chunks/{location-services-y3eexsj3.js → model-resolver-s5defpr9.js} +11 -11
  227. package/dist/chunks/{location-services-6kbr84ay.js → model-resolver-s6xd6wvt.js} +7 -7
  228. package/dist/chunks/{location-services-44k2838g.js → model-resolver-t058hrzj.js} +20 -20
  229. package/dist/chunks/{location-services-7hhteh4v.js → model-resolver-tahc25fw.js} +3 -3
  230. package/dist/chunks/{location-services-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{location-services-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  232. package/dist/chunks/{location-services-1tqghxe1.js → model-resolver-tftgz9xd.js} +3 -3
  233. package/dist/chunks/{location-services-7rnj5ym9.js → model-resolver-tj8qce5x.js} +26 -26
  234. package/dist/chunks/{location-services-8xd21chy.js → model-resolver-tm1heg02.js} +11 -11
  235. package/dist/chunks/{location-services-4s6qdf3p.js → model-resolver-tq6twe20.js} +20 -20
  236. package/dist/chunks/{location-services-f3wv10y1.js → model-resolver-tr8rwgax.js} +12 -12
  237. package/dist/chunks/{location-services-1pfd5r9f.js → model-resolver-tt3q36pf.js} +7 -7
  238. package/dist/chunks/{location-services-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  239. package/dist/chunks/{location-services-g97k7hqe.js → model-resolver-tyfabpdn.js} +6 -6
  240. package/dist/chunks/{location-services-em10apng.js → model-resolver-tzs7fj4j.js} +38 -38
  241. package/dist/chunks/{location-services-26arvx1m.js → model-resolver-v4gwmykp.js} +20 -20
  242. package/dist/chunks/{location-services-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  243. package/dist/chunks/{location-services-hmay1t1j.js → model-resolver-vspyk4wa.js} +19 -19
  244. package/dist/chunks/{location-services-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{location-services-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{location-services-ze2qnn7n.js → model-resolver-w00ed993.js} +5 -5
  247. package/dist/chunks/{location-services-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{location-services-ab0n33ds.js → model-resolver-w6ns9rpk.js} +22 -22
  249. package/dist/chunks/{location-services-2c48prkg.js → model-resolver-w90vmgx1.js} +43 -43
  250. package/dist/chunks/{location-services-7ndtgxtc.js → model-resolver-w9j9c9r7.js} +12 -12
  251. package/dist/chunks/{location-services-psazpmmj.js → model-resolver-wd3x2cqz.js} +2 -2
  252. package/dist/chunks/{location-services-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  253. package/dist/chunks/{location-services-g4r1rkq7.js → model-resolver-weww5mga.js} +18 -18
  254. package/dist/chunks/{location-services-zv2tdc3m.js → model-resolver-wq13kg2q.js} +24 -24
  255. package/dist/chunks/{location-services-tj0fs0r1.js → model-resolver-wqk93c07.js} +13 -13
  256. package/dist/chunks/{location-services-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{location-services-g1ntwptg.js → model-resolver-x2qdxhwm.js} +8 -8
  258. package/dist/chunks/{location-services-4h4hnnes.js → model-resolver-x5vcyvvk.js} +87 -87
  259. package/dist/chunks/{location-services-ww3yq57e.js → model-resolver-xchhwgmm.js} +16 -16
  260. package/dist/chunks/{location-services-5pezwg1d.js → model-resolver-xfpvjh8w.js} +24 -24
  261. package/dist/chunks/{location-services-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
  262. package/dist/chunks/{location-services-3nm0fk8h.js → model-resolver-xmh38ey0.js} +13 -13
  263. package/dist/chunks/{location-services-vgacam68.js → model-resolver-xtcf9r2h.js} +18 -18
  264. package/dist/chunks/{location-services-h56wjgp5.js → model-resolver-xvbsysbp.js} +39 -39
  265. package/dist/chunks/{location-services-faxt9yky.js → model-resolver-y0gws88p.js} +9 -9
  266. package/dist/chunks/{location-services-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{location-services-m12cyjmp.js → model-resolver-y20bgrwx.js} +15 -15
  268. package/dist/chunks/{location-services-sdvc1rg6.js → model-resolver-y473g9cd.js} +18 -18
  269. package/dist/chunks/{location-services-y71avatq.js → model-resolver-y71avatq.js} +1 -1
  270. package/dist/chunks/{location-services-tx7d86r5.js → model-resolver-yajf6e80.js} +25 -25
  271. package/dist/chunks/{location-services-903nybc4.js → model-resolver-yfkyvkx0.js} +18 -18
  272. package/dist/chunks/{location-services-yp2x3t23.js → model-resolver-yp2x3t23.js} +1 -1
  273. package/dist/chunks/{location-services-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{location-services-0gf2cy4k.js → model-resolver-yryk7av5.js} +7 -7
  275. package/dist/chunks/{location-services-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
  276. package/dist/chunks/{location-services-fg90r6cn.js → model-resolver-yzyw4hev.js} +11 -11
  277. package/dist/chunks/{location-services-bjtzbw4r.js → model-resolver-z07pqspn.js} +3 -3
  278. package/dist/chunks/{location-services-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{location-services-rs47j036.js → model-resolver-z2c7c2d6.js} +21 -16
  280. package/dist/chunks/{location-services-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
  281. package/dist/chunks/{location-services-shd7mr8y.js → model-resolver-z97dy45p.js} +12 -12
  282. package/dist/chunks/{location-services-4tdje3y4.js → model-resolver-zckyz7ek.js} +8 -8
  283. package/dist/chunks/{location-services-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{location-services-dyf86r4x.js → model-resolver-zfa6q2z4.js} +35 -35
  285. package/dist/chunks/{location-services-qxpw477z.js → model-resolver-zfy63nf8.js} +11 -11
  286. package/dist/chunks/{location-services-ytp36fc8.js → model-resolver-zmg0hy4v.js} +11 -11
  287. package/dist/chunks/{location-services-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{location-services-njfyzs8z.js → model-resolver-zvnydg09.js} +12 -12
  289. package/dist/chunks/{location-services-d1nz6qw9.js → model-resolver-zx0yy5px.js} +22 -22
  290. package/dist/chunks/{location-services-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{location-services-7n2xhmm7.js → model-resolver-zxrxjv84.js} +7 -7
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +124 -124
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +81 -81
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +368 -368
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +91 -91
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +93 -93
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +102 -102
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +221 -221
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +99 -99
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +11 -11
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +82 -82
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +79 -79
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +1 -1
  465. package/dist/integration.js +84 -84
  466. package/dist/job.js +73 -73
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +102 -102
  472. package/dist/location-service-map.js +84 -84
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +87 -87
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +106 -106
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +98 -98
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +76 -76
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +111 -111
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +101 -101
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +218 -218
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +333 -333
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +94 -94
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +77 -77
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +94 -94
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +78 -78
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +120 -120
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +161 -161
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +348 -348
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +223 -223
  562. package/dist/project/schema.js +6 -6
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +95 -95
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +94 -94
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +95 -95
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +136 -134
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +1 -1
  583. package/dist/session/error.js +7 -7
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +219 -219
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +15 -15
  589. package/dist/session/inbox.js +86 -86
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +115 -115
  597. package/dist/session/model-transport.js +5 -5
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +229 -229
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +83 -83
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +150 -150
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +223 -223
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +218 -218
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +136 -136
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +108 -108
  635. package/dist/snapshot.js +89 -89
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +127 -127
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +122 -122
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +120 -120
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +110 -110
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +4 -4
  658. package/dist/tool.js +16 -16
  659. package/dist/types/session/compaction.d.ts +5 -0
  660. package/dist/types/session/model-request.d.ts +5 -0
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +7 -7
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +3 -3
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +4 -4
  675. package/dist/v1/config/formatter.js +5 -5
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +3 -3
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +7 -7
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +93 -93
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +80 -80
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +81 -81
  693. package/dist/workspace/driver.js +7 -7
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +76 -76
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +96 -96
  701. package/package.json +8 -8
  702. package/dist/chunks/location-services-7edgwqb7.js +0 -26
  703. package/dist/chunks/location-services-7xa2s11f.js +0 -252
  704. package/dist/chunks/location-services-c826cjyq.js +0 -507
  705. package/dist/chunks/location-services-p2h6zvwc.js +0 -18
  706. /package/dist/chunks/{location-services-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{location-services-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{location-services-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{location-services-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{location-services-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{location-services-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{location-services-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{location-services-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{location-services-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{location-services-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{location-services-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{location-services-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  718. /package/dist/chunks/{location-services-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{location-services-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{location-services-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{location-services-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{location-services-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{location-services-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{location-services-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{location-services-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  726. /package/dist/chunks/{location-services-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{location-services-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  728. /package/dist/chunks/{location-services-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{location-services-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{location-services-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  731. /package/dist/chunks/{location-services-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{location-services-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{location-services-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{location-services-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  735. /package/dist/chunks/{location-services-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{location-services-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{location-services-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{location-services-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{location-services-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{location-services-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{location-services-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{location-services-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{location-services-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{location-services-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{location-services-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{location-services-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{location-services-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{location-services-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{location-services-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{location-services-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  751. /package/dist/chunks/{location-services-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{location-services-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{location-services-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{location-services-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{location-services-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{location-services-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{location-services-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{location-services-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{location-services-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{location-services-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{location-services-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{location-services-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{location-services-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  764. /package/dist/chunks/{location-services-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{location-services-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  766. /package/dist/chunks/{location-services-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{location-services-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  768. /package/dist/chunks/{location-services-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{location-services-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{location-services-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{location-services-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{location-services-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{location-services-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{location-services-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{location-services-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{location-services-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{location-services-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{location-services-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{location-services-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{location-services-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{location-services-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{location-services-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{location-services-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{location-services-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{location-services-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{location-services-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{location-services-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{location-services-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{location-services-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{location-services-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{location-services-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{location-services-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{location-services-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{location-services-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{location-services-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  796. /package/dist/chunks/{location-services-xrsqh21y.js → model-resolver-xrsqh21y.js} +0 -0
  797. /package/dist/chunks/{location-services-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{location-services-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{location-services-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{location-services-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{location-services-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{location-services-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./location-services-xaaqc030.js";
2
+ Service80,
3
+ node84
4
+ } from "./model-resolver-r8v59qyv.js";
5
5
  import {
6
- Service26,
7
- node29
8
- } from "./location-services-ph6sxt2m.js";
6
+ Service30,
7
+ node33
8
+ } from "./model-resolver-bds46r3z.js";
9
9
  import {
10
10
  Service55,
11
- node57
12
- } from "./location-services-frp52m33.js";
11
+ node58
12
+ } from "./model-resolver-gja2jk4r.js";
13
13
  import {
14
- Service38,
15
- node40
16
- } from "./location-services-xzhjr7c3.js";
14
+ Service82,
15
+ node86
16
+ } from "./model-resolver-1r2atdqm.js";
17
17
  import {
18
18
  __export
19
- } from "./location-services-9rqn6x4v.js";
19
+ } from "./model-resolver-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service23,
26
- layer: () => layer9,
27
- name: () => name13,
25
+ Service: () => Service28,
26
+ layer: () => layer13,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node26
29
+ node: () => node32
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service23 extends Context.Service()("@opencode/McpTool") {
38
+ class Service28 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer9 = Layer.effect(Service23, Effect.gen(function* () {
41
- const mcp = yield* Service26;
42
- const tools = yield* Service38;
43
- const bus = yield* Service82;
40
+ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
41
+ const mcp = yield* Service30;
42
+ const tools = yield* Service82;
43
+ const bus = yield* Service80;
44
44
  const permission = yield* Service55;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
@@ -56,7 +56,7 @@ var layer9 = Layer.effect(Service23, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer9 = Layer.effect(Service23, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer9 = Layer.effect(Service23, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service23.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node26 = makeLocationNode({
124
- service: Service23,
125
- layer: layer9,
126
- deps: [node40, node29, node86, node57]
123
+ var node32 = makeLocationNode({
124
+ service: Service28,
125
+ layer: layer13,
126
+ deps: [node86, node33, node84, node58]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service23, layer9, node26, exports_mcp3 };
129
+ export { namespace2, name14, Service28, layer13, node32, exports_mcp3 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./location-services-94mr9t66.js";
2
+ Service81,
3
+ node85
4
+ } from "./model-resolver-k7fv6ppr.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-services-y71avatq.js";
7
+ } from "./model-resolver-y71avatq.js";
8
8
  import {
9
- Service82,
10
- node86
11
- } from "./location-services-xaaqc030.js";
9
+ Service80,
10
+ node84
11
+ } from "./model-resolver-r8v59qyv.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./location-services-ec1grn59.js";
14
+ } from "./model-resolver-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./location-services-gftt206x.js";
17
+ } from "./model-resolver-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./location-services-ba07h9gm.js";
20
+ } from "./model-resolver-pk2244jm.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./location-services-bjtzbw4r.js";
24
+ } from "./model-resolver-z07pqspn.js";
25
25
  import {
26
26
  __export
27
- } from "./location-services-9rqn6x4v.js";
27
+ } from "./model-resolver-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info4,
35
+ Info: () => Info5,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service30,
40
+ Service: () => Service34,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer14,
48
+ layer: () => layer16,
49
49
  list: () => list3,
50
50
  make: () => make15,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node32,
53
+ node: () => node36,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info4,
68
+ Info as Info5,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service30 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service34 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
156
  var make15 = Effect.fn("SessionInbox.make")(function* () {
157
- const database = yield* Service84;
157
+ const database = yield* Service81;
158
158
  const db = database.db;
159
- const bus = yield* Service82;
159
+ const bus = yield* Service80;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info4.make({
176
+ }).pipe(Effect.map((event) => Info5.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer14 = Layer.effect(Service30, make15());
231
- var node32 = makeGlobalNode({ service: Service30, layer: layer14, deps: [node88, node86] });
230
+ var layer16 = Layer.effect(Service34, make15());
231
+ var node36 = makeGlobalNode({ service: Service34, layer: layer16, deps: [node85, node84] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info4, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service30, make15, layer14, node32, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info5, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service34, make15, layer16, node36, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./location-services-94mr9t66.js";
2
+ Service81,
3
+ node85
4
+ } from "./model-resolver-k7fv6ppr.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./location-services-3hepkmqq.js";
7
+ } from "./model-resolver-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./location-services-9rqn6x4v.js";
10
+ } from "./model-resolver-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: () => Service81,
17
- node: () => node85
16
+ Service: () => Service51,
17
+ node: () => node54
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/util/effect/app-node";
22
- class Service81 extends Context.Service()("@opencode/KV") {
22
+ class Service51 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service81, Effect.gen(function* () {
25
- const db = (yield* Service84).db;
26
- return Service81.of({
24
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
25
+ const db = (yield* Service81).db;
26
+ return Service51.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 node85 = makeGlobalNode({ service: Service81, layer, deps: [node88] });
54
+ var node54 = makeGlobalNode({ service: Service51, layer, deps: [node85] });
55
55
 
56
- export { Service81, node85, exports_kv };
56
+ export { Service51, node54, exports_kv };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./location-services-2a5m3afh.js";
5
+ } from "./model-resolver-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./location-services-9rqn6x4v.js";
8
+ } from "./model-resolver-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./location-services-3w5fmr99.js";
3
+ } from "./model-resolver-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin16,
11
+ Plugin: () => Plugin48,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin16 = define({
18
+ var Plugin48 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin16, exports_tool_input_repair };
123
+ export { Plugin48, exports_tool_input_repair };
@@ -1,21 +1,21 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./location-services-94mr9t66.js";
2
+ Service81,
3
+ node85
4
+ } from "./model-resolver-k7fv6ppr.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./location-services-bjtzbw4r.js";
8
+ } from "./model-resolver-z07pqspn.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load4
12
- } from "./location-services-3664e2vt.js";
11
+ load5
12
+ } from "./model-resolver-5jqe332k.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./location-services-cmkj70ft.js";
15
+ } from "./model-resolver-j699j8bt.js";
16
16
  import {
17
17
  __export
18
- } from "./location-services-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
@@ -23,7 +23,7 @@ __export(exports_store, {
23
23
  ListInput: () => ListInput3,
24
24
  Service: () => Service56,
25
25
  SessionStore: () => exports_store,
26
- node: () => node58
26
+ node: () => node59
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,7 +55,7 @@ var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInpu
55
55
  class Service56 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
57
  var layer = Layer.effect(Service56, Effect.gen(function* () {
58
- const { db } = yield* Service84;
58
+ const { db } = yield* Service81;
59
59
  return Service56.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node58 = makeGlobalNode({ service: Service56, layer, deps: [node88] });
128
+ var node59 = makeGlobalNode({ service: Service56, layer, deps: [node85] });
129
129
 
130
- export { ListInput3, Service56, node58, exports_store };
130
+ export { ListInput3, Service56, node59, exports_store };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./location-services-y71avatq.js";
3
+ } from "./model-resolver-y71avatq.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./location-services-xaaqc030.js";
5
+ Service80,
6
+ node84
7
+ } from "./model-resolver-r8v59qyv.js";
8
8
  import {
9
- Event19,
10
- Service76,
11
- node80
12
- } from "./location-services-y0zn2255.js";
9
+ Event20,
10
+ Service73,
11
+ node77
12
+ } from "./model-resolver-bg8arhpn.js";
13
13
  import {
14
- Service77,
15
- node81
16
- } from "./location-services-6v2f9cm4.js";
14
+ Service75,
15
+ node79
16
+ } from "./model-resolver-kcrma5rg.js";
17
17
  import {
18
18
  Service69,
19
- node71
20
- } from "./location-services-46je7tbg.js";
19
+ node72
20
+ } from "./model-resolver-1ey1z90k.js";
21
21
  import {
22
22
  ID15,
23
- Service75,
24
- node79
25
- } from "./location-services-26arvx1m.js";
23
+ Service72,
24
+ node76
25
+ } from "./model-resolver-v4gwmykp.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./location-services-rdw6cm16.js";
29
+ } from "./model-resolver-rdw6cm16.js";
30
30
  import {
31
31
  ID14,
32
32
  MethodID2,
33
- Service74,
34
- node78
35
- } from "./location-services-0fgcbzg9.js";
33
+ Service71,
34
+ node75
35
+ } from "./model-resolver-q1aqvm29.js";
36
36
  import {
37
37
  __export
38
- } from "./location-services-9rqn6x4v.js";
38
+ } from "./model-resolver-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
44
  NotFoundError: () => NotFoundError2,
45
- Options: () => Options2,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service26,
53
+ Service: () => Service30,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured2,
57
- layer: () => layer12,
58
- node: () => node29
56
+ configured: () => configured3,
57
+ layer: () => layer14,
58
+ node: () => node33
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service26 extends Context.Service()("@opencode/MCP") {
96
+ class Service30 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
- var Options2 = Schema.Struct({
98
+ var Options3 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
100
100
  name: Schema.String,
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
105
- const location = yield* Service77;
104
+ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
105
+ const location = yield* Service75;
106
106
  const environment = yield* Service69;
107
- const bus = yield* Service82;
108
- const forms = yield* Service75;
109
- const integration = yield* Service74;
110
- const credentials = yield* Service76;
107
+ const bus = yield* Service80;
108
+ const forms = yield* Service72;
109
+ const integration = yield* Service71;
110
+ const credentials = yield* Service73;
111
111
  const root = yield* Effect.scope;
112
112
  const fork = yield* FiberSet.makeRuntime();
113
113
  const entries = new Map;
@@ -135,7 +135,7 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
135
135
  method: { id: methodID, type: "oauth", label: name },
136
136
  authorize: () => Effect.gen(function* () {
137
137
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
138
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
138
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
139
139
  })
140
140
  });
141
141
  }).pipe(Scope.provide(scope));
@@ -151,7 +151,7 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
151
151
  if (entry.config.type !== "remote" || !entry.integrationID)
152
152
  return;
153
153
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
154
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
154
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
155
155
  });
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
@@ -384,7 +384,7 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
384
384
  yield* startServer(name, entry);
385
385
  }).pipe(locks.withLock(name));
386
386
  });
387
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
387
+ fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
388
388
  const state = create3({
389
389
  name: "mcp",
390
390
  initial: () => ({
@@ -410,7 +410,7 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
410
410
  }),
411
411
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
412
412
  });
413
- return Service26.of({
413
+ return Service30.of({
414
414
  transform: state.transform,
415
415
  reload: state.reload,
416
416
  servers: Effect.fn("MCP.servers")(function* () {
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
516
516
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
517
517
  });
518
518
  }
519
- function configured2(options) {
519
+ function configured3(options) {
520
520
  return makeLocationNode({
521
- service: Service26,
522
- layer: layer12(options),
523
- deps: [node81, node71, node86, node79, node78, node80]
521
+ service: Service30,
522
+ layer: layer14(options),
523
+ deps: [node79, node72, node84, node76, node75, node77]
524
524
  });
525
525
  }
526
- var node29 = configured2();
526
+ var node33 = configured3();
527
527
  function toElicitationField(key, property, required) {
528
528
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
529
529
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
574
574
  }
575
575
  }
576
576
 
577
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service26, Options2, layer12, configured2, node29, exports_mcp4 };
577
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service30, Options3, layer14, configured3, node33, exports_mcp4 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./location-services-xaaqc030.js";
2
+ Service80,
3
+ node84
4
+ } from "./model-resolver-r8v59qyv.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./location-services-6v2f9cm4.js";
6
+ Service75,
7
+ node79
8
+ } from "./model-resolver-kcrma5rg.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./location-services-ec1grn59.js";
11
+ } from "./model-resolver-ec1grn59.js";
12
12
  import {
13
13
  Service56,
14
- node58
15
- } from "./location-services-dhtjyx18.js";
14
+ node59
15
+ } from "./model-resolver-bb326kwh.js";
16
16
  import {
17
17
  __export
18
- } from "./location-services-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service7,
23
+ Service: () => Service6,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node9
25
+ node: () => node8
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service7 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service6 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service7, Effect.gen(function* () {
38
- const bus = yield* Service82;
37
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
38
+ const bus = yield* Service80;
39
39
  const fs = yield* FSUtil.Service;
40
40
  const store = yield* Service56;
41
- const location = yield* Service77;
41
+ const location = yield* Service75;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service7.of({ load });
87
+ return Service6.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node9 = makeLocationNode({
98
+ var node8 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node86, FSUtil.node, node81, node58]
101
+ deps: [node84, FSUtil.node, node79, node59]
102
102
  });
103
103
 
104
- export { Service7, node9, exports_instructions };
104
+ export { Service6, node8, exports_instructions };