@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,24 +1,24 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make22,
4
+ make21,
5
5
  diffByKey2
6
- } from "./agent-9t7a50xb.js";
6
+ } from "./aisdk-native-s8d7rejh.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./agent-3fc6dm20.js";
11
+ } from "./aisdk-native-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./agent-9rqn6x4v.js";
14
+ } from "./aisdk-native-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions4 = {};
18
- __export(exports_instructions4, {
19
- CodeModeInstructions: () => exports_instructions4,
17
+ var exports_instructions5 = {};
18
+ __export(exports_instructions5, {
19
+ CodeModeInstructions: () => exports_instructions5,
20
20
  make: () => make15,
21
- render: () => render2,
21
+ render: () => render3,
22
22
  update: () => update3
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
32
32
  - ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
33
33
 
34
34
  ## Available tools`;
35
- function render2(catalog) {
35
+ function render3(catalog) {
36
36
  if (catalog.total === 0)
37
37
  return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
38
38
  const tools = catalog.namespaces.flatMap((namespace) => {
@@ -46,7 +46,7 @@ ${tools.join(`
46
46
  function update3(previous, current) {
47
47
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
48
48
 
49
- ${render2(current)}`;
49
+ ${render3(current)}`;
50
50
  if (current.total === 0)
51
51
  return replacement;
52
52
  const previousComplete = previous.shown === previous.total;
@@ -113,16 +113,16 @@ var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
114
  var make15 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
- return make22({
116
+ return make21({
117
117
  key,
118
118
  codec,
119
119
  read: Effect.succeed(catalog),
120
120
  render: {
121
- initial: render2,
121
+ initial: render3,
122
122
  changed: update3,
123
123
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
124
124
  }
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update3, make15, exports_instructions4 };
128
+ export { render3, update3, make15, exports_instructions5 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./agent-qnc92qwc.js";
4
+ } from "./aisdk-native-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./agent-qfa1cgps.js";
7
+ } from "./aisdk-native-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./agent-3cegwx68.js";
10
+ } from "./aisdk-native-h2b79v29.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./aisdk-native-z5v4ffb3.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./agent-rrpq0de9.js";
5
+ Service80,
6
+ node84
7
+ } from "./aisdk-native-cstv7mkv.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./agent-84txncab.js";
13
+ } from "./aisdk-native-84txncab.js";
14
14
  import {
15
- Service70,
16
- node74
17
- } from "./agent-qp9jc1mv.js";
15
+ Service81,
16
+ node85
17
+ } from "./aisdk-native-m3ktjrx8.js";
18
18
  import {
19
19
  __export
20
- } from "./agent-9rqn6x4v.js";
20
+ } from "./aisdk-native-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service56,
33
+ Service: () => Service61,
34
34
  isError: () => isError2,
35
- node: () => node59,
35
+ node: () => node65,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service56 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service61 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service56, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service82;
106
+ const git = yield* Service80;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service70;
110
- return Service56.of({
109
+ const kv = yield* Service81;
110
+ return Service61.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node59 = makeGlobalNode({
171
- service: Service56,
170
+ var node65 = makeGlobalNode({
171
+ service: Service61,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node74]
173
+ deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node85]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service56, isError2, validateBranch2, node59, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service61, isError2, validateBranch2, node65, exports_repository_cache };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./agent-3b2beane.js";
4
+ } from "./aisdk-native-g3n6nq7m.js";
5
+ import {
6
+ Service73,
7
+ node77
8
+ } from "./aisdk-native-0ckz0kcg.js";
5
9
  import {
6
10
  Service79,
7
11
  node83
8
- } from "./agent-sy0w87q3.js";
9
- import {
10
- Service81,
11
- node85
12
- } from "./agent-ywp8qspf.js";
12
+ } from "./aisdk-native-xg9b4fj5.js";
13
13
  import {
14
14
  Ref4,
15
- Service80,
16
- node84
17
- } from "./agent-4m1hrhsh.js";
15
+ Service78,
16
+ node82
17
+ } from "./aisdk-native-95630v8f.js";
18
18
  import {
19
19
  canonical3
20
- } from "./agent-fqjrtems.js";
20
+ } from "./aisdk-native-bfyngbwg.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./agent-ec1grn59.js";
23
+ } from "./aisdk-native-ec1grn59.js";
24
24
  import {
25
- Service71,
26
- node75
27
- } from "./agent-a7sd4fz4.js";
25
+ Service63,
26
+ node67
27
+ } from "./aisdk-native-h96w7myx.js";
28
28
  import {
29
- Service23,
30
- node26
31
- } from "./agent-3xk1rpza.js";
29
+ Service62,
30
+ node66
31
+ } from "./aisdk-native-xr4t3wvj.js";
32
32
  import {
33
33
  __export
34
- } from "./agent-9rqn6x4v.js";
34
+ } from "./aisdk-native-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service12,
41
- node: () => node14
40
+ Service: () => Service22,
41
+ node: () => node24
42
42
  });
43
43
  import { Context, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service12 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service22 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service12, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
51
51
  const bus = yield* Service83;
52
- const location = yield* Service80;
53
- const permission = yield* Service71;
54
- const forms = yield* Service79;
55
- const rpc = yield* Service23;
56
- const project = yield* Service81;
52
+ const location = yield* Service78;
53
+ const permission = yield* Service63;
54
+ const forms = yield* Service73;
55
+ const rpc = yield* Service62;
56
+ const project = yield* Service79;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
75
75
  location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
76
76
  });
77
77
  }).pipe(Effect.uninterruptible));
78
- return Service12.of({
78
+ return Service22.of({
79
79
  isClosed: () => closed,
80
80
  shutdown
81
81
  });
82
82
  }));
83
- var node14 = makeLocationNode({
84
- service: Service12,
83
+ var node24 = makeLocationNode({
84
+ service: Service22,
85
85
  layer,
86
- deps: [node87, node84, node75, node85, node83, node26]
86
+ deps: [node87, node82, node67, node83, node77, node66]
87
87
  });
88
88
 
89
- export { Service12, node14, exports_location_lifecycle };
89
+ export { Service22, node24, exports_location_lifecycle };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./agent-2a5m3afh.js";
3
+ } from "./aisdk-native-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./agent-z5v4ffb3.js";
6
+ } from "./aisdk-native-z5v4ffb3.js";
7
7
  import {
8
- Service80
9
- } from "./agent-4m1hrhsh.js";
8
+ Service78
9
+ } from "./aisdk-native-95630v8f.js";
10
10
  import {
11
- Service58
12
- } from "./agent-1kx28c4g.js";
11
+ Service50
12
+ } from "./aisdk-native-qc4h0gvw.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service57
16
- } from "./agent-j8wc6b9w.js";
15
+ Service16
16
+ } from "./aisdk-native-370437fy.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./agent-ky10a555.js";
23
+ } from "./aisdk-native-jgymmy77.js";
24
24
  import {
25
- Service71
26
- } from "./agent-a7sd4fz4.js";
25
+ Service63
26
+ } from "./aisdk-native-h96w7myx.js";
27
27
  import {
28
- Service18
29
- } from "./agent-60cxrtvk.js";
28
+ Service20
29
+ } from "./aisdk-native-9papzb1x.js";
30
30
  import {
31
31
  __export
32
- } from "./agent-9rqn6x4v.js";
32
+ } from "./aisdk-native-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input8,
39
- Output: () => Output6,
40
- Plugin: () => Plugin25,
41
- name: () => name8,
42
- toModelContent: () => toModelContent4
38
+ Input: () => Input6,
39
+ Output: () => Output4,
40
+ Plugin: () => Plugin42,
41
+ name: () => name6,
42
+ toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name8 = "grep";
48
- var Input8 = Schema.Struct({
47
+ var name6 = "grep";
48
+ var Input6 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input8 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output6 = Schema.Array(Match2);
69
- var toModelContent4 = (matches, truncated = false) => {
68
+ var Output4 = Schema.Array(Match2);
69
+ var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin25 = {
86
+ var Plugin42 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service58;
90
- const ripgrep = yield* Service57;
91
- const location = yield* Service80;
92
- const access = yield* Service18;
93
- const permission = yield* Service71;
89
+ const environment = yield* Service50;
90
+ const ripgrep = yield* Service16;
91
+ const location = yield* Service78;
92
+ const access = yield* Service20;
93
+ const permission = yield* Service63;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name8,
95
+ name: name6,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input8,
99
- output: Output6,
98
+ input: Input6,
99
+ output: Output4,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name8,
105
+ action: name6,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin25 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent4(result.matches.map((match) => ({
147
+ content: toModelContent3(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin25 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name8, Input8, Output6, toModelContent4, Plugin25, exports_grep };
157
+ export { name6, Input6, Output4, toModelContent3, Plugin42, exports_grep };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./aisdk-native-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./agent-ywp8qspf.js";
6
+ } from "./aisdk-native-xg9b4fj5.js";
7
7
  import {
8
- Service80,
9
- node84
10
- } from "./agent-4m1hrhsh.js";
8
+ Service78,
9
+ node82
10
+ } from "./aisdk-native-95630v8f.js";
11
11
  import {
12
- Service71,
13
- node75
14
- } from "./agent-a7sd4fz4.js";
12
+ Service63,
13
+ node67
14
+ } from "./aisdk-native-h96w7myx.js";
15
15
  import {
16
16
  __export
17
- } from "./agent-9rqn6x4v.js";
17
+ } from "./aisdk-native-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service18,
26
- node: () => node20,
25
+ Service: () => Service20,
26
+ node: () => node22,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service18 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service20 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service18, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service80;
55
- const permission = yield* Service71;
54
+ const location = yield* Service78;
55
+ const permission = yield* Service63;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service18.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service20.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node20 = makeLocationNode({ service: Service18, layer, deps: [FSUtil.node, node84, node75] });
106
+ var node22 = makeLocationNode({ service: Service20, layer, deps: [FSUtil.node, node82, node67] });
107
107
 
108
- export { Kind2, ResolveInput2, Service18, resolvePath2, node20, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service20, resolvePath2, node22, exports_file_access };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./agent-5t3nmthw.js";
3
+ } from "./aisdk-native-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./aisdk-native-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service38,
11
+ Service: () => Service34,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer15,
13
+ layer: () => layer13,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node41
15
+ node: () => node37
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service38 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service38.of({ bind, close, closeAll });
370
+ return Service34.of({ bind, close, closeAll });
371
371
  }));
372
- var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node41 = makeGlobalNode({ service: Service38, layer: layer15, deps: [webSocketConstructor2] });
375
+ var node37 = makeGlobalNode({ service: Service34, layer: layer13, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service38, makeLayer2, layer15, node41, exports_model_transport };
377
+ export { Service34, makeLayer2, layer13, node37, exports_model_transport };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID13
3
- } from "./agent-c0ssjtz7.js";
2
+ ID12
3
+ } from "./aisdk-native-gvhkxsws.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./agent-6q2bdcd1.js";
6
+ } from "./aisdk-native-6q2bdcd1.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID12.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID12.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./agent-qaymkmh1.js";
3
+ } from "./aisdk-native-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make9(input) {
8
+ function make11(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make9 };
264
+ export { make11 };