@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,50 +1,50 @@
1
1
  import {
2
- Service57
3
- } from "./persistent-pty-vsy454dw.js";
2
+ Service72
3
+ } from "./aisdk-native-nx97ad9f.js";
4
4
  import {
5
5
  AbsolutePath2
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
- Service56
12
- } from "./persistent-pty-zmrnz6me.js";
11
+ Service71
12
+ } from "./aisdk-native-05w46678.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source3
17
- } from "./persistent-pty-g898w310.js";
16
+ Source4
17
+ } from "./aisdk-native-raze7gex.js";
18
18
  import {
19
- Service10
20
- } from "./persistent-pty-qg0jgkcp.js";
19
+ Service12
20
+ } from "./aisdk-native-nq7qbqzc.js";
21
21
  import {
22
22
  parse2
23
- } from "./persistent-pty-je0jfj0e.js";
23
+ } from "./aisdk-native-dsgp01fg.js";
24
24
  import {
25
25
  __export
26
- } from "./persistent-pty-9rqn6x4v.js";
26
+ } from "./aisdk-native-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill = {};
30
30
  __export(exports_skill, {
31
31
  ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin9
32
+ Plugin: () => Plugin12
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin9 = define({
39
+ var Plugin12 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service56;
43
- const discovery = yield* Service10;
42
+ const config = yield* Service71;
43
+ const discovery = yield* Service12;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
46
  const location = yield* Service80;
47
- const watcher = yield* Service57;
47
+ const watcher = yield* Service72;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin9 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source3.equals(item, source)))
90
+ if (result.some((item) => Source4.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin9 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source3.key(source),
115
+ source: Source4.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin9 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source3.key(source),
144
+ source: Source4.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin9 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source3.key),
163
+ sources: current.map(Source4.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin9 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin9, exports_skill };
179
+ export { Plugin12, exports_skill };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make16
9
+ make: () => make17
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make16 = (options) => Effect.gen(function* () {
12
+ var make17 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make16, exports_run_coordinator };
92
+ export { make17, exports_run_coordinator };
@@ -1,58 +1,58 @@
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
- Service79,
7
- node83
8
- } from "./persistent-pty-0p8q5ehv.js";
6
+ Service78,
7
+ node82
8
+ } from "./aisdk-native-j55r4s0a.js";
9
9
  import {
10
10
  Service81,
11
11
  node85
12
- } from "./persistent-pty-4y8gxswz.js";
12
+ } from "./aisdk-native-fjn4kjsk.js";
13
13
  import {
14
14
  Ref4,
15
15
  Service80,
16
16
  node84
17
- } from "./persistent-pty-mrs83b0h.js";
17
+ } from "./aisdk-native-s3tzh3t4.js";
18
18
  import {
19
19
  canonical3
20
- } from "./persistent-pty-6qxa4z0k.js";
20
+ } from "./aisdk-native-964bf8jp.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./persistent-pty-ec1grn59.js";
23
+ } from "./aisdk-native-ec1grn59.js";
24
24
  import {
25
- Service65,
26
- node69
27
- } from "./persistent-pty-nyand8e3.js";
25
+ Service61,
26
+ node65
27
+ } from "./aisdk-native-xyf7qag9.js";
28
28
  import {
29
- Service23,
30
- node26
31
- } from "./persistent-pty-5dfeagw9.js";
29
+ Service59,
30
+ node63
31
+ } from "./aisdk-native-knwefcs2.js";
32
32
  import {
33
33
  __export
34
- } from "./persistent-pty-9rqn6x4v.js";
34
+ } from "./aisdk-native-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service19,
41
- node: () => node21
40
+ Service: () => Service58,
41
+ node: () => node62
42
42
  });
43
43
  import { Context, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service19 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service58 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service19, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
51
51
  const bus = yield* Service83;
52
52
  const location = yield* Service80;
53
- const permission = yield* Service65;
54
- const forms = yield* Service79;
55
- const rpc = yield* Service23;
53
+ const permission = yield* Service61;
54
+ const forms = yield* Service78;
55
+ const rpc = yield* Service59;
56
56
  const project = yield* Service81;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
75
75
  location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
76
76
  });
77
77
  }).pipe(Effect.uninterruptible));
78
- return Service19.of({
78
+ return Service58.of({
79
79
  isClosed: () => closed,
80
80
  shutdown
81
81
  });
82
82
  }));
83
- var node21 = makeLocationNode({
84
- service: Service19,
83
+ var node62 = makeLocationNode({
84
+ service: Service58,
85
85
  layer,
86
- deps: [node87, node84, node69, node85, node83, node26]
86
+ deps: [node87, node84, node65, node85, node82, node63]
87
87
  });
88
88
 
89
- export { Service19, node21, exports_location_lifecycle };
89
+ export { Service58, node62, exports_location_lifecycle };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./persistent-pty-2a5m3afh.js";
5
+ } from "./aisdk-native-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./persistent-pty-9rqn6x4v.js";
8
+ } from "./aisdk-native-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service12
3
- } from "./persistent-pty-11jghh1r.js";
2
+ Service10
3
+ } from "./aisdk-native-dmag7nky.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./aisdk-native-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/compaction.ts
9
9
  var exports_compaction2 = {};
10
10
  __export(exports_compaction2, {
11
11
  NativeCompactionPlugin: () => exports_compaction2,
12
- Plugin: () => Plugin45
12
+ Plugin: () => Plugin44
13
13
  });
14
14
  import { LLMClient, Message } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect } from "effect";
17
- var Plugin45 = define({
17
+ var Plugin44 = define({
18
18
  id: "opencode.compaction.native",
19
19
  effect: Effect.fn("NativeCompactionPlugin")(function* () {
20
20
  const llm = yield* LLMClient.Service;
21
- const compaction = yield* Service12;
21
+ const compaction = yield* Service10;
22
22
  yield* compaction.transform((editor) => {
23
23
  editor.native((input) => {
24
24
  const request = input.request;
@@ -36,4 +36,4 @@ var Plugin45 = define({
36
36
  })
37
37
  });
38
38
 
39
- export { Plugin45, exports_compaction2 };
39
+ export { Plugin44, exports_compaction2 };
@@ -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/plugin/identity.ts
6
6
  var exports_identity = {};
@@ -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/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node63
5
- } from "./persistent-pty-dm9cr3j9.js";
4
+ node37
5
+ } from "./aisdk-native-t1pd95j1.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./persistent-pty-ssdqnhy0.js";
9
+ } from "./aisdk-native-0pr3hkd7.js";
10
10
  import {
11
- Service69,
12
- node73
13
- } from "./persistent-pty-0xezjjjn.js";
11
+ Service65,
12
+ node69
13
+ } from "./aisdk-native-x353b1jt.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./persistent-pty-nyand8e3.js";
16
+ } from "./aisdk-native-xyf7qag9.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./persistent-pty-wj4g8yv4.js";
19
+ } from "./aisdk-native-yw00738g.js";
20
20
  import {
21
21
  Error5
22
- } from "./persistent-pty-d3dx1kx7.js";
22
+ } from "./aisdk-native-d5xmbf4y.js";
23
23
  import {
24
- Service41,
25
- node44
26
- } from "./persistent-pty-9gh63tf7.js";
24
+ Service28,
25
+ node31
26
+ } from "./aisdk-native-t5e8vxk8.js";
27
27
  import {
28
- make15
29
- } from "./persistent-pty-xfkkasph.js";
28
+ make13
29
+ } from "./aisdk-native-qqeeq2t9.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./persistent-pty-v3sgzvyr.js";
32
+ } from "./aisdk-native-pnqe9gv0.js";
33
33
  import {
34
34
  __export
35
- } from "./persistent-pty-9rqn6x4v.js";
35
+ } from "./aisdk-native-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service40,
40
+ Service: () => Service27,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer14,
45
- node: () => node43,
44
+ layer: () => layer10,
45
+ node: () => node30,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
156
156
  }));
157
157
  };
158
158
 
159
- class Service40 extends Context.Service()("@opencode/SessionModelRequest") {
159
+ class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
160
160
  }
161
- var layer14 = Layer.effect(Service40, Effect.gen(function* () {
162
- const hooks = yield* Service69;
163
- const transport = yield* Service41;
161
+ var layer10 = Layer.effect(Service27, Effect.gen(function* () {
162
+ const hooks = yield* Service65;
163
+ const transport = yield* Service28;
164
164
  const app = yield* Metadata2;
165
165
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
166
166
  const session = input.session;
@@ -258,17 +258,17 @@ var layer14 = Layer.effect(Service40, Effect.gen(function* () {
258
258
  };
259
259
  });
260
260
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
261
- return Service40.of({
261
+ return Service27.of({
262
262
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
263
263
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
264
264
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
265
265
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
266
266
  });
267
267
  }));
268
- var node43 = makeLocationNode({
269
- service: Service40,
270
- layer: layer14,
271
- deps: [node73, node44, node63]
268
+ var node30 = makeLocationNode({
269
+ service: Service27,
270
+ layer: layer10,
271
+ deps: [node69, node31, node37]
272
272
  });
273
273
 
274
- export { baseTranscript2, unsupportedParts2, boundImages2, Service40, layer14, node43, exports_model_request };
274
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service27, layer10, node30, exports_model_request };
@@ -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/repository.ts
6
6
  var exports_repository = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./persistent-pty-2axfhc9x.js";
3
+ } from "./aisdk-native-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./aisdk-native-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error = {};
10
- __export(exports_error, {
11
- ConfigErrorV1: () => exports_error,
9
+ var exports_error2 = {};
10
+ __export(exports_error2, {
11
+ ConfigErrorV1: () => exports_error2,
12
12
  DirectoryTypoError: () => DirectoryTypoError2,
13
13
  FrontmatterError: () => FrontmatterError2,
14
14
  InvalidError: () => InvalidError2,
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
43
43
  remote: Schema.String
44
44
  });
45
45
 
46
- export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
46
+ export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
@@ -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/environment/files.ts
6
6
  var exports_files = {};
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service65
3
- } from "./persistent-pty-nyand8e3.js";
2
+ Service61
3
+ } from "./aisdk-native-xyf7qag9.js";
4
4
  import {
5
- ID5,
5
+ ID6,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service46
10
- } from "./persistent-pty-g898w310.js";
9
+ Service45
10
+ } from "./aisdk-native-raze7gex.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./aisdk-native-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
16
  var exports_skill2 = {};
17
17
  __export(exports_skill2, {
18
- Input: () => Input6,
19
- Output: () => Output4,
20
- Plugin: () => Plugin24,
18
+ Input: () => Input11,
19
+ Output: () => Output7,
20
+ Plugin: () => Plugin30,
21
21
  SkillTool: () => exports_skill2,
22
- description: () => description3,
23
- name: () => name6,
22
+ description: () => description5,
23
+ name: () => name11,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name6 = "skill";
30
- var Input6 = Schema.Struct({
31
- id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name11 = "skill";
30
+ var Input11 = Schema.Struct({
31
+ id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output4 = Schema.Struct({
33
+ var Output7 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description3 = [
38
+ var description5 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin24 = {
46
+ var Plugin30 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service46;
51
- const permission = yield* Service65;
50
+ const skills = yield* Service45;
51
+ const permission = yield* Service61;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name6,
53
+ name: name11,
54
54
  options: { codemode: false },
55
- description: description3,
56
- input: Input6,
57
- output: Output4,
55
+ description: description5,
56
+ input: Input11,
57
+ output: Output7,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name6,
64
+ action: name11,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin24 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name6, Input6, Output4, description3, toModelOutput2, Plugin24, exports_skill2 };
82
+ export { name11, Input11, Output7, description5, toModelOutput2, Plugin30, exports_skill2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./aisdk-native-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./aisdk-native-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info13
13
+ Info: () => Info18
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info13 = Schema.Struct({
30
+ var Info18 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info13, exports_attachment };
34
+ export { Image2, Info18, exports_attachment };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-dm9cr3j9.js";
3
+ } from "./aisdk-native-t1pd95j1.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./aisdk-native-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin33,
11
+ Plugin: () => Plugin36,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint2 = "https://api.tavily.com/search";
18
+ var endpoint4 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin33 = define({
32
+ var Plugin36 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin33 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin33 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin33, exports_tavily };
80
+ export { endpoint4, Plugin36, exports_tavily };