@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,37 +1,37 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./agent-3b2beane.js";
4
+ } from "./aisdk-native-g3n6nq7m.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./agent-4m1hrhsh.js";
6
+ Service78,
7
+ node82
8
+ } from "./aisdk-native-95630v8f.js";
9
9
  import {
10
- ID12,
11
- Service75,
12
- node79
13
- } from "./agent-wzjkwdy5.js";
10
+ ID18,
11
+ Service82,
12
+ node86
13
+ } from "./aisdk-native-mx0srs18.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./agent-bsprd9wx.js";
16
+ } from "./aisdk-native-ktjxw1bv.js";
17
17
  import {
18
- Service72,
19
- node76
20
- } from "./agent-sjma2msx.js";
18
+ Service65,
19
+ node69
20
+ } from "./aisdk-native-mnz93xcd.js";
21
21
  import {
22
22
  match2
23
- } from "./agent-y1fvbwt7.js";
23
+ } from "./aisdk-native-y1fvbwt7.js";
24
24
  import {
25
- Service73,
26
- node77
27
- } from "./agent-ddjcs144.js";
25
+ Service64,
26
+ node68
27
+ } from "./aisdk-native-2j1aj7pf.js";
28
28
  import {
29
- Service74,
30
- node78
31
- } from "./agent-at1kfnmk.js";
29
+ Service66,
30
+ node70
31
+ } from "./aisdk-native-s5met55r.js";
32
32
  import {
33
33
  __export
34
- } from "./agent-9rqn6x4v.js";
34
+ } from "./aisdk-native-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,8 +42,8 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event15,
46
- ID: () => ID9,
45
+ Event: () => Event13,
46
+ ID: () => ID8,
47
47
  NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
@@ -51,20 +51,20 @@ __export(exports_permission2, {
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service71,
54
+ Service: () => Service63,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node75
58
+ node: () => node67
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event15 } from "@opencode/schema/permission";
64
+ import { Event as Event13 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID9 = Permission.ID;
67
+ var ID8 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID9.pipe(Schema.optional),
80
+ id: ID8.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID12.pipe(Schema.optional)
82
+ agent: ID18.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID9,
85
+ requestID: ID8,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID9,
90
+ id: ID8,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID9
114
+ requestID: ID8
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service71 extends Context.Service()("@opencode/Permission") {
128
+ class Service63 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service71, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
- const location = yield* Service80;
133
- const agents = yield* Service75;
134
- const sessions = yield* Service72;
135
- const saved = yield* Service73;
136
- const hooks = yield* Service74;
132
+ const location = yield* Service78;
133
+ const agents = yield* Service82;
134
+ const sessions = yield* Service65;
135
+ const saved = yield* Service64;
136
+ const hooks = yield* Service66;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID9.create(),
189
+ id: input.id ?? ID8.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID9.create(), effect: "deny" };
214
+ return { id: input.id ?? ID8.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service71.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service63.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node75 = makeLocationNode({
303
- service: Service71,
302
+ var node67 = makeLocationNode({
303
+ service: Service63,
304
304
  layer,
305
- deps: [node87, node84, node79, node76, node77, node78]
305
+ deps: [node87, node82, node86, node69, node68, node70]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID9, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service71, node75, exports_permission2, Rule3, Ruleset2, Event15 };
308
+ export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service63, node67, exports_permission2, Rule3, Ruleset2, Event13 };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./aisdk-native-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service49
7
- } from "./agent-34jk9fw4.js";
6
+ Service46
7
+ } from "./aisdk-native-4txfm3d9.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./agent-2a5m3afh.js";
10
+ } from "./aisdk-native-2a5m3afh.js";
11
11
  import {
12
- Service58
13
- } from "./agent-1kx28c4g.js";
12
+ Service50
13
+ } from "./aisdk-native-qc4h0gvw.js";
14
14
  import {
15
- Service67
16
- } from "./agent-kywwc7qt.js";
15
+ Service43
16
+ } from "./aisdk-native-1vsqvsf0.js";
17
17
  import {
18
- Service71
19
- } from "./agent-a7sd4fz4.js";
18
+ Service63
19
+ } from "./aisdk-native-h96w7myx.js";
20
20
  import {
21
- Service18,
21
+ Service20,
22
22
  resolvePath2
23
- } from "./agent-60cxrtvk.js";
23
+ } from "./aisdk-native-9papzb1x.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./agent-vzs5sf6e.js";
29
+ } from "./aisdk-native-vzs5sf6e.js";
30
30
  import {
31
- Service53,
31
+ Service56,
32
32
  name15
33
- } from "./agent-4tf8d8dx.js";
33
+ } from "./aisdk-native-4zcy3jkw.js";
34
34
  import {
35
- NotFoundError6,
36
- Service47
37
- } from "./agent-gjh3yp6z.js";
35
+ NotFoundError5,
36
+ Service44
37
+ } from "./aisdk-native-xen2mb01.js";
38
38
  import {
39
- Service29
40
- } from "./agent-6dndsv1v.js";
39
+ Service24
40
+ } from "./aisdk-native-ppyhspf8.js";
41
41
  import {
42
42
  scan2
43
- } from "./agent-jmtwfqjc.js";
43
+ } from "./aisdk-native-zbqc3x9d.js";
44
44
  import {
45
45
  __export
46
- } from "./agent-9rqn6x4v.js";
46
+ } from "./aisdk-native-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input12,
53
- Plugin: () => Plugin30,
54
- ShellTool: () => exports_shell,
55
- name: () => name12
52
+ Input: () => Input3,
53
+ Plugin: () => Plugin39,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name3
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name12 = "shell";
59
+ var name3 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input12 = Schema.Struct({
73
+ var Input3 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin30 = {
119
+ var Plugin39 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service29;
123
- const jobs = yield* Service67;
122
+ const sessions = yield* Service24;
123
+ const jobs = yield* Service43;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service58;
126
- const access = yield* Service18;
127
- const shell = yield* Service47;
128
- const shellSelect = yield* Service53;
125
+ const environment = yield* Service50;
126
+ const access = yield* Service20;
127
+ const shell = yield* Service44;
128
+ const shellSelect = yield* Service56;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service71;
131
- const config = yield* Service49;
130
+ const permission = yield* Service63;
131
+ const config = yield* Service46;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin30 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name12,
150
+ action: name3,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin30 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name12,
187
+ name: name3,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input12,
190
+ input: Input3,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -210,7 +210,7 @@ var Plugin30 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError6({ id: info.id });
213
+ return yield* new NotFoundError5({ id: info.id });
214
214
  const output = output2(result);
215
215
  return {
216
216
  ...output,
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
224
224
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
225
225
  const job = yield* jobs.start({
226
226
  id: info.id,
227
- type: name12,
227
+ type: name3,
228
228
  title: info.command,
229
229
  metadata: { sessionID: context.sessionID, shellID: info.id },
230
230
  recovery: {
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
254
254
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
255
255
  })).pipe(Effect.orDie);
256
256
  const hook = (event) => Effect.gen(function* () {
257
- const tool = event.tools[name12];
257
+ const tool = event.tools[name3];
258
258
  if (!tool)
259
259
  return;
260
260
  tool.description = description(name15(yield* compatibleShell));
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
265
265
  })
266
266
  };
267
267
 
268
- export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin30, exports_shell };
268
+ export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin39, exports_shell2 };
@@ -1,26 +1,26 @@
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
  ID5,
9
9
  Name2,
10
- available3,
11
- Service44,
12
- node47
13
- } from "./agent-92fekpt5.js";
10
+ available2,
11
+ Service54,
12
+ node56
13
+ } from "./aisdk-native-n0m7e9v2.js";
14
14
  import {
15
15
  __export
16
- } from "./agent-9rqn6x4v.js";
16
+ } from "./aisdk-native-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions5 = {};
20
- __export(exports_instructions5, {
21
- Service: () => Service40,
22
- SkillInstructions: () => exports_instructions5,
23
- node: () => node43
19
+ var exports_instructions3 = {};
20
+ __export(exports_instructions3, {
21
+ Service: () => Service29,
22
+ SkillInstructions: () => exports_instructions3,
23
+ node: () => node31
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
@@ -60,14 +60,14 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service40 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service29 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service40, Effect.gen(function* () {
66
- const skills = yield* Service44;
67
- return Service40.of({
65
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
66
+ const skills = yield* Service54;
67
+ return Service29.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
- const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make22({
69
+ const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
+ return make21({
71
71
  key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node43 = makeLocationNode({ service: Service40, layer, deps: [node47] });
83
+ var node31 = makeLocationNode({ service: Service29, layer, deps: [node56] });
84
84
 
85
- export { Service40, node43, exports_instructions5 };
85
+ export { Service29, node31, exports_instructions3 };
@@ -1,63 +1,63 @@
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
  Service83,
7
7
  node87
8
- } from "./agent-3b2beane.js";
8
+ } from "./aisdk-native-g3n6nq7m.js";
9
9
  import {
10
- Service63,
11
- node67
12
- } from "./agent-v6gb7zv2.js";
10
+ Service40,
11
+ node42
12
+ } from "./aisdk-native-3ppptnan.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./agent-z5v4ffb3.js";
16
+ } from "./aisdk-native-z5v4ffb3.js";
17
17
  import {
18
- Service81,
19
- node85
20
- } from "./agent-ywp8qspf.js";
18
+ Service79,
19
+ node83
20
+ } from "./aisdk-native-xg9b4fj5.js";
21
21
  import {
22
22
  Ref4
23
- } from "./agent-4m1hrhsh.js";
23
+ } from "./aisdk-native-95630v8f.js";
24
24
  import {
25
- Service69,
26
- node73
27
- } from "./agent-fqjrtems.js";
25
+ Service77,
26
+ node81
27
+ } from "./aisdk-native-bfyngbwg.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./agent-gftt206x.js";
30
+ } from "./aisdk-native-gftt206x.js";
31
31
  import {
32
32
  NotFoundError9
33
- } from "./agent-bsprd9wx.js";
33
+ } from "./aisdk-native-ktjxw1bv.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./agent-ec1grn59.js";
36
+ } from "./aisdk-native-ec1grn59.js";
37
37
  import {
38
- Service61
39
- } from "./agent-rwm5vee1.js";
38
+ Service39
39
+ } from "./aisdk-native-06x8he3q.js";
40
40
  import {
41
- Service72,
42
- node76
43
- } from "./agent-sjma2msx.js";
41
+ Service65,
42
+ node69
43
+ } from "./aisdk-native-mnz93xcd.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service62,
48
- node66,
47
+ Service42,
48
+ node44,
49
49
  moveIDs2
50
- } from "./agent-57hhra39.js";
50
+ } from "./aisdk-native-x2y2beh6.js";
51
51
  import {
52
- Service60,
53
- node65
54
- } from "./agent-jjp4nc4f.js";
52
+ Service38,
53
+ node41
54
+ } from "./aisdk-native-08jnbt62.js";
55
55
  import {
56
56
  node34
57
- } from "./agent-khq01eb0.js";
57
+ } from "./aisdk-native-ra4hc0m4.js";
58
58
  import {
59
59
  __export
60
- } from "./agent-9rqn6x4v.js";
60
+ } from "./aisdk-native-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,7 +65,7 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service30,
68
+ Service: () => Service31,
69
69
  SessionMove: () => exports_move,
70
70
  node: () => node33
71
71
  });
@@ -83,17 +83,17 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service30 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service31 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service30, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service81;
92
- const locations = yield* Service69;
93
- const store = yield* Service72;
94
- const execution = yield* Service60;
95
- const instances = yield* Service63;
96
- const admission = yield* Service62;
91
+ const projects = yield* Service79;
92
+ const locations = yield* Service77;
93
+ const store = yield* Service65;
94
+ const execution = yield* Service38;
95
+ const instances = yield* Service40;
96
+ const admission = yield* Service42;
97
97
  const database = yield* Service84;
98
98
  const bus = yield* Service83;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service61.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service39.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service30.of({
136
+ return Service31.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -164,21 +164,21 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
164
164
  });
165
165
  }));
166
166
  var node33 = makeGlobalNode({
167
- service: Service30,
167
+ service: Service31,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node85,
173
- node73,
174
- node76,
175
- node65,
176
- node67,
177
- node66,
172
+ node83,
173
+ node81,
174
+ node69,
175
+ node41,
176
+ node42,
177
+ node44,
178
178
  node88,
179
179
  node87,
180
180
  node34
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service30, node33, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service31, node33, exports_move };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./agent-a7sd4fz4.js";
3
+ } from "./aisdk-native-h96w7myx.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./aisdk-native-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin11
12
+ Plugin: () => Plugin10
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin11 = define({
32
+ var Plugin10 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin11, exports_plan };
108
+ export { Plugin10, exports_plan };