@opencode/core 0.0.0-dev-20164 → 0.0.0-dev-20166

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{persistent-pty-ff10rxvd.js → aisdk-native-0411afek.js} +26 -26
  8. package/dist/chunks/{persistent-pty-zmrnz6me.js → aisdk-native-05w46678.js} +38 -38
  9. package/dist/chunks/{persistent-pty-8gxqpgph.js → aisdk-native-06x8he3q.js} +4 -4
  10. package/dist/chunks/{persistent-pty-zpp3pb8s.js → aisdk-native-09yyvjj6.js} +1 -1
  11. package/dist/chunks/{persistent-pty-pfs0r10v.js → aisdk-native-0f0h8b4n.js} +14 -14
  12. package/dist/chunks/{persistent-pty-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{persistent-pty-ssdqnhy0.js → aisdk-native-0pr3hkd7.js} +4 -4
  14. package/dist/chunks/{persistent-pty-mg504efd.js → aisdk-native-11zb40tz.js} +22 -22
  15. package/dist/chunks/{persistent-pty-yp2x3t23.js → aisdk-native-1acjjqhc.js} +4 -4
  16. package/dist/chunks/{persistent-pty-ymaxd8g1.js → aisdk-native-1b8tarq1.js} +27 -27
  17. package/dist/chunks/{persistent-pty-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{persistent-pty-aaccrgx2.js → aisdk-native-1ng7rx47.js} +7 -7
  19. package/dist/chunks/{persistent-pty-1y283654.js → aisdk-native-1y283654.js} +1 -1
  20. package/dist/chunks/{persistent-pty-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
  21. package/dist/chunks/{persistent-pty-yavnd24h.js → aisdk-native-22pe7en3.js} +30 -30
  22. package/dist/chunks/{persistent-pty-2402vzrj.js → aisdk-native-2402vzrj.js} +1 -1
  23. package/dist/chunks/{persistent-pty-z63w68vq.js → aisdk-native-29x78va6.js} +6 -6
  24. package/dist/chunks/{persistent-pty-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{persistent-pty-s61nhqp5.js → aisdk-native-2e3jnptq.js} +25 -25
  26. package/dist/chunks/{persistent-pty-evbgk2k8.js → aisdk-native-2f0bjgcj.js} +5 -5
  27. package/dist/chunks/{persistent-pty-335gx45g.js → aisdk-native-3cgcc5xm.js} +8 -8
  28. package/dist/chunks/{persistent-pty-w3x9v1nk.js → aisdk-native-3cwb9jzf.js} +8 -8
  29. package/dist/chunks/{persistent-pty-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{persistent-pty-5xpb6q0y.js → aisdk-native-3fcjbxc2.js} +8 -8
  31. package/dist/chunks/{persistent-pty-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{persistent-pty-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
  33. package/dist/chunks/{persistent-pty-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
  34. package/dist/chunks/{persistent-pty-6vna95zw.js → aisdk-native-3wr25a2m.js} +16 -16
  35. package/dist/chunks/{persistent-pty-3f6m2wqe.js → aisdk-native-3xmjfq4c.js} +4 -4
  36. package/dist/chunks/{persistent-pty-3zsf4n22.js → aisdk-native-3zsf4n22.js} +1 -1
  37. package/dist/chunks/{persistent-pty-wwx8h3qn.js → aisdk-native-4a1s5xyh.js} +16 -16
  38. package/dist/chunks/{persistent-pty-c98refcx.js → aisdk-native-4exk4ph0.js} +27 -27
  39. package/dist/chunks/{persistent-pty-1adxqfwa.js → aisdk-native-4gsvhmqq.js} +26 -26
  40. package/dist/chunks/{persistent-pty-dq65fn51.js → aisdk-native-4k3j2nfq.js} +8 -8
  41. package/dist/chunks/{persistent-pty-pe71matz.js → aisdk-native-4vhbetej.js} +6 -6
  42. package/dist/chunks/{persistent-pty-741j3ryy.js → aisdk-native-4xekqt84.js} +20 -20
  43. package/dist/chunks/{persistent-pty-rez8drcy.js → aisdk-native-52b8k7fd.js} +3 -3
  44. package/dist/chunks/{persistent-pty-1qbqvybc.js → aisdk-native-569tvpx5.js} +11 -11
  45. package/dist/chunks/{persistent-pty-56gdpj1q.js → aisdk-native-56gdpj1q.js} +2 -2
  46. package/dist/chunks/{persistent-pty-57ez7d0k.js → aisdk-native-57ez7d0k.js} +2 -2
  47. package/dist/chunks/{persistent-pty-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
  48. package/dist/chunks/{persistent-pty-6rvajrnc.js → aisdk-native-5k97zg4w.js} +1 -1
  49. package/dist/chunks/{persistent-pty-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
  50. package/dist/chunks/{persistent-pty-jt30h5qe.js → aisdk-native-5t9pv2sj.js} +24 -24
  51. package/dist/chunks/{persistent-pty-tfz634vt.js → aisdk-native-5trnyhv0.js} +20 -20
  52. package/dist/chunks/{persistent-pty-kcpg680q.js → aisdk-native-5vq5pev8.js} +7 -7
  53. package/dist/chunks/{persistent-pty-5xpznt2d.js → aisdk-native-5xpznt2d.js} +4 -4
  54. package/dist/chunks/{persistent-pty-4cpjpwjg.js → aisdk-native-5yqszg3x.js} +32 -32
  55. package/dist/chunks/{persistent-pty-p1zpfjkz.js → aisdk-native-607q5haz.js} +5 -5
  56. package/dist/chunks/{persistent-pty-ghx2a3j9.js → aisdk-native-60e0rhdg.js} +43 -43
  57. package/dist/chunks/{persistent-pty-y1rr13hx.js → aisdk-native-618bv1wb.js} +33 -33
  58. package/dist/chunks/{persistent-pty-e1hqtx3n.js → aisdk-native-63zd7t47.js} +9 -9
  59. package/dist/chunks/{persistent-pty-2j1qtvzq.js → aisdk-native-65r4ge80.js} +2 -2
  60. package/dist/chunks/{persistent-pty-669tq793.js → aisdk-native-669tq793.js} +1 -1
  61. package/dist/chunks/{persistent-pty-2pgqb13s.js → aisdk-native-6msatqvv.js} +24 -24
  62. package/dist/chunks/{persistent-pty-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{persistent-pty-ca1a2yzy.js → aisdk-native-6sxk18qx.js} +16 -16
  64. package/dist/chunks/{persistent-pty-66fb0720.js → aisdk-native-6sy2xapb.js} +25 -25
  65. package/dist/chunks/{persistent-pty-31eqtkvq.js → aisdk-native-6tvegmjw.js} +13 -13
  66. package/dist/chunks/{persistent-pty-g8d3gcyj.js → aisdk-native-73gmm198.js} +7 -7
  67. package/dist/chunks/{persistent-pty-j64qgxzw.js → aisdk-native-76nxygtj.js} +17 -17
  68. package/dist/chunks/{persistent-pty-vxkszqwd.js → aisdk-native-7ab805y6.js} +2 -2
  69. package/dist/chunks/{persistent-pty-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{persistent-pty-ferhwsec.js → aisdk-native-7ca7p8ak.js} +80 -80
  71. package/dist/chunks/{persistent-pty-23pqda6t.js → aisdk-native-7ebn0nc0.js} +6 -6
  72. package/dist/chunks/{persistent-pty-sdtemf1j.js → aisdk-native-7ff0b6qm.js} +20 -20
  73. package/dist/chunks/{persistent-pty-hkfg6fzm.js → aisdk-native-7gvwkz6m.js} +5 -5
  74. package/dist/chunks/{persistent-pty-fwh42rj0.js → aisdk-native-7hkajg4n.js} +1 -1
  75. package/dist/chunks/{persistent-pty-h896pcm5.js → aisdk-native-7n6vh58r.js} +6 -6
  76. package/dist/chunks/{persistent-pty-01nnymx6.js → aisdk-native-7q4g3gpc.js} +15 -15
  77. package/dist/chunks/{persistent-pty-8jh6age2.js → aisdk-native-7r1bdjm6.js} +11 -11
  78. package/dist/chunks/{persistent-pty-qcf4k6mm.js → aisdk-native-7v2swv69.js} +26 -26
  79. package/dist/chunks/{persistent-pty-wkcf81jx.js → aisdk-native-7xrm22xg.js} +22 -22
  80. package/dist/chunks/{persistent-pty-x2e89f7h.js → aisdk-native-85p9nrpp.js} +4 -4
  81. package/dist/chunks/{persistent-pty-xf0nr9dv.js → aisdk-native-8b6wz1s2.js} +4 -4
  82. package/dist/chunks/{persistent-pty-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{persistent-pty-vk7c57nq.js → aisdk-native-8qgz5w83.js} +6 -6
  84. package/dist/chunks/{persistent-pty-ss1emqjf.js → aisdk-native-8tqe74jz.js} +13 -13
  85. package/dist/chunks/{persistent-pty-94ek1h2f.js → aisdk-native-94ek1h2f.js} +2 -2
  86. package/dist/chunks/{persistent-pty-6qxa4z0k.js → aisdk-native-964bf8jp.js} +9 -9
  87. package/dist/chunks/{persistent-pty-anf3dr2h.js → aisdk-native-985xde3f.js} +11 -11
  88. package/dist/chunks/{persistent-pty-994b2pxg.js → aisdk-native-9b00c1fb.js} +5 -5
  89. package/dist/chunks/{persistent-pty-5xfxk5qj.js → aisdk-native-9fmezh6z.js} +2 -2
  90. package/dist/chunks/{persistent-pty-5dtfwc66.js → aisdk-native-9reax6ey.js} +11 -11
  91. package/dist/chunks/{persistent-pty-bmqevcy4.js → aisdk-native-a1rbk2ft.js} +20 -20
  92. package/dist/chunks/{persistent-pty-j8mh8b5n.js → aisdk-native-a1tgash3.js} +41 -41
  93. package/dist/chunks/{persistent-pty-gszzdtem.js → aisdk-native-a4gez6gy.js} +33 -33
  94. package/dist/chunks/{persistent-pty-fe6vq8tg.js → aisdk-native-a5xs7f5d.js} +1 -1
  95. package/dist/chunks/{persistent-pty-hz0regp5.js → aisdk-native-a9gdze24.js} +7 -7
  96. package/dist/chunks/{persistent-pty-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
  97. package/dist/chunks/{persistent-pty-7k3j8est.js → aisdk-native-b67v1h81.js} +12 -12
  98. package/dist/chunks/{persistent-pty-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{persistent-pty-x6nw1v8c.js → aisdk-native-b7v9mr6d.js} +3 -3
  100. package/dist/chunks/{persistent-pty-stpqtxx6.js → aisdk-native-b7wq8w3g.js} +11 -11
  101. package/dist/chunks/{persistent-pty-jexxy024.js → aisdk-native-ba07h9gm.js} +3 -3
  102. package/dist/chunks/{persistent-pty-5230006x.js → aisdk-native-badk0g9a.js} +6 -6
  103. package/dist/chunks/{persistent-pty-t5eky83d.js → aisdk-native-be9hed2s.js} +14 -14
  104. package/dist/chunks/{persistent-pty-2neap1z6.js → aisdk-native-benftw9y.js} +8 -8
  105. package/dist/chunks/{persistent-pty-ftey8pzc.js → aisdk-native-bh68jfm4.js} +12 -12
  106. package/dist/chunks/{persistent-pty-jpbdh4v2.js → aisdk-native-bm24h9b0.js} +22 -22
  107. package/dist/chunks/{persistent-pty-8aywcm47.js → aisdk-native-bt3m5npt.js} +3 -3
  108. package/dist/chunks/{persistent-pty-r8bbrrkb.js → aisdk-native-bv15qszz.js} +18 -18
  109. package/dist/chunks/{persistent-pty-0t93asss.js → aisdk-native-bzz3j4kr.js} +5 -5
  110. package/dist/chunks/{persistent-pty-296b5s0h.js → aisdk-native-c834wpnp.js} +8 -8
  111. package/dist/chunks/{persistent-pty-ckecvw8r.js → aisdk-native-ckecvw8r.js} +2 -2
  112. package/dist/chunks/{persistent-pty-a3r4dcrj.js → aisdk-native-cmkj70ft.js} +2 -2
  113. package/dist/chunks/{persistent-pty-d4he2qe1.js → aisdk-native-cpneeje0.js} +5 -5
  114. package/dist/chunks/{persistent-pty-xnv07p9r.js → aisdk-native-cvpmzx8n.js} +11 -11
  115. package/dist/chunks/{persistent-pty-d3dx1kx7.js → aisdk-native-d5xmbf4y.js} +22 -22
  116. package/dist/chunks/{persistent-pty-47fq69fq.js → aisdk-native-de92ghnc.js} +4 -4
  117. package/dist/chunks/{persistent-pty-s6dskvww.js → aisdk-native-df2tmfns.js} +6 -6
  118. package/dist/chunks/{persistent-pty-rsq3dspb.js → aisdk-native-df338s40.js} +24 -24
  119. package/dist/chunks/{persistent-pty-dfe8djrf.js → aisdk-native-dfe8djrf.js} +1 -1
  120. package/dist/chunks/{persistent-pty-11jghh1r.js → aisdk-native-dmag7nky.js} +24 -24
  121. package/dist/chunks/{persistent-pty-dpkg50ah.js → aisdk-native-dpkg50ah.js} +1 -1
  122. package/dist/chunks/{persistent-pty-9vbqd6fz.js → aisdk-native-dqt2sq0z.js} +16 -16
  123. package/dist/chunks/{persistent-pty-sd0s3djk.js → aisdk-native-dqttg4zw.js} +7 -7
  124. package/dist/chunks/{persistent-pty-je0jfj0e.js → aisdk-native-dsgp01fg.js} +6 -6
  125. package/dist/chunks/{persistent-pty-rkeedwdt.js → aisdk-native-e22y3be9.js} +22 -22
  126. package/dist/chunks/{persistent-pty-5qd3pb7m.js → aisdk-native-e3qxr5gk.js} +2 -2
  127. package/dist/chunks/{persistent-pty-46jya41g.js → aisdk-native-e74f9w2k.js} +7 -7
  128. package/dist/chunks/{persistent-pty-ywptq5a1.js → aisdk-native-e9mqmqx1.js} +4 -4
  129. package/dist/chunks/aisdk-native-eat1ev4j.js +252 -0
  130. package/dist/chunks/{persistent-pty-q39ggtte.js → aisdk-native-ecek39m2.js} +21 -21
  131. package/dist/chunks/{persistent-pty-ecfe7b91.js → aisdk-native-ecfe7b91.js} +2 -2
  132. package/dist/chunks/{persistent-pty-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{persistent-pty-8e2svszp.js → aisdk-native-eha5251d.js} +6 -6
  134. package/dist/chunks/{persistent-pty-aneetawy.js → aisdk-native-ek869srh.js} +22 -22
  135. package/dist/chunks/{persistent-pty-dh5j4tq6.js → aisdk-native-eksyns0b.js} +14 -14
  136. package/dist/chunks/{persistent-pty-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{persistent-pty-737n3dqd.js → aisdk-native-ewwz3rhe.js} +9 -9
  138. package/dist/chunks/{persistent-pty-91a0d1yt.js → aisdk-native-f37tt1n5.js} +14 -14
  139. package/dist/chunks/{persistent-pty-2k8khapm.js → aisdk-native-fcrkznn8.js} +5 -5
  140. package/dist/chunks/{persistent-pty-4y8gxswz.js → aisdk-native-fjn4kjsk.js} +8 -8
  141. package/dist/chunks/{persistent-pty-h8t5dwg5.js → aisdk-native-fjz0aa7f.js} +1 -1
  142. package/dist/chunks/{persistent-pty-8s7tt1np.js → aisdk-native-fpdxg4xy.js} +11 -5
  143. package/dist/chunks/{persistent-pty-fxzsjm82.js → aisdk-native-fyntrd31.js} +9 -9
  144. package/dist/chunks/{persistent-pty-msyw7222.js → aisdk-native-g1vwh7gs.js} +3 -3
  145. package/dist/chunks/{persistent-pty-z1kx27t1.js → aisdk-native-g6zze47x.js} +10 -10
  146. package/dist/chunks/{persistent-pty-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{persistent-pty-a37hnpwz.js → aisdk-native-gdkgbb9c.js} +18 -18
  148. package/dist/chunks/{persistent-pty-kqts2caf.js → aisdk-native-gn4geh0c.js} +16 -16
  149. package/dist/chunks/{persistent-pty-fm0mk9mt.js → aisdk-native-gph6wx2b.js} +22 -22
  150. package/dist/chunks/{persistent-pty-6rectmv1.js → aisdk-native-gqm1myh4.js} +12 -12
  151. package/dist/chunks/{persistent-pty-4xwyy9ad.js → aisdk-native-grzyvwex.js} +3 -3
  152. package/dist/chunks/{persistent-pty-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{persistent-pty-h83bje8e.js → aisdk-native-gxpss1xa.js} +6 -6
  154. package/dist/chunks/{persistent-pty-5pchrvbf.js → aisdk-native-h0sqzbsw.js} +3 -3
  155. package/dist/chunks/{persistent-pty-h6r3nrb9.js → aisdk-native-h6r3nrb9.js} +1 -1
  156. package/dist/chunks/{persistent-pty-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{persistent-pty-n0et9739.js → aisdk-native-hhq66pne.js} +10 -10
  158. package/dist/chunks/{persistent-pty-mbd019w6.js → aisdk-native-hz0q9sdq.js} +8 -8
  159. package/dist/chunks/{persistent-pty-0p8q5ehv.js → aisdk-native-j55r4s0a.js} +9 -9
  160. package/dist/chunks/{persistent-pty-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
  161. package/dist/chunks/{persistent-pty-m6ycr81h.js → aisdk-native-j5nd189x.js} +10 -10
  162. package/dist/chunks/{persistent-pty-tzjpraer.js → aisdk-native-j6axv030.js} +20 -20
  163. package/dist/chunks/{persistent-pty-7pdxtf20.js → aisdk-native-jey2mpn9.js} +15 -15
  164. package/dist/chunks/{persistent-pty-575extxc.js → aisdk-native-jgjx2zn2.js} +33 -33
  165. package/dist/chunks/{persistent-pty-k5r54mqc.js → aisdk-native-jht73604.js} +50 -50
  166. package/dist/chunks/{persistent-pty-zmx61mjz.js → aisdk-native-jm37a8dk.js} +18 -18
  167. package/dist/chunks/aisdk-native-jmegf2wy.js +26 -0
  168. package/dist/chunks/{persistent-pty-hm6bha70.js → aisdk-native-jtvkje2b.js} +35 -35
  169. package/dist/chunks/{persistent-pty-py3kkmfq.js → aisdk-native-jws6fkes.js} +8 -8
  170. package/dist/chunks/{persistent-pty-c178vpnr.js → aisdk-native-k8pb3j6f.js} +11 -11
  171. package/dist/chunks/{persistent-pty-8qfz057q.js → aisdk-native-kemw6cwn.js} +4 -4
  172. package/dist/chunks/{persistent-pty-5dfeagw9.js → aisdk-native-knwefcs2.js} +11 -11
  173. package/dist/chunks/{persistent-pty-whngsn6r.js → aisdk-native-kwz2dqpt.js} +17 -17
  174. package/dist/chunks/{persistent-pty-mze09n65.js → aisdk-native-m0dq93hx.js} +22 -22
  175. package/dist/chunks/{persistent-pty-bcsjh7qn.js → aisdk-native-m2735k09.js} +13 -13
  176. package/dist/chunks/{persistent-pty-m3fdjcah.js → aisdk-native-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{persistent-pty-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{persistent-pty-pvzwpsva.js → aisdk-native-mga8kmpp.js} +121 -121
  179. package/dist/chunks/{persistent-pty-grzz702c.js → aisdk-native-mjybk9x9.js} +13 -13
  180. package/dist/chunks/{persistent-pty-vhz5xwqz.js → aisdk-native-mph2p600.js} +20 -20
  181. package/dist/chunks/{persistent-pty-vrxb6jmc.js → aisdk-native-msb7j328.js} +11 -11
  182. package/dist/chunks/{persistent-pty-mvfsc1pv.js → aisdk-native-mvfsc1pv.js} +1 -1
  183. package/dist/chunks/{persistent-pty-rgj6km22.js → aisdk-native-n24ecswk.js} +3 -3
  184. package/dist/chunks/{persistent-pty-0g4y79g0.js → aisdk-native-n6kknske.js} +15 -15
  185. package/dist/chunks/{persistent-pty-wr3tk2ww.js → aisdk-native-n8k4stph.js} +37 -37
  186. package/dist/chunks/{persistent-pty-dg5bcj4q.js → aisdk-native-nca7p386.js} +6 -6
  187. package/dist/chunks/{persistent-pty-890xenda.js → aisdk-native-ncs0r9tr.js} +16 -16
  188. package/dist/chunks/{persistent-pty-p820wzt7.js → aisdk-native-nfz195bp.js} +68 -68
  189. package/dist/chunks/{persistent-pty-227srnq3.js → aisdk-native-nmvew81g.js} +11 -11
  190. package/dist/chunks/{persistent-pty-qg0jgkcp.js → aisdk-native-nq7qbqzc.js} +9 -9
  191. package/dist/chunks/{persistent-pty-6a50q89r.js → aisdk-native-ntez8q7m.js} +11 -11
  192. package/dist/chunks/{persistent-pty-vsy454dw.js → aisdk-native-nx97ad9f.js} +22 -22
  193. package/dist/chunks/{persistent-pty-k3c624dm.js → aisdk-native-nzks3jc8.js} +3 -3
  194. package/dist/chunks/{persistent-pty-hnr5yq9h.js → aisdk-native-p1nm93x7.js} +5 -5
  195. package/dist/chunks/{persistent-pty-cmwkp3r5.js → aisdk-native-p37cw4rj.js} +8 -8
  196. package/dist/chunks/{persistent-pty-hz9bs9b4.js → aisdk-native-p6as9sew.js} +37 -37
  197. package/dist/chunks/{persistent-pty-swvazs9r.js → aisdk-native-p6hs14xm.js} +6 -6
  198. package/dist/chunks/{persistent-pty-p7ms2pw6.js → aisdk-native-p7yas4pp.js} +10 -10
  199. package/dist/chunks/{persistent-pty-7kqen0y3.js → aisdk-native-p91pbrra.js} +43 -43
  200. package/dist/chunks/{persistent-pty-yaxb32cc.js → aisdk-native-pc4rb338.js} +42 -42
  201. package/dist/chunks/aisdk-native-pf31ssb9.js +18 -0
  202. package/dist/chunks/{persistent-pty-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{persistent-pty-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
  204. package/dist/chunks/{persistent-pty-v3sgzvyr.js → aisdk-native-pnqe9gv0.js} +1 -1
  205. package/dist/chunks/{persistent-pty-99dvvp6t.js → aisdk-native-pnsbb3ch.js} +3 -3
  206. package/dist/chunks/{persistent-pty-tanr7chk.js → aisdk-native-pr75c60x.js} +4 -4
  207. package/dist/chunks/{persistent-pty-bydnjh3t.js → aisdk-native-prq7hedt.js} +9 -9
  208. package/dist/chunks/{persistent-pty-8zp8v96d.js → aisdk-native-qgjbqkee.js} +8 -8
  209. package/dist/chunks/{persistent-pty-bkxj05eb.js → aisdk-native-qk0a8rk8.js} +13 -13
  210. package/dist/chunks/{persistent-pty-xfkkasph.js → aisdk-native-qqeeq2t9.js} +7 -7
  211. package/dist/chunks/{persistent-pty-41gc5d0b.js → aisdk-native-qrete4m7.js} +8 -8
  212. package/dist/chunks/{persistent-pty-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
  213. package/dist/chunks/{persistent-pty-zryabcgp.js → aisdk-native-r330g3qr.js} +16 -16
  214. package/dist/chunks/{persistent-pty-08md9an2.js → aisdk-native-r5bn9wzf.js} +20 -20
  215. package/dist/chunks/{persistent-pty-g898w310.js → aisdk-native-raze7gex.js} +22 -22
  216. package/dist/chunks/{persistent-pty-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{persistent-pty-efvsyy3d.js → aisdk-native-rewx2cv8.js} +11 -11
  218. package/dist/chunks/{persistent-pty-3mf0sz11.js → aisdk-native-rsnx4dgt.js} +8 -8
  219. package/dist/chunks/{persistent-pty-ctzssw83.js → aisdk-native-rtathh62.js} +8 -8
  220. package/dist/chunks/{persistent-pty-6b64cty4.js → aisdk-native-ry4a9a4t.js} +38 -38
  221. package/dist/chunks/{persistent-pty-v4nfzjvf.js → aisdk-native-ry9zt9dv.js} +6 -6
  222. package/dist/chunks/{persistent-pty-9kn5es1x.js → aisdk-native-ryarbw50.js} +289 -289
  223. package/dist/chunks/{persistent-pty-mrs83b0h.js → aisdk-native-s3tzh3t4.js} +2 -2
  224. package/dist/chunks/{persistent-pty-yrznvahk.js → aisdk-native-s4enseaf.js} +2 -2
  225. package/dist/chunks/{persistent-pty-xdbg7gq8.js → aisdk-native-s527qr6n.js} +9 -9
  226. package/dist/chunks/{persistent-pty-s8d7rejh.js → aisdk-native-s8d7rejh.js} +1 -1
  227. package/dist/chunks/{persistent-pty-45fdndrg.js → aisdk-native-sea28k5q.js} +11 -11
  228. package/dist/chunks/{persistent-pty-x3gqap9d.js → aisdk-native-sfjrjc0q.js} +4 -4
  229. package/dist/chunks/{persistent-pty-b91ar3n4.js → aisdk-native-sgw9vpc3.js} +3 -3
  230. package/dist/chunks/{persistent-pty-c97sszdy.js → aisdk-native-st8frzem.js} +13 -13
  231. package/dist/chunks/{persistent-pty-rrmj4cxt.js → aisdk-native-syxqyv9t.js} +11 -11
  232. package/dist/chunks/{persistent-pty-dm9cr3j9.js → aisdk-native-t1pd95j1.js} +11 -11
  233. package/dist/chunks/{persistent-pty-aajqz8pf.js → aisdk-native-t39zfvd7.js} +10 -10
  234. package/dist/chunks/{persistent-pty-kxzq1zxp.js → aisdk-native-t3xrh3z5.js} +1 -1
  235. package/dist/chunks/{persistent-pty-qj8eh1ht.js → aisdk-native-t51qk8jz.js} +21 -21
  236. package/dist/chunks/{persistent-pty-9gh63tf7.js → aisdk-native-t5e8vxk8.js} +11 -11
  237. package/dist/chunks/{persistent-pty-1nhss6w6.js → aisdk-native-t8khhztf.js} +17 -17
  238. package/dist/chunks/{persistent-pty-jz8rx2zy.js → aisdk-native-ta313mx8.js} +21 -21
  239. package/dist/chunks/{persistent-pty-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{persistent-pty-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{persistent-pty-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
  242. package/dist/chunks/{persistent-pty-62xhx457.js → aisdk-native-thx2h4ny.js} +13 -13
  243. package/dist/chunks/{persistent-pty-gaz1nxqp.js → aisdk-native-tky8rebp.js} +8 -8
  244. package/dist/chunks/{persistent-pty-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
  245. package/dist/chunks/{persistent-pty-4tzgaesz.js → aisdk-native-ty58128x.js} +10 -10
  246. package/dist/chunks/{persistent-pty-sycenq6p.js → aisdk-native-v41vjcv4.js} +26 -26
  247. package/dist/chunks/{persistent-pty-sgtbqjty.js → aisdk-native-v6v48kjp.js} +34 -34
  248. package/dist/chunks/{persistent-pty-ybhbtxjg.js → aisdk-native-v6ya2fzy.js} +9 -9
  249. package/dist/chunks/{persistent-pty-w9vf9qqj.js → aisdk-native-vbh50phm.js} +9 -9
  250. package/dist/chunks/aisdk-native-vdz668fh.js +511 -0
  251. package/dist/chunks/{persistent-pty-bxy0qmvh.js → aisdk-native-veaa02hx.js} +15 -15
  252. package/dist/chunks/{persistent-pty-1ngb9c38.js → aisdk-native-vee7d757.js} +4 -4
  253. package/dist/chunks/{persistent-pty-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
  254. package/dist/chunks/{persistent-pty-c87nfaq6.js → aisdk-native-vn6mzfkn.js} +9 -9
  255. package/dist/chunks/{persistent-pty-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{persistent-pty-vzs5sf6e.js → aisdk-native-vzs5sf6e.js} +1 -1
  257. package/dist/chunks/{persistent-pty-xqa3e3de.js → aisdk-native-w1091e71.js} +7 -7
  258. package/dist/chunks/{persistent-pty-z43b1w6b.js → aisdk-native-w15qa8j6.js} +4 -4
  259. package/dist/chunks/{persistent-pty-x0631gwp.js → aisdk-native-w2p5spd8.js} +3 -3
  260. package/dist/chunks/{persistent-pty-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{persistent-pty-8yy5nj9k.js → aisdk-native-w8t38ta4.js} +17 -17
  262. package/dist/chunks/{persistent-pty-wd3x2cqz.js → aisdk-native-wd3x2cqz.js} +2 -2
  263. package/dist/chunks/{persistent-pty-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
  264. package/dist/chunks/{persistent-pty-pb0865gs.js → aisdk-native-wfa4jg53.js} +26 -26
  265. package/dist/chunks/{persistent-pty-j783qryr.js → aisdk-native-wp86rkxd.js} +19 -19
  266. package/dist/chunks/{persistent-pty-jass2s4f.js → aisdk-native-wthb5wf9.js} +12 -12
  267. package/dist/chunks/{persistent-pty-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{persistent-pty-0xezjjjn.js → aisdk-native-x353b1jt.js} +8 -8
  269. package/dist/chunks/{persistent-pty-ar9dn3cv.js → aisdk-native-x3zcp5yc.js} +8 -8
  270. package/dist/chunks/{persistent-pty-916rzewx.js → aisdk-native-x4dpqgp7.js} +5 -5
  271. package/dist/chunks/{persistent-pty-gf6nqq1m.js → aisdk-native-x5styf07.js} +6 -6
  272. package/dist/chunks/{persistent-pty-rwxdf6xm.js → aisdk-native-x7mvejvx.js} +6 -6
  273. package/dist/chunks/{persistent-pty-dmqcgk4z.js → aisdk-native-xkntkrq7.js} +5 -5
  274. package/dist/chunks/{persistent-pty-nps86teb.js → aisdk-native-xtrc69rm.js} +16 -16
  275. package/dist/chunks/{persistent-pty-nyand8e3.js → aisdk-native-xyf7qag9.js} +50 -50
  276. package/dist/chunks/{persistent-pty-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{persistent-pty-yaxy18bs.js → aisdk-native-yc2sbh79.js} +33 -33
  278. package/dist/chunks/{persistent-pty-zfm6w3qw.js → aisdk-native-yct9dbr8.js} +48 -48
  279. package/dist/chunks/{persistent-pty-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{persistent-pty-wj4g8yv4.js → aisdk-native-yw00738g.js} +14 -14
  281. package/dist/chunks/{persistent-pty-z07pqspn.js → aisdk-native-z07pqspn.js} +3 -3
  282. package/dist/chunks/{persistent-pty-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{persistent-pty-zbbjan7x.js → aisdk-native-z50w0853.js} +3 -3
  284. package/dist/chunks/{persistent-pty-at7effxm.js → aisdk-native-z91q3e0k.js} +85 -85
  285. package/dist/chunks/{persistent-pty-sv0hxxy2.js → aisdk-native-zb9jyr62.js} +10 -10
  286. package/dist/chunks/{persistent-pty-nz569jqt.js → aisdk-native-zd30eb5w.js} +5 -5
  287. package/dist/chunks/{persistent-pty-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{persistent-pty-5gm161de.js → aisdk-native-zn4g51n9.js} +15 -15
  289. package/dist/chunks/{persistent-pty-fk95fhgy.js → aisdk-native-zppxy86t.js} +9 -9
  290. package/dist/chunks/{persistent-pty-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{persistent-pty-k83jpm1g.js → aisdk-native-zwrrbvf8.js} +9 -9
  292. package/dist/chunks/{persistent-pty-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +11 -11
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +77 -77
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +4 -4
  427. package/dist/filesystem/location-watcher.js +227 -227
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +93 -93
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +13 -13
  432. package/dist/filesystem.js +94 -94
  433. package/dist/form.js +74 -74
  434. package/dist/formatter/builtins.js +2 -2
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +103 -103
  437. package/dist/git.js +6 -6
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +91 -91
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +1 -1
  465. package/dist/integration/connection.js +1 -1
  466. package/dist/integration.js +80 -80
  467. package/dist/job.js +77 -77
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +360 -360
  475. package/dist/location.js +81 -81
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +108 -108
  479. package/dist/mcp/instructions.js +126 -126
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +91 -91
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +90 -90
  486. package/dist/models-dev.js +103 -103
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +80 -80
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +113 -113
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +86 -86
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +99 -99
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +1 -1
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +334 -334
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +100 -100
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +120 -120
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +94 -94
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +120 -120
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +139 -139
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +353 -353
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +93 -93
  555. package/dist/plugin/warming.js +121 -121
  556. package/dist/plugin/websearch/exa.js +7 -7
  557. package/dist/plugin/websearch/firecrawl.js +8 -8
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +2 -2
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +6 -6
  562. package/dist/plugin/websearch/tinyfish.js +6 -6
  563. package/dist/plugin.js +223 -223
  564. package/dist/project/schema.js +2 -2
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +80 -80
  567. package/dist/provider.js +89 -89
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/schema.js +1 -1
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +92 -92
  572. package/dist/reference/instructions.js +89 -89
  573. package/dist/reference.js +91 -91
  574. package/dist/repository-cache.js +81 -81
  575. package/dist/repository.js +1 -1
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +95 -95
  578. package/dist/rpc.js +86 -86
  579. package/dist/schema.js +1 -1
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +132 -132
  582. package/dist/session/context.js +152 -152
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +7 -7
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +221 -221
  588. package/dist/session/execution.js +126 -126
  589. package/dist/session/generate.js +153 -153
  590. package/dist/session/history.js +15 -15
  591. package/dist/session/inbox.js +88 -88
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +79 -79
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +97 -97
  596. package/dist/session/message-updater.js +4 -4
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +119 -119
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +130 -130
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +3 -3
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +231 -231
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +114 -114
  612. package/dist/session/runner/step.js +126 -126
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +172 -172
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +103 -103
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +73 -73
  620. package/dist/session/store.js +85 -85
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +210 -210
  623. package/dist/session/system-prompt.js +5 -5
  624. package/dist/session/title.js +156 -156
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +214 -214
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +218 -218
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +13 -13
  633. package/dist/shell.js +140 -140
  634. package/dist/skill/discovery.js +6 -6
  635. package/dist/skill/instructions.js +107 -107
  636. package/dist/skill.js +110 -110
  637. package/dist/snapshot.js +89 -89
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +125 -125
  642. package/dist/tool/plugin/edit.js +114 -114
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +124 -124
  645. package/dist/tool/plugin/grep.js +124 -124
  646. package/dist/tool/plugin/mcp-resource.js +116 -116
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +122 -122
  649. package/dist/tool/plugin/question.js +105 -105
  650. package/dist/tool/plugin/read.js +123 -123
  651. package/dist/tool/plugin/shell.js +215 -215
  652. package/dist/tool/plugin/skill.js +111 -111
  653. package/dist/tool/plugin/subagent.js +217 -217
  654. package/dist/tool/plugin/webfetch.js +110 -110
  655. package/dist/tool/plugin/websearch.js +112 -112
  656. package/dist/tool/plugin/write.js +122 -122
  657. package/dist/tool/read-filesystem.js +100 -100
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +8 -8
  660. package/dist/tool.js +12 -12
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +7 -7
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +4 -4
  675. package/dist/v1/config/formatter.js +5 -5
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +5 -5
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +7 -7
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +1 -1
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +91 -91
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +84 -84
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +81 -81
  693. package/dist/workspace/driver.js +5 -5
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +80 -80
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +96 -96
  701. package/package.json +8 -8
  702. package/dist/chunks/persistent-pty-56zeh913.js +0 -26
  703. package/dist/chunks/persistent-pty-chv7b8n2.js +0 -511
  704. package/dist/chunks/persistent-pty-n95b3jav.js +0 -18
  705. package/dist/chunks/persistent-pty-rxfkax64.js +0 -252
  706. /package/dist/chunks/{persistent-pty-0mesazry.js → aisdk-native-0mesazry.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-34c7v6d4.js → aisdk-native-34c7v6d4.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
  797. /package/dist/chunks/{persistent-pty-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{persistent-pty-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{persistent-pty-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{persistent-pty-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{persistent-pty-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./persistent-pty-gftt206x.js";
3
+ } from "./aisdk-native-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./aisdk-native-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update3(adapter, event) {
24
+ function update2(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -402,4 +402,4 @@ function update3(adapter, event) {
402
402
  return project(event);
403
403
  }
404
404
 
405
- export { update3, exports_message_updater };
405
+ export { update2, exports_message_updater };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./persistent-pty-ywptq5a1.js";
4
+ } from "./aisdk-native-e9mqmqx1.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./persistent-pty-tazgh4e4.js";
9
+ } from "./aisdk-native-tazgh4e4.js";
10
10
  import {
11
11
  Service80,
12
12
  node84
13
- } from "./persistent-pty-mrs83b0h.js";
13
+ } from "./aisdk-native-s3tzh3t4.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./persistent-pty-rdw6cm16.js";
17
+ } from "./aisdk-native-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./persistent-pty-9rqn6x4v.js";
20
+ } from "./aisdk-native-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info4,
29
+ Info: () => Info14,
30
30
  Mode: () => Mode2,
31
- Service: () => Service22,
31
+ Service: () => Service68,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node25
33
+ node: () => node72
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info14, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,9 +45,9 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service22 extends Context.Service()("@opencode/Vcs") {
48
+ class Service68 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service22, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
52
  const location = yield* Service80;
53
53
  const bus = yield* Service83;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info14));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service22.of({
121
+ return Service68.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node25 = makeLocationNode({
168
- service: Service22,
167
+ var node72 = makeLocationNode({
168
+ service: Service68,
169
169
  layer,
170
170
  deps: [FSUtil.node, node84, node87]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service22, node25, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info14, Mode2, DiffError2, Service68, node72, exports_vcs };
@@ -1,70 +1,70 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./persistent-pty-ywptq5a1.js";
4
+ } from "./aisdk-native-e9mqmqx1.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./persistent-pty-mrs83b0h.js";
8
+ } from "./aisdk-native-s3tzh3t4.js";
9
9
  import {
10
10
  ID10,
11
- Service68,
12
- node72
13
- } from "./persistent-pty-zmx61mjz.js";
11
+ Service64,
12
+ node68
13
+ } from "./aisdk-native-jm37a8dk.js";
14
14
  import {
15
- NotFoundError9
16
- } from "./persistent-pty-ybhbtxjg.js";
15
+ NotFoundError8
16
+ } from "./aisdk-native-v6ya2fzy.js";
17
17
  import {
18
- Service67,
19
- node71
20
- } from "./persistent-pty-t5eky83d.js";
18
+ Service63,
19
+ node67
20
+ } from "./aisdk-native-be9hed2s.js";
21
21
  import {
22
22
  match2
23
- } from "./persistent-pty-y1fvbwt7.js";
23
+ } from "./aisdk-native-y1fvbwt7.js";
24
24
  import {
25
- Service66,
26
- node70
27
- } from "./persistent-pty-bxy0qmvh.js";
25
+ Service62,
26
+ node66
27
+ } from "./aisdk-native-veaa02hx.js";
28
28
  import {
29
- Service69,
30
- node73
31
- } from "./persistent-pty-0xezjjjn.js";
29
+ Service65,
30
+ node69
31
+ } from "./aisdk-native-x353b1jt.js";
32
32
  import {
33
33
  __export
34
- } from "./persistent-pty-9rqn6x4v.js";
34
+ } from "./aisdk-native-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission2 = {};
38
- __export(exports_permission2, {
37
+ var exports_permission = {};
38
+ __export(exports_permission, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event14,
46
- ID: () => ID8,
47
- NotFoundError: () => NotFoundError8,
48
- Permission: () => exports_permission2,
45
+ Event: () => Event9,
46
+ ID: () => ID7,
47
+ NotFoundError: () => NotFoundError7,
48
+ Permission: () => exports_permission,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule3,
52
+ Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service65,
54
+ Service: () => Service61,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node69
58
+ node: () => node65
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
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event14 } from "@opencode/schema/permission";
63
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event9 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID8 = Permission.ID;
67
+ var ID7 = 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: ID8.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
82
  agent: ID10.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID8,
85
+ requestID: ID7,
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: ID8,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID8
113
+ class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID7
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 Service65 extends Context.Service()("@opencode/Permission") {
128
+ class Service61 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service65, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
132
  const location = yield* Service80;
133
- const agents = yield* Service68;
134
- const sessions = yield* Service67;
135
- const saved = yield* Service66;
136
- const hooks = yield* Service69;
133
+ const agents = yield* Service64;
134
+ const sessions = yield* Service63;
135
+ const saved = yield* Service62;
136
+ const hooks = yield* Service65;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError9({ sessionID });
159
+ return yield* new NotFoundError8({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID8.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID8.create(), effect: "deny" };
214
+ return { id: input.id ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError8({ requestID: input.requestID });
245
+ return yield* new NotFoundError7({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service65, 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 Service65.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service61.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node69 = makeLocationNode({
303
- service: Service65,
302
+ var node65 = makeLocationNode({
303
+ service: Service61,
304
304
  layer,
305
- deps: [node87, node84, node72, node71, node70, node73]
305
+ deps: [node87, node84, node68, node67, node66, node69]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service65, node69, exports_permission2, Rule3, Ruleset2, Event14 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service61, node65, exports_permission, Rule2, Ruleset2, Event9 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./persistent-pty-2a5m3afh.js";
3
+ } from "./aisdk-native-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./persistent-pty-922hggd3.js";
6
+ } from "./aisdk-native-922hggd3.js";
7
7
  import {
8
8
  Service80
9
- } from "./persistent-pty-mrs83b0h.js";
9
+ } from "./aisdk-native-s3tzh3t4.js";
10
10
  import {
11
- Service55
12
- } from "./persistent-pty-jz8rx2zy.js";
11
+ Service36
12
+ } from "./aisdk-native-ta313mx8.js";
13
13
  import {
14
- Service15
15
- } from "./persistent-pty-pfs0r10v.js";
14
+ Service19
15
+ } from "./aisdk-native-0f0h8b4n.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./persistent-pty-47fq69fq.js";
21
+ } from "./aisdk-native-de92ghnc.js";
22
22
  import {
23
- Service65
24
- } from "./persistent-pty-nyand8e3.js";
23
+ Service61
24
+ } from "./aisdk-native-xyf7qag9.js";
25
25
  import {
26
- Service25
27
- } from "./persistent-pty-0g4y79g0.js";
26
+ Service55
27
+ } from "./aisdk-native-n6kknske.js";
28
28
  import {
29
29
  __export
30
- } from "./persistent-pty-9rqn6x4v.js";
30
+ } from "./aisdk-native-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input9,
37
- Output: () => Output6,
38
- Plugin: () => Plugin27,
39
- name: () => name9,
40
- toModelContent: () => toModelContent5
36
+ Input: () => Input12,
37
+ Output: () => Output8,
38
+ Plugin: () => Plugin31,
39
+ name: () => name12,
40
+ toModelContent: () => toModelContent6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name9 = "glob";
46
- var Input9 = Schema.Struct({
45
+ var name12 = "glob";
46
+ var Input12 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input9 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output6 = Schema.Array(Entry2);
59
- var toModelContent5 = (entries, truncated = false) => {
58
+ var Output8 = Schema.Array(Entry2);
59
+ var toModelContent6 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin27 = {
66
+ var Plugin31 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service55;
70
- const ripgrep = yield* Service15;
69
+ const environment = yield* Service36;
70
+ const ripgrep = yield* Service19;
71
71
  const location = yield* Service80;
72
- const access = yield* Service25;
73
- const permission = yield* Service65;
72
+ const access = yield* Service55;
73
+ const permission = yield* Service61;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name9,
75
+ name: name12,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input9,
79
- output: Output6,
78
+ input: Input12,
79
+ output: Output8,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name9,
86
+ action: name12,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin27 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name9, Input9, Output6, toModelContent5, Plugin27, exports_glob };
128
+ export { name12, Input12, Output8, toModelContent6, Plugin31, exports_glob };