@opencode/core 0.0.0-dev-1277 → 0.0.0-dev-1284

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 +92 -92
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +11 -11
  6. package/dist/artifact.js +246 -246
  7. package/dist/bus.js +86 -86
  8. package/dist/chunks/{location-services-pv5hbs2p.js → aisdk-00natry1.js} +4 -4
  9. package/dist/chunks/{location-services-034tev2y.js → aisdk-034tev2y.js} +2 -2
  10. package/dist/chunks/{location-services-sffqcray.js → aisdk-076bfny5.js} +6 -6
  11. package/dist/chunks/{location-services-ttz31trp.js → aisdk-0fvxehme.js} +5 -5
  12. package/dist/chunks/{location-services-0ma9gw4f.js → aisdk-0ma9gw4f.js} +2 -2
  13. package/dist/chunks/{location-services-7pma23zx.js → aisdk-0ns6cc2e.js} +24 -24
  14. package/dist/chunks/{location-services-530xg6vw.js → aisdk-0tq2d6dg.js} +6 -6
  15. package/dist/chunks/{location-services-v7djxbhq.js → aisdk-0xem9e8e.js} +25 -25
  16. package/dist/chunks/{location-services-10hfatvn.js → aisdk-0xfehysn.js} +15 -15
  17. package/dist/chunks/{location-services-xhexxcwp.js → aisdk-0yqc1rax.js} +33 -33
  18. package/dist/chunks/{location-services-mpw6x1pn.js → aisdk-16tg2mvn.js} +9 -9
  19. package/dist/chunks/{location-services-1aqsckx4.js → aisdk-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{location-services-1aryjtsy.js → aisdk-1aryjtsy.js} +1 -1
  21. package/dist/chunks/{location-services-1ep2p91f.js → aisdk-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{location-services-sthsf7zw.js → aisdk-1f74jjjb.js} +20 -20
  23. package/dist/chunks/{location-services-4a3qf6f3.js → aisdk-1naekne1.js} +17 -17
  24. package/dist/chunks/{location-services-xfzhw9dd.js → aisdk-1qskw9ds.js} +8 -8
  25. package/dist/chunks/{location-services-9dagr61s.js → aisdk-1s033asv.js} +3 -3
  26. package/dist/chunks/{location-services-c8r6kdzx.js → aisdk-1tz3hwqh.js} +23 -23
  27. package/dist/chunks/{location-services-1x2knyw4.js → aisdk-1x2knyw4.js} +1 -1
  28. package/dist/chunks/{location-services-2dyzj5am.js → aisdk-1x6cp2ns.js} +3 -3
  29. package/dist/chunks/{location-services-1yq9hg58.js → aisdk-1yq9hg58.js} +1 -1
  30. package/dist/chunks/{location-services-0gtgm5gt.js → aisdk-1zavewex.js} +28 -28
  31. package/dist/chunks/{location-services-wzfa06mn.js → aisdk-20pht57w.js} +4 -4
  32. package/dist/chunks/{location-services-ncbwp590.js → aisdk-22jsjh4w.js} +28 -28
  33. package/dist/chunks/{location-services-hrdcnbcv.js → aisdk-2e4egsra.js} +25 -25
  34. package/dist/chunks/{location-services-2fc7eemy.js → aisdk-2fc7eemy.js} +1 -1
  35. package/dist/chunks/{location-services-dt1exh6z.js → aisdk-2fge76wm.js} +21 -21
  36. package/dist/chunks/{location-services-namya62f.js → aisdk-2ghe1sdb.js} +8 -8
  37. package/dist/chunks/{location-services-mpcnbc7w.js → aisdk-2j6pyb0n.js} +24 -24
  38. package/dist/chunks/{location-services-q1n4zy7m.js → aisdk-2jadq5d6.js} +45 -45
  39. package/dist/chunks/{location-services-ypzfmdvb.js → aisdk-2prt43t7.js} +4 -4
  40. package/dist/chunks/{location-services-8vdme3z0.js → aisdk-2rzewps1.js} +11 -11
  41. package/dist/chunks/{location-services-etrnj9s7.js → aisdk-31avdb49.js} +8 -8
  42. package/dist/chunks/{location-services-36qzrbfm.js → aisdk-36qzrbfm.js} +4 -4
  43. package/dist/chunks/{location-services-277m70zp.js → aisdk-37fbk07p.js} +20 -20
  44. package/dist/chunks/{location-services-629kvk67.js → aisdk-39njpq4v.js} +11 -11
  45. package/dist/chunks/{location-services-d597650b.js → aisdk-3a27dgsk.js} +15 -15
  46. package/dist/chunks/{location-services-g8c69fmd.js → aisdk-3b9ngwn6.js} +34 -42
  47. package/dist/chunks/{location-services-8kajeb55.js → aisdk-3c35xw7m.js} +5 -5
  48. package/dist/chunks/{location-services-30tjf1tq.js → aisdk-3fevqy49.js} +17 -17
  49. package/dist/chunks/{location-services-xt7zn850.js → aisdk-3gkz7q01.js} +10 -10
  50. package/dist/chunks/{location-services-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{location-services-6zysgb99.js → aisdk-3ms7wh5c.js} +30 -30
  52. package/dist/chunks/{location-services-3nnrz6f6.js → aisdk-3nnrz6f6.js} +1 -1
  53. package/dist/chunks/{location-services-cpvd08na.js → aisdk-3ryz99p0.js} +4 -4
  54. package/dist/chunks/{location-services-79srp56m.js → aisdk-3sf4a8wt.js} +18 -18
  55. package/dist/chunks/{location-services-yydqqga9.js → aisdk-3v50s0nm.js} +4 -4
  56. package/dist/chunks/{location-services-cb0gtrk9.js → aisdk-3wd3705a.js} +1 -1
  57. package/dist/chunks/{location-services-40y6dtc2.js → aisdk-40y6dtc2.js} +1 -1
  58. package/dist/chunks/{location-services-xvn8mnch.js → aisdk-44w9n9s7.js} +4 -4
  59. package/dist/chunks/{location-services-pnpac0hm.js → aisdk-4b72pw7k.js} +5 -5
  60. package/dist/chunks/{location-services-4dx1dgte.js → aisdk-4dx1dgte.js} +1 -1
  61. package/dist/chunks/{location-services-4f25tdd0.js → aisdk-4f25tdd0.js} +1 -1
  62. package/dist/chunks/{location-services-n6dredcw.js → aisdk-4h02zwvv.js} +5 -5
  63. package/dist/chunks/{location-services-p32afg26.js → aisdk-4kfaajce.js} +19 -19
  64. package/dist/chunks/{location-services-77k6899v.js → aisdk-4ktpdd8g.js} +11 -11
  65. package/dist/chunks/{location-services-7r9ahtnj.js → aisdk-4nbkseap.js} +12 -12
  66. package/dist/chunks/{location-services-36f51389.js → aisdk-4pr198gw.js} +43 -43
  67. package/dist/chunks/{location-services-4pyp9zr9.js → aisdk-4pyp9zr9.js} +1 -1
  68. package/dist/chunks/{location-services-qg9wp9az.js → aisdk-4q7m519v.js} +7 -7
  69. package/dist/chunks/{location-services-dy1skxgw.js → aisdk-4qfcgkge.js} +13 -13
  70. package/dist/chunks/{location-services-4v008n1t.js → aisdk-4v008n1t.js} +1 -1
  71. package/dist/chunks/{location-services-stbett4v.js → aisdk-4vzr2b15.js} +3 -3
  72. package/dist/chunks/{location-services-20eezmb4.js → aisdk-503rnqqm.js} +4 -4
  73. package/dist/chunks/{location-services-n1zc6gnp.js → aisdk-56143vs8.js} +6 -6
  74. package/dist/chunks/{location-services-ftfdg1zy.js → aisdk-56gmx9a6.js} +10 -10
  75. package/dist/chunks/{location-services-a3fn0gmm.js → aisdk-57kvbh9f.js} +2 -2
  76. package/dist/chunks/{location-services-dvnqv6yn.js → aisdk-586sxvqv.js} +4 -4
  77. package/dist/chunks/{location-services-2s9mae96.js → aisdk-5asgddgx.js} +6 -6
  78. package/dist/chunks/{location-services-qs6wysz0.js → aisdk-5ejd13wg.js} +12 -12
  79. package/dist/chunks/{location-services-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
  80. package/dist/chunks/{location-services-eydqz0mt.js → aisdk-5nrbea71.js} +22 -22
  81. package/dist/chunks/{location-services-ybws1qgk.js → aisdk-5wyjxme5.js} +7 -7
  82. package/dist/chunks/{location-services-jv5ccajn.js → aisdk-61qraad9.js} +5 -5
  83. package/dist/chunks/{location-services-cgyp04mt.js → aisdk-684z6gka.js} +44 -44
  84. package/dist/chunks/{location-services-8fb0wzm0.js → aisdk-6e9j1y6c.js} +21 -21
  85. package/dist/chunks/{location-services-5s2x78te.js → aisdk-6esk6jxx.js} +13 -13
  86. package/dist/chunks/{location-services-emwt6vyg.js → aisdk-6gc9tp6s.js} +13 -13
  87. package/dist/chunks/{location-services-teav1bzy.js → aisdk-6h8vcvjm.js} +9 -9
  88. package/dist/chunks/{location-services-7gecs4v1.js → aisdk-6j2z21mn.js} +11 -11
  89. package/dist/chunks/{location-services-agje4kmn.js → aisdk-6y2b864j.js} +4 -4
  90. package/dist/chunks/{location-services-2n444ktb.js → aisdk-721tb84k.js} +3 -3
  91. package/dist/chunks/{location-services-775hqbnd.js → aisdk-775hqbnd.js} +3 -3
  92. package/dist/chunks/{location-services-0cd2bmsm.js → aisdk-78zhyyfk.js} +87 -87
  93. package/dist/chunks/{location-services-kbdswbmw.js → aisdk-79w4g2qb.js} +12 -12
  94. package/dist/chunks/{location-services-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
  95. package/dist/chunks/{location-services-gts5gc4b.js → aisdk-7bsvr981.js} +29 -29
  96. package/dist/chunks/{location-services-qtzxwf63.js → aisdk-7j05p5xv.js} +11 -11
  97. package/dist/chunks/{location-services-50m93q3e.js → aisdk-7jebtk0t.js} +32 -32
  98. package/dist/chunks/{location-services-t5ev8vy8.js → aisdk-7jznsbvf.js} +14 -14
  99. package/dist/chunks/{location-services-ppqf1vnz.js → aisdk-7m22mtww.js} +14 -14
  100. package/dist/chunks/{location-services-v9n7t52e.js → aisdk-7rwrrcn2.js} +13 -13
  101. package/dist/chunks/{location-services-c76dt94r.js → aisdk-7ryf1ztn.js} +8 -8
  102. package/dist/chunks/{location-services-9sxhpw9w.js → aisdk-7t2bcrk5.js} +21 -21
  103. package/dist/chunks/{location-services-vj170n9y.js → aisdk-7vhwyy1h.js} +16 -16
  104. package/dist/chunks/{location-services-dw1978kv.js → aisdk-7vk7czv3.js} +12 -12
  105. package/dist/chunks/{location-services-7w2ypzdf.js → aisdk-7w2ypzdf.js} +1 -1
  106. package/dist/chunks/{location-services-7weczvnd.js → aisdk-7weczvnd.js} +1 -1
  107. package/dist/chunks/{location-services-80pdk984.js → aisdk-80pdk984.js} +1 -1
  108. package/dist/chunks/{location-services-85jq8dht.js → aisdk-85jq8dht.js} +1 -1
  109. package/dist/chunks/{location-services-2de9yzbg.js → aisdk-85yc0hq8.js} +12 -12
  110. package/dist/chunks/{location-services-z2f6ghxv.js → aisdk-8729dcdd.js} +11 -11
  111. package/dist/chunks/{location-services-6m44vgd8.js → aisdk-87ah2vf6.js} +16 -16
  112. package/dist/chunks/{location-services-04vgdvrr.js → aisdk-87z6x2pe.js} +74 -74
  113. package/dist/chunks/{location-services-8b3vzgkx.js → aisdk-8b3vzgkx.js} +1 -1
  114. package/dist/chunks/{location-services-nn2nd58t.js → aisdk-8hfctyyf.js} +7 -7
  115. package/dist/chunks/{location-services-8kjyvwy5.js → aisdk-8kjyvwy5.js} +1 -1
  116. package/dist/chunks/{location-services-8sxe6kv8.js → aisdk-8sxe6kv8.js} +2 -2
  117. package/dist/chunks/{location-services-q9jrhh5b.js → aisdk-8tdp8cw8.js} +27 -27
  118. package/dist/chunks/{location-services-8wtp7s3z.js → aisdk-8wtp7s3z.js} +1 -1
  119. package/dist/chunks/{location-services-8zv0xmg5.js → aisdk-8zv0xmg5.js} +1 -1
  120. package/dist/chunks/{location-services-fvqs1z1e.js → aisdk-91fv2z8c.js} +31 -31
  121. package/dist/chunks/{location-services-mmyv63r5.js → aisdk-9288bp88.js} +10 -10
  122. package/dist/chunks/{location-services-ac8aznk4.js → aisdk-92tssc24.js} +29 -29
  123. package/dist/chunks/{location-services-dae1yh01.js → aisdk-94tqjq71.js} +20 -20
  124. package/dist/chunks/{location-services-am1g5cdy.js → aisdk-96dhar22.js} +35 -35
  125. package/dist/chunks/{location-services-cdrahej9.js → aisdk-9gezy0ta.js} +30 -30
  126. package/dist/chunks/{location-services-h6evjjha.js → aisdk-9s0zd0nr.js} +8 -8
  127. package/dist/chunks/{location-services-ykg3m9fe.js → aisdk-a1btkhwz.js} +17 -17
  128. package/dist/chunks/{location-services-8ppgpsxm.js → aisdk-a3hr2qm9.js} +31 -31
  129. package/dist/chunks/{location-services-ca2mgq5q.js → aisdk-a4qaryjt.js} +13 -13
  130. package/dist/chunks/{location-services-1gs90xsr.js → aisdk-a4z5kqp5.js} +23 -23
  131. package/dist/chunks/{location-services-c0g3c22b.js → aisdk-a621n4f6.js} +10 -10
  132. package/dist/chunks/{location-services-t4hq3tre.js → aisdk-ag9se77v.js} +21 -21
  133. package/dist/chunks/{location-services-28z3zx3h.js → aisdk-amxb1pax.js} +7 -7
  134. package/dist/chunks/{location-services-d963xvge.js → aisdk-ase39p5q.js} +10 -10
  135. package/dist/chunks/{location-services-y6rndvgq.js → aisdk-ax1yvpgm.js} +18 -18
  136. package/dist/chunks/{location-services-ayjs7tqn.js → aisdk-ayjs7tqn.js} +2 -2
  137. package/dist/chunks/{location-services-bfshfqwy.js → aisdk-b01wwvxe.js} +11 -11
  138. package/dist/chunks/aisdk-b9bbch9d.js +273 -0
  139. package/dist/chunks/{location-services-nn2z4v00.js → aisdk-bbazfr9j.js} +25 -25
  140. package/dist/chunks/{location-services-netp54jk.js → aisdk-bd49trsz.js} +11 -11
  141. package/dist/chunks/{location-services-9nadag9d.js → aisdk-bd4afk93.js} +19 -19
  142. package/dist/chunks/{location-services-xfwq85ya.js → aisdk-begbag3g.js} +27 -27
  143. package/dist/chunks/{location-services-r45nfa48.js → aisdk-btz4vdf2.js} +9 -9
  144. package/dist/chunks/{location-services-0a5e14se.js → aisdk-ce3tf4ne.js} +18 -18
  145. package/dist/chunks/{location-services-9echdp3x.js → aisdk-cm0vzj2n.js} +183 -183
  146. package/dist/chunks/{location-services-zyq2pv4t.js → aisdk-cr4rfj9z.js} +4 -4
  147. package/dist/chunks/{location-services-cwrgdav8.js → aisdk-cwrgdav8.js} +2 -2
  148. package/dist/chunks/{location-services-2vt4nwcc.js → aisdk-d2jxnkqd.js} +21 -21
  149. package/dist/chunks/{location-services-d4v9tmah.js → aisdk-d4v9tmah.js} +2 -2
  150. package/dist/chunks/{location-services-aemznsbt.js → aisdk-dbddn8gk.js} +27 -27
  151. package/dist/chunks/{location-services-tek451fb.js → aisdk-ddyyp427.js} +5 -5
  152. package/dist/chunks/{location-services-2kab9gf4.js → aisdk-dn6vvjkq.js} +4 -4
  153. package/dist/chunks/{location-services-waf1wtfn.js → aisdk-dsv0mf57.js} +16 -16
  154. package/dist/chunks/{location-services-dt77769w.js → aisdk-dt77769w.js} +1 -1
  155. package/dist/chunks/{location-services-gk96ttsb.js → aisdk-e451z2y6.js} +3 -3
  156. package/dist/chunks/{location-services-0b5qemzn.js → aisdk-e8gak9bx.js} +17 -17
  157. package/dist/chunks/{location-services-pgxesb7h.js → aisdk-e8qhv52p.js} +35 -35
  158. package/dist/chunks/{location-services-qa6srjcz.js → aisdk-ek4mh5pg.js} +21 -21
  159. package/dist/chunks/{location-services-fygp4h3n.js → aisdk-enezt5d6.js} +29 -29
  160. package/dist/chunks/{location-services-eqw4pqj1.js → aisdk-eqw4pqj1.js} +2 -2
  161. package/dist/chunks/{location-services-xqy2tbc9.js → aisdk-er9d18x6.js} +31 -31
  162. package/dist/chunks/{location-services-ptdf7bfh.js → aisdk-erpgh78q.js} +14 -14
  163. package/dist/chunks/{location-services-g4s7wnme.js → aisdk-esg5xb2a.js} +8 -8
  164. package/dist/chunks/aisdk-ev660z6k.js +18 -0
  165. package/dist/chunks/{location-services-pbyy1sgr.js → aisdk-ew00j23b.js} +16 -16
  166. package/dist/chunks/{location-services-0wx31zef.js → aisdk-f053wwz5.js} +11 -11
  167. package/dist/chunks/{location-services-c55n7q3v.js → aisdk-f3qdxw07.js} +32 -32
  168. package/dist/chunks/{location-services-fpvd1z9q.js → aisdk-f48g45vp.js} +21 -21
  169. package/dist/chunks/{location-services-k1a95307.js → aisdk-f5w7jr2y.js} +38 -38
  170. package/dist/chunks/{location-services-fg9p65nk.js → aisdk-fg9p65nk.js} +2 -2
  171. package/dist/chunks/{location-services-6da0qsct.js → aisdk-fqtyqcmx.js} +50 -50
  172. package/dist/chunks/{location-services-z01x0jfb.js → aisdk-fxf50664.js} +13 -13
  173. package/dist/chunks/{location-services-rjvvg2yk.js → aisdk-fzenvpj1.js} +30 -30
  174. package/dist/chunks/{location-services-z3yftc2t.js → aisdk-g4hmqmty.js} +6 -6
  175. package/dist/chunks/{location-services-g4txs7zc.js → aisdk-g4txs7zc.js} +4 -4
  176. package/dist/chunks/{location-services-3nqdzeza.js → aisdk-g7bzs5g0.js} +3 -3
  177. package/dist/chunks/{location-services-gbjdnr5j.js → aisdk-gbjdnr5j.js} +2 -2
  178. package/dist/chunks/{location-services-hwd30tf9.js → aisdk-gehd6x6y.js} +95 -95
  179. package/dist/chunks/{location-services-t7fp3fn5.js → aisdk-ggzxzwph.js} +15 -15
  180. package/dist/chunks/{location-services-g7nk3m7s.js → aisdk-ghw2q90v.js} +28 -28
  181. package/dist/chunks/{location-services-7psm9qzs.js → aisdk-gmhw82g6.js} +9 -9
  182. package/dist/chunks/{location-services-yc7gjpm3.js → aisdk-gnm9zfyf.js} +2 -2
  183. package/dist/chunks/{location-services-9yab85bd.js → aisdk-gpvcxtjg.js} +6 -6
  184. package/dist/chunks/{location-services-9r4szmsf.js → aisdk-grbgb1th.js} +25 -25
  185. package/dist/chunks/{location-services-f5c78twt.js → aisdk-gsyv4rf3.js} +17 -17
  186. package/dist/chunks/{location-services-czjspyjb.js → aisdk-h2aspcra.js} +13 -13
  187. package/dist/chunks/{location-services-14c8xst7.js → aisdk-h4m7yyn3.js} +23 -23
  188. package/dist/chunks/{location-services-qy2gk127.js → aisdk-hc4gekvm.js} +28 -28
  189. package/dist/chunks/{location-services-hgzwgvze.js → aisdk-hgzwgvze.js} +2 -2
  190. package/dist/chunks/{location-services-yepd7x5v.js → aisdk-hj0xet7m.js} +5 -5
  191. package/dist/chunks/{location-services-d96pzfmf.js → aisdk-htk0ea2j.js} +7 -7
  192. package/dist/chunks/{location-services-b6nrmce9.js → aisdk-hvsxw0jd.js} +25 -25
  193. package/dist/chunks/{location-services-j376ae4e.js → aisdk-j376ae4e.js} +1 -1
  194. package/dist/chunks/{location-services-rsgdh5rp.js → aisdk-j6t60dp0.js} +25 -25
  195. package/dist/chunks/{location-services-j9nxzz3g.js → aisdk-j9nxzz3g.js} +3 -3
  196. package/dist/chunks/{location-services-ry7kp2db.js → aisdk-jc512s3p.js} +8 -8
  197. package/dist/chunks/{location-services-xezpbmbj.js → aisdk-je31fw81.js} +2 -2
  198. package/dist/chunks/{location-services-jm70asfg.js → aisdk-jm70asfg.js} +1 -1
  199. package/dist/chunks/aisdk-jmd7tb51.js +587 -0
  200. package/dist/chunks/{location-services-8vzmkjb5.js → aisdk-jv4h3f2w.js} +7 -7
  201. package/dist/chunks/{location-services-jxd6f16v.js → aisdk-jxd6f16v.js} +2 -2
  202. package/dist/chunks/{location-services-yybgvvmq.js → aisdk-kbgs7tyr.js} +4 -4
  203. package/dist/chunks/{location-services-r4hjzpb8.js → aisdk-kc45z3h4.js} +44 -44
  204. package/dist/chunks/{location-services-48qqxr5e.js → aisdk-kfge3pfm.js} +4 -4
  205. package/dist/chunks/{location-services-x7ecjh2c.js → aisdk-kmpykya8.js} +5 -5
  206. package/dist/chunks/{location-services-kt3bjfbg.js → aisdk-kt3bjfbg.js} +1 -1
  207. package/dist/chunks/{location-services-sr19vzqw.js → aisdk-kv781v4h.js} +34 -34
  208. package/dist/chunks/{location-services-50z51znp.js → aisdk-kxnmw1dp.js} +7 -7
  209. package/dist/chunks/{location-services-kzczzf4v.js → aisdk-kzczzf4v.js} +1 -1
  210. package/dist/chunks/{location-services-m1714858.js → aisdk-m1714858.js} +1 -1
  211. package/dist/chunks/{location-services-b3vw7kbv.js → aisdk-m1jf72ck.js} +47 -47
  212. package/dist/chunks/{location-services-pd7cqnhq.js → aisdk-m4p4r8nc.js} +4 -4
  213. package/dist/chunks/{location-services-sq1g3gmm.js → aisdk-m4pn5tm0.js} +51 -51
  214. package/dist/chunks/{location-services-m90tx7mw.js → aisdk-m90tx7mw.js} +1 -1
  215. package/dist/chunks/{location-services-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
  216. package/dist/chunks/{location-services-mb7mbhnz.js → aisdk-mb7mbhnz.js} +3 -3
  217. package/dist/chunks/{location-services-qp2996hh.js → aisdk-mbhm97dq.js} +5 -5
  218. package/dist/chunks/{location-services-8zw7f9g4.js → aisdk-mex3sg7w.js} +12 -12
  219. package/dist/chunks/{location-services-zkqq1epe.js → aisdk-mfaczyzq.js} +19 -19
  220. package/dist/chunks/{location-services-zvyh18j2.js → aisdk-mhdwvfsv.js} +49 -49
  221. package/dist/chunks/{location-services-zpw50awc.js → aisdk-mr3xrd1g.js} +61 -61
  222. package/dist/chunks/{location-services-v3r1mrme.js → aisdk-mt7tkt1k.js} +19 -19
  223. package/dist/chunks/{location-services-we4d2b7g.js → aisdk-mtxnd1fj.js} +26 -26
  224. package/dist/chunks/{location-services-34kj0cev.js → aisdk-mv4qm2s4.js} +31 -31
  225. package/dist/chunks/{location-services-452hj2bc.js → aisdk-n1z7dayf.js} +12 -12
  226. package/dist/chunks/{location-services-wybmdxeh.js → aisdk-n35t2vgz.js} +4 -4
  227. package/dist/chunks/{location-services-6zj3yh26.js → aisdk-n6c0ry9n.js} +6 -6
  228. package/dist/chunks/{location-services-8bet0ypn.js → aisdk-n6tvvmnw.js} +10 -10
  229. package/dist/chunks/{location-services-qtfw3tq9.js → aisdk-n70wf70b.js} +14 -14
  230. package/dist/chunks/{location-services-fbp19f90.js → aisdk-n7p5aby2.js} +53 -53
  231. package/dist/chunks/{location-services-1qxe1ypt.js → aisdk-nd60m3ta.js} +24 -24
  232. package/dist/chunks/{location-services-me215f18.js → aisdk-nfhv1t94.js} +1 -1
  233. package/dist/chunks/{location-services-z6g4szpb.js → aisdk-nkzb5f1v.js} +8 -8
  234. package/dist/chunks/{location-services-37xh5ek4.js → aisdk-nm4fzak7.js} +2 -2
  235. package/dist/chunks/{location-services-t48jrnqq.js → aisdk-nq1mg43n.js} +3 -3
  236. package/dist/chunks/{location-services-9yqjp86x.js → aisdk-nv9tsjma.js} +6 -6
  237. package/dist/chunks/{location-services-bzt7eb23.js → aisdk-nxfqjndq.js} +3 -3
  238. package/dist/chunks/{location-services-sscfn3gr.js → aisdk-ny24wdce.js} +39 -39
  239. package/dist/chunks/{location-services-86kzpktf.js → aisdk-p201jne6.js} +6 -6
  240. package/dist/chunks/{location-services-qw1w4c69.js → aisdk-p6ptthry.js} +4 -4
  241. package/dist/chunks/{location-services-rbg54dp1.js → aisdk-p76me67c.js} +4 -4
  242. package/dist/chunks/{location-services-jpkwd5t1.js → aisdk-pdyy7gz9.js} +14 -14
  243. package/dist/chunks/{location-services-5e2yy5ne.js → aisdk-pfjryf1x.js} +7 -7
  244. package/dist/chunks/{location-services-pknna89w.js → aisdk-pknna89w.js} +1 -1
  245. package/dist/chunks/{location-services-2b1568zw.js → aisdk-pq0zk47q.js} +36 -36
  246. package/dist/chunks/{location-services-2jxsjtf7.js → aisdk-ptjgxvm7.js} +9 -9
  247. package/dist/chunks/{location-services-g640be21.js → aisdk-pymb48n1.js} +5 -5
  248. package/dist/chunks/{location-services-w0bqp61t.js → aisdk-q47m729n.js} +59 -59
  249. package/dist/chunks/{location-services-q5bk3gvt.js → aisdk-q5bk3gvt.js} +2 -2
  250. package/dist/chunks/{location-services-4c048vkd.js → aisdk-q6169bpd.js} +12 -12
  251. package/dist/chunks/{location-services-yrmdtecy.js → aisdk-q9zjhx43.js} +65 -65
  252. package/dist/chunks/{location-services-1vcka5sm.js → aisdk-qaf33g9m.js} +22 -22
  253. package/dist/chunks/{location-services-9dkryd5t.js → aisdk-qakab0ph.js} +33 -33
  254. package/dist/chunks/{location-services-y6w7xb43.js → aisdk-qc7j8vb7.js} +5 -5
  255. package/dist/chunks/aisdk-qg5d3qey.js +26 -0
  256. package/dist/chunks/{location-services-jqqn6x0e.js → aisdk-qkv3pk5p.js} +26 -26
  257. package/dist/chunks/{location-services-dtv8y145.js → aisdk-qm9pt90z.js} +11 -11
  258. package/dist/chunks/{location-services-mzedg54m.js → aisdk-qmvdf6k5.js} +11 -11
  259. package/dist/chunks/{location-services-qp7r0hxv.js → aisdk-qp7r0hxv.js} +1 -1
  260. package/dist/chunks/{location-services-z137yn3z.js → aisdk-qtd7mr94.js} +31 -31
  261. package/dist/chunks/{location-services-mhx1h2m0.js → aisdk-qy94z0q3.js} +11 -11
  262. package/dist/chunks/{location-services-nqdwr67f.js → aisdk-qza0cy21.js} +15 -15
  263. package/dist/chunks/{location-services-xbjcy85w.js → aisdk-r0g4qhb1.js} +8 -8
  264. package/dist/chunks/{location-services-xe6pezxp.js → aisdk-r9z26v6p.js} +9 -9
  265. package/dist/chunks/{location-services-8jaccbj0.js → aisdk-ra5zg4y5.js} +16 -16
  266. package/dist/chunks/{location-services-hpbek71f.js → aisdk-rb0e2ctr.js} +12 -12
  267. package/dist/chunks/{location-services-rb9dy4dg.js → aisdk-rb9dy4dg.js} +1 -1
  268. package/dist/chunks/{location-services-ya3pz56t.js → aisdk-rf5xdxz2.js} +6 -6
  269. package/dist/chunks/{location-services-rgc9cx3e.js → aisdk-rgc9cx3e.js} +2 -2
  270. package/dist/chunks/{location-services-c5zvymhv.js → aisdk-rj7j5fvs.js} +4 -4
  271. package/dist/chunks/{location-services-ym985j86.js → aisdk-rjd4ght5.js} +36 -36
  272. package/dist/chunks/{location-services-bzv9xckk.js → aisdk-rrym2d7k.js} +9 -9
  273. package/dist/chunks/{location-services-z607j5c2.js → aisdk-rsvhexnm.js} +16 -16
  274. package/dist/chunks/{location-services-p9jew6yw.js → aisdk-rwqkr5yq.js} +15 -15
  275. package/dist/chunks/{location-services-dds6zpvr.js → aisdk-s0b19rzj.js} +23 -23
  276. package/dist/chunks/{location-services-6wsfwyts.js → aisdk-s0zpw7pd.js} +11 -11
  277. package/dist/chunks/{location-services-s1ba0vj0.js → aisdk-s1ba0vj0.js} +2 -2
  278. package/dist/chunks/{location-services-vt8xwy8m.js → aisdk-s2rqz5wb.js} +24 -24
  279. package/dist/chunks/{location-services-xgdcz69g.js → aisdk-s3jc10rj.js} +13 -13
  280. package/dist/chunks/{location-services-d1n4wvw7.js → aisdk-s3rv10yp.js} +28 -28
  281. package/dist/chunks/{location-services-s47rahr7.js → aisdk-s47rahr7.js} +1 -1
  282. package/dist/chunks/{location-services-sbya78hr.js → aisdk-sbya78hr.js} +1 -1
  283. package/dist/chunks/{location-services-ghrv1g9c.js → aisdk-sdt5j0rm.js} +4 -4
  284. package/dist/chunks/{location-services-0ctnc6rs.js → aisdk-sk2v7ve7.js} +89 -73
  285. package/dist/chunks/{location-services-tashtxdn.js → aisdk-sn77dt8p.js} +60 -60
  286. package/dist/chunks/{location-services-z4zj0bd2.js → aisdk-snmv5tc2.js} +7 -7
  287. package/dist/chunks/{location-services-wyewzvbx.js → aisdk-sq5fdpmn.js} +30 -30
  288. package/dist/chunks/{location-services-2strptjk.js → aisdk-sseh985f.js} +9 -9
  289. package/dist/chunks/{location-services-svcy3p9a.js → aisdk-svcy3p9a.js} +1 -1
  290. package/dist/chunks/{location-services-ktz8yab7.js → aisdk-t13qr1dd.js} +4 -4
  291. package/dist/chunks/{location-services-ft8xzz8g.js → aisdk-t307fb60.js} +3 -3
  292. package/dist/chunks/{location-services-0fjjkqzh.js → aisdk-t69jc1z4.js} +5 -5
  293. package/dist/chunks/{location-services-hfccw434.js → aisdk-t7xjw7j2.js} +10 -10
  294. package/dist/chunks/{location-services-tbpn7jtk.js → aisdk-tbpn7jtk.js} +1 -1
  295. package/dist/chunks/{location-services-tczq8hjw.js → aisdk-tczq8hjw.js} +1 -1
  296. package/dist/chunks/{location-services-65gdbp7q.js → aisdk-td1c14kr.js} +2 -2
  297. package/dist/chunks/{location-services-gxs71cxp.js → aisdk-tg7s7b5t.js} +4 -4
  298. package/dist/chunks/{location-services-cvabbvjm.js → aisdk-trmh86bb.js} +36 -36
  299. package/dist/chunks/{location-services-tvtps2q9.js → aisdk-tvtps2q9.js} +1 -1
  300. package/dist/chunks/{location-services-twssxy5n.js → aisdk-twssxy5n.js} +2 -2
  301. package/dist/chunks/{location-services-vz5nq7pj.js → aisdk-tx7xfjek.js} +39 -36
  302. package/dist/chunks/{location-services-cg0f623x.js → aisdk-tzzrxahk.js} +18 -18
  303. package/dist/chunks/{location-services-w79nt68w.js → aisdk-v0t96s7a.js} +4 -4
  304. package/dist/chunks/{location-services-8nj8pb4z.js → aisdk-v23hhw89.js} +3 -3
  305. package/dist/chunks/{location-services-v2r1d0zg.js → aisdk-v2r1d0zg.js} +1 -1
  306. package/dist/chunks/{location-services-1q07fp1w.js → aisdk-v4bj6baw.js} +4 -4
  307. package/dist/chunks/{location-services-tg1vr1qt.js → aisdk-v5hpj9dd.js} +8 -8
  308. package/dist/chunks/{location-services-4sq1vjey.js → aisdk-vajpn6aq.js} +22 -22
  309. package/dist/chunks/{location-services-n1dszhpy.js → aisdk-vbzkhvdq.js} +32 -32
  310. package/dist/chunks/{location-services-qsgdfh3a.js → aisdk-vfzbs16a.js} +4 -4
  311. package/dist/chunks/{location-services-vjf35v1f.js → aisdk-vjf35v1f.js} +1 -1
  312. package/dist/chunks/{location-services-8jk8wmqw.js → aisdk-vszn7bs3.js} +9 -9
  313. package/dist/chunks/{location-services-bwvkcnkb.js → aisdk-vt36y783.js} +14 -14
  314. package/dist/chunks/{location-services-5pdpg5yb.js → aisdk-w0bvmzjm.js} +5 -5
  315. package/dist/chunks/{location-services-40za9wsf.js → aisdk-w2eysc6j.js} +9 -9
  316. package/dist/chunks/{location-services-1k5cvfw6.js → aisdk-w2xfegj1.js} +14 -14
  317. package/dist/chunks/{location-services-008z7fc3.js → aisdk-w37wwrqm.js} +14 -14
  318. package/dist/chunks/{location-services-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
  319. package/dist/chunks/{location-services-bhxbamzq.js → aisdk-w9y1k97s.js} +21 -21
  320. package/dist/chunks/{location-services-wakvkjy4.js → aisdk-wakvkjy4.js} +1 -1
  321. package/dist/chunks/{location-services-wd87259q.js → aisdk-wd87259q.js} +1 -1
  322. package/dist/chunks/aisdk-we9eewdm.js +35 -0
  323. package/dist/chunks/{location-services-wegkxhrn.js → aisdk-wegkxhrn.js} +2 -2
  324. package/dist/chunks/{location-services-xcphq8b8.js → aisdk-wfkcbjb5.js} +8 -8
  325. package/dist/chunks/{location-services-a6qzccyr.js → aisdk-wq08meq6.js} +9 -9
  326. package/dist/chunks/{location-services-bra115xj.js → aisdk-wq62csb0.js} +17 -17
  327. package/dist/chunks/{location-services-1yped5qa.js → aisdk-wr3re1en.js} +4 -4
  328. package/dist/chunks/{location-services-2150bmjz.js → aisdk-wta6202z.js} +12 -12
  329. package/dist/chunks/{location-services-qaxwqswv.js → aisdk-ww6xxge1.js} +23 -23
  330. package/dist/chunks/{location-services-j1zpf99x.js → aisdk-xacrkbdt.js} +7 -7
  331. package/dist/chunks/{location-services-sgmaddx1.js → aisdk-xbbbq08w.js} +25 -25
  332. package/dist/chunks/{location-services-bstexjd6.js → aisdk-xd9cc171.js} +5 -5
  333. package/dist/chunks/{location-services-xjbsd7zy.js → aisdk-xjbsd7zy.js} +2 -2
  334. package/dist/chunks/{location-services-mxp3aqwt.js → aisdk-xjf932n8.js} +6 -6
  335. package/dist/chunks/{location-services-57e02nhb.js → aisdk-xmdz2ynj.js} +3 -3
  336. package/dist/chunks/{location-services-yhszpxa8.js → aisdk-xsj5ak6x.js} +11 -11
  337. package/dist/chunks/{location-services-xjr6c8m4.js → aisdk-xxschbft.js} +4 -4
  338. package/dist/chunks/{location-services-w4xw9ac5.js → aisdk-xz07m27x.js} +2 -2
  339. package/dist/chunks/{location-services-y70tqzxm.js → aisdk-xz5n7eyq.js} +8 -8
  340. package/dist/chunks/{location-services-6zc4bpxd.js → aisdk-y33bhg8s.js} +33 -33
  341. package/dist/chunks/{location-services-vby5y9r5.js → aisdk-y398vq4b.js} +3 -3
  342. package/dist/chunks/{location-services-yb20nhc3.js → aisdk-yb20nhc3.js} +1 -1
  343. package/dist/chunks/{location-services-yr705xyq.js → aisdk-yr705xyq.js} +1 -1
  344. package/dist/chunks/{location-services-1xvytb92.js → aisdk-ysqr8c6t.js} +14 -14
  345. package/dist/chunks/{location-services-6jzdpv1w.js → aisdk-ytfr5x0q.js} +10 -10
  346. package/dist/chunks/{location-services-adq0nts5.js → aisdk-yvj3tegn.js} +14 -14
  347. package/dist/chunks/{location-services-yvtc2x31.js → aisdk-yvtc2x31.js} +1 -1
  348. package/dist/chunks/aisdk-ywh3xphk.js +16 -0
  349. package/dist/chunks/{location-services-anvcme1c.js → aisdk-z080rjh6.js} +4 -4
  350. package/dist/chunks/{location-services-z0wbgq7s.js → aisdk-z0wbgq7s.js} +1 -1
  351. package/dist/chunks/{location-services-7nmy20qs.js → aisdk-z54rs5r9.js} +14 -14
  352. package/dist/chunks/{location-services-ztx6dhwc.js → aisdk-zkc29vwy.js} +11 -11
  353. package/dist/codemode/catalog.js +1 -1
  354. package/dist/codemode/execution.js +5 -5
  355. package/dist/codemode/fetch.js +150 -150
  356. package/dist/codemode/instructions.js +8 -8
  357. package/dist/codemode/tool.js +157 -157
  358. package/dist/command.js +92 -92
  359. package/dist/config/discovery.js +97 -97
  360. package/dist/config/integration.js +5 -5
  361. package/dist/config/managed.js +1 -1
  362. package/dist/config/markdown.js +1 -1
  363. package/dist/config/normalize.js +113 -113
  364. package/dist/config/plugin/agent.js +134 -134
  365. package/dist/config/plugin/command.js +249 -249
  366. package/dist/config/plugin/compaction.js +175 -175
  367. package/dist/config/plugin/compatibility.js +155 -155
  368. package/dist/config/plugin/entry-observer.js +1 -1
  369. package/dist/config/plugin/formatter.js +132 -132
  370. package/dist/config/plugin/image.js +131 -131
  371. package/dist/config/plugin/instruction.js +132 -132
  372. package/dist/config/plugin/location-watcher.js +131 -131
  373. package/dist/config/plugin/mcp.js +150 -150
  374. package/dist/config/plugin/policy.js +131 -131
  375. package/dist/config/plugin/provider.js +131 -131
  376. package/dist/config/plugin/reference.js +133 -133
  377. package/dist/config/plugin/shell.js +131 -131
  378. package/dist/config/plugin/skill-file.js +151 -151
  379. package/dist/config/plugin/skill-scan.js +1 -1
  380. package/dist/config/plugin/skill.js +158 -158
  381. package/dist/config/plugin/snapshot.js +131 -131
  382. package/dist/config/plugin/source.js +135 -135
  383. package/dist/config/plugin/tool-output.js +132 -132
  384. package/dist/config/plugin/websearch.js +130 -130
  385. package/dist/config/plugin/worktree.js +133 -133
  386. package/dist/config/variable.js +1 -1
  387. package/dist/config/watch.js +1 -1
  388. package/dist/config.js +130 -130
  389. package/dist/console-access.js +1 -1
  390. package/dist/credential/sql.js +2 -2
  391. package/dist/credential.js +94 -94
  392. package/dist/database/batch.js +1 -1
  393. package/dist/database/database.js +77 -77
  394. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  395. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  396. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  397. package/dist/database/drizzle/index.js +13 -13
  398. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  401. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  403. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  406. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  407. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  408. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  409. package/dist/database/drizzle.js +14 -14
  410. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  411. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  412. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  413. package/dist/database/migration/20260225215848_workspace.js +1 -1
  414. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  415. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  416. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  417. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  418. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  419. package/dist/database/migration/20260323234822_events.js +1 -1
  420. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  421. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  422. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  423. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  424. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  425. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  426. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  427. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  428. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  429. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  430. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  431. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  432. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  433. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  434. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  435. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  436. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  437. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  438. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  439. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  440. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  441. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  442. package/dist/database/migration/20260611035744_credential.js +1 -1
  443. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  444. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  445. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  446. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  447. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  448. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  449. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  450. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  451. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  452. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  453. package/dist/database/migration/20260812213948_worktree.js +1 -1
  454. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  455. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  456. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  457. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  458. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  459. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  460. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  461. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  462. package/dist/database/migration/20261025123711_blob.js +1 -1
  463. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  464. package/dist/database/migration/20261026223005_schedule.js +1 -1
  465. package/dist/database/migration/20261029002625_session_part.js +1 -1
  466. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  467. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  468. package/dist/database/migration/20261030054400_job.js +1 -1
  469. package/dist/database/migration.gen.js +60 -60
  470. package/dist/database/migration.js +76 -76
  471. package/dist/database/path.js +2 -2
  472. package/dist/database/schema.gen.js +1 -1
  473. package/dist/database/schema.sql.js +1 -1
  474. package/dist/database/v1-migration.bun.js +105 -105
  475. package/dist/effect/app-node-builder.js +450 -450
  476. package/dist/effect/app-node-platform.js +2 -2
  477. package/dist/effect/keyed-mutex.js +1 -1
  478. package/dist/effect/websocket-constructor.js +1 -1
  479. package/dist/environment/driver.js +1 -1
  480. package/dist/environment/environment.js +105 -105
  481. package/dist/environment/exec-defaults.js +2 -2
  482. package/dist/environment/files.js +1 -1
  483. package/dist/environment/index.js +107 -107
  484. package/dist/environment/local.js +2 -2
  485. package/dist/environment/memory.js +2 -2
  486. package/dist/environment/unavailable.js +3 -3
  487. package/dist/event/sql.js +1 -1
  488. package/dist/event-logger.js +85 -85
  489. package/dist/file-access.js +162 -162
  490. package/dist/file-mutation.js +108 -108
  491. package/dist/file-retention.js +1 -1
  492. package/dist/file-write.js +166 -166
  493. package/dist/filesystem/fff.bun.js +2 -2
  494. package/dist/filesystem/fff.js +1 -1
  495. package/dist/filesystem/fff.node.js +2 -2
  496. package/dist/filesystem/fff.workerd.js +2 -2
  497. package/dist/filesystem/file-watch.js +91 -91
  498. package/dist/filesystem/location-watcher-policy.js +6 -6
  499. package/dist/filesystem/location-watcher.js +258 -258
  500. package/dist/filesystem/protected.js +3 -3
  501. package/dist/filesystem/search.js +113 -113
  502. package/dist/filesystem/watcher-binding.js +1 -1
  503. package/dist/filesystem/watcher.js +7 -7
  504. package/dist/filesystem.js +116 -116
  505. package/dist/flag.js +134 -134
  506. package/dist/form.js +95 -95
  507. package/dist/formatter/builtins.js +4 -4
  508. package/dist/formatter.js +100 -100
  509. package/dist/generate.js +119 -119
  510. package/dist/git.js +11 -11
  511. package/dist/github-copilot/models.js +113 -113
  512. package/dist/image/notice.js +1 -1
  513. package/dist/image/photon-normalize.js +1 -1
  514. package/dist/image/photon-worker.js +1 -1
  515. package/dist/image/photon.js +4 -4
  516. package/dist/image.js +6 -6
  517. package/dist/instance/service.js +5 -5
  518. package/dist/instance.js +441 -441
  519. package/dist/instruction-discovery.js +92 -92
  520. package/dist/instructions/builtins.js +101 -101
  521. package/dist/instructions/index.js +2 -2
  522. package/dist/integration/connection.js +3 -3
  523. package/dist/integration.js +102 -102
  524. package/dist/job/list.js +5 -5
  525. package/dist/job/recovery.js +2 -2
  526. package/dist/job/sql.js +2 -2
  527. package/dist/job.js +88 -88
  528. package/dist/kv/sql.js +2 -2
  529. package/dist/kv.js +84 -84
  530. package/dist/location-activity.js +190 -190
  531. package/dist/location-lifecycle.js +155 -155
  532. package/dist/location-service-map.js +99 -99
  533. package/dist/location-services.js +438 -438
  534. package/dist/location.js +102 -102
  535. package/dist/managed-policy.js +3 -3
  536. package/dist/mcp/client.js +161 -161
  537. package/dist/mcp/connection.js +106 -106
  538. package/dist/mcp/event-errors.js +1 -1
  539. package/dist/mcp/index.js +149 -149
  540. package/dist/mcp/instructions.js +192 -192
  541. package/dist/mcp/oauth.js +90 -90
  542. package/dist/mcp/pool.js +112 -112
  543. package/dist/mcp/socket-client.js +1 -1
  544. package/dist/mcp/stdio.js +161 -161
  545. package/dist/mime.js +1 -1
  546. package/dist/modal/models.js +113 -113
  547. package/dist/model-resolver.js +113 -113
  548. package/dist/model-retry.js +1 -1
  549. package/dist/model.js +116 -116
  550. package/dist/models-dev/v1.js +1 -1
  551. package/dist/models-dev.js +116 -116
  552. package/dist/oauth/page.js +1 -1
  553. package/dist/oauth/redirect.js +1 -1
  554. package/dist/permission/saved.js +93 -93
  555. package/dist/permission/sql.js +5 -5
  556. package/dist/permission.js +160 -160
  557. package/dist/persistent-pty/binary.bun.js +1 -1
  558. package/dist/persistent-pty/daemon.js +1 -1
  559. package/dist/persistent-pty/index.js +93 -93
  560. package/dist/persistent-pty/pty-binding.js +1 -1
  561. package/dist/persistent-pty.js +86 -86
  562. package/dist/plugin/agent.js +87 -87
  563. package/dist/plugin/command.js +148 -148
  564. package/dist/plugin/fork-notice.js +3 -3
  565. package/dist/plugin/goal.js +3 -3
  566. package/dist/plugin/hooks.js +5 -5
  567. package/dist/plugin/host.js +251 -251
  568. package/dist/plugin/identity.js +5 -5
  569. package/dist/plugin/instance.js +5 -5
  570. package/dist/plugin/internal.js +418 -418
  571. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  572. package/dist/plugin/models-dev.js +111 -111
  573. package/dist/plugin/module.js +130 -130
  574. package/dist/plugin/optimize.js +2 -2
  575. package/dist/plugin/plan.js +151 -151
  576. package/dist/plugin/promise.js +1 -1
  577. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  578. package/dist/plugin/provider/azure.js +134 -134
  579. package/dist/plugin/provider/cerebras.js +1 -1
  580. package/dist/plugin/provider/chatgpt.js +135 -135
  581. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  582. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  583. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  585. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  587. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  588. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  589. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  590. package/dist/plugin/provider/claude-agent/index.js +149 -149
  591. package/dist/plugin/provider/claude-agent/instructions.js +115 -115
  592. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  595. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  596. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  599. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  600. package/dist/plugin/provider/claude-agent/provider.js +111 -111
  601. package/dist/plugin/provider/claude-agent/session.js +113 -113
  602. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  603. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  606. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  612. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  613. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  614. package/dist/plugin/provider/configured.js +127 -127
  615. package/dist/plugin/provider/credential-settings.js +88 -88
  616. package/dist/plugin/provider/databricks.js +1 -1
  617. package/dist/plugin/provider/digitalocean.js +110 -110
  618. package/dist/plugin/provider/dynamic.js +2 -2
  619. package/dist/plugin/provider/github-copilot.js +112 -112
  620. package/dist/plugin/provider/gitlab.js +111 -111
  621. package/dist/plugin/provider/google-vertex.js +128 -128
  622. package/dist/plugin/provider/kilo.js +1 -1
  623. package/dist/plugin/provider/llmgateway.js +89 -89
  624. package/dist/plugin/provider/lmstudio.js +144 -144
  625. package/dist/plugin/provider/local.js +141 -141
  626. package/dist/plugin/provider/modal.js +109 -109
  627. package/dist/plugin/provider/neon.js +1 -1
  628. package/dist/plugin/provider/nvidia.js +1 -1
  629. package/dist/plugin/provider/ollama.js +144 -144
  630. package/dist/plugin/provider/openai-context-caps.js +107 -107
  631. package/dist/plugin/provider/openai.js +135 -135
  632. package/dist/plugin/provider/opencode-watches.js +4 -4
  633. package/dist/plugin/provider/opencode.js +163 -163
  634. package/dist/plugin/provider/openrouter.js +105 -105
  635. package/dist/plugin/provider/poe.js +91 -91
  636. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  637. package/dist/plugin/provider/refresh.js +89 -89
  638. package/dist/plugin/provider/sap-ai-core.js +105 -105
  639. package/dist/plugin/provider/sdk-factory.js +1 -1
  640. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  641. package/dist/plugin/provider/vllm.js +144 -144
  642. package/dist/plugin/provider/xai.js +105 -105
  643. package/dist/plugin/provider/zenmux.js +1 -1
  644. package/dist/plugin/provider.js +242 -242
  645. package/dist/plugin/sdk.js +87 -87
  646. package/dist/plugin/service.js +3 -3
  647. package/dist/plugin/skill.js +154 -154
  648. package/dist/plugin/source-directory.js +1 -1
  649. package/dist/plugin/supervisor.js +430 -430
  650. package/dist/plugin/tool-input-repair.js +4 -4
  651. package/dist/plugin/update.js +6 -6
  652. package/dist/plugin/vcs/git.js +99 -99
  653. package/dist/plugin/vcs/hg.js +99 -99
  654. package/dist/plugin/verbosity.js +107 -107
  655. package/dist/plugin/warming.js +131 -131
  656. package/dist/plugin/websearch/exa.js +8 -8
  657. package/dist/plugin/websearch/firecrawl.js +9 -9
  658. package/dist/plugin/websearch/index.js +10 -10
  659. package/dist/plugin/websearch/mcp.js +6 -6
  660. package/dist/plugin/websearch/parallel.js +9 -9
  661. package/dist/plugin/websearch/provider.js +3 -3
  662. package/dist/plugin/websearch/tavily.js +7 -7
  663. package/dist/plugin/websearch/tinyfish.js +9 -9
  664. package/dist/plugin.js +256 -256
  665. package/dist/project/icon.js +5 -5
  666. package/dist/project/schema.js +8 -8
  667. package/dist/project/sql.js +4 -4
  668. package/dist/project.js +105 -105
  669. package/dist/provider.js +107 -107
  670. package/dist/pty/protocol.js +1 -1
  671. package/dist/pty/ticket.js +1 -1
  672. package/dist/pty.js +97 -97
  673. package/dist/reference/instructions.js +98 -98
  674. package/dist/reference.js +103 -103
  675. package/dist/repository-cache.js +93 -93
  676. package/dist/repository.js +3 -3
  677. package/dist/ripgrep/binary.js +2 -2
  678. package/dist/ripgrep.js +111 -111
  679. package/dist/rpc.js +99 -99
  680. package/dist/schedule/check.js +256 -256
  681. package/dist/schedule/sql.js +6 -6
  682. package/dist/schedule.js +262 -262
  683. package/dist/schema.js +1 -1
  684. package/dist/session/affinity.js +1 -1
  685. package/dist/session/background.js +3 -3
  686. package/dist/session/blob.js +133 -133
  687. package/dist/session/command.js +85 -85
  688. package/dist/session/compaction.js +177 -177
  689. package/dist/session/context.js +208 -208
  690. package/dist/session/diff.js +101 -101
  691. package/dist/session/environment.js +5 -5
  692. package/dist/session/error.js +5 -5
  693. package/dist/session/event.js +1 -1
  694. package/dist/session/execution/restart.js +277 -277
  695. package/dist/session/execution/subagent-report.js +145 -145
  696. package/dist/session/execution.js +176 -176
  697. package/dist/session/generate.js +210 -210
  698. package/dist/session/history.js +141 -141
  699. package/dist/session/inbox.js +152 -152
  700. package/dist/session/info.js +3 -3
  701. package/dist/session/instruction-entry.js +85 -85
  702. package/dist/session/instruction-state.js +9 -9
  703. package/dist/session/instructions.js +144 -144
  704. package/dist/session/message-updater.js +4 -4
  705. package/dist/session/message.js +1 -1
  706. package/dist/session/model-request.js +171 -171
  707. package/dist/session/model-transport.js +7 -7
  708. package/dist/session/move.js +176 -176
  709. package/dist/session/projector.js +148 -148
  710. package/dist/session/prompt.js +153 -153
  711. package/dist/session/recent-text.js +1 -1
  712. package/dist/session/revert.js +144 -144
  713. package/dist/session/run-coordinator.js +3 -3
  714. package/dist/session/runner/index.js +3 -3
  715. package/dist/session/runner/llm.js +263 -263
  716. package/dist/session/runner/max-steps.js +1 -1
  717. package/dist/session/runner/model.js +115 -115
  718. package/dist/session/runner/publish-llm-event.js +155 -155
  719. package/dist/session/runner/retry.js +5 -5
  720. package/dist/session/runner/step.js +168 -168
  721. package/dist/session/runner/to-llm-message.js +142 -142
  722. package/dist/session/schema.js +5 -5
  723. package/dist/session/session.js +194 -194
  724. package/dist/session/shell.js +149 -149
  725. package/dist/session/skill.js +152 -152
  726. package/dist/session/sql.js +5 -5
  727. package/dist/session/stats.js +85 -85
  728. package/dist/session/store.js +147 -147
  729. package/dist/session/stored.js +2 -2
  730. package/dist/session/subagent-completion.js +1 -1
  731. package/dist/session/subagent-job.js +173 -173
  732. package/dist/session/system-prompt.js +3 -3
  733. package/dist/session/title.js +212 -212
  734. package/dist/session/to-session-error.js +154 -154
  735. package/dist/session/transfer.js +260 -260
  736. package/dist/session/usage.js +1 -1
  737. package/dist/session.js +253 -253
  738. package/dist/shared-cache.js +5 -5
  739. package/dist/shell/parse.js +6 -6
  740. package/dist/shell/result.js +1 -1
  741. package/dist/shell/scan.js +1 -1
  742. package/dist/shell/select.js +9 -9
  743. package/dist/shell.js +151 -151
  744. package/dist/skill/discovery.js +2 -2
  745. package/dist/skill/instructions.js +152 -152
  746. package/dist/skill.js +161 -161
  747. package/dist/snapshot.js +106 -106
  748. package/dist/state.js +1 -1
  749. package/dist/tool/html-markdown.js +1 -1
  750. package/dist/tool/http-body.js +1 -1
  751. package/dist/tool/mcp.js +189 -189
  752. package/dist/tool/plugin/artifact.js +246 -246
  753. package/dist/tool/plugin/edit.js +172 -172
  754. package/dist/tool/plugin/file-diff.js +1 -1
  755. package/dist/tool/plugin/glob.js +176 -176
  756. package/dist/tool/plugin/grep.js +169 -169
  757. package/dist/tool/plugin/image-generate.js +257 -257
  758. package/dist/tool/plugin/mcp-events.js +168 -168
  759. package/dist/tool/plugin/mcp-resource.js +172 -172
  760. package/dist/tool/plugin/opencode.js +168 -168
  761. package/dist/tool/plugin/patch.js +171 -171
  762. package/dist/tool/plugin/question.js +151 -151
  763. package/dist/tool/plugin/read.js +177 -177
  764. package/dist/tool/plugin/schedule.js +262 -262
  765. package/dist/tool/plugin/shell.js +251 -251
  766. package/dist/tool/plugin/skill.js +162 -162
  767. package/dist/tool/plugin/subagent.js +253 -253
  768. package/dist/tool/plugin/todo.js +158 -158
  769. package/dist/tool/plugin/webfetch.js +162 -162
  770. package/dist/tool/plugin/websearch.js +158 -158
  771. package/dist/tool/plugin/write.js +171 -171
  772. package/dist/tool/read-filesystem.js +114 -114
  773. package/dist/tool/runtime.js +1 -1
  774. package/dist/tool/search.js +109 -109
  775. package/dist/tool-output.js +7 -7
  776. package/dist/tool.js +163 -163
  777. package/dist/types/tool/plugin/edit.d.ts +1 -11
  778. package/dist/usage-limits.js +98 -98
  779. package/dist/util/canonical-json.js +1 -1
  780. package/dist/util/error-summary.js +1 -1
  781. package/dist/util/git-executable.js +3 -3
  782. package/dist/util/lazy.js +1 -1
  783. package/dist/util/slug.js +1 -1
  784. package/dist/util/token.js +1 -1
  785. package/dist/util/which.js +1 -1
  786. package/dist/util/wildcard.js +1 -1
  787. package/dist/v1/config/agent.js +5 -5
  788. package/dist/v1/config/command.js +3 -3
  789. package/dist/v1/config/mcp.js +4 -4
  790. package/dist/v1/config/migrate.js +106 -106
  791. package/dist/v1/config/permission.js +3 -3
  792. package/dist/v1/config/plugin.js +1 -1
  793. package/dist/v1/config/provider-options.js +1 -1
  794. package/dist/v1/config/provider.js +4 -4
  795. package/dist/variant.js +105 -105
  796. package/dist/vcs/patch.js +1 -1
  797. package/dist/vcs.js +100 -100
  798. package/dist/voice.js +99 -99
  799. package/dist/websearch.js +97 -97
  800. package/dist/wellknown/plugin.js +85 -85
  801. package/dist/wellknown.js +90 -90
  802. package/dist/workspace/driver.js +5 -5
  803. package/dist/workspace/sql.js +1 -1
  804. package/dist/workspace.js +93 -93
  805. package/dist/worktree/directory.js +2 -2
  806. package/dist/worktree/git.js +9 -9
  807. package/dist/worktree/sql.js +5 -5
  808. package/dist/worktree/strategies.js +102 -102
  809. package/dist/worktree.js +105 -105
  810. package/package.json +9 -9
  811. package/dist/chunks/location-services-32q6hwc7.js +0 -587
  812. package/dist/chunks/location-services-ezna1kdx.js +0 -18
  813. package/dist/chunks/location-services-g7wdkzkp.js +0 -273
  814. package/dist/chunks/location-services-gkb3m8fg.js +0 -16
  815. package/dist/chunks/location-services-jyk43rrv.js +0 -35
  816. package/dist/chunks/location-services-rnemwpkq.js +0 -26
  817. /package/dist/chunks/{location-services-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
  818. /package/dist/chunks/{location-services-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
  819. /package/dist/chunks/{location-services-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
  820. /package/dist/chunks/{location-services-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
  821. /package/dist/chunks/{location-services-1kah00gy.js → aisdk-1kah00gy.js} +0 -0
  822. /package/dist/chunks/{location-services-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
  823. /package/dist/chunks/{location-services-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
  824. /package/dist/chunks/{location-services-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
  825. /package/dist/chunks/{location-services-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
  826. /package/dist/chunks/{location-services-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
  827. /package/dist/chunks/{location-services-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
  828. /package/dist/chunks/{location-services-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
  829. /package/dist/chunks/{location-services-4qk9sjk2.js → aisdk-4qk9sjk2.js} +0 -0
  830. /package/dist/chunks/{location-services-53557ph1.js → aisdk-53557ph1.js} +0 -0
  831. /package/dist/chunks/{location-services-5w3e23ze.js → aisdk-5w3e23ze.js} +0 -0
  832. /package/dist/chunks/{location-services-6agm2x70.js → aisdk-6agm2x70.js} +0 -0
  833. /package/dist/chunks/{location-services-6prwharc.js → aisdk-6prwharc.js} +0 -0
  834. /package/dist/chunks/{location-services-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
  835. /package/dist/chunks/{location-services-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
  836. /package/dist/chunks/{location-services-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
  837. /package/dist/chunks/{location-services-7rvsyqjv.js → aisdk-7rvsyqjv.js} +0 -0
  838. /package/dist/chunks/{location-services-822emrt2.js → aisdk-822emrt2.js} +0 -0
  839. /package/dist/chunks/{location-services-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
  840. /package/dist/chunks/{location-services-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
  841. /package/dist/chunks/{location-services-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
  842. /package/dist/chunks/{location-services-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
  843. /package/dist/chunks/{location-services-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
  844. /package/dist/chunks/{location-services-9ceax7yg.js → aisdk-9ceax7yg.js} +0 -0
  845. /package/dist/chunks/{location-services-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
  846. /package/dist/chunks/{location-services-ade8csyh.js → aisdk-ade8csyh.js} +0 -0
  847. /package/dist/chunks/{location-services-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
  848. /package/dist/chunks/{location-services-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
  849. /package/dist/chunks/{location-services-beh6qq61.js → aisdk-beh6qq61.js} +0 -0
  850. /package/dist/chunks/{location-services-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
  851. /package/dist/chunks/{location-services-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
  852. /package/dist/chunks/{location-services-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
  853. /package/dist/chunks/{location-services-cqv5kn06.js → aisdk-cqv5kn06.js} +0 -0
  854. /package/dist/chunks/{location-services-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
  855. /package/dist/chunks/{location-services-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
  856. /package/dist/chunks/{location-services-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
  857. /package/dist/chunks/{location-services-df08tz66.js → aisdk-df08tz66.js} +0 -0
  858. /package/dist/chunks/{location-services-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
  859. /package/dist/chunks/{location-services-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
  860. /package/dist/chunks/{location-services-ean2d8b5.js → aisdk-ean2d8b5.js} +0 -0
  861. /package/dist/chunks/{location-services-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
  862. /package/dist/chunks/{location-services-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
  863. /package/dist/chunks/{location-services-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
  864. /package/dist/chunks/{location-services-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
  865. /package/dist/chunks/{location-services-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
  866. /package/dist/chunks/{location-services-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
  867. /package/dist/chunks/{location-services-fkpq3x5p.js → aisdk-fkpq3x5p.js} +0 -0
  868. /package/dist/chunks/{location-services-g86h250q.js → aisdk-g86h250q.js} +0 -0
  869. /package/dist/chunks/{location-services-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
  870. /package/dist/chunks/{location-services-gftt206x.js → aisdk-gftt206x.js} +0 -0
  871. /package/dist/chunks/{location-services-hcxmzztb.js → aisdk-hcxmzztb.js} +0 -0
  872. /package/dist/chunks/{location-services-hk9envan.js → aisdk-hk9envan.js} +0 -0
  873. /package/dist/chunks/{location-services-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
  874. /package/dist/chunks/{location-services-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
  875. /package/dist/chunks/{location-services-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
  876. /package/dist/chunks/{location-services-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
  877. /package/dist/chunks/{location-services-jwr30sdr.js → aisdk-jwr30sdr.js} +0 -0
  878. /package/dist/chunks/{location-services-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
  879. /package/dist/chunks/{location-services-m18g726c.js → aisdk-m18g726c.js} +0 -0
  880. /package/dist/chunks/{location-services-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
  881. /package/dist/chunks/{location-services-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
  882. /package/dist/chunks/{location-services-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
  883. /package/dist/chunks/{location-services-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
  884. /package/dist/chunks/{location-services-nh4v3znn.js → aisdk-nh4v3znn.js} +0 -0
  885. /package/dist/chunks/{location-services-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
  886. /package/dist/chunks/{location-services-p71gwv9c.js → aisdk-p71gwv9c.js} +0 -0
  887. /package/dist/chunks/{location-services-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
  888. /package/dist/chunks/{location-services-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
  889. /package/dist/chunks/{location-services-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
  890. /package/dist/chunks/{location-services-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
  891. /package/dist/chunks/{location-services-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
  892. /package/dist/chunks/{location-services-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
  893. /package/dist/chunks/{location-services-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
  894. /package/dist/chunks/{location-services-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
  895. /package/dist/chunks/{location-services-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
  896. /package/dist/chunks/{location-services-syrav9an.js → aisdk-syrav9an.js} +0 -0
  897. /package/dist/chunks/{location-services-t03h4f5z.js → aisdk-t03h4f5z.js} +0 -0
  898. /package/dist/chunks/{location-services-ty7weeps.js → aisdk-ty7weeps.js} +0 -0
  899. /package/dist/chunks/{location-services-v2dnd5dt.js → aisdk-v2dnd5dt.js} +0 -0
  900. /package/dist/chunks/{location-services-ve7vex1e.js → aisdk-ve7vex1e.js} +0 -0
  901. /package/dist/chunks/{location-services-vtarvj67.js → aisdk-vtarvj67.js} +0 -0
  902. /package/dist/chunks/{location-services-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
  903. /package/dist/chunks/{location-services-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
  904. /package/dist/chunks/{location-services-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
  905. /package/dist/chunks/{location-services-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
  906. /package/dist/chunks/{location-services-x4th4bpe.js → aisdk-x4th4bpe.js} +0 -0
  907. /package/dist/chunks/{location-services-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
  908. /package/dist/chunks/{location-services-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
  909. /package/dist/chunks/{location-services-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
  910. /package/dist/chunks/{location-services-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
  911. /package/dist/chunks/{location-services-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
  912. /package/dist/chunks/{location-services-zxpyjp51.js → aisdk-zxpyjp51.js} +0 -0
  913. /package/dist/chunks/{location-services-zz5vv3aq.js → aisdk-zz5vv3aq.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service91,
3
- node92
4
- } from "./location-services-ptdf7bfh.js";
2
+ Service93,
3
+ node95
4
+ } from "./aisdk-erpgh78q.js";
5
5
  import {
6
- Service88,
7
- node89
8
- } from "./location-services-30tjf1tq.js";
6
+ Service82,
7
+ node84
8
+ } from "./aisdk-3fevqy49.js";
9
9
  import {
10
10
  changes2,
11
11
  create4
12
- } from "./location-services-40y6dtc2.js";
12
+ } from "./aisdk-40y6dtc2.js";
13
13
  import {
14
- Service79,
15
- node80
16
- } from "./location-services-hfccw434.js";
14
+ Service92,
15
+ node94
16
+ } from "./aisdk-t7xjw7j2.js";
17
17
  import {
18
- Service73,
19
- node74
20
- } from "./location-services-1qxe1ypt.js";
18
+ Service66,
19
+ node67
20
+ } from "./aisdk-nd60m3ta.js";
21
21
  import {
22
22
  detect2
23
- } from "./location-services-4pyp9zr9.js";
23
+ } from "./aisdk-4pyp9zr9.js";
24
24
  import {
25
- Service27,
26
- node30
27
- } from "./location-services-hwd30tf9.js";
25
+ Service29,
26
+ node32
27
+ } from "./aisdk-gehd6x6y.js";
28
28
  import {
29
29
  __export
30
- } from "./location-services-9rqn6x4v.js";
30
+ } from "./aisdk-9rqn6x4v.js";
31
31
 
32
32
  // src/artifact.ts
33
33
  var exports_artifact2 = {};
@@ -48,10 +48,10 @@ __export(exports_artifact2, {
48
48
  ProviderError: () => ProviderError2,
49
49
  ProviderID: () => ProviderID2,
50
50
  ProviderNotFoundError: () => ProviderNotFoundError2,
51
- Service: () => Service22,
51
+ Service: () => Service23,
52
52
  UpdateInput: () => UpdateInput3,
53
53
  locate: () => locate2,
54
- node: () => node25
54
+ node: () => node26
55
55
  });
56
56
  import { randomUUID } from "node:crypto";
57
57
  import fs from "node:fs/promises";
@@ -123,7 +123,7 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
123
123
  }
124
124
  }
125
125
 
126
- class Service22 extends Context.Service()("@opencode/Artifact") {
126
+ class Service23 extends Context.Service()("@opencode/Artifact") {
127
127
  }
128
128
  var StoredRecord = Schema.Struct({
129
129
  info: Info7,
@@ -139,13 +139,13 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
139
139
  const decoded = decodeStoredRecord(stored);
140
140
  return Option.isSome(decoded) ? decoded.value.directory : undefined;
141
141
  }));
142
- var layer = Layer.effect(Service22, Effect.gen(function* () {
143
- const bus = yield* Service91;
144
- const flags = yield* Service73;
142
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
143
+ const bus = yield* Service93;
144
+ const flags = yield* Service66;
145
145
  const global = yield* Global.Service;
146
- const kv = yield* Service79;
147
- const location = yield* Service88;
148
- const sessions = yield* Service27;
146
+ const kv = yield* Service92;
147
+ const location = yield* Service82;
148
+ const sessions = yield* Service29;
149
149
  const rootDir = path.join(global.data, "artifacts");
150
150
  const itemDir = (id) => path.join(rootDir, id);
151
151
  const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError4({ artifactID: id }))));
@@ -202,7 +202,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
202
202
  return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
203
203
  };
204
204
  const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
205
- return Service22.of({
205
+ return Service23.of({
206
206
  transform: state.transform,
207
207
  reload: state.reload,
208
208
  enabled: isEnabled,
@@ -337,10 +337,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
337
337
  })
338
338
  });
339
339
  }));
340
- var node25 = makeLocationNode({
341
- service: Service22,
340
+ var node26 = makeLocationNode({
341
+ service: Service23,
342
342
  layer,
343
- deps: [node92, node74, Global.node, node80, node89, node30]
343
+ deps: [node95, node67, Global.node, node94, node84, node32]
344
344
  });
345
345
  function encodeStringFiles(files) {
346
346
  return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
@@ -481,4 +481,4 @@ function readDirectoryFiles(baseDir) {
481
481
  });
482
482
  }
483
483
 
484
- export { Capability2, Content2, CreateInput4, Event5, ID7, Info7, Provider2, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError3, NotFoundError4, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service22, locate2, node25, exports_artifact2 };
484
+ export { Capability2, Content2, CreateInput4, Event5, ID7, Info7, Provider2, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError3, NotFoundError4, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service23, locate2, node26, exports_artifact2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service91,
3
- node92
4
- } from "./location-services-ptdf7bfh.js";
2
+ Service93,
3
+ node95
4
+ } from "./aisdk-erpgh78q.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./location-services-z5v4ffb3.js";
8
+ } from "./aisdk-z5v4ffb3.js";
9
9
  import {
10
- Ref5,
11
- Service88,
12
- node89
13
- } from "./location-services-30tjf1tq.js";
10
+ Ref4,
11
+ Service82,
12
+ node84
13
+ } from "./aisdk-3fevqy49.js";
14
14
  import {
15
15
  __export
16
- } from "./location-services-9rqn6x4v.js";
16
+ } from "./aisdk-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service61,
22
+ Service: () => Service28,
23
23
  define: () => define2,
24
24
  eventDefinition: () => eventDefinition2,
25
- node: () => node62
25
+ node: () => node31
26
26
  });
27
27
  import { define as define2 } from "@opencode/schema/rpc";
28
28
  import { Event } from "@opencode/schema/event";
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
31
- class Service61 extends Context.Service()("@opencode/Rpc") {
31
+ class Service28 extends Context.Service()("@opencode/Rpc") {
32
32
  }
33
33
 
34
34
  class DeclaredError extends Error {
@@ -40,10 +40,10 @@ class DeclaredError extends Error {
40
40
  this.data = data;
41
41
  }
42
42
  }
43
- var layer = Layer.effect(Service61, Effect.gen(function* () {
44
- const bus = yield* Service91;
45
- const location = yield* Service88;
46
- const ref = Ref5.make({ directory: location.directory, workspaceID: location.workspaceID });
43
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
44
+ const bus = yield* Service93;
45
+ const location = yield* Service82;
46
+ const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
47
47
  const closed = yield* Deferred.make();
48
48
  const callContext = {
49
49
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -119,19 +119,19 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
119
119
  const registered = events.get(name);
120
120
  if (!registered)
121
121
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
122
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service88, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service82, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
123
123
  }
124
124
  }
125
125
  };
126
126
  };
127
- return Service61.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
+ return Service28.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
128
128
  }));
129
- var node62 = makeLocationNode({ service: Service61, layer, deps: [node92, node89] });
129
+ var node31 = makeLocationNode({ service: Service28, layer, deps: [node95, node84] });
130
130
  var fields = {
131
131
  id: Event.ID,
132
132
  created: Schema.Finite,
133
133
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
134
- location: optional2(Ref5)
134
+ location: optional2(Ref4)
135
135
  };
136
136
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
137
137
  var jsonSchemas = new WeakMap;
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service61, node62, eventDefinition2, exports_rpc, define2 };
213
+ export { Service28, node31, eventDefinition2, exports_rpc, define2 };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service91,
3
- node92
4
- } from "./location-services-ptdf7bfh.js";
2
+ Service93,
3
+ node95
4
+ } from "./aisdk-erpgh78q.js";
5
5
  import {
6
- Service83,
7
- node84
8
- } from "./location-services-xfwq85ya.js";
6
+ Service85,
7
+ node87
8
+ } from "./aisdk-begbag3g.js";
9
9
  import {
10
- Service89,
11
- node90
12
- } from "./location-services-fbp19f90.js";
10
+ Service83,
11
+ node85
12
+ } from "./aisdk-n7p5aby2.js";
13
13
  import {
14
- Ref5,
15
- Service88,
16
- node89
17
- } from "./location-services-30tjf1tq.js";
14
+ Ref4,
15
+ Service82,
16
+ node84
17
+ } from "./aisdk-3fevqy49.js";
18
18
  import {
19
19
  canonical3
20
- } from "./location-services-qtzxwf63.js";
20
+ } from "./aisdk-7j05p5xv.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./location-services-ec1grn59.js";
24
- import {
25
- Service70,
26
- node71
27
- } from "./location-services-6da0qsct.js";
23
+ } from "./aisdk-ec1grn59.js";
28
24
  import {
29
25
  Service61,
30
26
  node62
31
- } from "./location-services-fpvd1z9q.js";
27
+ } from "./aisdk-fqtyqcmx.js";
28
+ import {
29
+ Service28,
30
+ node31
31
+ } from "./aisdk-f48g45vp.js";
32
32
  import {
33
33
  __export
34
- } from "./location-services-9rqn6x4v.js";
34
+ } from "./aisdk-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: () => Service17,
41
+ node: () => node19
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -46,17 +46,17 @@ import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
  var durableSessionEventTypes = new Set(SessionEvent2.DurableDefinitions.map((definition) => definition.type));
48
48
 
49
- class Service19 extends Context.Service()("@opencode/LocationLifecycle") {
49
+ class Service17 extends Context.Service()("@opencode/LocationLifecycle") {
50
50
  }
51
- var layer = Layer.effect(Service19, Effect.gen(function* () {
52
- const bus = yield* Service91;
53
- const location = yield* Service88;
54
- const permission = yield* Service70;
55
- const forms = yield* Service83;
56
- const rpc = yield* Service61;
57
- const project = yield* Service89;
51
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
52
+ const bus = yield* Service93;
53
+ const location = yield* Service82;
54
+ const permission = yield* Service61;
55
+ const forms = yield* Service85;
56
+ const rpc = yield* Service28;
57
+ const project = yield* Service83;
58
58
  const scope = yield* Effect.scope;
59
- const self = canonical3(Ref5.make({ directory: location.directory, workspaceID: location.workspaceID }));
59
+ const self = canonical3(Ref4.make({ directory: location.directory, workspaceID: location.workspaceID }));
60
60
  yield* project.activate(location.project.id);
61
61
  const unsubscribe = yield* bus.listen((event) => {
62
62
  if (!event.location || !durableSessionEventTypes.has(event.type))
@@ -81,11 +81,11 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
81
81
  yield* forms.close;
82
82
  yield* rpc.close;
83
83
  yield* bus.publish(LocationEvent.Shutdown, {}, {
84
- location: Ref5.make({ directory: location.directory, workspaceID: location.workspaceID })
84
+ location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
85
85
  });
86
86
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
87
87
  }).pipe(Effect.uninterruptible);
88
- return Service19.of({
88
+ return Service17.of({
89
89
  isClosed: () => closed,
90
90
  shutdown,
91
91
  awaitShutdown: Deferred.await(done),
@@ -97,10 +97,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
97
97
  isRetained: () => retained > 0
98
98
  });
99
99
  }));
100
- var node21 = makeLocationNode({
101
- service: Service19,
100
+ var node19 = makeLocationNode({
101
+ service: Service17,
102
102
  layer,
103
- deps: [node92, node89, node71, node90, node84, node62]
103
+ deps: [node95, node84, node62, node85, node87, node31]
104
104
  });
105
105
 
106
- export { Service19, node21, exports_location_lifecycle };
106
+ export { Service17, node19, exports_location_lifecycle };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./location-services-gftt206x.js";
3
+ } from "./aisdk-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./aisdk-9rqn6x4v.js";
7
7
 
8
8
  // src/session/stored.ts
9
9
  var exports_stored = {};
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service91,
3
- node92
4
- } from "./location-services-ptdf7bfh.js";
2
+ Service93,
3
+ node95
4
+ } from "./aisdk-erpgh78q.js";
5
5
  import {
6
- Service88,
7
- node89
8
- } from "./location-services-30tjf1tq.js";
6
+ Service82,
7
+ node84
8
+ } from "./aisdk-3fevqy49.js";
9
9
  import {
10
- Service74,
11
- node75
12
- } from "./location-services-eydqz0mt.js";
10
+ Service64,
11
+ node65
12
+ } from "./aisdk-5nrbea71.js";
13
13
  import {
14
- NotFoundError11
15
- } from "./location-services-530xg6vw.js";
14
+ NotFoundError10
15
+ } from "./aisdk-0tq2d6dg.js";
16
16
  import {
17
17
  match3
18
- } from "./location-services-1aqsckx4.js";
18
+ } from "./aisdk-1aqsckx4.js";
19
19
  import {
20
- Service71,
21
- node72
22
- } from "./location-services-4c048vkd.js";
20
+ Service62,
21
+ node63
22
+ } from "./aisdk-q6169bpd.js";
23
23
  import {
24
- Service72,
25
- node73
26
- } from "./location-services-qa6srjcz.js";
24
+ Service63,
25
+ node64
26
+ } from "./aisdk-ek4mh5pg.js";
27
27
  import {
28
- Service75,
29
- node76
30
- } from "./location-services-z6g4szpb.js";
28
+ Service65,
29
+ node66
30
+ } from "./aisdk-nkzb5f1v.js";
31
31
  import {
32
32
  __export
33
- } from "./location-services-9rqn6x4v.js";
33
+ } from "./aisdk-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
36
  var exports_permission = {};
@@ -39,31 +39,31 @@ __export(exports_permission, {
39
39
  CorrectedError: () => CorrectedError2,
40
40
  DeclinedError: () => DeclinedError2,
41
41
  Effect: () => PermissionEffect,
42
- Event: () => Event13,
43
- ID: () => ID11,
44
- NotFoundError: () => NotFoundError10,
42
+ Event: () => Event10,
43
+ ID: () => ID9,
44
+ NotFoundError: () => NotFoundError9,
45
45
  Permission: () => exports_permission,
46
46
  Reply: () => Reply2,
47
47
  Request: () => Request3,
48
48
  Rule: () => Rule2,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service70,
51
- Source: () => Source5,
50
+ Service: () => Service61,
51
+ Source: () => Source4,
52
52
  Unattended: () => Unattended2,
53
53
  evaluate: () => evaluate3,
54
54
  invocation: () => invocation2,
55
55
  merge: () => merge2,
56
- node: () => node71
56
+ node: () => node62
57
57
  });
58
58
  import { makeLocationNode } from "@opencode/util/effect/app-node";
59
59
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
60
60
  import { Permission } from "@opencode/schema/permission";
61
61
  import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
62
- import { Event as Event13 } from "@opencode/schema/permission";
62
+ import { Event as Event10 } from "@opencode/schema/permission";
63
63
  var PermissionEffect = Permission.Effect;
64
64
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
65
- var ID11 = Permission.ID;
66
- var Source5 = Permission.Source;
65
+ var ID9 = Permission.ID;
66
+ var Source4 = Permission.Source;
67
67
  var Request3 = Permission.Request;
68
68
  var Reply2 = Permission.Reply;
69
69
  var invocation2 = (context) => ({
@@ -99,8 +99,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
99
99
  }
100
100
  }
101
101
 
102
- class NotFoundError10 extends Schema.TaggedError()("Permission.NotFoundError", {
103
- requestID: ID11
102
+ class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
103
+ requestID: ID9
104
104
  }) {
105
105
  }
106
106
  function evaluate3(action, resource, ...rulesets) {
@@ -114,15 +114,15 @@ function merge2(...rulesets) {
114
114
  return rulesets.flat();
115
115
  }
116
116
 
117
- class Service70 extends Context.Service()("@opencode/Permission") {
117
+ class Service61 extends Context.Service()("@opencode/Permission") {
118
118
  }
119
- var layer = Layer.effect(Service70, Effect.gen(function* () {
120
- const bus = yield* Service91;
121
- const location = yield* Service88;
122
- const agents = yield* Service74;
123
- const sessions = yield* Service71;
124
- const saved = yield* Service72;
125
- const hooks = yield* Service75;
119
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
120
+ const bus = yield* Service93;
121
+ const location = yield* Service82;
122
+ const agents = yield* Service64;
123
+ const sessions = yield* Service62;
124
+ const saved = yield* Service63;
125
+ const hooks = yield* Service65;
126
126
  const pending = new Map;
127
127
  let closed = false;
128
128
  const close = Effect.gen(function* () {
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
145
145
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
146
146
  const session = yield* sessions.get(sessionID);
147
147
  if (!session)
148
- return yield* new NotFoundError11({ sessionID });
148
+ return yield* new NotFoundError10({ sessionID });
149
149
  const agent = yield* agents.resolve(agentID ?? session.agent);
150
150
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
151
151
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID11.create(),
189
+ id: input.id ?? ID9.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID11.create(), effect: "deny" };
214
+ return { id: input.id ?? ID9.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -258,7 +258,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
258
258
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
259
259
  const existing = pending.get(input.requestID);
260
260
  if (!existing)
261
- return yield* new NotFoundError10({ requestID: input.requestID });
261
+ return yield* new NotFoundError9({ requestID: input.requestID });
262
262
  yield* bus.publish(Permission.Event.Replied, {
263
263
  sessionID: existing.request.sessionID,
264
264
  requestID: existing.request.id,
@@ -313,12 +313,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
313
313
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
314
314
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
315
315
  });
316
- return Service70.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
316
+ return Service61.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
317
317
  }));
318
- var node71 = makeLocationNode({
319
- service: Service70,
318
+ var node62 = makeLocationNode({
319
+ service: Service61,
320
320
  layer,
321
- deps: [node92, node89, node75, node72, node73, node76]
321
+ deps: [node95, node84, node65, node63, node64, node66]
322
322
  });
323
323
 
324
- export { PermissionEffect, ID11, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError10, evaluate3, merge2, Service70, node71, exports_permission, Rule2, Ruleset2, Event13 };
324
+ export { PermissionEffect, ID9, Source4, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate3, merge2, Service61, node62, exports_permission, Rule2, Ruleset2, Event10 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./location-services-s47rahr7.js";
3
+ } from "./aisdk-s47rahr7.js";
4
4
  import {
5
- Service87,
6
- node88
7
- } from "./location-services-sthsf7zw.js";
5
+ Service76,
6
+ node77
7
+ } from "./aisdk-1f74jjjb.js";
8
8
  import {
9
9
  __export
10
- } from "./location-services-9rqn6x4v.js";
10
+ } from "./aisdk-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service86,
17
- node: () => node87,
16
+ Service: () => Service20,
17
+ node: () => node22,
18
18
  readOptionalText: () => readOptionalText2,
19
19
  readText: () => readText2,
20
20
  syncTextBom: () => syncTextBom2
@@ -23,7 +23,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer } from "effect";
24
24
  import { FSUtil } from "@opencode/util/fs-util";
25
25
  import { Bom } from "@opencode/util/bom";
26
- class Service86 extends Context.Service()("@opencode/FileMutation") {
26
+ class Service20 extends Context.Service()("@opencode/FileMutation") {
27
27
  }
28
28
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
29
29
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -39,8 +39,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
39
39
  return synced.text;
40
40
  });
41
41
  var transactionLocks = makeUnsafe2();
42
- var layer = Layer.effect(Service86, Effect.gen(function* () {
43
- const environment = yield* Service87;
42
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
43
+ const environment = yield* Service76;
44
44
  const locks = makeUnsafe2();
45
45
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
46
46
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
62
62
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, bom)));
63
63
  return { ...writeResult(input.target, current !== undefined), bom };
64
64
  })));
65
- return Service86.of({ withLock, write, writeTextPreservingBom });
65
+ return Service20.of({ withLock, write, writeTextPreservingBom });
66
66
  }));
67
- var node87 = makeLocationNode({ service: Service86, layer, deps: [node88] });
67
+ var node22 = makeLocationNode({ service: Service20, layer, deps: [node77] });
68
68
 
69
- export { Service86, readText2, readOptionalText2, syncTextBom2, node87, exports_file_mutation };
69
+ export { Service20, readText2, readOptionalText2, syncTextBom2, node22, exports_file_mutation };