@opencode/core 0.0.0-dev-368 → 0.0.0-dev-372

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 (927) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +93 -93
  3. package/dist/aisdk-native.js +101 -101
  4. package/dist/aisdk.js +107 -107
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +265 -0
  7. package/dist/bus.js +83 -83
  8. package/dist/chunks/{voice-ksexgdcx.js → repository-01f58weh.js} +6 -6
  9. package/dist/chunks/{voice-138zmswh.js → repository-05qq9bxb.js} +10 -10
  10. package/dist/chunks/{voice-r8kddwmy.js → repository-05s84c9e.js} +22 -22
  11. package/dist/chunks/{voice-6e22jkyp.js → repository-062cscqh.js} +31 -31
  12. package/dist/chunks/{voice-b8e9zw2f.js → repository-09kn1hvj.js} +16 -16
  13. package/dist/chunks/{voice-0h86f0az.js → repository-0h86f0az.js} +4 -4
  14. package/dist/chunks/{voice-b6z35kmf.js → repository-0h8y3ex8.js} +4 -4
  15. package/dist/chunks/{voice-sqjzf8x2.js → repository-0j7gp832.js} +4 -4
  16. package/dist/chunks/{voice-nej5fw3h.js → repository-0pkedc33.js} +37 -37
  17. package/dist/chunks/{voice-mc08rq96.js → repository-0q74zvx8.js} +5 -5
  18. package/dist/chunks/{voice-pws0nwbv.js → repository-0rscem4b.js} +5 -5
  19. package/dist/chunks/{voice-mpe433ap.js → repository-0t21jw6h.js} +12 -12
  20. package/dist/chunks/{voice-1dmvfyea.js → repository-0vh0ztag.js} +28 -28
  21. package/dist/chunks/{voice-6q8swtke.js → repository-0zf8fpw9.js} +24 -24
  22. package/dist/chunks/{voice-wjx8d03y.js → repository-10rfqpb9.js} +13 -13
  23. package/dist/chunks/{voice-3krjhk9g.js → repository-128hmwhq.js} +8 -8
  24. package/dist/chunks/{voice-d5wxqks1.js → repository-19g9fh03.js} +12 -12
  25. package/dist/chunks/{voice-1aqsckx4.js → repository-1aqsckx4.js} +1 -1
  26. package/dist/chunks/{voice-ka6r1vtc.js → repository-1bn0y5tn.js} +21 -21
  27. package/dist/chunks/{voice-ekxv8c0j.js → repository-1c417wd5.js} +17 -17
  28. package/dist/chunks/{voice-a058387c.js → repository-1pevy3nx.js} +11 -4
  29. package/dist/chunks/{voice-jrv9fsbe.js → repository-1qt7sfqe.js} +59 -34
  30. package/dist/chunks/{voice-1x2knyw4.js → repository-1x2knyw4.js} +1 -1
  31. package/dist/chunks/{voice-50sx7pmj.js → repository-1y7drcmg.js} +9 -9
  32. package/dist/chunks/{voice-p7vhpwh8.js → repository-1yq9hg58.js} +5 -5
  33. package/dist/chunks/{voice-pk4g31m5.js → repository-20hgg5jf.js} +3 -3
  34. package/dist/chunks/{voice-est5w5t7.js → repository-22322d3s.js} +4 -4
  35. package/dist/chunks/{voice-zmxad6hk.js → repository-23zggm3m.js} +12 -12
  36. package/dist/chunks/{voice-bq5na9ha.js → repository-27q9sh4d.js} +17 -17
  37. package/dist/chunks/{voice-1ep2p91f.js → repository-27w5k9zf.js} +2 -2
  38. package/dist/chunks/{voice-jdbsgsq2.js → repository-29pkxvwt.js} +18 -18
  39. package/dist/chunks/{voice-qe0wftt4.js → repository-2fpkg984.js} +21 -21
  40. package/dist/chunks/{voice-b1w7ct0q.js → repository-2gk79xxr.js} +9 -9
  41. package/dist/chunks/{voice-3v2s7727.js → repository-2gyf2v4k.js} +45 -45
  42. package/dist/chunks/{voice-e45fk36t.js → repository-2mbjfaxd.js} +4 -4
  43. package/dist/chunks/{voice-1m0b3txc.js → repository-2md5m33k.js} +3 -3
  44. package/dist/chunks/{voice-vx3x9zzq.js → repository-349sqrbt.js} +28 -28
  45. package/dist/chunks/{voice-5aadmexf.js → repository-35gq0sf5.js} +11 -11
  46. package/dist/chunks/{voice-sph5ge5h.js → repository-35ya7az0.js} +9 -9
  47. package/dist/chunks/{voice-4fztrf6x.js → repository-3bbxymw0.js} +36 -36
  48. package/dist/chunks/{voice-1pk0e05p.js → repository-3bgf9gas.js} +4 -4
  49. package/dist/chunks/{voice-ayjs7tqn.js → repository-3cbjf1nt.js} +2 -2
  50. package/dist/chunks/{voice-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{voice-tmc7xdjs.js → repository-3nnrz6f6.js} +4 -4
  52. package/dist/chunks/{voice-c6x7d2ts.js → repository-3ryz99p0.js} +4 -4
  53. package/dist/chunks/{voice-5w1mdqt7.js → repository-3v50s0nm.js} +4 -4
  54. package/dist/chunks/{voice-v82dqrgv.js → repository-3vyp6j4y.js} +20 -20
  55. package/dist/chunks/{voice-7arjqscx.js → repository-3x7atde9.js} +25 -25
  56. package/dist/chunks/{voice-40y6dtc2.js → repository-40y6dtc2.js} +1 -1
  57. package/dist/chunks/{voice-610539jf.js → repository-43tmkezd.js} +15 -15
  58. package/dist/chunks/{voice-v2snpj12.js → repository-45sn5fkz.js} +21 -21
  59. package/dist/chunks/{voice-4d2dtj2f.js → repository-4d2dtj2f.js} +1 -1
  60. package/dist/chunks/{voice-4dx1dgte.js → repository-4dx1dgte.js} +1 -1
  61. package/dist/chunks/{voice-1cacxahd.js → repository-4e4y46vz.js} +5 -5
  62. package/dist/chunks/{voice-tpsdd6sk.js → repository-4esnxtst.js} +3 -3
  63. package/dist/chunks/{voice-4xfb1qx2.js → repository-4h9x2q52.js} +58 -58
  64. package/dist/chunks/{voice-85pde67f.js → repository-4knj1y15.js} +11 -11
  65. package/dist/chunks/{voice-0m5920vb.js → repository-4n2bf6zf.js} +7 -7
  66. package/dist/chunks/{voice-4pyp9zr9.js → repository-4pyp9zr9.js} +1 -1
  67. package/dist/chunks/{voice-qm7e79ke.js → repository-4sshptwq.js} +8 -8
  68. package/dist/chunks/{voice-4v008n1t.js → repository-4v008n1t.js} +1 -1
  69. package/dist/chunks/{voice-qhbdy0h3.js → repository-4x4a4djr.js} +7 -7
  70. package/dist/chunks/{voice-ez6pkwnm.js → repository-4xpt6t8e.js} +15 -15
  71. package/dist/chunks/{voice-32ypt6ex.js → repository-526g40ts.js} +5 -5
  72. package/dist/chunks/{voice-5vzcmptt.js → repository-55qjdesv.js} +13 -13
  73. package/dist/chunks/{voice-tx7q2ndz.js → repository-56q51v0r.js} +8 -8
  74. package/dist/chunks/{voice-an77zdt9.js → repository-57fxnk3e.js} +18 -18
  75. package/dist/chunks/{voice-gn9danv6.js → repository-593mzzr4.js} +2 -2
  76. package/dist/chunks/{voice-t0xe5xk1.js → repository-5hrgbkyt.js} +33 -33
  77. package/dist/chunks/{voice-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
  78. package/dist/chunks/{voice-q2sxcz1b.js → repository-5pbade4g.js} +16 -16
  79. package/dist/chunks/{voice-4aqeqryw.js → repository-5pmtkemt.js} +23 -23
  80. package/dist/chunks/{voice-2qmv59j7.js → repository-5xvv6snx.js} +21 -21
  81. package/dist/chunks/{voice-bys6f9s7.js → repository-61qraad9.js} +5 -5
  82. package/dist/chunks/{voice-gmemj5zs.js → repository-62zd5tzk.js} +7 -7
  83. package/dist/chunks/{voice-j29mssk3.js → repository-65sg5ez6.js} +12 -12
  84. package/dist/chunks/{voice-6w8qwxmc.js → repository-68zsf5nd.js} +13 -13
  85. package/dist/chunks/repository-6bshxcsx.js +18 -0
  86. package/dist/chunks/repository-6d7ar4jq.js +152 -0
  87. package/dist/chunks/{voice-6esdw8yj.js → repository-6esdw8yj.js} +1 -1
  88. package/dist/chunks/{voice-k4bhzre5.js → repository-6k31ra67.js} +88 -88
  89. package/dist/chunks/{voice-2xwkyk0m.js → repository-6xw3seg4.js} +5 -5
  90. package/dist/chunks/{voice-zntnj5yq.js → repository-77cd4dah.js} +18 -18
  91. package/dist/chunks/{voice-48pd17b4.js → repository-783vkagc.js} +8 -8
  92. package/dist/chunks/repository-79nv3791.js +261 -0
  93. package/dist/chunks/{voice-8pn17q57.js → repository-7a2kvczc.js} +32 -32
  94. package/dist/chunks/{voice-0vsvpvpz.js → repository-7afjxmym.js} +8 -8
  95. package/dist/chunks/{voice-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  96. package/dist/chunks/{voice-n46agb1x.js → repository-7cs1fm83.js} +23 -23
  97. package/dist/chunks/{voice-27etvgkm.js → repository-7fdj7k1k.js} +20 -20
  98. package/dist/chunks/{voice-cbe7vgrx.js → repository-7hx80dab.js} +40 -40
  99. package/dist/chunks/{voice-7kr66rt3.js → repository-7kr66rt3.js} +1 -1
  100. package/dist/chunks/{voice-463chxfj.js → repository-7n810yga.js} +25 -25
  101. package/dist/chunks/{voice-7nqkf5r1.js → repository-7nqkf5r1.js} +2 -2
  102. package/dist/chunks/{voice-hbsck6wy.js → repository-7qkfad8a.js} +5 -5
  103. package/dist/chunks/{voice-7w2ypzdf.js → repository-7w2ypzdf.js} +1 -1
  104. package/dist/chunks/{voice-wk4zfcj0.js → repository-7w8btzrz.js} +6 -6
  105. package/dist/chunks/{voice-775hqbnd.js → repository-80mg3ag8.js} +3 -3
  106. package/dist/chunks/{voice-ve45bn9x.js → repository-81vzgppv.js} +6 -6
  107. package/dist/chunks/{voice-m3kvqs0d.js → repository-86ng5cw0.js} +4 -4
  108. package/dist/chunks/{voice-9x608sfz.js → repository-888nng90.js} +12 -12
  109. package/dist/chunks/{voice-89287pr7.js → repository-89287pr7.js} +1 -1
  110. package/dist/chunks/{voice-25h84942.js → repository-8b3vzgkx.js} +4 -4
  111. package/dist/chunks/{voice-33jxzdjr.js → repository-8d2bw64f.js} +13 -13
  112. package/dist/chunks/{voice-a79rh8j4.js → repository-8n9m5z10.js} +17 -17
  113. package/dist/chunks/{voice-9jgv5tm1.js → repository-8nftj1yp.js} +8 -8
  114. package/dist/chunks/{voice-wqfq8am5.js → repository-8ns5k15t.js} +18 -18
  115. package/dist/chunks/{voice-hv9sm03c.js → repository-8nxpa0mz.js} +30 -30
  116. package/dist/chunks/{voice-27mna02c.js → repository-8rwpp194.js} +10 -10
  117. package/dist/chunks/{voice-8t99kr38.js → repository-8t99kr38.js} +1 -1
  118. package/dist/chunks/{voice-8wtp7s3z.js → repository-8wtp7s3z.js} +1 -1
  119. package/dist/chunks/{voice-gcjdgkn2.js → repository-8x9y3wj0.js} +9 -9
  120. package/dist/chunks/{voice-mb7mbhnz.js → repository-8z6m94af.js} +3 -3
  121. package/dist/chunks/{voice-90zstvax.js → repository-90zstvax.js} +1 -1
  122. package/dist/chunks/{voice-xk2zn0cv.js → repository-95sp4hdf.js} +4 -4
  123. package/dist/chunks/{voice-kdga5tn6.js → repository-963hk181.js} +11 -11
  124. package/dist/chunks/{voice-96djdqw5.js → repository-96djdqw5.js} +4 -4
  125. package/dist/chunks/{voice-qnkq76yw.js → repository-9bjq5xf8.js} +59 -59
  126. package/dist/chunks/{voice-6ys6s7e4.js → repository-9hm7p4mp.js} +25 -25
  127. package/dist/chunks/{voice-ydsespw1.js → repository-9kg5w032.js} +8 -8
  128. package/dist/chunks/{voice-s7kyse9r.js → repository-9q8g9sv8.js} +4 -4
  129. package/dist/chunks/{voice-83k8qzqx.js → repository-9skas3fk.js} +20 -20
  130. package/dist/chunks/{voice-jx2p27ex.js → repository-9vb9hd08.js} +27 -27
  131. package/dist/chunks/{voice-gww59xgx.js → repository-9vyktpg8.js} +19 -19
  132. package/dist/chunks/{voice-7f840skq.js → repository-a1qwck5h.js} +8 -8
  133. package/dist/chunks/{voice-fbd4vpt1.js → repository-a7dted3c.js} +4 -4
  134. package/dist/chunks/{voice-zfgt4zn0.js → repository-a7m7r1wt.js} +11 -11
  135. package/dist/chunks/{voice-v5eaadcy.js → repository-acnapkdx.js} +29 -29
  136. package/dist/chunks/{voice-bd8mcqfw.js → repository-ae3bbkjz.js} +3 -3
  137. package/dist/chunks/{voice-pta84ypa.js → repository-aejnhepz.js} +8 -8
  138. package/dist/chunks/{voice-034tev2y.js → repository-aj7mw0zk.js} +2 -2
  139. package/dist/chunks/{voice-5scj3wpx.js → repository-akg67h4m.js} +21 -21
  140. package/dist/chunks/{voice-bxy5h6nk.js → repository-anh26fwf.js} +4 -4
  141. package/dist/chunks/{voice-zezd0hjg.js → repository-awr3zj91.js} +13 -13
  142. package/dist/chunks/{voice-vvpw9m0a.js → repository-awrz1b32.js} +17 -17
  143. package/dist/chunks/{voice-7jhmzye7.js → repository-b2c1mvj5.js} +42 -42
  144. package/dist/chunks/{voice-5nnwax6m.js → repository-b6vsg801.js} +5 -5
  145. package/dist/chunks/{voice-fjjfm53m.js → repository-b9jmvddr.js} +9 -9
  146. package/dist/chunks/{voice-ybhhxw6m.js → repository-b9wfzyf7.js} +51 -51
  147. package/dist/chunks/{voice-w0m9e1mp.js → repository-bakhbh47.js} +6 -6
  148. package/dist/chunks/{voice-f9vy57qm.js → repository-bh54cvah.js} +13 -13
  149. package/dist/chunks/{voice-2rbg8njc.js → repository-bk2kp955.js} +35 -35
  150. package/dist/chunks/repository-bnp18vzy.js +26 -0
  151. package/dist/chunks/{voice-bstexjd6.js → repository-bstexjd6.js} +1 -1
  152. package/dist/chunks/{voice-0da60a1b.js → repository-bvafq468.js} +29 -29
  153. package/dist/chunks/{voice-yp8490wc.js → repository-cfzy73q7.js} +42 -42
  154. package/dist/chunks/{voice-q1qafd9e.js → repository-cg0ajkg6.js} +8 -8
  155. package/dist/chunks/{voice-vmxsyvj6.js → repository-cr4rfj9z.js} +4 -4
  156. package/dist/chunks/{voice-z8emcjzq.js → repository-crnga6rk.js} +15 -15
  157. package/dist/chunks/{voice-67mya89m.js → repository-ct3v1yt3.js} +229 -200
  158. package/dist/chunks/{voice-9f3jsh1d.js → repository-ctmpqb7w.js} +9 -9
  159. package/dist/chunks/{voice-prtyxdc2.js → repository-cvfsgrs7.js} +6 -6
  160. package/dist/chunks/{voice-cwrgdav8.js → repository-cwrgdav8.js} +2 -2
  161. package/dist/chunks/{voice-52tdkmh7.js → repository-cy1pdnrn.js} +33 -33
  162. package/dist/chunks/{voice-d4v9tmah.js → repository-d4v9tmah.js} +2 -2
  163. package/dist/chunks/{voice-9d0hj87h.js → repository-d4ww958s.js} +4 -4
  164. package/dist/chunks/{voice-gzaqdq4v.js → repository-dcwabf9x.js} +15 -15
  165. package/dist/chunks/{voice-n556ygtm.js → repository-df4j3dme.js} +8 -8
  166. package/dist/chunks/{voice-px7qpgcn.js → repository-dg5naf6e.js} +4 -4
  167. package/dist/chunks/{voice-v6rk29ch.js → repository-djvpvna9.js} +3 -3
  168. package/dist/chunks/{voice-wpm6ajcn.js → repository-dkn9eszv.js} +32 -32
  169. package/dist/chunks/{voice-dt77769w.js → repository-dt77769w.js} +1 -1
  170. package/dist/chunks/{voice-dv96216k.js → repository-dv96216k.js} +1 -1
  171. package/dist/chunks/{voice-72jyty8b.js → repository-dyczxt3a.js} +27 -27
  172. package/dist/chunks/{voice-5gk164xn.js → repository-e5c0k95c.js} +3 -3
  173. package/dist/chunks/{voice-e834z07m.js → repository-e834z07m.js} +1 -1
  174. package/dist/chunks/{voice-22wp63zj.js → repository-eavcrtrz.js} +2 -2
  175. package/dist/chunks/{voice-v3gv8k9j.js → repository-edf5jh0e.js} +20 -20
  176. package/dist/chunks/{voice-z80hdj97.js → repository-ees6xmtq.js} +11 -11
  177. package/dist/chunks/{voice-48eec1vm.js → repository-egabpkp4.js} +4 -4
  178. package/dist/chunks/{voice-eqw4pqj1.js → repository-eqw4pqj1.js} +2 -2
  179. package/dist/chunks/repository-eqy0zkf5.js +549 -0
  180. package/dist/chunks/{voice-m7dab61n.js → repository-ew0azyk8.js} +28 -28
  181. package/dist/chunks/{voice-f341sazs.js → repository-f341sazs.js} +3 -3
  182. package/dist/chunks/{voice-ehrtq1gt.js → repository-fbp89s9v.js} +7 -7
  183. package/dist/chunks/{voice-jfj432dt.js → repository-fdfqcyn8.js} +28 -28
  184. package/dist/chunks/{voice-fffv3p7h.js → repository-fffv3p7h.js} +1 -1
  185. package/dist/chunks/{voice-prq7xxp2.js → repository-fg9p65nk.js} +6 -6
  186. package/dist/chunks/{voice-2qxh1184.js → repository-fpqm7851.js} +36 -36
  187. package/dist/chunks/{voice-73yp06xx.js → repository-fzf2sxt5.js} +5 -5
  188. package/dist/chunks/{voice-ayhfmv6z.js → repository-g00r64yf.js} +10 -10
  189. package/dist/chunks/{voice-61r16nyr.js → repository-g6fcj31y.js} +16 -16
  190. package/dist/chunks/{voice-gbjdnr5j.js → repository-gbjdnr5j.js} +2 -2
  191. package/dist/chunks/{voice-pm1ywsck.js → repository-gc4t6v4h.js} +21 -21
  192. package/dist/chunks/{voice-m3tsws2k.js → repository-gcpxngxx.js} +12 -12
  193. package/dist/chunks/{voice-9hrdgvww.js → repository-ggem1gnx.js} +4 -4
  194. package/dist/chunks/{voice-nw4sfq6j.js → repository-ggk8302d.js} +3 -3
  195. package/dist/chunks/{voice-4a9vxqq9.js → repository-gsn6ff7q.js} +31 -31
  196. package/dist/chunks/{voice-aetvzffy.js → repository-gvs8gaq9.js} +18 -18
  197. package/dist/chunks/{voice-gwma39en.js → repository-hcneb2c8.js} +35 -35
  198. package/dist/chunks/{voice-cpe6s12c.js → repository-hfv14dtg.js} +15 -15
  199. package/dist/chunks/{voice-hh7kjqtw.js → repository-hh7kjqtw.js} +1 -1
  200. package/dist/chunks/{voice-c4c4zzdq.js → repository-hmnqfn4v.js} +14 -14
  201. package/dist/chunks/{voice-hpg1pkwy.js → repository-hpg1pkwy.js} +1 -1
  202. package/dist/chunks/{voice-hsnq1va6.js → repository-hsnq1va6.js} +2 -2
  203. package/dist/chunks/{voice-gj5j732s.js → repository-j0a3xxs6.js} +54 -54
  204. package/dist/chunks/{voice-nn9bpz64.js → repository-j0cnhtw8.js} +5 -5
  205. package/dist/chunks/{voice-j376ae4e.js → repository-j376ae4e.js} +1 -1
  206. package/dist/chunks/{voice-xw21cn69.js → repository-ja5h2ebt.js} +17 -17
  207. package/dist/chunks/{voice-68wbjj2w.js → repository-jcw9q93v.js} +9 -9
  208. package/dist/chunks/{voice-90ct6wq4.js → repository-jgd4e8e6.js} +4 -4
  209. package/dist/chunks/{voice-r3styde8.js → repository-jhhtxfg3.js} +7 -7
  210. package/dist/chunks/{voice-jtnps1zs.js → repository-jtnps1zs.js} +2 -2
  211. package/dist/chunks/{voice-jxd6f16v.js → repository-jxd6f16v.js} +2 -2
  212. package/dist/chunks/{voice-dkb43729.js → repository-jzqxvfnq.js} +32 -32
  213. package/dist/chunks/{voice-1r4g9a40.js → repository-k1c2s8ns.js} +7 -7
  214. package/dist/chunks/{voice-qfz6bxfd.js → repository-k46dd5bg.js} +4 -4
  215. package/dist/chunks/{voice-67wwskyb.js → repository-kbgs7tyr.js} +4 -4
  216. package/dist/chunks/{voice-n8ns0mcf.js → repository-kk1ky6ne.js} +39 -39
  217. package/dist/chunks/{voice-gnrv4xx2.js → repository-kkn8km6v.js} +36 -36
  218. package/dist/chunks/{voice-nhpsx7p0.js → repository-kp2tkdrb.js} +11 -11
  219. package/dist/chunks/{voice-kt3bjfbg.js → repository-kt3bjfbg.js} +1 -1
  220. package/dist/chunks/{voice-m1714858.js → repository-m1714858.js} +1 -1
  221. package/dist/chunks/{voice-635vret2.js → repository-m7f5x9f3.js} +82 -82
  222. package/dist/chunks/{voice-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  223. package/dist/chunks/{voice-k0mepwy9.js → repository-mamxj3ye.js} +1 -1
  224. package/dist/chunks/{voice-2cdjxzfg.js → repository-mqe7nf5n.js} +3 -3
  225. package/dist/chunks/{voice-0w0ty6qq.js → repository-msn6cp5h.js} +22 -22
  226. package/dist/chunks/{voice-69g5ga3r.js → repository-mtpyhzaw.js} +35 -35
  227. package/dist/chunks/{voice-nah043kf.js → repository-nah043kf.js} +1 -1
  228. package/dist/chunks/{voice-0n28khqy.js → repository-nkaf1g71.js} +9 -9
  229. package/dist/chunks/{voice-1grr5861.js → repository-nkgn593q.js} +6 -6
  230. package/dist/chunks/{voice-kha82y4n.js → repository-nmhjkwy5.js} +15 -15
  231. package/dist/chunks/{voice-41jtwnar.js → repository-nrghxvsp.js} +11 -11
  232. package/dist/chunks/{voice-wegkxhrn.js → repository-nx4vzyjd.js} +2 -2
  233. package/dist/chunks/{voice-p015t6z3.js → repository-p015t6z3.js} +2 -2
  234. package/dist/chunks/{voice-s2pfznc4.js → repository-p3g3b7x5.js} +6 -6
  235. package/dist/chunks/{voice-jjrrh1g7.js → repository-p553nwyy.js} +9 -9
  236. package/dist/chunks/{voice-ehv3n3xs.js → repository-p5jsydzp.js} +16 -16
  237. package/dist/chunks/{voice-m7h47g85.js → repository-pek8xmkz.js} +31 -31
  238. package/dist/chunks/{voice-pknna89w.js → repository-pknna89w.js} +1 -1
  239. package/dist/chunks/{voice-8wxmm8zv.js → repository-pnjvkgxk.js} +29 -29
  240. package/dist/chunks/{voice-8rgb2cvr.js → repository-pnwsrq7c.js} +11 -11
  241. package/dist/chunks/{voice-qwdrz06q.js → repository-pny0hvca.js} +11 -11
  242. package/dist/chunks/{voice-19865k6f.js → repository-ppjsjmvn.js} +11 -11
  243. package/dist/chunks/{voice-3j4ks7kb.js → repository-q1ybpa6r.js} +17 -17
  244. package/dist/chunks/{voice-8rp8e4v3.js → repository-q2xtnwk4.js} +27 -27
  245. package/dist/chunks/{voice-d75dwrt0.js → repository-q318mmxc.js} +11 -11
  246. package/dist/chunks/{voice-ytcfb55t.js → repository-q3y5wvej.js} +8 -8
  247. package/dist/chunks/{voice-gjdy6p17.js → repository-qd7wbecs.js} +43 -43
  248. package/dist/chunks/{voice-wx67btvq.js → repository-qfqmsygf.js} +22 -22
  249. package/dist/chunks/{voice-8chyhaxb.js → repository-qgv0hrxy.js} +49 -49
  250. package/dist/chunks/{voice-5494sgck.js → repository-qjmmxvsx.js} +7 -7
  251. package/dist/chunks/{voice-6edbc7zm.js → repository-qk5sk9d1.js} +5 -5
  252. package/dist/chunks/{voice-r1ycarfe.js → repository-qkd3x3nb.js} +4 -4
  253. package/dist/chunks/{voice-yara3q77.js → repository-qkw2jr9b.js} +2 -2
  254. package/dist/chunks/{voice-qp7r0hxv.js → repository-qp7r0hxv.js} +1 -1
  255. package/dist/chunks/{voice-qqvy8y24.js → repository-qqvy8y24.js} +1 -1
  256. package/dist/chunks/{voice-qsdghx1p.js → repository-qsdghx1p.js} +1 -1
  257. package/dist/chunks/{voice-pp9r4nc0.js → repository-qtee3wnm.js} +5 -5
  258. package/dist/chunks/{voice-4f25tdd0.js → repository-r542h3bh.js} +5 -5
  259. package/dist/chunks/{voice-tsaes89g.js → repository-r5dj3ay3.js} +11 -11
  260. package/dist/chunks/{voice-7bgqwywg.js → repository-r67ym705.js} +38 -38
  261. package/dist/chunks/{voice-x3pqmtep.js → repository-r9haahrh.js} +13 -13
  262. package/dist/chunks/{voice-rb9dy4dg.js → repository-rb9dy4dg.js} +1 -1
  263. package/dist/chunks/{voice-q8b10s3c.js → repository-rnpdff07.js} +16 -16
  264. package/dist/chunks/{voice-rt5dr6hb.js → repository-rt5dr6hb.js} +1 -1
  265. package/dist/chunks/{voice-f6epftay.js → repository-rxcfmx0a.js} +17 -17
  266. package/dist/chunks/{voice-s1ba0vj0.js → repository-s1ba0vj0.js} +2 -2
  267. package/dist/chunks/{voice-t4e1sgxz.js → repository-s1f1w4yj.js} +22 -22
  268. package/dist/chunks/{voice-xase2hgj.js → repository-s8e2nyv7.js} +55 -55
  269. package/dist/chunks/{voice-sa3fpqfw.js → repository-sa3fpqfw.js} +2 -2
  270. package/dist/chunks/{voice-sbya78hr.js → repository-sbya78hr.js} +1 -1
  271. package/dist/chunks/{voice-vw022k1a.js → repository-sf6bpkgk.js} +26 -26
  272. package/dist/chunks/repository-sn1gkk9y.js +494 -0
  273. package/dist/chunks/{voice-svcy3p9a.js → repository-svcy3p9a.js} +1 -1
  274. package/dist/chunks/{voice-9192ty2c.js → repository-svt5zkkd.js} +25 -25
  275. package/dist/chunks/{voice-4fq0n7hc.js → repository-t0ekvtpp.js} +16 -16
  276. package/dist/chunks/{voice-aydnnhej.js → repository-t2853657.js} +9 -9
  277. package/dist/chunks/{voice-2hhfjmpx.js → repository-t48dq7pj.js} +13 -13
  278. package/dist/chunks/{voice-jjx6aha5.js → repository-t4vf48t8.js} +8 -8
  279. package/dist/chunks/{voice-t4gf1mh1.js → repository-t97kwyt7.js} +14 -14
  280. package/dist/chunks/{voice-ddnxp7h0.js → repository-tc9nb9a0.js} +9 -9
  281. package/dist/chunks/{voice-ja3895w1.js → repository-tcwqkgek.js} +4 -4
  282. package/dist/chunks/{voice-tczq8hjw.js → repository-tczq8hjw.js} +1 -1
  283. package/dist/chunks/{voice-mw1qkyv8.js → repository-teyt2nzc.js} +45 -45
  284. package/dist/chunks/{voice-93jh753e.js → repository-tf05bass.js} +42 -42
  285. package/dist/chunks/{voice-tg7s7b5t.js → repository-tg7s7b5t.js} +1 -1
  286. package/dist/chunks/{voice-h1bk3bt8.js → repository-tmyps9a8.js} +32 -32
  287. package/dist/chunks/{voice-h1wrtc19.js → repository-trgewt4a.js} +45 -45
  288. package/dist/chunks/{voice-603n4942.js → repository-tway3w7r.js} +22 -22
  289. package/dist/chunks/{voice-twssxy5n.js → repository-twssxy5n.js} +2 -2
  290. package/dist/chunks/{voice-70yt0na3.js → repository-tzxp984n.js} +27 -27
  291. package/dist/chunks/{voice-sghzesxb.js → repository-v2kb3w8t.js} +21 -16
  292. package/dist/chunks/{voice-2hz06pja.js → repository-v2psmyxx.js} +5 -5
  293. package/dist/chunks/{voice-v2r1d0zg.js → repository-v2r1d0zg.js} +1 -1
  294. package/dist/chunks/{voice-vjf35v1f.js → repository-vjf35v1f.js} +1 -1
  295. package/dist/chunks/{voice-8vct2pgr.js → repository-vnjc296t.js} +3 -3
  296. package/dist/chunks/{voice-n6vh8jr7.js → repository-vzj9tmwp.js} +32 -32
  297. package/dist/chunks/{voice-r1fnsf7p.js → repository-vzppetdn.js} +6 -6
  298. package/dist/chunks/{voice-r41sfy63.js → repository-w2eysc6j.js} +6 -6
  299. package/dist/chunks/{voice-35bw37j2.js → repository-w2h55x57.js} +12 -12
  300. package/dist/chunks/{voice-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  301. package/dist/chunks/{voice-76cb1hcw.js → repository-w8qtt4th.js} +4 -4
  302. package/dist/chunks/{voice-wakvkjy4.js → repository-wakvkjy4.js} +1 -1
  303. package/dist/chunks/{voice-wd87259q.js → repository-wd87259q.js} +1 -1
  304. package/dist/chunks/{voice-vy1mzjda.js → repository-wefmxetv.js} +28 -28
  305. package/dist/chunks/{voice-wnhgecwx.js → repository-wnhgecwx.js} +1 -1
  306. package/dist/chunks/{voice-4xmffp4f.js → repository-wttgcv7s.js} +21 -21
  307. package/dist/chunks/{voice-wvr8xscb.js → repository-wvr8xscb.js} +1 -1
  308. package/dist/chunks/{voice-cs50nhfx.js → repository-x01ndw86.js} +92 -92
  309. package/dist/chunks/repository-x3c9tvtc.js +16 -0
  310. package/dist/chunks/{voice-9xr5qg12.js → repository-x6sm40hj.js} +35 -35
  311. package/dist/chunks/{voice-xdb5p40v.js → repository-x7arxcmm.js} +37 -37
  312. package/dist/chunks/{voice-q82d2c27.js → repository-x9vm5pcw.js} +25 -25
  313. package/dist/chunks/{voice-7wqp9x2p.js → repository-xar188fb.js} +2 -2
  314. package/dist/chunks/{voice-bkjpf9fa.js → repository-y4wxtq6w.js} +14 -14
  315. package/dist/chunks/{voice-hscspx1x.js → repository-yabh6y4a.js} +50 -50
  316. package/dist/chunks/{voice-yb20nhc3.js → repository-yb20nhc3.js} +1 -1
  317. package/dist/chunks/{voice-kvc3nwwf.js → repository-yd895q0a.js} +46 -46
  318. package/dist/chunks/{voice-yr705xyq.js → repository-yr705xyq.js} +1 -1
  319. package/dist/chunks/{voice-2j5gpsjp.js → repository-ytb3906e.js} +11 -11
  320. package/dist/chunks/{voice-a4ebmmbr.js → repository-ytebkfn0.js} +9 -9
  321. package/dist/chunks/{voice-jpsebz8r.js → repository-z1g44n9p.js} +25 -25
  322. package/dist/chunks/{voice-18a4zeb5.js → repository-z7m42cav.js} +29 -29
  323. package/dist/chunks/{voice-vzwnxjz3.js → repository-z7p88xxg.js} +21 -21
  324. package/dist/chunks/{voice-6dsgkn6f.js → repository-zaf43er9.js} +22 -22
  325. package/dist/chunks/{voice-ywkr4ss4.js → repository-ze1p7jqp.js} +15 -15
  326. package/dist/chunks/{voice-j9nxzz3g.js → repository-ze75qvmd.js} +3 -3
  327. package/dist/chunks/{voice-2vs5ggfy.js → repository-zemg0r8q.js} +9 -9
  328. package/dist/chunks/{voice-emby6x7e.js → repository-zesyj9kh.js} +15 -15
  329. package/dist/chunks/{voice-9qw669we.js → repository-zf1yrpm1.js} +5 -5
  330. package/dist/chunks/{voice-pbmfxk64.js → repository-zhhyazj6.js} +12 -12
  331. package/dist/chunks/{voice-a11dn8tx.js → repository-zjmn475w.js} +12 -12
  332. package/dist/chunks/{voice-m6pp63mp.js → repository-zkerd49f.js} +11 -11
  333. package/dist/chunks/{voice-9px5g6fm.js → repository-zmdhjf1v.js} +14 -14
  334. package/dist/chunks/{voice-wrtw0jpa.js → repository-zmesx4nb.js} +29 -29
  335. package/dist/chunks/{voice-ahhxmk35.js → repository-zmwfj6xw.js} +20 -20
  336. package/dist/chunks/{voice-nj7wx9hq.js → repository-znj3gbds.js} +27 -27
  337. package/dist/chunks/{voice-qvgs8q09.js → repository-ztw1sh5h.js} +32 -32
  338. package/dist/chunks/{voice-c0jpdhmk.js → repository-zzfr1xvn.js} +27 -27
  339. package/dist/codemode/catalog.js +1 -1
  340. package/dist/codemode/execution.js +5 -5
  341. package/dist/codemode/fetch.js +144 -144
  342. package/dist/codemode/instructions.js +9 -9
  343. package/dist/codemode/tool.js +150 -150
  344. package/dist/command.js +91 -91
  345. package/dist/config/discovery.js +96 -96
  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 +111 -111
  350. package/dist/config/plugin/agent.js +131 -131
  351. package/dist/config/plugin/command.js +229 -229
  352. package/dist/config/plugin/compaction.js +170 -170
  353. package/dist/config/plugin/compatibility.js +149 -149
  354. package/dist/config/plugin/entry-observer.js +1 -1
  355. package/dist/config/plugin/formatter.js +130 -130
  356. package/dist/config/plugin/image.js +129 -129
  357. package/dist/config/plugin/instruction.js +129 -129
  358. package/dist/config/plugin/location-watcher.js +129 -129
  359. package/dist/config/plugin/mcp.js +140 -140
  360. package/dist/config/plugin/policy.js +129 -129
  361. package/dist/config/plugin/provider.js +129 -129
  362. package/dist/config/plugin/reference.js +131 -131
  363. package/dist/config/plugin/shell.js +129 -129
  364. package/dist/config/plugin/skill-file.js +145 -145
  365. package/dist/config/plugin/skill-scan.js +1 -1
  366. package/dist/config/plugin/skill.js +152 -152
  367. package/dist/config/plugin/snapshot.js +129 -129
  368. package/dist/config/plugin/source.js +132 -132
  369. package/dist/config/plugin/tool-output.js +130 -130
  370. package/dist/config/plugin/websearch.js +128 -128
  371. package/dist/config/plugin/worktree.js +131 -131
  372. package/dist/config/variable.js +1 -1
  373. package/dist/config/watch.js +1 -1
  374. package/dist/config.js +134 -134
  375. package/dist/console-access.js +1 -1
  376. package/dist/credential/sql.js +2 -2
  377. package/dist/credential.js +91 -91
  378. package/dist/database/database.js +80 -80
  379. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  380. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  381. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  382. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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.gen.js +59 -59
  454. package/dist/database/migration.js +61 -61
  455. package/dist/database/path.js +2 -2
  456. package/dist/database/schema.gen.js +1 -1
  457. package/dist/database/schema.sql.js +1 -1
  458. package/dist/database/sqlite.bun.js +1 -1
  459. package/dist/database/sqlite.js +1 -1
  460. package/dist/database/sqlite.node.js +1 -1
  461. package/dist/database/sqlite.workerd.js +1 -1
  462. package/dist/database/v1-migration.bun.js +107 -107
  463. package/dist/database/v1-migration.js +1 -1
  464. package/dist/effect/app-node-builder.js +427 -425
  465. package/dist/effect/app-node-platform.js +2 -2
  466. package/dist/effect/keyed-mutex.js +1 -1
  467. package/dist/effect/websocket-constructor.js +1 -1
  468. package/dist/environment/driver.js +1 -1
  469. package/dist/environment/environment.js +105 -105
  470. package/dist/environment/exec-defaults.js +2 -2
  471. package/dist/environment/files.js +1 -1
  472. package/dist/environment/index.js +107 -107
  473. package/dist/environment/local.js +2 -2
  474. package/dist/environment/memory.js +2 -2
  475. package/dist/environment/unavailable.js +3 -3
  476. package/dist/event/sql.js +1 -1
  477. package/dist/event-logger.js +84 -84
  478. package/dist/file-access.js +155 -155
  479. package/dist/file-mutation.js +106 -106
  480. package/dist/file-retention.js +1 -1
  481. package/dist/filesystem/fff.bun.js +2 -2
  482. package/dist/filesystem/fff.js +1 -1
  483. package/dist/filesystem/fff.node.js +2 -2
  484. package/dist/filesystem/fff.workerd.js +2 -2
  485. package/dist/filesystem/file-watch.js +90 -90
  486. package/dist/filesystem/location-watcher-policy.js +6 -6
  487. package/dist/filesystem/location-watcher.js +241 -240
  488. package/dist/filesystem/protected.js +3 -3
  489. package/dist/filesystem/search.js +111 -111
  490. package/dist/filesystem/watcher-binding.js +1 -1
  491. package/dist/filesystem/watcher.js +11 -11
  492. package/dist/filesystem.js +116 -116
  493. package/dist/form.js +92 -92
  494. package/dist/formatter/builtins.js +4 -4
  495. package/dist/formatter.js +99 -99
  496. package/dist/generate.js +121 -121
  497. package/dist/git.js +11 -11
  498. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  499. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  500. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  501. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  502. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  503. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  504. package/dist/github-copilot/copilot-provider.js +17 -17
  505. package/dist/github-copilot/models.js +103 -103
  506. package/dist/github-copilot/openai-compatible-error.js +1 -1
  507. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  508. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  509. package/dist/github-copilot/responses/openai-error.js +1 -1
  510. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  511. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  512. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  513. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  514. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  515. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  516. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  517. package/dist/image/notice.js +3 -3
  518. package/dist/image/photon-normalize.js +1 -1
  519. package/dist/image/photon-worker.js +1 -1
  520. package/dist/image/photon.js +4 -4
  521. package/dist/image.js +6 -6
  522. package/dist/instance/service.js +5 -5
  523. package/dist/instance.js +417 -415
  524. package/dist/instruction-discovery.js +96 -96
  525. package/dist/instructions/builtins.js +99 -99
  526. package/dist/instructions/index.js +1 -1
  527. package/dist/integration/connection.js +3 -3
  528. package/dist/integration.js +99 -99
  529. package/dist/job.js +84 -84
  530. package/dist/kv/sql.js +2 -2
  531. package/dist/kv.js +83 -83
  532. package/dist/location-activity.js +172 -172
  533. package/dist/location-lifecycle.js +149 -149
  534. package/dist/location-service-map.js +98 -98
  535. package/dist/location-services.js +414 -412
  536. package/dist/location.js +101 -101
  537. package/dist/managed-policy.js +3 -3
  538. package/dist/mcp/client.js +103 -103
  539. package/dist/mcp/index.js +119 -119
  540. package/dist/mcp/instructions.js +180 -180
  541. package/dist/mcp/oauth.js +88 -88
  542. package/dist/mcp/socket-client.js +1 -1
  543. package/dist/mcp/stdio.js +102 -102
  544. package/dist/mime.js +1 -1
  545. package/dist/modal/models.js +103 -103
  546. package/dist/model-resolver.js +111 -111
  547. package/dist/model-retry.js +1 -1
  548. package/dist/model.js +112 -112
  549. package/dist/models-dev/v1.js +1 -1
  550. package/dist/models-dev.js +112 -112
  551. package/dist/oauth/page.js +1 -1
  552. package/dist/permission/saved.js +90 -90
  553. package/dist/permission/sql.js +5 -5
  554. package/dist/permission.js +150 -150
  555. package/dist/persistent-pty/binary.bun.js +1 -1
  556. package/dist/persistent-pty/daemon.js +1 -1
  557. package/dist/persistent-pty/index.js +102 -100
  558. package/dist/persistent-pty/pty-binding.js +1 -1
  559. package/dist/persistent-pty.js +85 -85
  560. package/dist/plugin/agent.js +86 -86
  561. package/dist/plugin/command.js +114 -114
  562. package/dist/plugin/goal.js +3 -3
  563. package/dist/plugin/hooks.js +5 -5
  564. package/dist/plugin/host.js +234 -233
  565. package/dist/plugin/identity.js +5 -5
  566. package/dist/plugin/instance.js +5 -5
  567. package/dist/plugin/internal.js +393 -391
  568. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  569. package/dist/plugin/models-dev.js +109 -109
  570. package/dist/plugin/module.js +128 -128
  571. package/dist/plugin/optimize.js +2 -2
  572. package/dist/plugin/plan.js +145 -145
  573. package/dist/plugin/promise.js +1 -1
  574. package/dist/plugin/provider/amazon-bedrock.js +103 -103
  575. package/dist/plugin/provider/azure.js +129 -129
  576. package/dist/plugin/provider/cerebras.js +1 -1
  577. package/dist/plugin/provider/chatgpt.js +129 -129
  578. package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
  579. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  580. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  581. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  582. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  583. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  584. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  585. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  586. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  587. package/dist/plugin/provider/claude-agent/index.js +144 -144
  588. package/dist/plugin/provider/claude-agent/instructions.js +113 -113
  589. package/dist/plugin/provider/claude-agent/integration.js +112 -112
  590. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  591. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  592. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  593. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  594. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  595. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  596. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  597. package/dist/plugin/provider/claude-agent/provider.js +109 -109
  598. package/dist/plugin/provider/claude-agent/session.js +111 -111
  599. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  600. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  601. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  602. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  603. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  604. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  605. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  606. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  609. package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
  610. package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
  611. package/dist/plugin/provider/configured.js +125 -125
  612. package/dist/plugin/provider/credential-settings.js +84 -84
  613. package/dist/plugin/provider/databricks.js +1 -1
  614. package/dist/plugin/provider/digitalocean.js +105 -105
  615. package/dist/plugin/provider/dynamic.js +2 -2
  616. package/dist/plugin/provider/github-copilot.js +107 -107
  617. package/dist/plugin/provider/gitlab.js +106 -106
  618. package/dist/plugin/provider/google-vertex.js +126 -126
  619. package/dist/plugin/provider/kilo.js +1 -1
  620. package/dist/plugin/provider/llmgateway.js +88 -88
  621. package/dist/plugin/provider/lmstudio.js +138 -138
  622. package/dist/plugin/provider/local.js +135 -135
  623. package/dist/plugin/provider/modal.js +104 -104
  624. package/dist/plugin/provider/neon.js +1 -1
  625. package/dist/plugin/provider/nvidia.js +1 -1
  626. package/dist/plugin/provider/ollama.js +138 -138
  627. package/dist/plugin/provider/openai-context-caps.js +102 -102
  628. package/dist/plugin/provider/openai.js +129 -129
  629. package/dist/plugin/provider/opencode.js +131 -131
  630. package/dist/plugin/provider/openrouter.js +103 -103
  631. package/dist/plugin/provider/poe.js +89 -89
  632. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  633. package/dist/plugin/provider/sap-ai-core.js +103 -103
  634. package/dist/plugin/provider/sdk-factory.js +1 -1
  635. package/dist/plugin/provider/snowflake-cortex.js +128 -128
  636. package/dist/plugin/provider/vllm.js +138 -138
  637. package/dist/plugin/provider/xai.js +103 -103
  638. package/dist/plugin/provider/zenmux.js +1 -1
  639. package/dist/plugin/provider.js +209 -209
  640. package/dist/plugin/sdk.js +86 -86
  641. package/dist/plugin/service.js +3 -3
  642. package/dist/plugin/skill.js +148 -148
  643. package/dist/plugin/source-directory.js +1 -1
  644. package/dist/plugin/supervisor.js +405 -403
  645. package/dist/plugin/tool-input-repair.js +4 -4
  646. package/dist/plugin/update.js +6 -6
  647. package/dist/plugin/vcs/git.js +98 -98
  648. package/dist/plugin/vcs/hg.js +98 -98
  649. package/dist/plugin/verbosity.js +105 -105
  650. package/dist/plugin/warming.js +127 -127
  651. package/dist/plugin/websearch/exa.js +7 -7
  652. package/dist/plugin/websearch/firecrawl.js +8 -8
  653. package/dist/plugin/websearch/index.js +9 -9
  654. package/dist/plugin/websearch/mcp.js +4 -4
  655. package/dist/plugin/websearch/parallel.js +8 -8
  656. package/dist/plugin/websearch/tavily.js +6 -6
  657. package/dist/plugin/websearch/tinyfish.js +8 -8
  658. package/dist/plugin.js +245 -244
  659. package/dist/project/icon.js +5 -5
  660. package/dist/project/schema.js +10 -10
  661. package/dist/project/sql.js +4 -4
  662. package/dist/project.js +104 -104
  663. package/dist/provider.js +111 -111
  664. package/dist/pty/protocol.js +1 -1
  665. package/dist/pty/ticket.js +1 -1
  666. package/dist/pty.js +110 -110
  667. package/dist/reference/instructions.js +100 -100
  668. package/dist/reference.js +102 -102
  669. package/dist/repository-cache.js +92 -92
  670. package/dist/repository.js +1 -1
  671. package/dist/ripgrep/binary.js +2 -2
  672. package/dist/ripgrep.js +109 -109
  673. package/dist/rpc.js +98 -98
  674. package/dist/schedule/check.js +239 -238
  675. package/dist/schedule/sql.js +6 -6
  676. package/dist/schedule.js +253 -252
  677. package/dist/schema.js +1 -1
  678. package/dist/session/affinity.js +3 -3
  679. package/dist/session/background.js +1 -1
  680. package/dist/session/blob.js +128 -128
  681. package/dist/session/command.js +84 -84
  682. package/dist/session/compaction.js +168 -168
  683. package/dist/session/context.js +197 -197
  684. package/dist/session/diff.js +100 -100
  685. package/dist/session/environment.js +5 -5
  686. package/dist/session/error.js +3 -3
  687. package/dist/session/event.js +1 -1
  688. package/dist/session/execution/restart.js +243 -243
  689. package/dist/session/execution.js +159 -159
  690. package/dist/session/generate.js +199 -199
  691. package/dist/session/history.js +135 -135
  692. package/dist/session/inbox.js +142 -142
  693. package/dist/session/info.js +3 -3
  694. package/dist/session/instruction-entry.js +89 -89
  695. package/dist/session/instruction-state.js +8 -8
  696. package/dist/session/instructions.js +142 -142
  697. package/dist/session/message-updater.js +4 -4
  698. package/dist/session/message.js +1 -1
  699. package/dist/session/model-request.js +165 -165
  700. package/dist/session/model-transport.js +7 -7
  701. package/dist/session/move.js +163 -163
  702. package/dist/session/projector.js +142 -142
  703. package/dist/session/prompt.js +147 -147
  704. package/dist/session/recent-text.js +1 -1
  705. package/dist/session/revert.js +138 -138
  706. package/dist/session/run-coordinator.js +1 -1
  707. package/dist/session/runner/index.js +3 -3
  708. package/dist/session/runner/llm.js +248 -247
  709. package/dist/session/runner/max-steps.js +1 -1
  710. package/dist/session/runner/model.js +112 -112
  711. package/dist/session/runner/publish-llm-event.js +148 -148
  712. package/dist/session/runner/retry.js +5 -5
  713. package/dist/session/runner/step.js +162 -162
  714. package/dist/session/runner/to-llm-message.js +136 -136
  715. package/dist/session/schema.js +5 -5
  716. package/dist/session/session.js +179 -179
  717. package/dist/session/shell.js +143 -143
  718. package/dist/session/skill.js +148 -148
  719. package/dist/session/sql.js +5 -5
  720. package/dist/session/stats.js +85 -85
  721. package/dist/session/store.js +141 -141
  722. package/dist/session/stored.js +4 -4
  723. package/dist/session/subagent-completion.js +3 -3
  724. package/dist/session/subagent-job.js +227 -227
  725. package/dist/session/system-prompt.js +1 -1
  726. package/dist/session/title.js +201 -201
  727. package/dist/session/to-session-error.js +147 -147
  728. package/dist/session/transfer.js +241 -241
  729. package/dist/session/usage.js +3 -3
  730. package/dist/session.js +231 -231
  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 +11 -11
  735. package/dist/shell.js +145 -145
  736. package/dist/skill/discovery.js +6 -6
  737. package/dist/skill/instructions.js +148 -148
  738. package/dist/skill.js +153 -153
  739. package/dist/snapshot.js +101 -101
  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 +179 -179
  744. package/dist/tool/plugin/artifact.js +239 -0
  745. package/dist/tool/plugin/edit.js +163 -163
  746. package/dist/tool/plugin/file-diff.js +1 -1
  747. package/dist/tool/plugin/glob.js +165 -165
  748. package/dist/tool/plugin/grep.js +167 -167
  749. package/dist/tool/plugin/image-generate.js +237 -237
  750. package/dist/tool/plugin/mcp-resource.js +161 -161
  751. package/dist/tool/plugin/opencode.js +160 -160
  752. package/dist/tool/plugin/patch.js +163 -163
  753. package/dist/tool/plugin/question.js +149 -149
  754. package/dist/tool/plugin/read.js +168 -168
  755. package/dist/tool/plugin/schedule.js +245 -244
  756. package/dist/tool/plugin/shell.js +231 -231
  757. package/dist/tool/plugin/skill.js +152 -152
  758. package/dist/tool/plugin/subagent.js +234 -234
  759. package/dist/tool/plugin/todo.js +152 -152
  760. package/dist/tool/plugin/webfetch.js +154 -154
  761. package/dist/tool/plugin/websearch.js +152 -152
  762. package/dist/tool/plugin/write.js +165 -165
  763. package/dist/tool/read-filesystem.js +112 -112
  764. package/dist/tool/runtime.js +1 -1
  765. package/dist/tool-output.js +7 -7
  766. package/dist/tool.js +158 -158
  767. package/dist/types/artifact.d.ts +123 -0
  768. package/dist/types/instance.d.ts +2 -1
  769. package/dist/types/location-activity.d.ts +1 -1
  770. package/dist/types/persistent-pty/daemon.d.ts +38 -11
  771. package/dist/types/persistent-pty/index.d.ts +6 -0
  772. package/dist/types/plugin/host.d.ts +3 -2
  773. package/dist/types/plugin/internal.d.ts +3 -2
  774. package/dist/types/schedule/check.d.ts +2 -2
  775. package/dist/types/session/prompt.d.ts +1 -1
  776. package/dist/types/tool/mcp.d.ts +1 -1
  777. package/dist/types/tool/plugin/artifact.d.ts +27 -0
  778. package/dist/types/tool/plugin/glob.d.ts +1 -1
  779. package/dist/types/tool/plugin/grep.d.ts +1 -1
  780. package/dist/types/tool/plugin/image-generate.d.ts +1 -1
  781. package/dist/types/tool/plugin/read.d.ts +1 -1
  782. package/dist/types/tool/plugin/shell.d.ts +1 -1
  783. package/dist/types/tool/plugin/subagent.d.ts +1 -1
  784. package/dist/usage-limits.js +99 -99
  785. package/dist/util/error-summary.js +1 -1
  786. package/dist/util/git-executable.js +3 -3
  787. package/dist/util/lazy.js +1 -1
  788. package/dist/util/slug.js +1 -1
  789. package/dist/util/token.js +1 -1
  790. package/dist/util/which.js +1 -1
  791. package/dist/util/wildcard.js +1 -1
  792. package/dist/v1/config/agent.js +7 -7
  793. package/dist/v1/config/command.js +3 -3
  794. package/dist/v1/config/mcp.js +4 -4
  795. package/dist/v1/config/migrate.js +104 -104
  796. package/dist/v1/config/permission.js +3 -3
  797. package/dist/v1/config/plugin.js +3 -3
  798. package/dist/v1/config/provider-options.js +1 -1
  799. package/dist/v1/config/provider.js +2 -2
  800. package/dist/variant.js +103 -103
  801. package/dist/vcs/patch.js +1 -1
  802. package/dist/vcs.js +99 -99
  803. package/dist/voice.js +100 -100
  804. package/dist/websearch.js +100 -100
  805. package/dist/wellknown/plugin.js +86 -86
  806. package/dist/wellknown.js +89 -89
  807. package/dist/workspace/driver.js +3 -3
  808. package/dist/workspace/sql.js +1 -1
  809. package/dist/workspace.js +90 -90
  810. package/dist/worktree/directory.js +2 -2
  811. package/dist/worktree/git.js +9 -9
  812. package/dist/worktree/sql.js +5 -5
  813. package/dist/worktree/strategies.js +101 -101
  814. package/dist/worktree.js +108 -108
  815. package/package.json +8 -8
  816. package/dist/chunks/voice-27cptz25.js +0 -539
  817. package/dist/chunks/voice-7yv5xa0k.js +0 -18
  818. package/dist/chunks/voice-gyg1jafw.js +0 -16
  819. package/dist/chunks/voice-p6w612wn.js +0 -26
  820. package/dist/chunks/voice-s7m9qz1r.js +0 -257
  821. /package/dist/chunks/{voice-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  822. /package/dist/chunks/{voice-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  823. /package/dist/chunks/{voice-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  824. /package/dist/chunks/{voice-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  825. /package/dist/chunks/{voice-1kah00gy.js → repository-1kah00gy.js} +0 -0
  826. /package/dist/chunks/{voice-24dcb14g.js → repository-24dcb14g.js} +0 -0
  827. /package/dist/chunks/{voice-2710q6r3.js → repository-2710q6r3.js} +0 -0
  828. /package/dist/chunks/{voice-2bv980vf.js → repository-2bv980vf.js} +0 -0
  829. /package/dist/chunks/{voice-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  830. /package/dist/chunks/{voice-359p4xyc.js → repository-359p4xyc.js} +0 -0
  831. /package/dist/chunks/{voice-3asan66x.js → repository-3asan66x.js} +0 -0
  832. /package/dist/chunks/{voice-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  833. /package/dist/chunks/{voice-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  834. /package/dist/chunks/{voice-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  835. /package/dist/chunks/{voice-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  836. /package/dist/chunks/{voice-4qk9sjk2.js → repository-4qk9sjk2.js} +0 -0
  837. /package/dist/chunks/{voice-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  838. /package/dist/chunks/{voice-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  839. /package/dist/chunks/{voice-53557ph1.js → repository-53557ph1.js} +0 -0
  840. /package/dist/chunks/{voice-550bvhaj.js → repository-550bvhaj.js} +0 -0
  841. /package/dist/chunks/{voice-5w3e23ze.js → repository-5w3e23ze.js} +0 -0
  842. /package/dist/chunks/{voice-6prwharc.js → repository-6prwharc.js} +0 -0
  843. /package/dist/chunks/{voice-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
  844. /package/dist/chunks/{voice-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  845. /package/dist/chunks/{voice-7m9af43g.js → repository-7m9af43g.js} +0 -0
  846. /package/dist/chunks/{voice-7stb81gk.js → repository-7stb81gk.js} +0 -0
  847. /package/dist/chunks/{voice-822emrt2.js → repository-822emrt2.js} +0 -0
  848. /package/dist/chunks/{voice-84wd9syh.js → repository-84wd9syh.js} +0 -0
  849. /package/dist/chunks/{voice-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  850. /package/dist/chunks/{voice-8n3pysct.js → repository-8n3pysct.js} +0 -0
  851. /package/dist/chunks/{voice-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  852. /package/dist/chunks/{voice-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  853. /package/dist/chunks/{voice-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  854. /package/dist/chunks/{voice-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  855. /package/dist/chunks/{voice-af5trqkr.js → repository-af5trqkr.js} +0 -0
  856. /package/dist/chunks/{voice-afrmfg78.js → repository-afrmfg78.js} +0 -0
  857. /package/dist/chunks/{voice-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  858. /package/dist/chunks/{voice-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  859. /package/dist/chunks/{voice-beh6qq61.js → repository-beh6qq61.js} +0 -0
  860. /package/dist/chunks/{voice-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  861. /package/dist/chunks/{voice-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  862. /package/dist/chunks/{voice-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  863. /package/dist/chunks/{voice-cqv5kn06.js → repository-cqv5kn06.js} +0 -0
  864. /package/dist/chunks/{voice-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  865. /package/dist/chunks/{voice-d9fn303g.js → repository-d9fn303g.js} +0 -0
  866. /package/dist/chunks/{voice-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  867. /package/dist/chunks/{voice-dap0rakb.js → repository-dap0rakb.js} +0 -0
  868. /package/dist/chunks/{voice-df08tz66.js → repository-df08tz66.js} +0 -0
  869. /package/dist/chunks/{voice-dy18nga0.js → repository-dy18nga0.js} +0 -0
  870. /package/dist/chunks/{voice-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  871. /package/dist/chunks/{voice-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  872. /package/dist/chunks/{voice-ean2d8b5.js → repository-ean2d8b5.js} +0 -0
  873. /package/dist/chunks/{voice-ec1grn59.js → repository-ec1grn59.js} +0 -0
  874. /package/dist/chunks/{voice-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  875. /package/dist/chunks/{voice-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  876. /package/dist/chunks/{voice-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  877. /package/dist/chunks/{voice-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  878. /package/dist/chunks/{voice-faypxj3z.js → repository-faypxj3z.js} +0 -0
  879. /package/dist/chunks/{voice-fd410y7t.js → repository-fd410y7t.js} +0 -0
  880. /package/dist/chunks/{voice-fkpq3x5p.js → repository-fkpq3x5p.js} +0 -0
  881. /package/dist/chunks/{voice-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  882. /package/dist/chunks/{voice-g86h250q.js → repository-g86h250q.js} +0 -0
  883. /package/dist/chunks/{voice-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  884. /package/dist/chunks/{voice-gftt206x.js → repository-gftt206x.js} +0 -0
  885. /package/dist/chunks/{voice-hcxmzztb.js → repository-hcxmzztb.js} +0 -0
  886. /package/dist/chunks/{voice-hk9envan.js → repository-hk9envan.js} +0 -0
  887. /package/dist/chunks/{voice-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  888. /package/dist/chunks/{voice-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  889. /package/dist/chunks/{voice-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  890. /package/dist/chunks/{voice-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  891. /package/dist/chunks/{voice-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  892. /package/dist/chunks/{voice-jwr30sdr.js → repository-jwr30sdr.js} +0 -0
  893. /package/dist/chunks/{voice-jze0r7bz.js → repository-jze0r7bz.js} +0 -0
  894. /package/dist/chunks/{voice-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  895. /package/dist/chunks/{voice-m18g726c.js → repository-m18g726c.js} +0 -0
  896. /package/dist/chunks/{voice-mp448xyj.js → repository-mp448xyj.js} +0 -0
  897. /package/dist/chunks/{voice-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  898. /package/dist/chunks/{voice-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  899. /package/dist/chunks/{voice-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  900. /package/dist/chunks/{voice-nh4v3znn.js → repository-nh4v3znn.js} +0 -0
  901. /package/dist/chunks/{voice-njntx4h6.js → repository-njntx4h6.js} +0 -0
  902. /package/dist/chunks/{voice-p71gwv9c.js → repository-p71gwv9c.js} +0 -0
  903. /package/dist/chunks/{voice-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  904. /package/dist/chunks/{voice-q74kybfr.js → repository-q74kybfr.js} +0 -0
  905. /package/dist/chunks/{voice-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  906. /package/dist/chunks/{voice-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  907. /package/dist/chunks/{voice-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  908. /package/dist/chunks/{voice-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  909. /package/dist/chunks/{voice-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  910. /package/dist/chunks/{voice-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  911. /package/dist/chunks/{voice-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  912. /package/dist/chunks/{voice-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  913. /package/dist/chunks/{voice-stkk57rt.js → repository-stkk57rt.js} +0 -0
  914. /package/dist/chunks/{voice-t03h4f5z.js → repository-t03h4f5z.js} +0 -0
  915. /package/dist/chunks/{voice-ty7weeps.js → repository-ty7weeps.js} +0 -0
  916. /package/dist/chunks/{voice-ve7vex1e.js → repository-ve7vex1e.js} +0 -0
  917. /package/dist/chunks/{voice-w803qqfp.js → repository-w803qqfp.js} +0 -0
  918. /package/dist/chunks/{voice-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  919. /package/dist/chunks/{voice-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  920. /package/dist/chunks/{voice-wtztk69x.js → repository-wtztk69x.js} +0 -0
  921. /package/dist/chunks/{voice-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  922. /package/dist/chunks/{voice-x61499pn.js → repository-x61499pn.js} +0 -0
  923. /package/dist/chunks/{voice-y44na4kk.js → repository-y44na4kk.js} +0 -0
  924. /package/dist/chunks/{voice-y8f7s663.js → repository-y8f7s663.js} +0 -0
  925. /package/dist/chunks/{voice-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  926. /package/dist/chunks/{voice-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
  927. /package/dist/chunks/{voice-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service87,
3
- node90
4
- } from "./voice-q8b10s3c.js";
2
+ Service88,
3
+ node91
4
+ } from "./repository-rnpdff07.js";
5
5
  import {
6
6
  changes2,
7
7
  create4
8
- } from "./voice-40y6dtc2.js";
8
+ } from "./repository-40y6dtc2.js";
9
9
  import {
10
10
  evaluate3
11
- } from "./voice-7jhmzye7.js";
11
+ } from "./repository-b2c1mvj5.js";
12
12
  import {
13
13
  __export
14
- } from "./voice-9rqn6x4v.js";
14
+ } from "./repository-9rqn6x4v.js";
15
15
 
16
16
  // src/skill.ts
17
17
  var exports_skill5 = {};
@@ -19,15 +19,15 @@ __export(exports_skill5, {
19
19
  DirectorySource: () => DirectorySource2,
20
20
  EmbeddedSource: () => EmbeddedSource2,
21
21
  Event: () => Event10,
22
- ID: () => ID9,
22
+ ID: () => ID10,
23
23
  Info: () => Info13,
24
24
  Name: () => Name2,
25
- Service: () => Service64,
25
+ Service: () => Service52,
26
26
  Skill: () => exports_skill5,
27
- Source: () => Source4,
27
+ Source: () => Source3,
28
28
  UrlSource: () => UrlSource2,
29
- available: () => available4,
30
- node: () => node65,
29
+ available: () => available3,
30
+ node: () => node53,
31
31
  prepare: () => prepare3,
32
32
  toModelOutput: () => toModelOutput3
33
33
  });
@@ -40,11 +40,11 @@ import { Event as Event10 } from "@opencode/schema/skill";
40
40
  var DirectorySource2 = Skill.DirectorySource;
41
41
  var UrlSource2 = Skill.UrlSource;
42
42
  var EmbeddedSource2 = Skill.EmbeddedSource;
43
- var Source4 = Skill.Source;
43
+ var Source3 = Skill.Source;
44
44
  var Info13 = Skill.Info;
45
- var ID9 = Skill.ID;
45
+ var ID10 = Skill.ID;
46
46
  var Name2 = Skill.Name;
47
- var available4 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
47
+ var available3 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
48
48
  var toModelOutput3 = (skill, files) => {
49
49
  const directory = path.dirname(skill.path);
50
50
  return [
@@ -79,21 +79,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
79
79
  };
80
80
  });
81
81
 
82
- class Service64 extends Context.Service()("@opencode/Skill") {
82
+ class Service52 extends Context.Service()("@opencode/Skill") {
83
83
  }
84
- var layer = Layer.effect(Service64, Effect.gen(function* () {
85
- const bus = yield* Service87;
84
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
85
+ const bus = yield* Service88;
86
86
  const state = create4({
87
87
  name: "skill",
88
88
  initial: () => ({ skills: new Map }),
89
89
  editor: (editor) => ({
90
90
  list: () => Array.from(editor.skills.values()),
91
- get: (id) => editor.skills.get(ID9.make(id)),
91
+ get: (id) => editor.skills.get(ID10.make(id)),
92
92
  add: (skill) => {
93
93
  editor.skills.set(skill.id, { ...skill });
94
94
  },
95
95
  update: (id, update) => {
96
- const key = ID9.make(id);
96
+ const key = ID10.make(id);
97
97
  const current = editor.skills.get(key);
98
98
  if (!current)
99
99
  return;
@@ -101,12 +101,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
101
101
  current.id = key;
102
102
  },
103
103
  remove: (id) => {
104
- editor.skills.delete(ID9.make(id));
104
+ editor.skills.delete(ID10.make(id));
105
105
  }
106
106
  }),
107
107
  notify: changes2((data) => Array.from(data.skills.values()), () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
108
108
  });
109
- return Service64.of({
109
+ return Service52.of({
110
110
  transform: state.transform,
111
111
  reload: state.reload,
112
112
  get: Effect.fn("Skill.get")(function* (id) {
@@ -117,10 +117,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
117
117
  })
118
118
  });
119
119
  }));
120
- var node65 = makeLocationNode({
121
- service: Service64,
120
+ var node53 = makeLocationNode({
121
+ service: Service52,
122
122
  layer,
123
- deps: [node90]
123
+ deps: [node91]
124
124
  });
125
125
 
126
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info13, ID9, Name2, available4, toModelOutput3, prepare3, Service64, node65, exports_skill5, Event10 };
126
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info13, ID10, Name2, available3, toModelOutput3, prepare3, Service52, node53, exports_skill5, Event10 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  kept2
3
- } from "./voice-v2r1d0zg.js";
3
+ } from "./repository-v2r1d0zg.js";
4
4
  import {
5
5
  NativeWindow2
6
- } from "./voice-jjrrh1g7.js";
6
+ } from "./repository-p553nwyy.js";
7
7
 
8
8
  // src/session/runner/to-llm-message.ts
9
9
  import {
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service79
3
- } from "./voice-3j4ks7kb.js";
2
+ Service85
3
+ } from "./repository-q1ybpa6r.js";
4
4
  import {
5
- ID13,
5
+ ID15,
6
6
  Family2
7
- } from "./voice-9xr5qg12.js";
7
+ } from "./repository-x6sm40hj.js";
8
8
  import {
9
- Service69
10
- } from "./voice-xase2hgj.js";
9
+ Service71
10
+ } from "./repository-s8e2nyv7.js";
11
11
  import {
12
- Service57
13
- } from "./voice-6q8swtke.js";
12
+ Service83
13
+ } from "./repository-0zf8fpw9.js";
14
14
  import {
15
15
  spawner2
16
- } from "./voice-b6z35kmf.js";
16
+ } from "./repository-0h8y3ex8.js";
17
17
  import {
18
18
  foldSettings2
19
- } from "./voice-prtyxdc2.js";
19
+ } from "./repository-cvfsgrs7.js";
20
20
 
21
21
  // src/plugin/provider/local.ts
22
22
  import { define } from "@opencode/plugin/effect/plugin";
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
32
32
  id: input.id,
33
33
  effect: Effect.fn(function* (ctx) {
34
34
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
35
- const config = yield* Service69;
36
- const environment = yield* Effect.serviceOption(Service57);
37
- const location = yield* Effect.serviceOption(Service79);
35
+ const config = yield* Service71;
36
+ const environment = yield* Effect.serviceOption(Service83);
37
+ const location = yield* Effect.serviceOption(Service85);
38
38
  const defaultOrigin = origin ?? (photonWasm === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
39
39
  const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
40
40
  const loaded = { models: [], hash: "[]" };
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
63
63
  for (const item of loaded.models) {
64
64
  const spec = input.model(item);
65
65
  providers.models.update(input.providerID, spec.id, (model) => {
66
- model.modelID = ID13.make(spec.id);
66
+ model.modelID = ID15.make(spec.id);
67
67
  model.name = spec.name || spec.id;
68
68
  model.family = spec.family ? Family2.make(spec.family) : undefined;
69
69
  model.capabilities = {
@@ -1,58 +1,58 @@
1
1
  import {
2
2
  Ref3,
3
- Service76
4
- } from "./voice-9xr5qg12.js";
3
+ Service75
4
+ } from "./repository-x6sm40hj.js";
5
5
  import {
6
- Service69
7
- } from "./voice-xase2hgj.js";
6
+ Service71
7
+ } from "./repository-s8e2nyv7.js";
8
8
  import {
9
9
  observe2
10
- } from "./voice-hpg1pkwy.js";
10
+ } from "./repository-hpg1pkwy.js";
11
11
  import {
12
- Service57
13
- } from "./voice-6q8swtke.js";
12
+ Service83
13
+ } from "./repository-0zf8fpw9.js";
14
14
  import {
15
15
  SessionMessage2
16
- } from "./voice-gftt206x.js";
16
+ } from "./repository-gftt206x.js";
17
17
  import {
18
- Service65
19
- } from "./voice-7jhmzye7.js";
18
+ Service66
19
+ } from "./repository-b2c1mvj5.js";
20
20
  import {
21
- Service15
22
- } from "./voice-7arjqscx.js";
21
+ Service21
22
+ } from "./repository-3x7atde9.js";
23
23
  import {
24
- Service23
25
- } from "./voice-gnrv4xx2.js";
24
+ Service54
25
+ } from "./repository-kkn8km6v.js";
26
26
  import {
27
- text3
28
- } from "./voice-25h84942.js";
27
+ text2
28
+ } from "./repository-8b3vzgkx.js";
29
29
  import {
30
- Service50
31
- } from "./voice-2hhfjmpx.js";
30
+ Service51
31
+ } from "./repository-t48dq7pj.js";
32
32
  import {
33
33
  detect2
34
- } from "./voice-4pyp9zr9.js";
34
+ } from "./repository-4pyp9zr9.js";
35
35
  import {
36
- Service29
37
- } from "./voice-cs50nhfx.js";
36
+ Service26
37
+ } from "./repository-x01ndw86.js";
38
38
  import {
39
39
  collectBoundedResponseBody2
40
- } from "./voice-3v8g72cx.js";
40
+ } from "./repository-3v8g72cx.js";
41
41
  import {
42
42
  __export
43
- } from "./voice-9rqn6x4v.js";
43
+ } from "./repository-9rqn6x4v.js";
44
44
 
45
45
  // src/tool/plugin/image-generate.ts
46
46
  var exports_image_generate = {};
47
47
  __export(exports_image_generate, {
48
48
  ImageGenerateTool: () => exports_image_generate,
49
- Input: () => Input7,
49
+ Input: () => Input10,
50
50
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
51
- Output: () => Output5,
52
- Plugin: () => Plugin8,
51
+ Output: () => Output7,
52
+ Plugin: () => Plugin14,
53
53
  defaultModel: () => defaultModel2,
54
- description: () => description5,
55
- name: () => name7
54
+ description: () => description3,
55
+ name: () => name10
56
56
  });
57
57
  import path from "path";
58
58
  import { ToolFailure } from "@opencode/ai/effect";
@@ -60,7 +60,7 @@ import { Identifier } from "@opencode/schema/identifier";
60
60
  import { Global } from "@opencode/util/global";
61
61
  import { Duration, Effect, Schema, Scope, Stream } from "effect";
62
62
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
63
- var name7 = "experimental_image_generate";
63
+ var name10 = "experimental_image_generate";
64
64
  var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
65
65
  var DOWNLOAD_TIMEOUT = Duration.seconds(30);
66
66
  var GENERATE_TIMEOUT = Duration.minutes(30);
@@ -71,7 +71,7 @@ var EXTENSIONS = {
71
71
  "image/webp": ".webp",
72
72
  "image/gif": ".gif"
73
73
  };
74
- var description5 = [
74
+ var description3 = [
75
75
  "Generates a new image, or edits existing ones.",
76
76
  "Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
77
77
  "Images you pass are used as the source to edit, or as references for style and subject.",
@@ -80,7 +80,7 @@ var description5 = [
80
80
  "Don't repeat a request unless the user asks."
81
81
  ].join(`
82
82
  `);
83
- var Input7 = Schema.Struct({
83
+ var Input10 = Schema.Struct({
84
84
  prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
85
85
  description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
86
86
  }),
@@ -94,25 +94,25 @@ var Input7 = Schema.Struct({
94
94
  description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
95
95
  })
96
96
  });
97
- var Output5 = Schema.Struct({
97
+ var Output7 = Schema.Struct({
98
98
  id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
99
99
  path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
100
100
  model: Schema.String.annotate({ description: "providerID/modelID" })
101
101
  });
102
- var Plugin8 = {
102
+ var Plugin14 = {
103
103
  id: "opencode.tool.image-generate",
104
104
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
105
- const access = yield* Service15;
106
- const environment = yield* Service57;
107
- const generate = yield* Service23;
105
+ const access = yield* Service21;
106
+ const environment = yield* Service83;
107
+ const generate = yield* Service54;
108
108
  const global = yield* Global.Service;
109
109
  const http = yield* HttpClient.HttpClient;
110
- const config = yield* Service69;
111
- const jobs = yield* Service50;
110
+ const config = yield* Service71;
111
+ const jobs = yield* Service51;
112
112
  const scope = yield* Scope.Scope;
113
- const sessions = yield* Service29;
114
- const models = yield* Service76;
115
- const permission = yield* Service65;
113
+ const sessions = yield* Service26;
114
+ const models = yield* Service75;
115
+ const permission = yield* Service66;
116
116
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
117
117
  const available = yield* models.available(["image"]);
118
118
  if (!input) {
@@ -188,12 +188,12 @@ var Plugin8 = {
188
188
  id: input.notificationID,
189
189
  sessionID: input.sessionID,
190
190
  description: "Image generation",
191
- text: text3({
191
+ text: text2({
192
192
  id: input.id,
193
193
  state: info.status,
194
194
  body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
195
195
  }),
196
- metadata: { source: name7, jobID: input.id, state: info.status, path: input.file }
196
+ metadata: { source: name10, jobID: input.id, state: info.status, path: input.file }
197
197
  });
198
198
  yield* jobs.completeBackground(input.notificationID);
199
199
  }, Effect.forkIn(scope, { startImmediately: true }));
@@ -212,11 +212,11 @@ var Plugin8 = {
212
212
  if (!enabled || imageGenerate(loaded.entries) === false)
213
213
  return;
214
214
  editor.add({
215
- name: name7,
215
+ name: name10,
216
216
  options: { codemode: false },
217
- description: description5,
218
- input: Input7,
219
- output: Output5,
217
+ description: description3,
218
+ input: Input10,
219
+ output: Output7,
220
220
  execute: (input, context) => Effect.gen(function* () {
221
221
  const source = { type: "tool", messageID: context.messageID, id: context.id };
222
222
  const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
@@ -226,7 +226,7 @@ var Plugin8 = {
226
226
  const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
227
227
  const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
228
228
  yield* permission.assert({
229
- action: name7,
229
+ action: name10,
230
230
  resources: [ref],
231
231
  save: ["*"],
232
232
  metadata: { ...input, model: ref },
@@ -294,7 +294,7 @@ Use the read tool on this path to view the image.`;
294
294
  yield* jobs.start({
295
295
  id,
296
296
  notificationID,
297
- type: name7,
297
+ type: name10,
298
298
  title: input.prompt,
299
299
  metadata: { sessionID: context.sessionID, path: stem, model: ref },
300
300
  recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
@@ -333,4 +333,4 @@ function acceptsImages(model) {
333
333
  return model.capabilities.input.some((item) => item.startsWith("image"));
334
334
  }
335
335
 
336
- export { name7, MAX_INPUT_BYTES2, description5, Input7, Output5, Plugin8, defaultModel2, exports_image_generate };
336
+ export { name10, MAX_INPUT_BYTES2, description3, Input10, Output7, Plugin14, defaultModel2, exports_image_generate };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./voice-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./voice-qm7e79ke.js";
3
+ } from "./repository-4sshptwq.js";
4
4
  import {
5
- Service87
6
- } from "./voice-q8b10s3c.js";
5
+ Service88
6
+ } from "./repository-rnpdff07.js";
7
7
  import {
8
- ID20,
8
+ ID19,
9
9
  Event19,
10
- Service85
11
- } from "./voice-jpsebz8r.js";
10
+ Service79
11
+ } from "./repository-z1g44n9p.js";
12
12
  import {
13
13
  key2
14
- } from "./voice-xk2zn0cv.js";
14
+ } from "./repository-95sp4hdf.js";
15
15
  import {
16
- ID19,
16
+ ID17,
17
17
  MethodID2
18
- } from "./voice-m7h47g85.js";
18
+ } from "./repository-pek8xmkz.js";
19
19
  import {
20
20
  which2
21
- } from "./voice-qaymkmh1.js";
21
+ } from "./repository-qaymkmh1.js";
22
22
  import {
23
- ID14,
24
- Service77
25
- } from "./voice-t0xe5xk1.js";
23
+ ID16,
24
+ Service76
25
+ } from "./repository-5hrgbkyt.js";
26
26
  import {
27
- ID13
28
- } from "./voice-9xr5qg12.js";
27
+ ID15
28
+ } from "./repository-x6sm40hj.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./voice-prtyxdc2.js";
31
+ } from "./repository-cvfsgrs7.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make16(endpoints = {
66
+ function make19(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID14.azure);
73
+ const configured = yield* configuredSettings2(ID16.azure);
74
74
  const processes = yield* AppProcess.Service;
75
- const bus = yield* Service87;
76
- const credentials = yield* Service85;
77
- const providers = yield* Service77;
75
+ const bus = yield* Service88;
76
+ const credentials = yield* Service79;
77
+ const providers = yield* Service76;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make16(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID14.azure,
103
+ integrationID: ID16.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID14.azure,
107
+ integrationID: ID16.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make16(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID14.azure,
125
+ integrationID: ID16.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make16(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID14.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID20.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID16.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make16(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID14.azure))?.settings;
185
+ const settings = (yield* providers.get(ID16.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make16(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID14.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID16.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID14.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID16.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make16(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID14.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID16.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID14.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID16.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make16(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID14.azure);
243
+ const item = evt.get(ID16.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make16(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID14.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID16.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  if (!resourceName)
@@ -270,20 +270,20 @@ function make16(endpoints = {
270
270
  }
271
271
  if (!loaded.deployments)
272
272
  return;
273
- const catalog = models.list(ID14.azure);
273
+ const catalog = models.list(ID16.azure);
274
274
  const deployed = deployedModels(loaded.deployments, catalog);
275
275
  for (const model of catalog) {
276
276
  if (!deployed.has(model.id))
277
- models.remove(ID14.azure, model.id);
277
+ models.remove(ID16.azure, model.id);
278
278
  }
279
279
  for (const [id, model] of deployed) {
280
- models.update(ID14.azure, id, (draft) => Object.assign(draft, model));
280
+ models.update(ID16.azure, id, (draft) => Object.assign(draft, model));
281
281
  }
282
282
  });
283
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID19.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
283
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID17.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
284
284
  yield* refresh().pipe(Effect.forkScoped);
285
285
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
286
- const connection = yield* ctx.integration.connection.active(ID14.azure);
286
+ const connection = yield* ctx.integration.connection.active(ID16.azure);
287
287
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
288
288
  return;
289
289
  })) : undefined;
@@ -295,7 +295,7 @@ function make16(endpoints = {
295
295
  return `Bearer ${current.access}`;
296
296
  });
297
297
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
298
- if (evt.model.providerID !== ID14.azure)
298
+ if (evt.model.providerID !== ID16.azure)
299
299
  return;
300
300
  const authorization = yield* bearer(evt.request.url);
301
301
  if (!authorization)
@@ -304,9 +304,9 @@ function make16(endpoints = {
304
304
  evt.request.headers.delete("x-api-key");
305
305
  evt.request.headers.set("authorization", authorization);
306
306
  evt.request.headers.set("user-agent", useragent2(ctx.app));
307
- }), { providerID: ID14.azure });
307
+ }), { providerID: ID16.azure });
308
308
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
309
- if (evt.model.providerID !== ID14.azure)
309
+ if (evt.model.providerID !== ID16.azure)
310
310
  return;
311
311
  const authorization = yield* bearer(evt.url);
312
312
  if (!authorization)
@@ -315,11 +315,11 @@ function make16(endpoints = {
315
315
  delete evt.headers["x-api-key"];
316
316
  evt.headers.authorization = authorization;
317
317
  evt.headers["user-agent"] = useragent2(ctx.app);
318
- }), { providerID: ID14.azure });
318
+ }), { providerID: ID16.azure });
319
319
  })
320
320
  });
321
321
  }
322
- var AzurePlugin2 = make16();
322
+ var AzurePlugin2 = make19();
323
323
  function resolveResourceName(settings, fallback) {
324
324
  const configured = settings?.resourceName;
325
325
  if (typeof configured === "string" && configured.trim() !== "")
@@ -349,11 +349,11 @@ function deployedModels(deployments, catalog) {
349
349
  const model = catalogModel(models, deployment);
350
350
  if (!model)
351
351
  return [];
352
- const id = ID13.make(deployment.name.toLowerCase());
352
+ const id = ID15.make(deployment.name.toLowerCase());
353
353
  const info = {
354
354
  ...structuredClone(model),
355
355
  id,
356
- modelID: ID13.make(deployment.name),
356
+ modelID: ID15.make(deployment.name),
357
357
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
358
358
  };
359
359
  return [[id, info]];
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
375
375
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
376
376
  }
377
377
 
378
- export { make16, AzurePlugin2 };
378
+ export { make19, AzurePlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./voice-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/provider/claude-agent/language-model/request-kind.ts
6
6
  var exports_request_kind = {};