@opencode/core 0.0.0-dev-473 → 0.0.0-dev-477

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 (913) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +88 -88
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +5 -5
  6. package/dist/artifact.js +234 -234
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{command-034tev2y.js → aisdk-native-034tev2y.js} +2 -2
  9. package/dist/chunks/{command-dpja77t2.js → aisdk-native-07ghw10c.js} +36 -36
  10. package/dist/chunks/{command-sehddgew.js → aisdk-native-0bg8ehn8.js} +41 -41
  11. package/dist/chunks/{command-gabzcjmw.js → aisdk-native-0c0ns6j1.js} +9 -9
  12. package/dist/chunks/{command-sqjzf8x2.js → aisdk-native-0j7gp832.js} +4 -4
  13. package/dist/chunks/{command-1zsfkcq1.js → aisdk-native-0kaf04sf.js} +104 -24
  14. package/dist/chunks/{command-0ma9gw4f.js → aisdk-native-0ma9gw4f.js} +2 -2
  15. package/dist/chunks/{command-spedbffk.js → aisdk-native-0na1v6yn.js} +26 -26
  16. package/dist/chunks/{command-8a5z9jh8.js → aisdk-native-0p7fhf5b.js} +15 -15
  17. package/dist/chunks/{command-3nfj9yse.js → aisdk-native-0x3v5pps.js} +5 -5
  18. package/dist/chunks/{command-d6yhcqah.js → aisdk-native-0y1qtqzx.js} +11 -11
  19. package/dist/chunks/{command-8ggprnar.js → aisdk-native-0yavd23e.js} +16 -16
  20. package/dist/chunks/{command-a09npayz.js → aisdk-native-0zh0stcn.js} +23 -23
  21. package/dist/chunks/{command-hnms7819.js → aisdk-native-17r698rs.js} +11 -11
  22. package/dist/chunks/{command-1aqsckx4.js → aisdk-native-1aqsckx4.js} +1 -1
  23. package/dist/chunks/{command-wg61qkfh.js → aisdk-native-1e4nadk3.js} +14 -14
  24. package/dist/chunks/{command-1ep2p91f.js → aisdk-native-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{command-0vvhnm77.js → aisdk-native-1gg3xp55.js} +12 -12
  26. package/dist/chunks/{command-mr9vys13.js → aisdk-native-1n48dtj8.js} +5 -5
  27. package/dist/chunks/{command-1x2knyw4.js → aisdk-native-1x2knyw4.js} +1 -1
  28. package/dist/chunks/{command-1yq9hg58.js → aisdk-native-1yq9hg58.js} +1 -1
  29. package/dist/chunks/{command-41znt795.js → aisdk-native-20sf0wp5.js} +16 -16
  30. package/dist/chunks/{command-6vsk825b.js → aisdk-native-2e4erxay.js} +4 -4
  31. package/dist/chunks/{command-hptrp6qc.js → aisdk-native-2gwa6j4g.js} +15 -15
  32. package/dist/chunks/{command-ctmqxg7x.js → aisdk-native-2jtfv2y7.js} +4 -4
  33. package/dist/chunks/{command-rcbjwvze.js → aisdk-native-2m2g9ynh.js} +4 -4
  34. package/dist/chunks/{command-2p60zmnr.js → aisdk-native-2p60zmnr.js} +2 -2
  35. package/dist/chunks/{command-rtmssjvh.js → aisdk-native-2qrea2be.js} +10 -10
  36. package/dist/chunks/{command-mtz7qgkc.js → aisdk-native-2zh8yh75.js} +7 -7
  37. package/dist/chunks/{command-wv0q3v5p.js → aisdk-native-30egmtc9.js} +13 -13
  38. package/dist/chunks/{command-n6dz78md.js → aisdk-native-326xhnfg.js} +4 -4
  39. package/dist/chunks/aisdk-native-365eavge.js +16 -0
  40. package/dist/chunks/{command-467fhfwc.js → aisdk-native-3a4qbbx4.js} +16 -16
  41. package/dist/chunks/{command-04whjz6n.js → aisdk-native-3adw4bt5.js} +9 -9
  42. package/dist/chunks/{command-sw1sdatb.js → aisdk-native-3b9z9gw4.js} +8 -8
  43. package/dist/chunks/{command-cahp6e42.js → aisdk-native-3f2fh6fh.js} +6 -6
  44. package/dist/chunks/{command-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{command-h9gwq6kt.js → aisdk-native-3j2zkyvt.js} +75 -75
  46. package/dist/chunks/{command-3nnrz6f6.js → aisdk-native-3nnrz6f6.js} +1 -1
  47. package/dist/chunks/{command-e0y24dw1.js → aisdk-native-3p10wg44.js} +2 -2
  48. package/dist/chunks/{command-qh2f4k0x.js → aisdk-native-3ty01f2a.js} +20 -20
  49. package/dist/chunks/{command-v5e29gby.js → aisdk-native-3y7eprkn.js} +11 -11
  50. package/dist/chunks/{command-8x9ea4c9.js → aisdk-native-3zv9j8n5.js} +4 -4
  51. package/dist/chunks/{command-ynd8sjv4.js → aisdk-native-40c9kwxd.js} +7 -7
  52. package/dist/chunks/{command-40y6dtc2.js → aisdk-native-40y6dtc2.js} +1 -1
  53. package/dist/chunks/{command-44pmzq9c.js → aisdk-native-44pmzq9c.js} +2 -2
  54. package/dist/chunks/{command-cmy2s0zw.js → aisdk-native-4c0yvayj.js} +21 -21
  55. package/dist/chunks/{command-8cg7mtm3.js → aisdk-native-4d2dtj2f.js} +4 -4
  56. package/dist/chunks/{command-w730jqkp.js → aisdk-native-4de84x12.js} +17 -17
  57. package/dist/chunks/{command-4dx1dgte.js → aisdk-native-4dx1dgte.js} +1 -1
  58. package/dist/chunks/{command-4pyp9zr9.js → aisdk-native-4pyp9zr9.js} +1 -1
  59. package/dist/chunks/{command-crwdkx70.js → aisdk-native-4sr13vh3.js} +23 -23
  60. package/dist/chunks/{command-4v008n1t.js → aisdk-native-4v008n1t.js} +1 -1
  61. package/dist/chunks/{command-31avdb49.js → aisdk-native-4ygb74tw.js} +8 -8
  62. package/dist/chunks/{command-pna81q4q.js → aisdk-native-525nbxr8.js} +3 -3
  63. package/dist/chunks/{command-by0v9jkf.js → aisdk-native-56xa55a4.js} +3 -3
  64. package/dist/chunks/{command-91mja9mb.js → aisdk-native-5989hf6w.js} +3 -3
  65. package/dist/chunks/{command-480gje97.js → aisdk-native-5b9q82z5.js} +14 -14
  66. package/dist/chunks/{command-bk0kcnb3.js → aisdk-native-5bkwmb8a.js} +30 -30
  67. package/dist/chunks/{command-cpvnd12n.js → aisdk-native-5da2xxmr.js} +8 -8
  68. package/dist/chunks/{command-gzsjrwdp.js → aisdk-native-5jcn0nh0.js} +7 -7
  69. package/dist/chunks/{command-c9w007wn.js → aisdk-native-5knbs3ec.js} +12 -12
  70. package/dist/chunks/{command-1dkwr9xd.js → aisdk-native-5m4ktzb3.js} +32 -32
  71. package/dist/chunks/{command-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
  72. package/dist/chunks/{command-b6vsg801.js → aisdk-native-5nnwax6m.js} +5 -5
  73. package/dist/chunks/{command-p4qdt5t6.js → aisdk-native-5pkt7sn3.js} +15 -15
  74. package/dist/chunks/{command-fpasp1bt.js → aisdk-native-5rjjt12m.js} +4 -4
  75. package/dist/chunks/{command-edm37t96.js → aisdk-native-5zpqhmp2.js} +6 -6
  76. package/dist/chunks/{command-9cat8ctb.js → aisdk-native-63ehxyxs.js} +135 -135
  77. package/dist/chunks/{command-nmvjxcsb.js → aisdk-native-64a6yh9c.js} +24 -24
  78. package/dist/chunks/{command-wczdw8fa.js → aisdk-native-67wxs10g.js} +35 -35
  79. package/dist/chunks/{command-26wfx3k0.js → aisdk-native-694dpcrp.js} +7 -7
  80. package/dist/chunks/{command-6fy01jvj.js → aisdk-native-6bx3h70m.js} +2 -2
  81. package/dist/chunks/{command-bbp6z759.js → aisdk-native-6q95jq0k.js} +22 -22
  82. package/dist/chunks/{command-h6kevxeh.js → aisdk-native-6wg5h90z.js} +39 -39
  83. package/dist/chunks/{command-pen16d07.js → aisdk-native-7215dbqr.js} +6 -6
  84. package/dist/chunks/{command-9bgjscja.js → aisdk-native-72f56jp5.js} +11 -11
  85. package/dist/chunks/{command-m7wy21p6.js → aisdk-native-73xvdnhv.js} +13 -13
  86. package/dist/chunks/{command-4jdt20jx.js → aisdk-native-769j79r2.js} +16 -16
  87. package/dist/chunks/{command-76cb1hcw.js → aisdk-native-76cb1hcw.js} +1 -1
  88. package/dist/chunks/{command-775hqbnd.js → aisdk-native-775hqbnd.js} +3 -3
  89. package/dist/chunks/{command-zjc1zpf3.js → aisdk-native-79fff19h.js} +8 -8
  90. package/dist/chunks/{command-pe49zvgn.js → aisdk-native-7bhc5kda.js} +73 -73
  91. package/dist/chunks/{command-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
  92. package/dist/chunks/{command-grg0trsd.js → aisdk-native-7j3szbd7.js} +4 -4
  93. package/dist/chunks/{command-7kr66rt3.js → aisdk-native-7kr66rt3.js} +1 -1
  94. package/dist/chunks/{command-x4mcewfn.js → aisdk-native-7nqkf5r1.js} +4 -4
  95. package/dist/chunks/{command-0mtc9g0s.js → aisdk-native-7rseffyz.js} +11 -11
  96. package/dist/chunks/{command-7w2ypzdf.js → aisdk-native-7w2ypzdf.js} +1 -1
  97. package/dist/chunks/{command-d7mf0cbr.js → aisdk-native-7w4kbttg.js} +31 -31
  98. package/dist/chunks/{command-7weczvnd.js → aisdk-native-7weczvnd.js} +1 -1
  99. package/dist/chunks/{command-ypn3ny7b.js → aisdk-native-81z2hnk2.js} +15 -15
  100. package/dist/chunks/{command-br1wrt32.js → aisdk-native-87k2xhbw.js} +59 -59
  101. package/dist/chunks/{command-89287pr7.js → aisdk-native-89287pr7.js} +1 -1
  102. package/dist/chunks/{command-25h84942.js → aisdk-native-8b3vzgkx.js} +4 -4
  103. package/dist/chunks/{command-pyp1n8q3.js → aisdk-native-8btjkewv.js} +11 -11
  104. package/dist/chunks/{command-bcwkd7ht.js → aisdk-native-8dtrc71z.js} +9 -9
  105. package/dist/chunks/{command-12y3fhxk.js → aisdk-native-8e54djqe.js} +4 -4
  106. package/dist/chunks/{command-kzdam8c6.js → aisdk-native-8hfctyyf.js} +7 -7
  107. package/dist/chunks/{command-xmpds20m.js → aisdk-native-8hvkce8x.js} +8 -8
  108. package/dist/chunks/{command-6mftbgcc.js → aisdk-native-8n79c516.js} +3 -3
  109. package/dist/chunks/{command-8sxe6kv8.js → aisdk-native-8sxe6kv8.js} +2 -2
  110. package/dist/chunks/{command-8wtp7s3z.js → aisdk-native-8wtp7s3z.js} +1 -1
  111. package/dist/chunks/{command-90zstvax.js → aisdk-native-90zstvax.js} +1 -1
  112. package/dist/chunks/{command-h5chy42v.js → aisdk-native-94e33dpz.js} +3 -3
  113. package/dist/chunks/{command-q6yya7b3.js → aisdk-native-96te9d4b.js} +5 -5
  114. package/dist/chunks/{command-cfx3hvwj.js → aisdk-native-981ce9j0.js} +10 -10
  115. package/dist/chunks/{command-eyprk2c0.js → aisdk-native-9fd8c7rs.js} +6 -6
  116. package/dist/chunks/{command-np7pfd3k.js → aisdk-native-9fwptsga.js} +4 -4
  117. package/dist/chunks/{command-h00x88kt.js → aisdk-native-9m04kdeh.js} +33 -33
  118. package/dist/chunks/{command-t1w2f4hm.js → aisdk-native-a3ap5jhp.js} +12 -12
  119. package/dist/chunks/{command-0t98qjth.js → aisdk-native-a62hss96.js} +36 -36
  120. package/dist/chunks/{command-c68316wq.js → aisdk-native-aasyha94.js} +3 -3
  121. package/dist/chunks/{command-93crpah6.js → aisdk-native-ad46p625.js} +9 -9
  122. package/dist/chunks/{command-xxywzmpz.js → aisdk-native-adbhcxyp.js} +8 -8
  123. package/dist/chunks/{command-m033a469.js → aisdk-native-arf161mg.js} +20 -20
  124. package/dist/chunks/{command-qcbm8ygy.js → aisdk-native-avb8r9q2.js} +11 -11
  125. package/dist/chunks/{command-ayjs7tqn.js → aisdk-native-ayjs7tqn.js} +2 -2
  126. package/dist/chunks/{command-yp7565be.js → aisdk-native-b1q59j2w.js} +16 -16
  127. package/dist/chunks/{command-gcd8vjs4.js → aisdk-native-b39p1ge5.js} +29 -29
  128. package/dist/chunks/{command-2zdv0xg6.js → aisdk-native-b8jt0kff.js} +9 -9
  129. package/dist/chunks/{command-4d1kxyt7.js → aisdk-native-bbdas7zc.js} +15 -15
  130. package/dist/chunks/{command-2jyenyr4.js → aisdk-native-bhm0wtx3.js} +9 -9
  131. package/dist/chunks/{command-3ae1xfpg.js → aisdk-native-bhqr4kwt.js} +9 -9
  132. package/dist/chunks/{command-hyyv5ram.js → aisdk-native-bjz3m2b8.js} +12 -12
  133. package/dist/chunks/{command-67wwskyb.js → aisdk-native-brv6mkyx.js} +4 -4
  134. package/dist/chunks/{command-bstexjd6.js → aisdk-native-bstexjd6.js} +1 -1
  135. package/dist/chunks/{command-eg8gjqc9.js → aisdk-native-chz3q9jb.js} +31 -31
  136. package/dist/chunks/{command-1ethyhtf.js → aisdk-native-cjxqdvdr.js} +3 -3
  137. package/dist/chunks/{command-4v7q4055.js → aisdk-native-cqgtnhxk.js} +9 -9
  138. package/dist/chunks/{command-gk5xmt04.js → aisdk-native-ct67btrp.js} +5 -5
  139. package/dist/chunks/{command-646pg8x8.js → aisdk-native-ctgfwr68.js} +25 -25
  140. package/dist/chunks/{command-62ngc9ha.js → aisdk-native-cvh44ss2.js} +8 -8
  141. package/dist/chunks/{command-cwrgdav8.js → aisdk-native-cwrgdav8.js} +2 -2
  142. package/dist/chunks/{command-bfjhbyam.js → aisdk-native-czfx1z9m.js} +9 -9
  143. package/dist/chunks/{command-4hhyssj0.js → aisdk-native-d1q924fv.js} +16 -16
  144. package/dist/chunks/{command-cq83j3ek.js → aisdk-native-d27wbg5v.js} +13 -13
  145. package/dist/chunks/{command-d4v9tmah.js → aisdk-native-d4v9tmah.js} +2 -2
  146. package/dist/chunks/{command-pc18qqdt.js → aisdk-native-d9dnx0f6.js} +8 -8
  147. package/dist/chunks/{command-r6mp4hkw.js → aisdk-native-dag99q2j.js} +13 -13
  148. package/dist/chunks/{command-hc7kk28r.js → aisdk-native-dbwb1ca8.js} +17 -17
  149. package/dist/chunks/{command-3ntfh06s.js → aisdk-native-dkncepf8.js} +8 -8
  150. package/dist/chunks/{command-j4k52jwy.js → aisdk-native-dq1jqyq2.js} +39 -39
  151. package/dist/chunks/{command-0h8q5847.js → aisdk-native-dqb3n79d.js} +3 -3
  152. package/dist/chunks/{command-dt77769w.js → aisdk-native-dt77769w.js} +1 -1
  153. package/dist/chunks/{command-4135qxvw.js → aisdk-native-e45cdfc2.js} +22 -22
  154. package/dist/chunks/{command-f85k213m.js → aisdk-native-e5xnebe0.js} +29 -29
  155. package/dist/chunks/{command-e834z07m.js → aisdk-native-e834z07m.js} +1 -1
  156. package/dist/chunks/{command-j8avw84j.js → aisdk-native-e8hyxvrp.js} +12 -12
  157. package/dist/chunks/{command-ddwaa558.js → aisdk-native-e8pm465n.js} +4 -4
  158. package/dist/chunks/{command-1ck8c7p2.js → aisdk-native-ee9rx73x.js} +18 -18
  159. package/dist/chunks/{command-fd18rm2r.js → aisdk-native-efd8p617.js} +15 -15
  160. package/dist/chunks/{command-jfvkyem6.js → aisdk-native-effc5byb.js} +22 -22
  161. package/dist/chunks/{command-a089nqtb.js → aisdk-native-eg7f9p16.js} +4 -4
  162. package/dist/chunks/{command-c32zfq3f.js → aisdk-native-egbzq5kh.js} +8 -8
  163. package/dist/chunks/{command-xznmvtrx.js → aisdk-native-emngcw9w.js} +16 -16
  164. package/dist/chunks/{command-eqw4pqj1.js → aisdk-native-eqw4pqj1.js} +2 -2
  165. package/dist/chunks/{command-8ty8az89.js → aisdk-native-ezdn82yg.js} +25 -25
  166. package/dist/chunks/{command-x2x0p9p0.js → aisdk-native-f040m6d7.js} +16 -16
  167. package/dist/chunks/{command-3kpzvbrd.js → aisdk-native-f46ba4za.js} +9 -9
  168. package/dist/chunks/{command-v8t80082.js → aisdk-native-fa57zxca.js} +54 -54
  169. package/dist/chunks/{command-fffv3p7h.js → aisdk-native-fffv3p7h.js} +1 -1
  170. package/dist/chunks/{command-yc277nf8.js → aisdk-native-fg1tdg0x.js} +25 -25
  171. package/dist/chunks/{command-fg9p65nk.js → aisdk-native-fg9p65nk.js} +2 -2
  172. package/dist/chunks/{command-ncgygh99.js → aisdk-native-fk0xted7.js} +19 -19
  173. package/dist/chunks/{command-34memwys.js → aisdk-native-fn56n0yg.js} +10 -10
  174. package/dist/chunks/{command-7ht08nzg.js → aisdk-native-fqff4ckk.js} +14 -14
  175. package/dist/chunks/{command-wafs2pe0.js → aisdk-native-fr5cnkv6.js} +5 -5
  176. package/dist/chunks/{command-4wkjhmtn.js → aisdk-native-fstyqyv3.js} +21 -21
  177. package/dist/chunks/{command-82zzf805.js → aisdk-native-fvgj1da1.js} +7 -7
  178. package/dist/chunks/{command-bncgzw47.js → aisdk-native-fxvgdqdk.js} +9 -9
  179. package/dist/chunks/{command-cp015mtv.js → aisdk-native-fyax8sdy.js} +9 -9
  180. package/dist/chunks/{command-f6xrwzvp.js → aisdk-native-fzf6fhk6.js} +21 -21
  181. package/dist/chunks/{command-cf3f13z6.js → aisdk-native-g4v74gy6.js} +8 -8
  182. package/dist/chunks/{command-fd6qrwf6.js → aisdk-native-g92heepp.js} +1 -1
  183. package/dist/chunks/{command-gbjdnr5j.js → aisdk-native-gbjdnr5j.js} +2 -2
  184. package/dist/chunks/{command-r2yj4tp7.js → aisdk-native-gdzkw0rw.js} +17 -17
  185. package/dist/chunks/{command-dcrq9x9w.js → aisdk-native-gj7jfm6z.js} +10 -10
  186. package/dist/chunks/{command-en16g0fa.js → aisdk-native-gjdpjdn9.js} +13 -13
  187. package/dist/chunks/{command-qj7xpee3.js → aisdk-native-gtjns7s7.js} +12 -12
  188. package/dist/chunks/{command-fjt3j6q5.js → aisdk-native-h29npdwn.js} +20 -20
  189. package/dist/chunks/aisdk-native-h45y3ser.js +26 -0
  190. package/dist/chunks/{command-danjpmwv.js → aisdk-native-h6nmk6np.js} +18 -18
  191. package/dist/chunks/{command-k9qkjmjj.js → aisdk-native-h8yt3dqj.js} +9 -9
  192. package/dist/chunks/{command-v3qz5a9b.js → aisdk-native-h93ymam8.js} +27 -27
  193. package/dist/chunks/{command-1nkn9ee5.js → aisdk-native-ha5tj4ya.js} +1 -1
  194. package/dist/chunks/{command-9kxbeh9f.js → aisdk-native-harf28dt.js} +21 -21
  195. package/dist/chunks/{command-hpg1pkwy.js → aisdk-native-hpg1pkwy.js} +1 -1
  196. package/dist/chunks/{command-bmkaz8yz.js → aisdk-native-hsgfnn7t.js} +32 -32
  197. package/dist/chunks/{command-jf43mb4q.js → aisdk-native-hsnq1va6.js} +5 -5
  198. package/dist/chunks/{command-b3fqmy3y.js → aisdk-native-j625qryt.js} +8 -8
  199. package/dist/chunks/{command-x0zqxrsp.js → aisdk-native-j73h1yva.js} +5 -5
  200. package/dist/chunks/{command-eqt0t2ze.js → aisdk-native-j994fjyc.js} +5 -5
  201. package/dist/chunks/{command-j9nxzz3g.js → aisdk-native-j9nxzz3g.js} +3 -3
  202. package/dist/chunks/{command-djejg4dy.js → aisdk-native-jahxfc61.js} +9 -9
  203. package/dist/chunks/{command-q398sxw9.js → aisdk-native-je50h033.js} +333 -333
  204. package/dist/chunks/{command-qfmv8rq5.js → aisdk-native-jpqmwswa.js} +20 -20
  205. package/dist/chunks/{command-nvday014.js → aisdk-native-jqsw4n81.js} +5 -5
  206. package/dist/chunks/{command-jtnps1zs.js → aisdk-native-jtnps1zs.js} +2 -2
  207. package/dist/chunks/{command-3zjxarqk.js → aisdk-native-jwwjpzn7.js} +32 -32
  208. package/dist/chunks/{command-dpz7e168.js → aisdk-native-k23fm4gd.js} +39 -39
  209. package/dist/chunks/{command-bfgpgnwm.js → aisdk-native-k7m7y9qh.js} +16 -16
  210. package/dist/chunks/{command-gh1y3rvh.js → aisdk-native-knf3s6vy.js} +14 -14
  211. package/dist/chunks/{command-stv14asb.js → aisdk-native-kp5hmh5q.js} +2 -2
  212. package/dist/chunks/{command-kt3bjfbg.js → aisdk-native-kt3bjfbg.js} +1 -1
  213. package/dist/chunks/{command-pymf5tg2.js → aisdk-native-kwsgp0hy.js} +78 -78
  214. package/dist/chunks/{command-cqt1n9zr.js → aisdk-native-ky8exc9y.js} +21 -21
  215. package/dist/chunks/{command-kzczzf4v.js → aisdk-native-kzczzf4v.js} +1 -1
  216. package/dist/chunks/{command-m1714858.js → aisdk-native-m1714858.js} +1 -1
  217. package/dist/chunks/{command-yeea4sy2.js → aisdk-native-m4d0vgn9.js} +10 -10
  218. package/dist/chunks/{command-0hmh74vw.js → aisdk-native-m4x6re70.js} +5 -5
  219. package/dist/chunks/{command-tx09378e.js → aisdk-native-m6msk9wb.js} +30 -30
  220. package/dist/chunks/{command-3djkmwgc.js → aisdk-native-m7m5pkx7.js} +18 -18
  221. package/dist/chunks/{command-bzdbkzj3.js → aisdk-native-m9ps4pev.js} +2 -2
  222. package/dist/chunks/{command-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
  223. package/dist/chunks/{command-mb7mbhnz.js → aisdk-native-mb7mbhnz.js} +3 -3
  224. package/dist/chunks/{command-v0t96s7a.js → aisdk-native-mf63ygpr.js} +4 -4
  225. package/dist/chunks/{command-16arwrrz.js → aisdk-native-mfd6jzyx.js} +35 -35
  226. package/dist/chunks/{command-1scgcwfj.js → aisdk-native-mqe7nf5n.js} +3 -3
  227. package/dist/chunks/{command-1v2g13eq.js → aisdk-native-msd2a3qm.js} +4 -4
  228. package/dist/chunks/{command-p8cy59x8.js → aisdk-native-mwrcs12n.js} +7 -7
  229. package/dist/chunks/{command-g5dw3jkc.js → aisdk-native-myd0qpm2.js} +17 -17
  230. package/dist/chunks/{command-mzm8bzzq.js → aisdk-native-mzm8bzzq.js} +1 -1
  231. package/dist/chunks/{command-kzrftevf.js → aisdk-native-mzy7bak7.js} +5 -5
  232. package/dist/chunks/{command-98hcgb4h.js → aisdk-native-n034570c.js} +6 -6
  233. package/dist/chunks/{command-x9xc5xsf.js → aisdk-native-n1cy96p8.js} +48 -48
  234. package/dist/chunks/{command-69a09071.js → aisdk-native-n3gxmvth.js} +5 -5
  235. package/dist/chunks/{command-cp1c96n9.js → aisdk-native-ne3rtm9t.js} +4 -4
  236. package/dist/chunks/{command-bephacnj.js → aisdk-native-nf13dwkt.js} +13 -13
  237. package/dist/chunks/{command-wnx6gvsz.js → aisdk-native-nk9akxx5.js} +2 -2
  238. package/dist/chunks/{command-a5f4knde.js → aisdk-native-nnmrexdw.js} +11 -11
  239. package/dist/chunks/{command-61f595a1.js → aisdk-native-nvbqy0px.js} +6 -6
  240. package/dist/chunks/{command-68knvcz4.js → aisdk-native-pa2zgtq7.js} +21 -21
  241. package/dist/chunks/{command-j7wrq4eb.js → aisdk-native-paf4xmwp.js} +7 -7
  242. package/dist/chunks/{command-7397vtrj.js → aisdk-native-pgdt3kcj.js} +45 -45
  243. package/dist/chunks/{command-qh9v8ntg.js → aisdk-native-ph6568n0.js} +30 -30
  244. package/dist/chunks/{command-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
  245. package/dist/chunks/{command-2f4qbtey.js → aisdk-native-pnxn9wt1.js} +8 -8
  246. package/dist/chunks/{command-qjd3nqs5.js → aisdk-native-pyqfa8wd.js} +34 -34
  247. package/dist/chunks/{command-qc91gfyq.js → aisdk-native-pzc1vvs0.js} +16 -16
  248. package/dist/chunks/{command-gvefjbhs.js → aisdk-native-q0e34585.js} +6 -6
  249. package/dist/chunks/{command-nqrb15q7.js → aisdk-native-q3a78a6s.js} +26 -26
  250. package/dist/chunks/{command-n5m5byr1.js → aisdk-native-q4as2y0c.js} +18 -18
  251. package/dist/chunks/{command-6cqkw5v2.js → aisdk-native-q6a7h9km.js} +7 -7
  252. package/dist/chunks/{command-tw3pa4d5.js → aisdk-native-qdxqp53x.js} +17 -17
  253. package/dist/chunks/{command-f6p850ad.js → aisdk-native-qf4nt2p7.js} +35 -35
  254. package/dist/chunks/{command-qp7r0hxv.js → aisdk-native-qp7r0hxv.js} +1 -1
  255. package/dist/chunks/{command-qqvy8y24.js → aisdk-native-qqvy8y24.js} +1 -1
  256. package/dist/chunks/{command-wfdx5ztx.js → aisdk-native-qsdghx1p.js} +4 -4
  257. package/dist/chunks/{command-xa7vqqs3.js → aisdk-native-qwaa2xbs.js} +28 -28
  258. package/dist/chunks/{command-n4h8s75p.js → aisdk-native-qzhrkz44.js} +10 -10
  259. package/dist/chunks/{command-r17fbvme.js → aisdk-native-r17fbvme.js} +1 -1
  260. package/dist/chunks/{command-4f25tdd0.js → aisdk-native-r542h3bh.js} +5 -5
  261. package/dist/chunks/{command-6bcpeeft.js → aisdk-native-r7k8p7yq.js} +11 -11
  262. package/dist/chunks/{command-rb9dy4dg.js → aisdk-native-rb9dy4dg.js} +1 -1
  263. package/dist/chunks/{command-8rhnpct3.js → aisdk-native-remxw044.js} +1 -1
  264. package/dist/chunks/{command-b0jj9b0h.js → aisdk-native-rgbvd0y0.js} +11 -11
  265. package/dist/chunks/{command-6ja1h8q3.js → aisdk-native-rqpb9dyj.js} +4 -4
  266. package/dist/chunks/{command-rt5dr6hb.js → aisdk-native-rt5dr6hb.js} +1 -1
  267. package/dist/chunks/{command-nk428tww.js → aisdk-native-rwz27wf7.js} +15 -15
  268. package/dist/chunks/{command-qm9hf0ye.js → aisdk-native-rx7bgcev.js} +14 -14
  269. package/dist/chunks/{command-tdhae4mv.js → aisdk-native-rzdqhsac.js} +6 -6
  270. package/dist/chunks/{command-38aws4xb.js → aisdk-native-rzg6y5rp.js} +4 -4
  271. package/dist/chunks/{command-jkdcm5hg.js → aisdk-native-s26c8eb5.js} +4 -4
  272. package/dist/chunks/{command-96q1y33t.js → aisdk-native-s3z4x8ga.js} +36 -36
  273. package/dist/chunks/{command-sa3fpqfw.js → aisdk-native-sa3fpqfw.js} +2 -2
  274. package/dist/chunks/{command-4epg9cpd.js → aisdk-native-sbh593mg.js} +5 -5
  275. package/dist/chunks/{command-sbya78hr.js → aisdk-native-sbya78hr.js} +1 -1
  276. package/dist/chunks/{command-bd6yt1rr.js → aisdk-native-sd4zreae.js} +3 -3
  277. package/dist/chunks/{command-svcy3p9a.js → aisdk-native-svcy3p9a.js} +1 -1
  278. package/dist/chunks/{command-szwm4crx.js → aisdk-native-szwm4crx.js} +4 -4
  279. package/dist/chunks/{command-4aqsrd9z.js → aisdk-native-t0wm05y1.js} +2 -2
  280. package/dist/chunks/{command-zxdyzb9b.js → aisdk-native-t1859687.js} +23 -23
  281. package/dist/chunks/{command-07qaf4yv.js → aisdk-native-t4sfhbex.js} +35 -35
  282. package/dist/chunks/{command-py78875p.js → aisdk-native-t5trd2ng.js} +4 -4
  283. package/dist/chunks/{command-61qraad9.js → aisdk-native-t8erkws8.js} +5 -5
  284. package/dist/chunks/{command-tczq8hjw.js → aisdk-native-tczq8hjw.js} +1 -1
  285. package/dist/chunks/{command-gxs71cxp.js → aisdk-native-tg7s7b5t.js} +4 -4
  286. package/dist/chunks/{command-byd6ekmk.js → aisdk-native-tp5ztrde.js} +29 -29
  287. package/dist/chunks/{command-tr8x705m.js → aisdk-native-tr8x705m.js} +1 -1
  288. package/dist/chunks/{command-qw2t3dzn.js → aisdk-native-tvssxyt8.js} +6 -6
  289. package/dist/chunks/{command-twssxy5n.js → aisdk-native-twssxy5n.js} +2 -2
  290. package/dist/chunks/{command-v2r1d0zg.js → aisdk-native-v2r1d0zg.js} +1 -1
  291. package/dist/chunks/{command-tg1vr1qt.js → aisdk-native-v5hpj9dd.js} +8 -8
  292. package/dist/chunks/{command-b3a32pfz.js → aisdk-native-v8bjwhbx.js} +4 -4
  293. package/dist/chunks/{command-vjf35v1f.js → aisdk-native-vjf35v1f.js} +1 -1
  294. package/dist/chunks/{command-kj9n5bvh.js → aisdk-native-vmqe41cb.js} +4 -4
  295. package/dist/chunks/{command-vt4r9rmy.js → aisdk-native-vq0qa3sh.js} +9 -9
  296. package/dist/chunks/{command-px7qpgcn.js → aisdk-native-vt2d6wap.js} +4 -4
  297. package/dist/chunks/{command-40za9wsf.js → aisdk-native-w2eysc6j.js} +9 -9
  298. package/dist/chunks/{command-pqyke20e.js → aisdk-native-w3c3s7r0.js} +16 -16
  299. package/dist/chunks/{command-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
  300. package/dist/chunks/{command-pqpped4x.js → aisdk-native-w4whpxh7.js} +38 -38
  301. package/dist/chunks/{command-hkb47ark.js → aisdk-native-w8v4r4fn.js} +15 -15
  302. package/dist/chunks/{command-wakvkjy4.js → aisdk-native-wakvkjy4.js} +1 -1
  303. package/dist/chunks/{command-0b4k4pxz.js → aisdk-native-wasdyj5w.js} +21 -21
  304. package/dist/chunks/{command-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
  305. package/dist/chunks/{command-wegkxhrn.js → aisdk-native-wegkxhrn.js} +2 -2
  306. package/dist/chunks/{command-wzqa1p8j.js → aisdk-native-wh8d5zjq.js} +9 -9
  307. package/dist/chunks/{command-wnhgecwx.js → aisdk-native-wnhgecwx.js} +1 -1
  308. package/dist/chunks/{command-wr3re1en.js → aisdk-native-wr3re1en.js} +1 -1
  309. package/dist/chunks/{command-79k544d0.js → aisdk-native-wvr8xscb.js} +7 -7
  310. package/dist/chunks/{command-szdpkamw.js → aisdk-native-wzmqh03z.js} +25 -25
  311. package/dist/chunks/{command-vcqv95a1.js → aisdk-native-x0xnyk6f.js} +4 -4
  312. package/dist/chunks/{command-x150ncgg.js → aisdk-native-x150ncgg.js} +2 -2
  313. package/dist/chunks/{command-q8w0wzkt.js → aisdk-native-x1kzphw6.js} +9 -9
  314. package/dist/chunks/{command-7j4g50fg.js → aisdk-native-x5pnbcqp.js} +12 -12
  315. package/dist/chunks/{command-3ta8hwe1.js → aisdk-native-xfwcn7qq.js} +18 -18
  316. package/dist/chunks/{command-xgxp23qn.js → aisdk-native-xgxp23qn.js} +4 -4
  317. package/dist/chunks/{command-63xym3gh.js → aisdk-native-xmx7xj34.js} +4 -4
  318. package/dist/chunks/{command-8dt1w74b.js → aisdk-native-xs4v6pb6.js} +30 -30
  319. package/dist/chunks/{command-mr43x1ez.js → aisdk-native-y70dfn3t.js} +7 -7
  320. package/dist/chunks/{command-t41yqt6v.js → aisdk-native-y7q0fr5q.js} +11 -11
  321. package/dist/chunks/{command-6g8fwdfn.js → aisdk-native-y8djn8bh.js} +3 -3
  322. package/dist/chunks/{command-yb20nhc3.js → aisdk-native-yb20nhc3.js} +1 -1
  323. package/dist/chunks/{command-6ncgp3d4.js → aisdk-native-yb8z1vvb.js} +9 -9
  324. package/dist/chunks/aisdk-native-ypbnvhqf.js +261 -0
  325. package/dist/chunks/{command-tndbqne4.js → aisdk-native-yqzt6kpb.js} +35 -35
  326. package/dist/chunks/{command-yr705xyq.js → aisdk-native-yr705xyq.js} +1 -1
  327. package/dist/chunks/{command-yvtc2x31.js → aisdk-native-yvtc2x31.js} +1 -1
  328. package/dist/chunks/{command-5k96f8ej.js → aisdk-native-ywv6jdkf.js} +19 -13
  329. package/dist/chunks/{command-m67npxa6.js → aisdk-native-yzeybvwj.js} +25 -25
  330. package/dist/chunks/{command-z0hqw6m5.js → aisdk-native-z0hqw6m5.js} +1 -1
  331. package/dist/chunks/aisdk-native-z355x5yr.js +18 -0
  332. package/dist/chunks/{command-bgh17mfd.js → aisdk-native-z46p0s96.js} +18 -18
  333. package/dist/chunks/{command-j4nbxgfz.js → aisdk-native-z5xwhy0a.js} +17 -17
  334. package/dist/chunks/{command-gwj432m6.js → aisdk-native-z8ym0x4e.js} +11 -11
  335. package/dist/chunks/{command-8sb7jtsn.js → aisdk-native-zf7524d8.js} +9 -9
  336. package/dist/chunks/{command-r5xncg2p.js → aisdk-native-zsfjanx1.js} +6 -6
  337. package/dist/chunks/{command-9ah5v1j5.js → aisdk-native-zwkfyhc4.js} +17 -17
  338. package/dist/chunks/{command-zyfhsknv.js → aisdk-native-zyfhsknv.js} +2 -2
  339. package/dist/codemode/catalog.js +1 -1
  340. package/dist/codemode/execution.js +5 -5
  341. package/dist/codemode/fetch.js +145 -145
  342. package/dist/codemode/instructions.js +11 -11
  343. package/dist/codemode/tool.js +151 -151
  344. package/dist/command.js +94 -94
  345. package/dist/config/discovery.js +95 -95
  346. package/dist/config/integration.js +1 -1
  347. package/dist/config/managed.js +1 -1
  348. package/dist/config/markdown.js +1 -1
  349. package/dist/config/normalize.js +112 -112
  350. package/dist/config/plugin/agent.js +132 -132
  351. package/dist/config/plugin/command.js +231 -231
  352. package/dist/config/plugin/compaction.js +171 -171
  353. package/dist/config/plugin/compatibility.js +150 -150
  354. package/dist/config/plugin/entry-observer.js +1 -1
  355. package/dist/config/plugin/formatter.js +131 -131
  356. package/dist/config/plugin/image.js +130 -130
  357. package/dist/config/plugin/instruction.js +130 -130
  358. package/dist/config/plugin/location-watcher.js +130 -130
  359. package/dist/config/plugin/mcp.js +141 -141
  360. package/dist/config/plugin/policy.js +130 -130
  361. package/dist/config/plugin/provider.js +130 -130
  362. package/dist/config/plugin/reference.js +132 -132
  363. package/dist/config/plugin/shell.js +132 -132
  364. package/dist/config/plugin/skill-file.js +146 -146
  365. package/dist/config/plugin/skill-scan.js +1 -1
  366. package/dist/config/plugin/skill.js +153 -153
  367. package/dist/config/plugin/snapshot.js +130 -130
  368. package/dist/config/plugin/source.js +133 -133
  369. package/dist/config/plugin/tool-output.js +131 -131
  370. package/dist/config/plugin/websearch.js +131 -131
  371. package/dist/config/plugin/worktree.js +132 -132
  372. package/dist/config/variable.js +1 -1
  373. package/dist/config/watch.js +1 -1
  374. package/dist/config.js +131 -131
  375. package/dist/console-access.js +1 -1
  376. package/dist/credential/sql.js +2 -2
  377. package/dist/credential.js +84 -84
  378. package/dist/database/database.js +77 -77
  379. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  380. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  381. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  382. package/dist/database/drizzle/index.js +15 -15
  383. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  384. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  385. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  386. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  387. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  388. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  389. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  390. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  391. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  392. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  393. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  394. package/dist/database/drizzle.js +16 -16
  395. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  396. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  397. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  398. package/dist/database/migration/20260225215848_workspace.js +1 -1
  399. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  400. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  401. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  402. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  403. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  404. package/dist/database/migration/20260323234822_events.js +1 -1
  405. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  406. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  407. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  408. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  409. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  410. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  411. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  412. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  413. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  414. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  415. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  416. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  417. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  418. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  419. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  420. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  421. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  422. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  423. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  424. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  425. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  426. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  427. package/dist/database/migration/20260611035744_credential.js +1 -1
  428. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  429. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  430. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  431. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  432. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  433. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  434. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  435. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  436. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  437. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  438. package/dist/database/migration/20260812213948_worktree.js +1 -1
  439. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  440. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  441. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  442. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  443. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  444. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  445. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  446. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  447. package/dist/database/migration/20261025123711_blob.js +1 -1
  448. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  449. package/dist/database/migration/20261026223005_schedule.js +1 -1
  450. package/dist/database/migration/20261029002625_session_part.js +1 -1
  451. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  452. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  453. package/dist/database/migration/20261030054400_job.js +1 -1
  454. package/dist/database/migration.gen.js +60 -60
  455. package/dist/database/migration.js +62 -62
  456. package/dist/database/path.js +2 -2
  457. package/dist/database/schema.gen.js +1 -1
  458. package/dist/database/schema.sql.js +1 -1
  459. package/dist/database/v1-migration.bun.js +100 -100
  460. package/dist/database/v1-migration.js +1 -1
  461. package/dist/effect/app-node-builder.js +430 -430
  462. package/dist/effect/app-node-platform.js +2 -2
  463. package/dist/effect/keyed-mutex.js +3 -3
  464. package/dist/effect/websocket-constructor.js +1 -1
  465. package/dist/environment/driver.js +1 -1
  466. package/dist/environment/environment.js +106 -106
  467. package/dist/environment/exec-defaults.js +2 -2
  468. package/dist/environment/files.js +1 -1
  469. package/dist/environment/index.js +106 -106
  470. package/dist/environment/local.js +2 -2
  471. package/dist/environment/memory.js +2 -2
  472. package/dist/environment/unavailable.js +1 -1
  473. package/dist/event/sql.js +1 -1
  474. package/dist/event-logger.js +81 -81
  475. package/dist/file-access.js +156 -156
  476. package/dist/file-mutation.js +107 -107
  477. package/dist/file-retention.js +1 -1
  478. package/dist/filesystem/fff.bun.js +2 -2
  479. package/dist/filesystem/fff.js +1 -1
  480. package/dist/filesystem/fff.node.js +2 -2
  481. package/dist/filesystem/fff.workerd.js +2 -2
  482. package/dist/filesystem/file-watch.js +88 -88
  483. package/dist/filesystem/location-watcher-policy.js +6 -6
  484. package/dist/filesystem/location-watcher.js +243 -243
  485. package/dist/filesystem/protected.js +1 -1
  486. package/dist/filesystem/search.js +112 -112
  487. package/dist/filesystem/watcher-binding.js +1 -1
  488. package/dist/filesystem/watcher.js +9 -9
  489. package/dist/filesystem.js +117 -117
  490. package/dist/form.js +81 -81
  491. package/dist/formatter/builtins.js +4 -4
  492. package/dist/formatter.js +100 -100
  493. package/dist/generate.js +120 -120
  494. package/dist/git.js +11 -11
  495. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  496. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  497. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  498. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  499. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  500. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  501. package/dist/github-copilot/copilot-provider.js +17 -17
  502. package/dist/github-copilot/models.js +104 -104
  503. package/dist/github-copilot/openai-compatible-error.js +1 -1
  504. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  505. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  506. package/dist/github-copilot/responses/openai-error.js +1 -1
  507. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  508. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  509. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  510. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  511. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  512. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  513. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  514. package/dist/image/notice.js +3 -3
  515. package/dist/image/photon-normalize.js +1 -1
  516. package/dist/image/photon-worker.js +1 -1
  517. package/dist/image/photon.js +4 -4
  518. package/dist/image.js +6 -6
  519. package/dist/instance/service.js +5 -5
  520. package/dist/instance.js +421 -421
  521. package/dist/instruction-discovery.js +91 -91
  522. package/dist/instructions/builtins.js +100 -100
  523. package/dist/instructions/index.js +1 -1
  524. package/dist/integration/connection.js +1 -1
  525. package/dist/integration.js +88 -88
  526. package/dist/job/sql.js +2 -2
  527. package/dist/job.js +86 -86
  528. package/dist/kv/sql.js +2 -2
  529. package/dist/kv.js +84 -84
  530. package/dist/location-activity.js +176 -176
  531. package/dist/location-lifecycle.js +150 -150
  532. package/dist/location-service-map.js +99 -99
  533. package/dist/location-services.js +418 -418
  534. package/dist/location.js +98 -98
  535. package/dist/managed-policy.js +3 -3
  536. package/dist/mcp/client.js +104 -104
  537. package/dist/mcp/index.js +114 -114
  538. package/dist/mcp/instructions.js +173 -173
  539. package/dist/mcp/oauth.js +86 -86
  540. package/dist/mcp/socket-client.js +1 -1
  541. package/dist/mcp/stdio.js +103 -103
  542. package/dist/mime.js +1 -1
  543. package/dist/modal/models.js +104 -104
  544. package/dist/model-resolver.js +112 -112
  545. package/dist/model-retry.js +1 -1
  546. package/dist/model.js +109 -109
  547. package/dist/models-dev/v1.js +1 -1
  548. package/dist/models-dev.js +115 -115
  549. package/dist/oauth/page.js +1 -1
  550. package/dist/permission/saved.js +91 -91
  551. package/dist/permission/sql.js +5 -5
  552. package/dist/permission.js +149 -149
  553. package/dist/persistent-pty/binary.bun.js +1 -1
  554. package/dist/persistent-pty/daemon.js +1 -1
  555. package/dist/persistent-pty/index.js +93 -93
  556. package/dist/persistent-pty/pty-binding.js +1 -1
  557. package/dist/persistent-pty.js +86 -86
  558. package/dist/plugin/agent.js +87 -87
  559. package/dist/plugin/command.js +115 -115
  560. package/dist/plugin/goal.js +3 -3
  561. package/dist/plugin/hooks.js +5 -5
  562. package/dist/plugin/host.js +236 -236
  563. package/dist/plugin/identity.js +5 -5
  564. package/dist/plugin/instance.js +5 -5
  565. package/dist/plugin/internal.js +397 -397
  566. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  567. package/dist/plugin/models-dev.js +110 -110
  568. package/dist/plugin/module.js +129 -129
  569. package/dist/plugin/optimize.js +2 -2
  570. package/dist/plugin/plan.js +146 -146
  571. package/dist/plugin/promise.js +1 -1
  572. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  573. package/dist/plugin/provider/azure.js +132 -132
  574. package/dist/plugin/provider/cerebras.js +1 -1
  575. package/dist/plugin/provider/chatgpt.js +130 -130
  576. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  577. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  578. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  579. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  580. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  581. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  582. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  583. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  584. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  585. package/dist/plugin/provider/claude-agent/index.js +145 -145
  586. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  587. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  588. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  589. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  590. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  591. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  592. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  593. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  594. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  595. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  596. package/dist/plugin/provider/claude-agent/session.js +112 -112
  597. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  598. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  599. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  600. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  601. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  602. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  603. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  604. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  605. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  606. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  607. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  608. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  609. package/dist/plugin/provider/configured.js +126 -126
  610. package/dist/plugin/provider/credential-settings.js +85 -85
  611. package/dist/plugin/provider/databricks.js +1 -1
  612. package/dist/plugin/provider/digitalocean.js +108 -108
  613. package/dist/plugin/provider/dynamic.js +2 -2
  614. package/dist/plugin/provider/github-copilot.js +110 -110
  615. package/dist/plugin/provider/gitlab.js +107 -107
  616. package/dist/plugin/provider/google-vertex.js +127 -127
  617. package/dist/plugin/provider/kilo.js +1 -1
  618. package/dist/plugin/provider/llmgateway.js +89 -89
  619. package/dist/plugin/provider/lmstudio.js +139 -139
  620. package/dist/plugin/provider/local.js +136 -136
  621. package/dist/plugin/provider/modal.js +107 -107
  622. package/dist/plugin/provider/neon.js +1 -1
  623. package/dist/plugin/provider/nvidia.js +1 -1
  624. package/dist/plugin/provider/ollama.js +139 -139
  625. package/dist/plugin/provider/openai-context-caps.js +103 -103
  626. package/dist/plugin/provider/openai.js +130 -130
  627. package/dist/plugin/provider/opencode.js +155 -132
  628. package/dist/plugin/provider/openrouter.js +104 -104
  629. package/dist/plugin/provider/poe.js +90 -90
  630. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  631. package/dist/plugin/provider/refresh.js +87 -87
  632. package/dist/plugin/provider/sap-ai-core.js +104 -104
  633. package/dist/plugin/provider/sdk-factory.js +1 -1
  634. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  635. package/dist/plugin/provider/vllm.js +139 -139
  636. package/dist/plugin/provider/xai.js +104 -104
  637. package/dist/plugin/provider/zenmux.js +1 -1
  638. package/dist/plugin/provider.js +234 -212
  639. package/dist/plugin/sdk.js +87 -87
  640. package/dist/plugin/service.js +3 -3
  641. package/dist/plugin/skill.js +149 -149
  642. package/dist/plugin/source-directory.js +1 -1
  643. package/dist/plugin/supervisor.js +409 -409
  644. package/dist/plugin/tool-input-repair.js +4 -4
  645. package/dist/plugin/update.js +6 -6
  646. package/dist/plugin/vcs/git.js +99 -99
  647. package/dist/plugin/vcs/hg.js +99 -99
  648. package/dist/plugin/verbosity.js +106 -106
  649. package/dist/plugin/warming.js +130 -130
  650. package/dist/plugin/websearch/exa.js +7 -7
  651. package/dist/plugin/websearch/firecrawl.js +8 -8
  652. package/dist/plugin/websearch/index.js +9 -9
  653. package/dist/plugin/websearch/mcp.js +6 -6
  654. package/dist/plugin/websearch/parallel.js +8 -8
  655. package/dist/plugin/websearch/tavily.js +4 -4
  656. package/dist/plugin/websearch/tinyfish.js +8 -8
  657. package/dist/plugin.js +243 -243
  658. package/dist/project/icon.js +5 -5
  659. package/dist/project/schema.js +2 -2
  660. package/dist/project/sql.js +4 -4
  661. package/dist/project.js +97 -97
  662. package/dist/provider.js +106 -106
  663. package/dist/pty/protocol.js +1 -1
  664. package/dist/pty/ticket.js +1 -1
  665. package/dist/pty.js +99 -99
  666. package/dist/reference/instructions.js +101 -101
  667. package/dist/reference.js +103 -103
  668. package/dist/repository-cache.js +93 -93
  669. package/dist/repository.js +1 -1
  670. package/dist/ripgrep/binary.js +2 -2
  671. package/dist/ripgrep.js +110 -110
  672. package/dist/rpc.js +99 -99
  673. package/dist/schedule/check.js +241 -241
  674. package/dist/schedule/sql.js +6 -6
  675. package/dist/schedule.js +249 -249
  676. package/dist/schema.js +1 -1
  677. package/dist/session/affinity.js +1 -1
  678. package/dist/session/background.js +1 -1
  679. package/dist/session/blob.js +129 -129
  680. package/dist/session/command.js +85 -85
  681. package/dist/session/compaction.js +169 -169
  682. package/dist/session/context.js +194 -194
  683. package/dist/session/diff.js +101 -101
  684. package/dist/session/environment.js +5 -5
  685. package/dist/session/error.js +5 -5
  686. package/dist/session/event.js +1 -1
  687. package/dist/session/execution/restart.js +240 -240
  688. package/dist/session/execution.js +163 -163
  689. package/dist/session/generate.js +198 -198
  690. package/dist/session/history.js +136 -136
  691. package/dist/session/inbox.js +147 -147
  692. package/dist/session/info.js +3 -3
  693. package/dist/session/instruction-entry.js +88 -88
  694. package/dist/session/instruction-state.js +8 -8
  695. package/dist/session/instructions.js +143 -143
  696. package/dist/session/message-updater.js +4 -4
  697. package/dist/session/message.js +1 -1
  698. package/dist/session/model-request.js +166 -166
  699. package/dist/session/model-transport.js +7 -7
  700. package/dist/session/move.js +165 -165
  701. package/dist/session/projector.js +143 -143
  702. package/dist/session/prompt.js +148 -148
  703. package/dist/session/recent-text.js +1 -1
  704. package/dist/session/revert.js +139 -139
  705. package/dist/session/run-coordinator.js +3 -3
  706. package/dist/session/runner/index.js +3 -3
  707. package/dist/session/runner/llm.js +250 -250
  708. package/dist/session/runner/max-steps.js +1 -1
  709. package/dist/session/runner/model.js +113 -113
  710. package/dist/session/runner/publish-llm-event.js +149 -149
  711. package/dist/session/runner/retry.js +5 -5
  712. package/dist/session/runner/step.js +163 -163
  713. package/dist/session/runner/to-llm-message.js +137 -137
  714. package/dist/session/schema.js +1 -1
  715. package/dist/session/session.js +181 -181
  716. package/dist/session/shell.js +144 -144
  717. package/dist/session/skill.js +147 -147
  718. package/dist/session/sql.js +5 -5
  719. package/dist/session/stats.js +84 -84
  720. package/dist/session/store.js +142 -142
  721. package/dist/session/stored.js +2 -2
  722. package/dist/session/subagent-completion.js +3 -3
  723. package/dist/session/subagent-job.js +225 -225
  724. package/dist/session/system-prompt.js +5 -5
  725. package/dist/session/title.js +202 -202
  726. package/dist/session/to-session-error.js +148 -148
  727. package/dist/session/transfer.js +232 -232
  728. package/dist/session/usage.js +3 -3
  729. package/dist/session.js +225 -225
  730. package/dist/shared-cache.js +5 -5
  731. package/dist/shell/parse.js +6 -6
  732. package/dist/shell/result.js +1 -1
  733. package/dist/shell/scan.js +1 -1
  734. package/dist/shell/select.js +7 -7
  735. package/dist/shell.js +146 -146
  736. package/dist/skill/discovery.js +6 -6
  737. package/dist/skill/instructions.js +151 -151
  738. package/dist/skill.js +154 -154
  739. package/dist/snapshot.js +100 -100
  740. package/dist/state.js +1 -1
  741. package/dist/tool/html-markdown.js +1 -1
  742. package/dist/tool/http-body.js +1 -1
  743. package/dist/tool/mcp.js +176 -176
  744. package/dist/tool/plugin/artifact.js +228 -228
  745. package/dist/tool/plugin/edit.js +164 -164
  746. package/dist/tool/plugin/file-diff.js +1 -1
  747. package/dist/tool/plugin/glob.js +168 -168
  748. package/dist/tool/plugin/grep.js +168 -168
  749. package/dist/tool/plugin/image-generate.js +239 -239
  750. package/dist/tool/plugin/mcp-resource.js +162 -162
  751. package/dist/tool/plugin/opencode.js +161 -161
  752. package/dist/tool/plugin/patch.js +166 -166
  753. package/dist/tool/plugin/question.js +144 -144
  754. package/dist/tool/plugin/read.js +171 -171
  755. package/dist/tool/plugin/schedule.js +247 -247
  756. package/dist/tool/plugin/shell.js +235 -235
  757. package/dist/tool/plugin/skill.js +155 -155
  758. package/dist/tool/plugin/subagent.js +236 -236
  759. package/dist/tool/plugin/todo.js +153 -153
  760. package/dist/tool/plugin/webfetch.js +157 -157
  761. package/dist/tool/plugin/websearch.js +149 -149
  762. package/dist/tool/plugin/write.js +164 -164
  763. package/dist/tool/read-filesystem.js +113 -113
  764. package/dist/tool/runtime.js +1 -1
  765. package/dist/tool-output.js +7 -7
  766. package/dist/tool.js +161 -161
  767. package/dist/types/plugin/provider/opencode.d.ts +3 -1
  768. package/dist/usage-limits.js +100 -100
  769. package/dist/util/error-summary.js +1 -1
  770. package/dist/util/git-executable.js +3 -3
  771. package/dist/util/lazy.js +1 -1
  772. package/dist/util/slug.js +1 -1
  773. package/dist/util/token.js +1 -1
  774. package/dist/util/which.js +1 -1
  775. package/dist/util/wildcard.js +1 -1
  776. package/dist/v1/config/agent.js +5 -5
  777. package/dist/v1/config/command.js +3 -3
  778. package/dist/v1/config/mcp.js +4 -4
  779. package/dist/v1/config/migrate.js +105 -105
  780. package/dist/v1/config/permission.js +3 -3
  781. package/dist/v1/config/plugin.js +1 -1
  782. package/dist/v1/config/provider-options.js +1 -1
  783. package/dist/v1/config/provider.js +4 -4
  784. package/dist/variant.js +104 -104
  785. package/dist/vcs/patch.js +1 -1
  786. package/dist/vcs.js +102 -102
  787. package/dist/voice.js +101 -101
  788. package/dist/websearch.js +91 -91
  789. package/dist/wellknown/plugin.js +87 -87
  790. package/dist/wellknown.js +86 -86
  791. package/dist/workspace/driver.js +3 -3
  792. package/dist/workspace/sql.js +1 -1
  793. package/dist/workspace.js +87 -87
  794. package/dist/worktree/directory.js +2 -2
  795. package/dist/worktree/git.js +9 -9
  796. package/dist/worktree/sql.js +5 -5
  797. package/dist/worktree/strategies.js +102 -102
  798. package/dist/worktree.js +111 -111
  799. package/package.json +8 -8
  800. package/dist/chunks/command-f1m9n8xd.js +0 -26
  801. package/dist/chunks/command-grzehpz7.js +0 -18
  802. package/dist/chunks/command-pzc4vqfs.js +0 -261
  803. package/dist/chunks/command-y32xxt00.js +0 -16
  804. /package/dist/chunks/{command-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
  805. /package/dist/chunks/{command-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
  806. /package/dist/chunks/{command-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
  807. /package/dist/chunks/{command-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
  808. /package/dist/chunks/{command-1kah00gy.js → aisdk-native-1kah00gy.js} +0 -0
  809. /package/dist/chunks/{command-1pevy3nx.js → aisdk-native-1pevy3nx.js} +0 -0
  810. /package/dist/chunks/{command-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
  811. /package/dist/chunks/{command-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
  812. /package/dist/chunks/{command-2bv980vf.js → aisdk-native-2bv980vf.js} +0 -0
  813. /package/dist/chunks/{command-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
  814. /package/dist/chunks/{command-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
  815. /package/dist/chunks/{command-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
  816. /package/dist/chunks/{command-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
  817. /package/dist/chunks/{command-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
  818. /package/dist/chunks/{command-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
  819. /package/dist/chunks/{command-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
  820. /package/dist/chunks/{command-4qk9sjk2.js → aisdk-native-4qk9sjk2.js} +0 -0
  821. /package/dist/chunks/{command-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
  822. /package/dist/chunks/{command-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
  823. /package/dist/chunks/{command-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
  824. /package/dist/chunks/{command-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
  825. /package/dist/chunks/{command-5w3e23ze.js → aisdk-native-5w3e23ze.js} +0 -0
  826. /package/dist/chunks/{command-6agm2x70.js → aisdk-native-6agm2x70.js} +0 -0
  827. /package/dist/chunks/{command-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
  828. /package/dist/chunks/{command-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
  829. /package/dist/chunks/{command-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
  830. /package/dist/chunks/{command-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
  831. /package/dist/chunks/{command-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
  832. /package/dist/chunks/{command-84wd9syh.js → aisdk-native-84wd9syh.js} +0 -0
  833. /package/dist/chunks/{command-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
  834. /package/dist/chunks/{command-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
  835. /package/dist/chunks/{command-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
  836. /package/dist/chunks/{command-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
  837. /package/dist/chunks/{command-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
  838. /package/dist/chunks/{command-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
  839. /package/dist/chunks/{command-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
  840. /package/dist/chunks/{command-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
  841. /package/dist/chunks/{command-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
  842. /package/dist/chunks/{command-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
  843. /package/dist/chunks/{command-beh6qq61.js → aisdk-native-beh6qq61.js} +0 -0
  844. /package/dist/chunks/{command-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
  845. /package/dist/chunks/{command-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
  846. /package/dist/chunks/{command-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
  847. /package/dist/chunks/{command-cqv5kn06.js → aisdk-native-cqv5kn06.js} +0 -0
  848. /package/dist/chunks/{command-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
  849. /package/dist/chunks/{command-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
  850. /package/dist/chunks/{command-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
  851. /package/dist/chunks/{command-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
  852. /package/dist/chunks/{command-dbht28n9.js → aisdk-native-dbht28n9.js} +0 -0
  853. /package/dist/chunks/{command-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
  854. /package/dist/chunks/{command-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
  855. /package/dist/chunks/{command-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
  856. /package/dist/chunks/{command-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
  857. /package/dist/chunks/{command-ean2d8b5.js → aisdk-native-ean2d8b5.js} +0 -0
  858. /package/dist/chunks/{command-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
  859. /package/dist/chunks/{command-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
  860. /package/dist/chunks/{command-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
  861. /package/dist/chunks/{command-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
  862. /package/dist/chunks/{command-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
  863. /package/dist/chunks/{command-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
  864. /package/dist/chunks/{command-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
  865. /package/dist/chunks/{command-fkpq3x5p.js → aisdk-native-fkpq3x5p.js} +0 -0
  866. /package/dist/chunks/{command-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
  867. /package/dist/chunks/{command-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
  868. /package/dist/chunks/{command-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
  869. /package/dist/chunks/{command-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
  870. /package/dist/chunks/{command-hcxmzztb.js → aisdk-native-hcxmzztb.js} +0 -0
  871. /package/dist/chunks/{command-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
  872. /package/dist/chunks/{command-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
  873. /package/dist/chunks/{command-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
  874. /package/dist/chunks/{command-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
  875. /package/dist/chunks/{command-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
  876. /package/dist/chunks/{command-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
  877. /package/dist/chunks/{command-jwr30sdr.js → aisdk-native-jwr30sdr.js} +0 -0
  878. /package/dist/chunks/{command-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
  879. /package/dist/chunks/{command-m18g726c.js → aisdk-native-m18g726c.js} +0 -0
  880. /package/dist/chunks/{command-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
  881. /package/dist/chunks/{command-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
  882. /package/dist/chunks/{command-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
  883. /package/dist/chunks/{command-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
  884. /package/dist/chunks/{command-nh4v3znn.js → aisdk-native-nh4v3znn.js} +0 -0
  885. /package/dist/chunks/{command-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
  886. /package/dist/chunks/{command-p71gwv9c.js → aisdk-native-p71gwv9c.js} +0 -0
  887. /package/dist/chunks/{command-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
  888. /package/dist/chunks/{command-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
  889. /package/dist/chunks/{command-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
  890. /package/dist/chunks/{command-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
  891. /package/dist/chunks/{command-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
  892. /package/dist/chunks/{command-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
  893. /package/dist/chunks/{command-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
  894. /package/dist/chunks/{command-qtf35215.js → aisdk-native-qtf35215.js} +0 -0
  895. /package/dist/chunks/{command-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
  896. /package/dist/chunks/{command-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
  897. /package/dist/chunks/{command-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
  898. /package/dist/chunks/{command-syrav9an.js → aisdk-native-syrav9an.js} +0 -0
  899. /package/dist/chunks/{command-t03h4f5z.js → aisdk-native-t03h4f5z.js} +0 -0
  900. /package/dist/chunks/{command-ty7weeps.js → aisdk-native-ty7weeps.js} +0 -0
  901. /package/dist/chunks/{command-ve7vex1e.js → aisdk-native-ve7vex1e.js} +0 -0
  902. /package/dist/chunks/{command-vtarvj67.js → aisdk-native-vtarvj67.js} +0 -0
  903. /package/dist/chunks/{command-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
  904. /package/dist/chunks/{command-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
  905. /package/dist/chunks/{command-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
  906. /package/dist/chunks/{command-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
  907. /package/dist/chunks/{command-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
  908. /package/dist/chunks/{command-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
  909. /package/dist/chunks/{command-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
  910. /package/dist/chunks/{command-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
  911. /package/dist/chunks/{command-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
  912. /package/dist/chunks/{command-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
  913. /package/dist/chunks/{command-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
@@ -2,39 +2,39 @@ import {
2
2
  ID15,
3
3
  Info18,
4
4
  SessionSchema2
5
- } from "./command-qtf35215.js";
5
+ } from "./aisdk-native-qtf35215.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./command-z5v4ffb3.js";
8
+ } from "./aisdk-native-z5v4ffb3.js";
9
9
  import {
10
10
  Service90,
11
11
  node93
12
- } from "./command-91mja9mb.js";
12
+ } from "./aisdk-native-5989hf6w.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service89,
16
16
  node92
17
- } from "./command-6vsk825b.js";
17
+ } from "./aisdk-native-2e4erxay.js";
18
18
  import {
19
- Service82,
20
- node85
21
- } from "./command-a09npayz.js";
19
+ Service84,
20
+ node87
21
+ } from "./aisdk-native-0zh0stcn.js";
22
22
  import {
23
- Service50,
24
- node53
25
- } from "./command-pen16d07.js";
23
+ Service59,
24
+ node61
25
+ } from "./aisdk-native-7215dbqr.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./command-ec1grn59.js";
28
+ } from "./aisdk-native-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./command-mb7mbhnz.js";
31
+ } from "./aisdk-native-mb7mbhnz.js";
32
32
  import {
33
33
  enabledFor2,
34
34
  ForkMedia2
35
- } from "./command-98hcgb4h.js";
35
+ } from "./aisdk-native-n034570c.js";
36
36
  import {
37
- NotFoundError12,
37
+ NotFoundError11,
38
38
  InvalidListCursorError2,
39
39
  MessageNotFoundError2,
40
40
  ForkEmptyError2,
@@ -46,80 +46,80 @@ import {
46
46
  BusyError2,
47
47
  InboxConflictError2,
48
48
  SkillNotFoundError2
49
- } from "./command-edm37t96.js";
49
+ } from "./aisdk-native-5zpqhmp2.js";
50
50
  import {
51
51
  current2
52
- } from "./command-xgxp23qn.js";
52
+ } from "./aisdk-native-xgxp23qn.js";
53
53
  import {
54
- node52,
54
+ node60,
55
55
  listWithRefs2
56
- } from "./command-4135qxvw.js";
56
+ } from "./aisdk-native-e45cdfc2.js";
57
57
  import {
58
58
  snapshot2
59
- } from "./command-6bcpeeft.js";
59
+ } from "./aisdk-native-r7k8p7yq.js";
60
60
  import {
61
61
  Slug2
62
- } from "./command-gebd4c9n.js";
62
+ } from "./aisdk-native-gebd4c9n.js";
63
63
  import {
64
64
  SessionAlreadyProjected2,
65
- node37
66
- } from "./command-f6xrwzvp.js";
65
+ node40
66
+ } from "./aisdk-native-fzf6fhk6.js";
67
67
  import {
68
68
  Metadata2,
69
- node50
70
- } from "./command-mr43x1ez.js";
69
+ node51
70
+ } from "./aisdk-native-y70dfn3t.js";
71
71
  import {
72
72
  ListInput3,
73
- Service71,
74
- node73
75
- } from "./command-j8avw84j.js";
73
+ Service65,
74
+ node67
75
+ } from "./aisdk-native-e8hyxvrp.js";
76
76
  import {
77
- Service52,
78
- node55
79
- } from "./command-hyyv5ram.js";
77
+ Service60,
78
+ node62
79
+ } from "./aisdk-native-bjz3m2b8.js";
80
80
  import {
81
- Service47,
82
- node51
83
- } from "./command-h6kevxeh.js";
81
+ Service56,
82
+ node59
83
+ } from "./aisdk-native-6wg5h90z.js";
84
84
  import {
85
85
  llmClient2
86
- } from "./command-0ma9gw4f.js";
86
+ } from "./aisdk-native-0ma9gw4f.js";
87
87
  import {
88
- Service37,
89
- node40
90
- } from "./command-2zdv0xg6.js";
88
+ Service38,
89
+ node42
90
+ } from "./aisdk-native-b8jt0kff.js";
91
91
  import {
92
92
  generate2
93
- } from "./command-n4h8s75p.js";
93
+ } from "./aisdk-native-qzhrkz44.js";
94
94
  import {
95
95
  execute2
96
- } from "./command-62ngc9ha.js";
96
+ } from "./aisdk-native-cvh44ss2.js";
97
97
  import {
98
- Service51,
99
- node54,
98
+ Service66,
99
+ node68,
100
100
  canonical3
101
- } from "./command-bcwkd7ht.js";
101
+ } from "./aisdk-native-8dtrc71z.js";
102
102
  import {
103
103
  DestinationNotFoundError2,
104
104
  DestinationNotDirectoryError2,
105
105
  DestinationUnavailableError2,
106
- Service33,
107
- node36
108
- } from "./command-v8t80082.js";
106
+ Service36,
107
+ node39
108
+ } from "./aisdk-native-fa57zxca.js";
109
109
  import {
110
- Service65,
111
- node67
112
- } from "./command-xmpds20m.js";
110
+ Service71,
111
+ node73
112
+ } from "./aisdk-native-8hvkce8x.js";
113
113
  import {
114
- make23
115
- } from "./command-3zjxarqk.js";
114
+ make24
115
+ } from "./aisdk-native-jwwjpzn7.js";
116
116
  import {
117
117
  TurnRangeError2,
118
118
  turn2
119
- } from "./command-cpvnd12n.js";
119
+ } from "./aisdk-native-5da2xxmr.js";
120
120
  import {
121
121
  __export
122
- } from "./command-9rqn6x4v.js";
122
+ } from "./aisdk-native-9rqn6x4v.js";
123
123
 
124
124
  // src/session.ts
125
125
  var exports_session3 = {};
@@ -140,7 +140,7 @@ __export(exports_session3, {
140
140
  ListInput: () => ListInput2,
141
141
  MessageDecodeError: () => MessageDecodeError2,
142
142
  MessageNotFoundError: () => MessageNotFoundError2,
143
- NotFoundError: () => NotFoundError12,
143
+ NotFoundError: () => NotFoundError11,
144
144
  PromptConflictError: () => PromptConflictError2,
145
145
  Service: () => Service28,
146
146
  Session: () => exports_session3,
@@ -166,17 +166,17 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
166
166
  const database = yield* Service90;
167
167
  const db = database.db;
168
168
  const bus = yield* Service89;
169
- const projects = yield* Service82;
170
- const execution = yield* Service47;
169
+ const projects = yield* Service84;
170
+ const execution = yield* Service56;
171
171
  const llm = yield* LLMClient.Service;
172
- const transport = yield* Service37;
173
- const store = yield* Service71;
174
- const instances = yield* Service50;
175
- const moves = yield* Service33;
176
- const jobs = yield* Service52;
177
- const environments = yield* Service65;
178
- const locations = yield* Service51;
179
- const sessions = yield* make23();
172
+ const transport = yield* Service38;
173
+ const store = yield* Service65;
174
+ const instances = yield* Service59;
175
+ const moves = yield* Service36;
176
+ const jobs = yield* Service60;
177
+ const environments = yield* Service71;
178
+ const locations = yield* Service66;
179
+ const sessions = yield* make24();
180
180
  const mediaBlob = (session) => enabledFor2(instances, session);
181
181
  const isDurableSessionEvent = (item) => Object.hasOwn(SessionEvent2.Durable.cases, item.type);
182
182
  const result = Service28.of({
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
187
187
  return recorded;
188
188
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
189
189
  if (input.parentID && parent === undefined)
190
- return yield* new NotFoundError12({ sessionID: input.parentID });
190
+ return yield* new NotFoundError11({ sessionID: input.parentID });
191
191
  const location = parent?.location ?? (input.location && canonical3(input.location));
192
192
  if (location === undefined)
193
193
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -327,11 +327,11 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
327
327
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
328
328
  generate: Effect.fn("Session.generate")(function* (input) {
329
329
  const session = yield* result.get(input.sessionID);
330
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service90, database), Effect.provideService(LLMClient.Service, llm));
330
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service59, instances), Effect.provideService(Service90, database), Effect.provideService(LLMClient.Service, llm));
331
331
  }),
332
332
  command: Effect.fn("Session.command")(function* (input) {
333
333
  const session = yield* result.get(input.sessionID);
334
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service50, instances));
334
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service59, instances));
335
335
  }),
336
336
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
337
337
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -379,22 +379,22 @@ var node31 = Node.makeGlobalNode({
379
379
  service: Service28,
380
380
  layer,
381
381
  deps: [
382
- node55,
383
- node67,
382
+ node62,
383
+ node73,
384
384
  node93,
385
385
  node92,
386
- node85,
387
- node51,
388
- node40,
386
+ node87,
387
+ node59,
388
+ node42,
389
389
  llmClient2,
390
- node73,
391
- node53,
392
- node52,
393
- node36,
394
- node37,
395
- node54,
390
+ node67,
391
+ node61,
392
+ node60,
393
+ node39,
394
+ node40,
395
+ node68,
396
396
  FSUtil.node,
397
- node50
397
+ node51
398
398
  ]
399
399
  });
400
400
 
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  server2,
3
3
  headers2
4
- } from "./command-kt3bjfbg.js";
4
+ } from "./aisdk-native-kt3bjfbg.js";
5
5
  import {
6
6
  ID20,
7
7
  Service86,
8
8
  node89
9
- } from "./command-tdhae4mv.js";
9
+ } from "./aisdk-native-rzdqhsac.js";
10
10
  import {
11
11
  __export
12
- } from "./command-9rqn6x4v.js";
12
+ } from "./aisdk-native-9rqn6x4v.js";
13
13
 
14
14
  // src/usage-limits.ts
15
15
  var exports_usage_limits = {};
16
16
  __export(exports_usage_limits, {
17
- Info: () => Info4,
18
- Service: () => Service17,
19
- UnavailableError: () => UnavailableError2,
17
+ Info: () => Info16,
18
+ Service: () => Service69,
19
+ UnavailableError: () => UnavailableError5,
20
20
  UsageLimits: () => exports_usage_limits,
21
- layer: () => layer9,
22
- node: () => node19
21
+ layer: () => layer24,
22
+ node: () => node71
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
25
  import { Money } from "@opencode/schema/money";
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { httpClient } from "@opencode/util/effect/app-node-platform";
30
30
  import { Context, Duration, Effect, Layer, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
- var Info4 = UsageLimits.Info;
32
+ var Info16 = UsageLimits.Info;
33
33
 
34
- class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
34
+ class UnavailableError5 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
35
35
  message: Schema.String
36
36
  }) {
37
37
  }
38
38
 
39
- class Service17 extends Context.Service()("@opencode/UsageLimits") {
39
+ class Service69 extends Context.Service()("@opencode/UsageLimits") {
40
40
  }
41
- var layer9 = Layer.effect(Service17, Effect.gen(function* () {
41
+ var layer24 = Layer.effect(Service69, Effect.gen(function* () {
42
42
  const integrations = yield* Service86;
43
43
  const http = yield* HttpClient.HttpClient;
44
44
  const get = Effect.fn("UsageLimits.get")(function* () {
45
45
  const connection = yield* integrations.connection.active(ID20.make("opencode"));
46
46
  if (!connection)
47
47
  return;
48
- const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
48
+ const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError5({ message: error.message })));
49
49
  if (!credential || credential.type === "external")
50
50
  return;
51
51
  const workspaceID = credential.metadata?.orgID;
@@ -54,7 +54,7 @@ var layer9 = Layer.effect(Service17, Effect.gen(function* () {
54
54
  const server = server2(credential);
55
55
  const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
56
56
  duration: Duration.seconds(15),
57
- orElse: () => Effect.fail(new UnavailableError2({ message: "OpenCode Console usage limits timed out" }))
57
+ orElse: () => Effect.fail(new UnavailableError5({ message: "OpenCode Console usage limits timed out" }))
58
58
  }));
59
59
  return {
60
60
  workspace: {
@@ -66,11 +66,11 @@ var layer9 = Layer.effect(Service17, Effect.gen(function* () {
66
66
  budgets
67
67
  };
68
68
  });
69
- return Service17.of({ get });
69
+ return Service69.of({ get });
70
70
  }));
71
- var node19 = makeLocationNode({
72
- service: Service17,
73
- layer: layer9,
71
+ var node71 = makeLocationNode({
72
+ service: Service69,
73
+ layer: layer24,
74
74
  deps: [node89, httpClient]
75
75
  });
76
76
  var ConsoleBudget = Schema.Struct({
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
117
117
  picked: budget.picked,
118
118
  shared: budget.shared,
119
119
  resetsAt: budget.resetsAt.getTime()
120
- }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
120
+ }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
121
121
  }
122
122
  function readGo(http, server, credential, workspaceID) {
123
123
  return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
124
124
  rolling: meter(body.usage.rolling),
125
125
  weekly: meter(body.usage.weekly),
126
126
  monthly: meter(body.usage.monthly)
127
- })))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
127
+ })))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
128
128
  }
129
129
  function meter(value) {
130
130
  return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
131
131
  }
132
132
 
133
- export { Info4, UnavailableError2, Service17, layer9, node19, exports_usage_limits };
133
+ export { Info16, UnavailableError5, Service69, layer24, node71, exports_usage_limits };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./command-qfa1cgps.js";
3
+ } from "./aisdk-native-qfa1cgps.js";
4
4
 
5
5
  // src/job/sql.ts
6
6
  import { index, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./command-91mja9mb.js";
4
+ } from "./aisdk-native-5989hf6w.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./command-3hepkmqq.js";
7
+ } from "./aisdk-native-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./aisdk-native-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service83,
17
- node: () => node86
16
+ Service: () => Service81,
17
+ node: () => node84
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service83 extends Context.Service()("@opencode/KV") {
22
+ class Service81 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service83, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
25
25
  const db = (yield* Service90).db;
26
- return Service83.of({
26
+ return Service81.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node86 = makeGlobalNode({ service: Service83, layer, deps: [node93] });
54
+ var node84 = makeGlobalNode({ service: Service81, layer, deps: [node93] });
55
55
 
56
- export { Service83, node86, exports_kv };
56
+ export { Service81, node84, exports_kv };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./command-edm37t96.js";
4
+ } from "./aisdk-native-5zpqhmp2.js";
5
5
  import {
6
6
  AuthorizationError2
7
- } from "./command-tdhae4mv.js";
7
+ } from "./aisdk-native-rzdqhsac.js";
8
8
  import {
9
9
  CorrectedError2,
10
10
  BlockedError2
11
- } from "./command-pqpped4x.js";
11
+ } from "./aisdk-native-w4whpxh7.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./command-646pg8x8.js";
19
+ } from "./aisdk-native-ctgfwr68.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./command-9ah5v1j5.js";
23
+ } from "./aisdk-native-zwkfyhc4.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai/effect";
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service73
3
- } from "./command-nmvjxcsb.js";
2
+ Service74
3
+ } from "./aisdk-native-64a6yh9c.js";
4
4
  import {
5
- Service16,
5
+ Service22,
6
6
  readOptionalText2,
7
7
  syncTextBom2
8
- } from "./command-wv0q3v5p.js";
8
+ } from "./aisdk-native-30egmtc9.js";
9
9
  import {
10
- Service13
11
- } from "./command-p4qdt5t6.js";
10
+ Service23
11
+ } from "./aisdk-native-5pkt7sn3.js";
12
12
  import {
13
- Service69
14
- } from "./command-pqpped4x.js";
13
+ Service63
14
+ } from "./aisdk-native-w4whpxh7.js";
15
15
  import {
16
- Service68
17
- } from "./command-szdpkamw.js";
16
+ Service26
17
+ } from "./aisdk-native-wzmqh03z.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./command-6prwharc.js";
20
+ } from "./aisdk-native-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./command-9rqn6x4v.js";
23
+ } from "./aisdk-native-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input7,
29
- Output: () => Output5,
28
+ Input: () => Input8,
29
+ Output: () => Output7,
30
30
  Plugin: () => Plugin28,
31
31
  WriteTool: () => exports_write,
32
- name: () => name7,
33
- toModelContent: () => toModelContent3
32
+ name: () => name8,
33
+ toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai/effect";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name7 = "write";
39
- var Input7 = Schema.Struct({
38
+ var name8 = "write";
39
+ var Input8 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output5 = Schema.Struct({
45
+ var Output7 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
51
+ var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
52
  var Plugin28 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service68;
56
- const fileMutation = yield* Service16;
57
- const environment = yield* Service73;
58
- const formatter = yield* Service13;
59
- const permission = yield* Service69;
55
+ const access = yield* Service26;
56
+ const fileMutation = yield* Service22;
57
+ const environment = yield* Service74;
58
+ const formatter = yield* Service23;
59
+ const permission = yield* Service63;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name7,
61
+ name: name8,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input7,
69
- output: Output5,
68
+ input: Input8,
69
+ output: Output7,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -97,9 +97,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
97
97
  resource: written.resource,
98
98
  existed: written.existed
99
99
  };
100
- }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
100
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
101
101
  })).pipe(Effect.orDie);
102
102
  })
103
103
  };
104
104
 
105
- export { name7, Input7, Output5, toModelContent3, Plugin28, exports_write };
105
+ export { name8, Input8, Output7, toModelContent5, Plugin28, exports_write };