@opencode/core 0.0.0-dev-20696 → 0.0.0-dev-20699

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 (781) 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 +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{agent-5pyjqqve.js → aisdk-native-007agb8z.js} +2 -2
  8. package/dist/chunks/{agent-gwydwvmj.js → aisdk-native-05xfxpq7.js} +5 -5
  9. package/dist/chunks/{agent-rwm5vee1.js → aisdk-native-06x8he3q.js} +4 -4
  10. package/dist/chunks/{agent-jjp4nc4f.js → aisdk-native-08jnbt62.js} +37 -37
  11. package/dist/chunks/{agent-sy0w87q3.js → aisdk-native-0ckz0kcg.js} +20 -20
  12. package/dist/chunks/{agent-c1k0rt13.js → aisdk-native-0ezbyg76.js} +20 -20
  13. package/dist/chunks/{agent-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{agent-df68xnyv.js → aisdk-native-0sacbfpy.js} +20 -20
  15. package/dist/chunks/{agent-0vbcp93d.js → aisdk-native-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{agent-hvbzc0rw.js → aisdk-native-0ztyrxz2.js} +20 -20
  17. package/dist/chunks/{agent-prq7hedt.js → aisdk-native-11dqjexa.js} +9 -9
  18. package/dist/chunks/{agent-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{agent-84h8c373.js → aisdk-native-1dvck2a7.js} +2 -2
  20. package/dist/chunks/{agent-4qdkvmxq.js → aisdk-native-1qmx9sjh.js} +5 -5
  21. package/dist/chunks/{agent-bp8hqz04.js → aisdk-native-1vhq2tta.js} +8 -8
  22. package/dist/chunks/{agent-wayg19me.js → aisdk-native-1vp0x8zb.js} +17 -17
  23. package/dist/chunks/{agent-kywwc7qt.js → aisdk-native-1vsqvsf0.js} +16 -16
  24. package/dist/chunks/{agent-d1r5081s.js → aisdk-native-1x75wf9g.js} +5 -5
  25. package/dist/chunks/{agent-1ygqh575.js → aisdk-native-1ygqh575.js} +2 -2
  26. package/dist/chunks/{agent-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{agent-5ar4t727.js → aisdk-native-2ca4jsmq.js} +14 -14
  28. package/dist/chunks/{agent-ehvqe9vd.js → aisdk-native-2ez4cmkb.js} +22 -22
  29. package/dist/chunks/{agent-296rex4s.js → aisdk-native-2ha58fv5.js} +5 -5
  30. package/dist/chunks/{agent-ddjcs144.js → aisdk-native-2j1aj7pf.js} +17 -17
  31. package/dist/chunks/{agent-6b8kbxwq.js → aisdk-native-2j5hbwxg.js} +9 -9
  32. package/dist/chunks/{agent-bq5f49gr.js → aisdk-native-2kbzr3vr.js} +63 -63
  33. package/dist/chunks/{agent-s80wcmr7.js → aisdk-native-2r2f06q5.js} +15 -15
  34. package/dist/chunks/{agent-j8wc6b9w.js → aisdk-native-370437fy.js} +18 -18
  35. package/dist/chunks/{agent-5jchjb6d.js → aisdk-native-38y6trx6.js} +13 -13
  36. package/dist/chunks/{agent-smf66748.js → aisdk-native-3c6jzr0p.js} +27 -27
  37. package/dist/chunks/{agent-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{agent-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{agent-gczbwrbn.js → aisdk-native-3ma5q76q.js} +32 -32
  40. package/dist/chunks/{agent-v6gb7zv2.js → aisdk-native-3ppptnan.js} +6 -6
  41. package/dist/chunks/{agent-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{agent-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{agent-3zsf4n22.js → aisdk-native-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{agent-xg3cb7y7.js → aisdk-native-400mat65.js} +32 -32
  45. package/dist/chunks/{agent-w4ga1xmd.js → aisdk-native-43exvyp7.js} +18 -18
  46. package/dist/chunks/{agent-3c037yne.js → aisdk-native-45w4d0zd.js} +36 -36
  47. package/dist/chunks/{agent-6pjn3k55.js → aisdk-native-4749ja0v.js} +26 -26
  48. package/dist/chunks/{agent-gffc4895.js → aisdk-native-4akpc52p.js} +175 -175
  49. package/dist/chunks/{agent-xb50yt4b.js → aisdk-native-4nzwy074.js} +4 -4
  50. package/dist/chunks/{agent-60ad9rv0.js → aisdk-native-4rprvedw.js} +4 -4
  51. package/dist/chunks/{agent-53b0rrzj.js → aisdk-native-4tjpkstn.js} +8 -8
  52. package/dist/chunks/{agent-4ts7tf6z.js → aisdk-native-4ts7tf6z.js} +2 -2
  53. package/dist/chunks/{agent-34jk9fw4.js → aisdk-native-4txfm3d9.js} +43 -43
  54. package/dist/chunks/{agent-8wbxkt1z.js → aisdk-native-4v7ngy20.js} +4 -4
  55. package/dist/chunks/{agent-4tf8d8dx.js → aisdk-native-4zcy3jkw.js} +18 -18
  56. package/dist/chunks/{agent-wzj0n8re.js → aisdk-native-54ekahc4.js} +20 -20
  57. package/dist/chunks/{agent-54ma36ye.js → aisdk-native-54ma36ye.js} +1 -1
  58. package/dist/chunks/{agent-g5w8qwbj.js → aisdk-native-57b9ws8p.js} +7 -7
  59. package/dist/chunks/{agent-jaebz25j.js → aisdk-native-57prnz8a.js} +21 -21
  60. package/dist/chunks/{agent-70qmtdqr.js → aisdk-native-57r30dv2.js} +4 -4
  61. package/dist/chunks/{agent-1pxz8ven.js → aisdk-native-5fykfdj7.js} +5 -5
  62. package/dist/chunks/{agent-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{agent-yvz9ed58.js → aisdk-native-5p6z4y9s.js} +27 -27
  64. package/dist/chunks/{agent-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{agent-bm5r2x23.js → aisdk-native-66715xqs.js} +9 -9
  66. package/dist/chunks/{agent-k3wsqf8m.js → aisdk-native-6hync52j.js} +17 -17
  67. package/dist/chunks/{agent-df4wnsyc.js → aisdk-native-6pc4cw79.js} +8 -8
  68. package/dist/chunks/{agent-6xb47vfp.js → aisdk-native-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{agent-bytn2a75.js → aisdk-native-6xmskbt3.js} +25 -25
  70. package/dist/chunks/{agent-f75zav2x.js → aisdk-native-71az546q.js} +2 -2
  71. package/dist/chunks/{agent-xdgf26t0.js → aisdk-native-726r25a1.js} +50 -50
  72. package/dist/chunks/{agent-3x10brz1.js → aisdk-native-75hw688q.js} +24 -24
  73. package/dist/chunks/{agent-g2jdef87.js → aisdk-native-77yxmx52.js} +15 -15
  74. package/dist/chunks/{agent-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{agent-hyhqhqng.js → aisdk-native-7erzr5x4.js} +20 -20
  76. package/dist/chunks/{agent-5fwy7qtq.js → aisdk-native-7fpa500x.js} +24 -24
  77. package/dist/chunks/{agent-pssbyqna.js → aisdk-native-7mhg6xnc.js} +11 -11
  78. package/dist/chunks/{agent-k6akpay6.js → aisdk-native-7vdwv0fr.js} +7 -7
  79. package/dist/chunks/{agent-84txncab.js → aisdk-native-84txncab.js} +1 -1
  80. package/dist/chunks/{agent-h4ckqw4f.js → aisdk-native-89rvcjqs.js} +8 -8
  81. package/dist/chunks/{agent-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{agent-8m6m0r52.js → aisdk-native-8m6m0r52.js} +1 -1
  83. package/dist/chunks/{agent-drja3na5.js → aisdk-native-8n2tw46q.js} +4 -4
  84. package/dist/chunks/{agent-jj72jhew.js → aisdk-native-8q61w4ba.js} +8 -8
  85. package/dist/chunks/{agent-2fb3gwja.js → aisdk-native-8ta39m8d.js} +8 -8
  86. package/dist/chunks/{agent-r4s2qx30.js → aisdk-native-8w9cdjf3.js} +15 -15
  87. package/dist/chunks/{agent-9ydfmhnz.js → aisdk-native-9202y59r.js} +11 -11
  88. package/dist/chunks/{agent-4m1hrhsh.js → aisdk-native-95630v8f.js} +16 -16
  89. package/dist/chunks/{agent-qe26s0zb.js → aisdk-native-97w5rk9e.js} +8 -8
  90. package/dist/chunks/{agent-pycw5ewz.js → aisdk-native-99tdg231.js} +11 -11
  91. package/dist/chunks/{agent-vwy11aat.js → aisdk-native-9b39j816.js} +30 -30
  92. package/dist/chunks/{agent-qkfezwh6.js → aisdk-native-9e4j78a5.js} +13 -13
  93. package/dist/chunks/{agent-kb9j3d72.js → aisdk-native-9e5bzkjp.js} +3 -3
  94. package/dist/chunks/{agent-p4d589tb.js → aisdk-native-9j0s0v2q.js} +20 -20
  95. package/dist/chunks/{agent-8qn05nvt.js → aisdk-native-9kmw7fq7.js} +32 -32
  96. package/dist/chunks/{agent-kvdxjy22.js → aisdk-native-9krn66e7.js} +35 -35
  97. package/dist/chunks/{agent-60cxrtvk.js → aisdk-native-9papzb1x.js} +18 -18
  98. package/dist/chunks/{agent-qkpjj9ac.js → aisdk-native-9swdtjav.js} +11 -11
  99. package/dist/chunks/{agent-1avzj5a4.js → aisdk-native-9w72a531.js} +5 -5
  100. package/dist/chunks/{agent-mhkvc446.js → aisdk-native-a1gpj94z.js} +3 -3
  101. package/dist/chunks/{agent-qzft0t50.js → aisdk-native-a25mqfd0.js} +13 -13
  102. package/dist/chunks/aisdk-native-a7z9sera.js +253 -0
  103. package/dist/chunks/{agent-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
  104. package/dist/chunks/aisdk-native-an8w4w7e.js +26 -0
  105. package/dist/chunks/{agent-7kfbngk0.js → aisdk-native-b628a289.js} +31 -31
  106. package/dist/chunks/{agent-r8gkc56r.js → aisdk-native-b62efeyb.js} +19 -19
  107. package/dist/chunks/{agent-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{agent-fqjrtems.js → aisdk-native-bfyngbwg.js} +9 -9
  109. package/dist/chunks/{agent-npggk2cd.js → aisdk-native-bkvpb7y5.js} +1 -1
  110. package/dist/chunks/{agent-0f3774ga.js → aisdk-native-bnhzkkkr.js} +18 -18
  111. package/dist/chunks/{agent-ve63rhgr.js → aisdk-native-bp1twqkv.js} +18 -18
  112. package/dist/chunks/{agent-g2f8320p.js → aisdk-native-bpkd89dr.js} +328 -328
  113. package/dist/chunks/{agent-50hhs4e6.js → aisdk-native-bwpwvx91.js} +21 -21
  114. package/dist/chunks/{agent-2vrgk9t0.js → aisdk-native-by5g92tw.js} +48 -48
  115. package/dist/chunks/{agent-4kq28rhv.js → aisdk-native-bz5av1rf.js} +13 -13
  116. package/dist/chunks/{agent-rp923gkf.js → aisdk-native-c0x32j5x.js} +3 -3
  117. package/dist/chunks/{agent-n4rf7hq3.js → aisdk-native-c6xptqrv.js} +16 -16
  118. package/dist/chunks/{agent-38zh28mh.js → aisdk-native-c8tfdkvr.js} +17 -17
  119. package/dist/chunks/{agent-jn18drpb.js → aisdk-native-cawkts3f.js} +3 -3
  120. package/dist/chunks/{agent-32wk8jnv.js → aisdk-native-chy0zwhc.js} +12 -12
  121. package/dist/chunks/{agent-2sejkfem.js → aisdk-native-cpneeje0.js} +9 -9
  122. package/dist/chunks/{agent-krp2pmht.js → aisdk-native-crjczd6m.js} +8 -8
  123. package/dist/chunks/{agent-rrpq0de9.js → aisdk-native-cstv7mkv.js} +12 -12
  124. package/dist/chunks/{agent-09f2g3x3.js → aisdk-native-cy9d01js.js} +11 -11
  125. package/dist/chunks/{agent-75n6fd6p.js → aisdk-native-cy9xa7g0.js} +5 -5
  126. package/dist/chunks/{agent-9mw40fmv.js → aisdk-native-d2jy7mm1.js} +9 -9
  127. package/dist/chunks/{agent-dpkg50ah.js → aisdk-native-dpkg50ah.js} +1 -1
  128. package/dist/chunks/{agent-69zsj03m.js → aisdk-native-dtn6vyr4.js} +32 -32
  129. package/dist/chunks/{agent-01ecqt4k.js → aisdk-native-dtst3g8f.js} +23 -23
  130. package/dist/chunks/{agent-vnj7mzs9.js → aisdk-native-dxj4v0g7.js} +3 -3
  131. package/dist/chunks/{agent-0n7e9av4.js → aisdk-native-e8g9mgdx.js} +24 -24
  132. package/dist/chunks/{agent-80qs70a6.js → aisdk-native-e9f28y7b.js} +24 -24
  133. package/dist/chunks/{agent-2k71kv7p.js → aisdk-native-eahhehpg.js} +4 -4
  134. package/dist/chunks/{agent-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{agent-4csxzq3k.js → aisdk-native-epms814b.js} +11 -11
  136. package/dist/chunks/{agent-zcgy7eak.js → aisdk-native-es4w4h4j.js} +11 -11
  137. package/dist/chunks/{agent-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{agent-g1k6myx5.js → aisdk-native-f1881gfp.js} +23 -23
  139. package/dist/chunks/{agent-bxq47dsz.js → aisdk-native-f1cby1h8.js} +20 -20
  140. package/dist/chunks/{agent-sw2d3bkm.js → aisdk-native-f66yvs9w.js} +32 -32
  141. package/dist/chunks/{agent-8zm3y681.js → aisdk-native-facf8rnd.js} +10 -10
  142. package/dist/chunks/{agent-0y23x04a.js → aisdk-native-fbh9pqtx.js} +1 -1
  143. package/dist/chunks/{agent-jy3cj7eq.js → aisdk-native-fdmpc3vm.js} +11 -11
  144. package/dist/chunks/{agent-v14x16y2.js → aisdk-native-fp7wgddj.js} +33 -33
  145. package/dist/chunks/{agent-v0es1rhs.js → aisdk-native-fpecnkgp.js} +9 -9
  146. package/dist/chunks/{agent-4tnyyry3.js → aisdk-native-fyeq03r8.js} +11 -11
  147. package/dist/chunks/{agent-3b2beane.js → aisdk-native-g3n6nq7m.js} +4 -4
  148. package/dist/chunks/{agent-70x8d8z5.js → aisdk-native-gctpkjda.js} +7 -7
  149. package/dist/chunks/{agent-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
  150. package/dist/chunks/aisdk-native-gdfaxp8g.js +91 -0
  151. package/dist/chunks/{agent-ygdna4kr.js → aisdk-native-gj71zhbs.js} +5 -5
  152. package/dist/chunks/{agent-xcmk6yw7.js → aisdk-native-gn31e51v.js} +9 -9
  153. package/dist/chunks/{agent-r6ejj6pg.js → aisdk-native-gn5182s9.js} +4 -4
  154. package/dist/chunks/{agent-6v4bajpc.js → aisdk-native-gnc4m5av.js} +23 -23
  155. package/dist/chunks/{agent-nzg7aet1.js → aisdk-native-gnraxr64.js} +32 -32
  156. package/dist/chunks/{agent-6z3egmv2.js → aisdk-native-gt4yqs4w.js} +43 -43
  157. package/dist/chunks/{agent-c0ssjtz7.js → aisdk-native-gvhkxsws.js} +30 -30
  158. package/dist/chunks/{agent-3cegwx68.js → aisdk-native-h2b79v29.js} +2 -2
  159. package/dist/chunks/{agent-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{agent-a7sd4fz4.js → aisdk-native-h96w7myx.js} +45 -45
  161. package/dist/chunks/{agent-pxx1vnz7.js → aisdk-native-hcnvgjpm.js} +46 -46
  162. package/dist/chunks/{agent-sr2efa4s.js → aisdk-native-hr76s594.js} +20 -20
  163. package/dist/chunks/{agent-5jvqttxh.js → aisdk-native-j0kvqywh.js} +48 -48
  164. package/dist/chunks/{agent-w896f4fg.js → aisdk-native-j0qqh2fr.js} +5 -5
  165. package/dist/chunks/{agent-rpjgfq5s.js → aisdk-native-j1mj860n.js} +9 -9
  166. package/dist/chunks/{agent-z22c8rkj.js → aisdk-native-j2ncb1sa.js} +32 -32
  167. package/dist/chunks/{agent-4aa4h2tq.js → aisdk-native-j3agjwjk.js} +9 -9
  168. package/dist/chunks/{agent-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
  169. package/dist/chunks/{agent-h021bcx5.js → aisdk-native-jgnyc2fs.js} +4 -4
  170. package/dist/chunks/{agent-ky10a555.js → aisdk-native-jgymmy77.js} +29 -29
  171. package/dist/chunks/{agent-t6s225qj.js → aisdk-native-jhzr7srw.js} +3 -3
  172. package/dist/chunks/{agent-ywa4fvrr.js → aisdk-native-k9cay8kk.js} +7 -7
  173. package/dist/chunks/{agent-8wyrfe92.js → aisdk-native-kc8ncmcx.js} +15 -15
  174. package/dist/chunks/{agent-dhhd1vbx.js → aisdk-native-kdz3a46v.js} +3 -3
  175. package/dist/chunks/{agent-5ddxkfw1.js → aisdk-native-kp00fsy8.js} +11 -11
  176. package/dist/chunks/{agent-bsprd9wx.js → aisdk-native-ktjxw1bv.js} +3 -3
  177. package/dist/chunks/{agent-a8bn8zg0.js → aisdk-native-kvvk39gs.js} +4 -4
  178. package/dist/chunks/{agent-17a1tqh7.js → aisdk-native-kye38093.js} +9 -9
  179. package/dist/chunks/{agent-m3fdjcah.js → aisdk-native-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{agent-qp9jc1mv.js → aisdk-native-m3ktjrx8.js} +10 -10
  181. package/dist/chunks/{agent-hz0q9sdq.js → aisdk-native-m6f3t844.js} +8 -8
  182. package/dist/chunks/{agent-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{agent-17y12t5p.js → aisdk-native-mcjjfw9s.js} +32 -32
  184. package/dist/chunks/{agent-3mze8wzh.js → aisdk-native-me1thta9.js} +9 -9
  185. package/dist/chunks/{agent-783n2z95.js → aisdk-native-mhka2p0v.js} +45 -43
  186. package/dist/chunks/{agent-mbykdfpv.js → aisdk-native-mncjczse.js} +20 -20
  187. package/dist/chunks/{agent-sjma2msx.js → aisdk-native-mnz93xcd.js} +14 -14
  188. package/dist/chunks/{agent-m49t4hg9.js → aisdk-native-mthe07d4.js} +9 -9
  189. package/dist/chunks/{agent-2e77a8f5.js → aisdk-native-mvv9kg7n.js} +5 -5
  190. package/dist/chunks/{agent-wzjkwdy5.js → aisdk-native-mx0srs18.js} +21 -21
  191. package/dist/chunks/{agent-addxnjmp.js → aisdk-native-mxvxcxwy.js} +4 -4
  192. package/dist/chunks/{agent-df6sr8b1.js → aisdk-native-my3kb762.js} +3 -3
  193. package/dist/chunks/{agent-92fekpt5.js → aisdk-native-n0m7e9v2.js} +18 -18
  194. package/dist/chunks/{agent-t1508zf8.js → aisdk-native-n6jbr756.js} +32 -32
  195. package/dist/chunks/{agent-qhtf5qxw.js → aisdk-native-n8mb64fn.js} +14 -14
  196. package/dist/chunks/{agent-xc4vgfep.js → aisdk-native-ng9m30gk.js} +7 -7
  197. package/dist/chunks/{agent-7bxb7yfv.js → aisdk-native-nsypx438.js} +5 -5
  198. package/dist/chunks/{agent-qgzqj7st.js → aisdk-native-nx0rhcr0.js} +26 -26
  199. package/dist/chunks/{agent-g0445xdp.js → aisdk-native-p37cw4rj.js} +8 -8
  200. package/dist/chunks/{agent-vacv67ne.js → aisdk-native-p7a2r2f0.js} +26 -26
  201. package/dist/chunks/{agent-qm0v3jhh.js → aisdk-native-pbfwh0cy.js} +4 -4
  202. package/dist/chunks/{agent-gwes1t3r.js → aisdk-native-pd1gqwv6.js} +11 -11
  203. package/dist/chunks/{agent-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{agent-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
  205. package/dist/chunks/{agent-x24sx9jz.js → aisdk-native-pkxfpd18.js} +6 -6
  206. package/dist/chunks/{agent-he27pt63.js → aisdk-native-pnzf6mjf.js} +1 -1
  207. package/dist/chunks/{agent-6dndsv1v.js → aisdk-native-ppyhspf8.js} +81 -81
  208. package/dist/chunks/{agent-q0xm7vwc.js → aisdk-native-q0xm7vwc.js} +2 -2
  209. package/dist/chunks/{agent-2ycfdwj0.js → aisdk-native-q1th6fp8.js} +19 -19
  210. package/dist/chunks/aisdk-native-q509s3k3.js +18 -0
  211. package/dist/chunks/{agent-1kx28c4g.js → aisdk-native-qc4h0gvw.js} +24 -24
  212. package/dist/chunks/{agent-hbyhqfhs.js → aisdk-native-qdbakdjh.js} +5 -5
  213. package/dist/chunks/{agent-a5s40ca3.js → aisdk-native-qepyfg6g.js} +36 -36
  214. package/dist/chunks/{agent-7dqw4kz8.js → aisdk-native-qgn6gcr1.js} +5 -5
  215. package/dist/chunks/{agent-qnc92qwc.js → aisdk-native-qnc92qwc.js} +1 -1
  216. package/dist/chunks/{agent-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
  217. package/dist/chunks/{agent-phybfz0m.js → aisdk-native-qth6xygn.js} +22 -22
  218. package/dist/chunks/{agent-pgk2w5kh.js → aisdk-native-r00xt3c5.js} +16 -16
  219. package/dist/chunks/{agent-khq01eb0.js → aisdk-native-ra4hc0m4.js} +13 -13
  220. package/dist/chunks/{agent-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{agent-zyvf4acx.js → aisdk-native-rhz4vksc.js} +15 -15
  222. package/dist/chunks/{agent-3hrkjtqs.js → aisdk-native-rprrwjpj.js} +34 -34
  223. package/dist/chunks/{agent-e126kanh.js → aisdk-native-rrgbm1gv.js} +15 -15
  224. package/dist/chunks/{agent-ykt494b9.js → aisdk-native-rz911c4y.js} +4 -4
  225. package/dist/chunks/{agent-9qz784v3.js → aisdk-native-s1hj9k30.js} +12 -12
  226. package/dist/chunks/{agent-at1kfnmk.js → aisdk-native-s5met55r.js} +8 -8
  227. package/dist/chunks/{agent-9t7a50xb.js → aisdk-native-s8d7rejh.js} +4 -4
  228. package/dist/chunks/{agent-b3f8fkhc.js → aisdk-native-scgrse2b.js} +5 -5
  229. package/dist/chunks/{agent-kdrrv2mr.js → aisdk-native-shk4ffnk.js} +13 -13
  230. package/dist/chunks/{agent-d2t612qt.js → aisdk-native-shw3b6bh.js} +24 -24
  231. package/dist/chunks/{agent-vx3jgdek.js → aisdk-native-sjgsw2hk.js} +3 -3
  232. package/dist/chunks/{agent-9jbytkdk.js → aisdk-native-skxptfe8.js} +10 -10
  233. package/dist/chunks/{agent-9x7p2px1.js → aisdk-native-st4vqgcn.js} +83 -83
  234. package/dist/chunks/{agent-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{agent-dfk0hq18.js → aisdk-native-tb7dkz7m.js} +5 -5
  236. package/dist/chunks/{agent-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{agent-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
  238. package/dist/chunks/{agent-sqhn9v6r.js → aisdk-native-tf2z4qss.js} +10 -10
  239. package/dist/chunks/{agent-k2s48day.js → aisdk-native-tfb60e5g.js} +17 -17
  240. package/dist/chunks/{agent-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
  241. package/dist/chunks/{agent-d1e7bkxv.js → aisdk-native-vjtzpg72.js} +11 -11
  242. package/dist/chunks/{agent-kbf5pbb1.js → aisdk-native-vv80c9ym.js} +4 -4
  243. package/dist/chunks/{agent-vzs5sf6e.js → aisdk-native-vzs5sf6e.js} +1 -1
  244. package/dist/chunks/{agent-72f347q0.js → aisdk-native-w05zr4jj.js} +12 -12
  245. package/dist/chunks/{agent-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{agent-3a3naqap.js → aisdk-native-w5rwm3pc.js} +12 -12
  247. package/dist/chunks/{agent-pff5wb6z.js → aisdk-native-w8wme0n9.js} +45 -45
  248. package/dist/chunks/{agent-cfsekr6v.js → aisdk-native-w92k2e0p.js} +8 -8
  249. package/dist/chunks/{agent-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
  250. package/dist/chunks/{agent-z9hfw5dg.js → aisdk-native-wjmafqd5.js} +13 -13
  251. package/dist/chunks/{agent-xjn29gxn.js → aisdk-native-wxg63wf5.js} +8 -8
  252. package/dist/chunks/{agent-57hhra39.js → aisdk-native-x2y2beh6.js} +24 -24
  253. package/dist/chunks/{agent-5t5t0qrb.js → aisdk-native-x861zb6t.js} +2 -2
  254. package/dist/chunks/{agent-gt93e3y9.js → aisdk-native-x92jmdhy.js} +9 -9
  255. package/dist/chunks/{agent-f6em7jw0.js → aisdk-native-xdnyfx8g.js} +21 -21
  256. package/dist/chunks/{agent-gjh3yp6z.js → aisdk-native-xen2mb01.js} +46 -46
  257. package/dist/chunks/{agent-ywp8qspf.js → aisdk-native-xg9b4fj5.js} +39 -39
  258. package/dist/chunks/{agent-xkntkrq7.js → aisdk-native-xkntkrq7.js} +2 -2
  259. package/dist/chunks/{agent-3xk1rpza.js → aisdk-native-xr4t3wvj.js} +15 -15
  260. package/dist/chunks/{agent-c42xvehe.js → aisdk-native-xrdbg2s8.js} +6 -6
  261. package/dist/chunks/{agent-xyafkbt0.js → aisdk-native-xyafkbt0.js} +3 -3
  262. package/dist/chunks/{agent-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{agent-08teenj9.js → aisdk-native-y46h39kv.js} +14 -14
  264. package/dist/chunks/{agent-mqr4fbfx.js → aisdk-native-y4fcfbj0.js} +27 -27
  265. package/dist/chunks/{agent-cdp5f4xy.js → aisdk-native-y4fngaas.js} +4 -4
  266. package/dist/chunks/{agent-ha6rjgjm.js → aisdk-native-y9r3t0nz.js} +4 -4
  267. package/dist/chunks/{agent-5f6jwszr.js → aisdk-native-yatzzw06.js} +6 -6
  268. package/dist/chunks/{agent-ctf0de0w.js → aisdk-native-ygh1mgm9.js} +13 -13
  269. package/dist/chunks/{agent-amz1y0qj.js → aisdk-native-ymxtxbtw.js} +9 -9
  270. package/dist/chunks/{agent-nkf980df.js → aisdk-native-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{agent-xxnjzd11.js → aisdk-native-yp9n3qq0.js} +8 -8
  272. package/dist/chunks/{agent-tkyfsn3z.js → aisdk-native-yqgv6gkz.js} +20 -20
  273. package/dist/chunks/{agent-zsr4wwhv.js → aisdk-native-yrcj3v3g.js} +4 -4
  274. package/dist/chunks/{agent-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{agent-kjvhfavp.js → aisdk-native-zb4ffgsy.js} +14 -14
  276. package/dist/chunks/{agent-jmtwfqjc.js → aisdk-native-zbqc3x9d.js} +4 -4
  277. package/dist/chunks/{agent-70pf7916.js → aisdk-native-zd3tnf6p.js} +10 -10
  278. package/dist/chunks/{agent-3ewk37x2.js → aisdk-native-zey9nnz1.js} +35 -35
  279. package/dist/chunks/{agent-4y7zq890.js → aisdk-native-zh2zjdzr.js} +3 -3
  280. package/dist/chunks/{agent-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{agent-n01nrsz6.js → aisdk-native-zwgbb5k0.js} +28 -28
  282. package/dist/chunks/{agent-yk2xpxbj.js → aisdk-native-zwzkbcdw.js} +11 -11
  283. package/dist/chunks/{agent-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +115 -115
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +81 -81
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +93 -93
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +80 -80
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +101 -101
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +96 -96
  472. package/dist/model.js +98 -98
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +82 -82
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +74 -74
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +94 -94
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +74 -74
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +343 -343
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +99 -99
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +91 -91
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +87 -87
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +129 -129
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +214 -214
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +90 -90
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +127 -127
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +209 -209
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +124 -124
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +120 -120
  635. package/dist/tool/plugin/question.js +105 -105
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +5 -5
  646. package/dist/tool.js +14 -14
  647. package/dist/types/plugin/provider/amazon-bedrock.d.ts +2 -1
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +3 -3
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +82 -82
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +81 -81
  672. package/dist/workspace/driver.js +7 -7
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +78 -78
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +96 -96
  680. package/package.json +8 -8
  681. package/dist/chunks/agent-by5v678g.js +0 -18
  682. package/dist/chunks/agent-g5j8wg4z.js +0 -26
  683. package/dist/chunks/agent-skc08zz9.js +0 -47
  684. package/dist/chunks/agent-zsyvmmh7.js +0 -253
  685. /package/dist/chunks/{agent-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{agent-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{agent-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{agent-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{agent-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{agent-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{agent-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{agent-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{agent-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{agent-34c7v6d4.js → aisdk-native-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{agent-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{agent-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
  697. /package/dist/chunks/{agent-3t0ybcrp.js → aisdk-native-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{agent-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{agent-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{agent-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{agent-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{agent-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{agent-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{agent-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{agent-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
  706. /package/dist/chunks/{agent-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{agent-5qd3pb7m.js → aisdk-native-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{agent-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
  709. /package/dist/chunks/{agent-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{agent-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{agent-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{agent-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
  713. /package/dist/chunks/{agent-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{agent-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{agent-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{agent-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{agent-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{agent-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{agent-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{agent-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{agent-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{agent-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{agent-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{agent-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{agent-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{agent-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{agent-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{agent-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{agent-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{agent-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{agent-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
  732. /package/dist/chunks/{agent-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{agent-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{agent-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{agent-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{agent-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{agent-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{agent-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{agent-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{agent-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{agent-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{agent-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{agent-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{agent-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
  745. /package/dist/chunks/{agent-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{agent-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
  747. /package/dist/chunks/{agent-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
  748. /package/dist/chunks/{agent-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{agent-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{agent-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{agent-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{agent-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{agent-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{agent-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{agent-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{agent-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{agent-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{agent-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{agent-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{agent-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{agent-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{agent-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{agent-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{agent-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{agent-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{agent-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{agent-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{agent-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{agent-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{agent-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{agent-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{agent-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{agent-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{agent-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
  775. /package/dist/chunks/{agent-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{agent-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{agent-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{agent-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{agent-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{agent-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{agent-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./agent-dpkg50ah.js";
3
+ } from "./aisdk-native-dpkg50ah.js";
4
4
  import {
5
5
  Service83,
6
6
  node87
7
- } from "./agent-3b2beane.js";
7
+ } from "./aisdk-native-g3n6nq7m.js";
8
+ import {
9
+ Event18,
10
+ Service74,
11
+ node78
12
+ } from "./aisdk-native-e8g9mgdx.js";
8
13
  import {
9
- Event19,
10
14
  Service78,
11
15
  node82
12
- } from "./agent-0n7e9av4.js";
13
- import {
14
- Service80,
15
- node84
16
- } from "./agent-4m1hrhsh.js";
16
+ } from "./aisdk-native-95630v8f.js";
17
17
  import {
18
- Service58,
19
- node62
20
- } from "./agent-1kx28c4g.js";
18
+ Service50,
19
+ node52
20
+ } from "./aisdk-native-qc4h0gvw.js";
21
21
  import {
22
- ID16,
23
- Service79,
24
- node83
25
- } from "./agent-sy0w87q3.js";
22
+ ID14,
23
+ Service73,
24
+ node77
25
+ } from "./aisdk-native-0ckz0kcg.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./agent-rdw6cm16.js";
29
+ } from "./aisdk-native-rdw6cm16.js";
30
30
  import {
31
- ID14,
31
+ ID13,
32
32
  MethodID2,
33
- Service77,
34
- node81
35
- } from "./agent-vacv67ne.js";
33
+ Service72,
34
+ node76
35
+ } from "./aisdk-native-p7a2r2f0.js";
36
36
  import {
37
37
  __export
38
- } from "./agent-9rqn6x4v.js";
38
+ } from "./aisdk-native-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
- NotFoundError: () => NotFoundError5,
45
- Options: () => Options5,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service39,
52
+ Service: () => Service36,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured5,
56
- layer: () => layer16,
57
- node: () => node42
55
+ configured: () => configured4,
56
+ layer: () => layer15,
57
+ node: () => node39
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service39 extends Context.Service()("@opencode/MCP") {
106
+ class Service36 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options5 = Schema.Struct({
108
+ var Options4 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
115
- const location = yield* Service80;
116
- const environment = yield* Service58;
114
+ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
115
+ const location = yield* Service78;
116
+ const environment = yield* Service50;
117
117
  const bus = yield* Service83;
118
- const forms = yield* Service79;
119
- const integration = yield* Service77;
120
- const credentials = yield* Service78;
118
+ const forms = yield* Service73;
119
+ const integration = yield* Service72;
120
+ const credentials = yield* Service74;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID14.make(suffix);
132
+ const integrationID = ID13.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service74, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,19 +154,19 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError5({ server: name });
157
+ return yield* new NotFoundError4({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service74, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID16.create();
169
+ const formID = ID14.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service58, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service50, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service39.of({
423
+ return Service36.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured5(options) {
533
+ function configured4(options) {
534
534
  return makeLocationNode({
535
- service: Service39,
536
- layer: layer16(options),
537
- deps: [node84, node62, node87, node83, node81, node82]
535
+ service: Service36,
536
+ layer: layer15(options),
537
+ deps: [node82, node52, node87, node77, node76, node78]
538
538
  });
539
539
  }
540
- var node42 = configured5();
540
+ var node39 = configured4();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service39, Options5, layer16, configured5, node42, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service36, Options4, layer15, configured4, node39, exports_mcp4 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./agent-vnj7mzs9.js";
4
+ } from "./aisdk-native-dxj4v0g7.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./agent-dpkg50ah.js";
7
+ } from "./aisdk-native-dpkg50ah.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node64
12
- } from "./agent-jj72jhew.js";
11
+ node62
12
+ } from "./aisdk-native-8q61w4ba.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./agent-faypxj3z.js";
15
+ } from "./aisdk-native-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./agent-9rqn6x4v.js";
18
+ } from "./aisdk-native-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID7,
25
- Info: () => Info15,
24
+ ID: () => ID6,
25
+ Info: () => Info13,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service59,
27
+ Service: () => Service58,
28
28
  Workspace: () => exports_workspace,
29
29
  configured: () => configured11,
30
- node: () => node63
30
+ node: () => node61
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID7 = Workspace.ID;
38
+ var ID6 = Workspace.ID;
39
39
 
40
- class Info15 extends Schema.Class("Workspace.Info")({
41
- id: ID7,
40
+ class Info13 extends Schema.Class("Workspace.Info")({
41
+ id: ID6,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info15 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID7,
53
+ workspaceID: ID6,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service59 extends Context.Service()("@opencode/Workspace") {
59
+ class Service58 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
61
  var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service59,
62
+ service: Service58,
63
63
  layer: layer(options),
64
- deps: [node88, node64]
64
+ deps: [node88, node62]
65
65
  });
66
- var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
67
67
  const db = (yield* Service84).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info15({
83
+ const info = (row, binding) => new Info13({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service59.of({
157
+ return Service58.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID7.create();
159
+ const workspaceID = input.id ?? ID6.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node63 = configured11();
224
+ var node61 = configured11();
225
225
 
226
- export { ID7, Info15, NotFound3, CreateConflict2, Service59, configured11, node63, exports_workspace };
226
+ export { ID6, Info13, NotFound3, CreateConflict2, Service58, configured11, node61, exports_workspace };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./agent-vnj7mzs9.js";
4
+ } from "./aisdk-native-dxj4v0g7.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make22,
8
+ make21,
9
9
  combine2
10
- } from "./agent-9t7a50xb.js";
10
+ } from "./aisdk-native-s8d7rejh.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./agent-kb9j3d72.js";
13
+ } from "./aisdk-native-9e5bzkjp.js";
14
14
  import {
15
15
  __export
16
- } from "./agent-9rqn6x4v.js";
16
+ } from "./aisdk-native-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info6,
21
+ Info: () => Info4,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service33,
25
+ Service: () => Service32,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node37,
29
+ node: () => node35,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info6 = InstructionEntry.Info;
37
+ var Info4 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service33 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service32 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make22({
64
+ var source = (entry) => make21({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make22({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service33, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service33.of({ list, put, remove, load });
111
+ return Service32.of({ list, put, remove, load });
112
112
  }));
113
- var node37 = makeLocationNode({ service: Service33, layer, deps: [node88] });
113
+ var node35 = makeLocationNode({ service: Service32, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service33, node37, exports_instruction_entry };
115
+ export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node35, exports_instruction_entry };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./agent-emrn6kk6.js";
5
+ } from "./aisdk-native-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./agent-3b2beane.js";
5
+ } from "./aisdk-native-g3n6nq7m.js";
6
6
  import {
7
- Service70,
8
- node74
9
- } from "./agent-qp9jc1mv.js";
7
+ Service81,
8
+ node85
9
+ } from "./aisdk-native-m3ktjrx8.js";
10
10
  import {
11
11
  __export
12
- } from "./agent-9rqn6x4v.js";
12
+ } from "./aisdk-native-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event8,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service51,
22
+ Service: () => Service48,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node54,
26
- resolve: () => resolve3
25
+ node: () => node50,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service51 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service48 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event8 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service51, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service70;
80
+ const kv = yield* Service81;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event8.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service51.of({
115
+ return Service48.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event11.Updated, {});
128
+ yield* bus.publish(Event8.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event8.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node54 = makeGlobalNode({ service: Service51, layer, deps: [httpClient, node74, node87] });
146
+ var node50 = makeGlobalNode({ service: Service48, layer, deps: [httpClient, node85, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service51, Event11, inspect2, resolve3, node54, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service48, Event8, inspect2, resolve2, node50, exports_wellknown };
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./agent-3b2beane.js";
5
+ } from "./aisdk-native-g3n6nq7m.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make22,
10
+ make21,
11
11
  diffByKey2
12
- } from "./agent-9t7a50xb.js";
12
+ } from "./aisdk-native-s8d7rejh.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./agent-z5v4ffb3.js";
15
+ } from "./aisdk-native-z5v4ffb3.js";
16
16
  import {
17
17
  create3
18
- } from "./agent-rdw6cm16.js";
18
+ } from "./aisdk-native-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./agent-9rqn6x4v.js";
21
+ } from "./aisdk-native-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event8,
26
+ Event: () => Event6,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options6,
30
- Service: () => Service43,
31
- configured: () => configured6,
32
- layer: () => layer17,
33
- node: () => node46
29
+ Options: () => Options5,
30
+ Service: () => Service37,
31
+ configured: () => configured5,
32
+ layer: () => layer16,
33
+ node: () => node40
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event8 = {
45
+ var Event6 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options6 = Schema.Struct({
48
+ var Options5 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service37 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
55
+ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
56
56
  const bus = yield* Service83;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make22({
77
+ const source = (value) => make21({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service43.of({
93
+ return Service37.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured6(options) {
107
+ function configured5(options) {
108
108
  return makeLocationNode({
109
- service: Service43,
110
- layer: layer17(options),
109
+ service: Service37,
110
+ layer: layer16(options),
111
111
  deps: [node87]
112
112
  });
113
113
  }
114
- var node46 = configured6();
114
+ var node40 = configured5();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event8, Options6, Service43, layer17, configured6, node46, exports_instruction_discovery };
145
+ export { File2, Event6, Options5, Service37, layer16, configured5, node40, exports_instruction_discovery };