@opencode/core 0.0.0-dev-1011 → 0.0.0-dev-1013

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 (933) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +252 -252
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{schema-aj7mw0zk.js → model-034tev2y.js} +2 -2
  9. package/dist/chunks/{schema-46ctycg0.js → model-05bt7bhb.js} +25 -25
  10. package/dist/chunks/{schema-zzzp2n6j.js → model-05ehc3gz.js} +19 -19
  11. package/dist/chunks/{schema-kp9hf7gh.js → model-08nq0gwq.js} +22 -22
  12. package/dist/chunks/{schema-ca3gkesr.js → model-08weax8k.js} +9 -9
  13. package/dist/chunks/{schema-x4rjv40f.js → model-09zcjbp5.js} +35 -35
  14. package/dist/chunks/{schema-j1sr36t7.js → model-0d15b3p2.js} +27 -27
  15. package/dist/chunks/{schema-2m9jz6vw.js → model-0hc5b915.js} +10 -10
  16. package/dist/chunks/{schema-9vgs7jrt.js → model-0hxcpwt2.js} +6 -6
  17. package/dist/chunks/{schema-0j7gp832.js → model-0j7gp832.js} +1 -1
  18. package/dist/chunks/{schema-0ma9gw4f.js → model-0ma9gw4f.js} +2 -2
  19. package/dist/chunks/{schema-rdnhrv98.js → model-0php2d2a.js} +6 -6
  20. package/dist/chunks/{schema-pph3afw8.js → model-0t89tmzm.js} +11 -11
  21. package/dist/chunks/{schema-h9xvjfqn.js → model-0y15sqga.js} +11 -11
  22. package/dist/chunks/{schema-5tq0jeka.js → model-0yn2q0fq.js} +8 -8
  23. package/dist/chunks/{schema-7cmb6eb6.js → model-10afd8zb.js} +26 -26
  24. package/dist/chunks/{schema-seqxwcng.js → model-10kej31a.js} +83 -83
  25. package/dist/chunks/{schema-7nb8tm12.js → model-10pn4eb5.js} +5 -5
  26. package/dist/chunks/{schema-93twee3r.js → model-148xq1kq.js} +6 -6
  27. package/dist/chunks/{schema-2ns5e8zk.js → model-1494zjeh.js} +23 -23
  28. package/dist/chunks/{schema-yey3vg0k.js → model-15vwk5m2.js} +21 -21
  29. package/dist/chunks/{schema-ydsespw1.js → model-160yv0cs.js} +4 -4
  30. package/dist/chunks/{schema-1aqsckx4.js → model-1aqsckx4.js} +1 -1
  31. package/dist/chunks/{schema-pnhy6vkz.js → model-1cev16q8.js} +8 -8
  32. package/dist/chunks/{schema-27w5k9zf.js → model-1ep2p91f.js} +2 -2
  33. package/dist/chunks/{schema-n450nt6a.js → model-1j041cfy.js} +189 -189
  34. package/dist/chunks/{schema-sbzezcpx.js → model-1nqk9g29.js} +8 -8
  35. package/dist/chunks/{schema-spysdwxw.js → model-1v62x7nb.js} +6 -6
  36. package/dist/chunks/{schema-1x2knyw4.js → model-1x2knyw4.js} +1 -1
  37. package/dist/chunks/{schema-40kv09wy.js → model-1xrqzjsv.js} +6 -6
  38. package/dist/chunks/{schema-1yq9hg58.js → model-1yq9hg58.js} +1 -1
  39. package/dist/chunks/{schema-addcsn96.js → model-1yzx0q78.js} +3 -3
  40. package/dist/chunks/{schema-cvddnmmh.js → model-200xyzfe.js} +15 -15
  41. package/dist/chunks/{schema-qfz6bxfd.js → model-20pht57w.js} +4 -4
  42. package/dist/chunks/{schema-108n43cx.js → model-28pxtz2s.js} +44 -44
  43. package/dist/chunks/{schema-78pqwty4.js → model-2b555hw6.js} +48 -48
  44. package/dist/chunks/{schema-y5dg5cq9.js → model-2bsw763r.js} +10 -10
  45. package/dist/chunks/{schema-f4krjp8e.js → model-2bswbpgz.js} +5 -5
  46. package/dist/chunks/{schema-2fc7eemy.js → model-2fc7eemy.js} +1 -1
  47. package/dist/chunks/{schema-p1acca2q.js → model-2jffmtyb.js} +36 -36
  48. package/dist/chunks/{schema-v0t96s7a.js → model-2kg89srt.js} +4 -4
  49. package/dist/chunks/{schema-xdcpcrtr.js → model-2mbjfaxd.js} +4 -4
  50. package/dist/chunks/{schema-nv2c5e9q.js → model-2n444ktb.js} +3 -3
  51. package/dist/chunks/{schema-2p60zmnr.js → model-2p60zmnr.js} +2 -2
  52. package/dist/chunks/{schema-wm0yff3r.js → model-2qm5at19.js} +12 -12
  53. package/dist/chunks/{schema-k5cvtdy7.js → model-2svm880h.js} +13 -13
  54. package/dist/chunks/{schema-cv4f5z77.js → model-33gwp74t.js} +34 -34
  55. package/dist/chunks/{schema-k44rfvex.js → model-33mjg06a.js} +5 -5
  56. package/dist/chunks/{schema-13mbk8n3.js → model-3936qknj.js} +6 -6
  57. package/dist/chunks/{schema-k7mvkdqc.js → model-3e73t2zc.js} +30 -30
  58. package/dist/chunks/{schema-pe9vq5ts.js → model-3h4bcgh0.js} +18 -18
  59. package/dist/chunks/{schema-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  60. package/dist/chunks/{schema-20r3fdkm.js → model-3k9a42wj.js} +23 -23
  61. package/dist/chunks/{schema-3nnrz6f6.js → model-3nnrz6f6.js} +1 -1
  62. package/dist/chunks/{schema-j9n04yyf.js → model-3p08md3h.js} +13 -13
  63. package/dist/chunks/{schema-zgq5ynfz.js → model-3rapmj7b.js} +8 -8
  64. package/dist/chunks/{schema-dct3bmgw.js → model-3raqsjay.js} +4 -4
  65. package/dist/chunks/{schema-40y6dtc2.js → model-40y6dtc2.js} +1 -1
  66. package/dist/chunks/{schema-686fknyk.js → model-41p56tas.js} +34 -34
  67. package/dist/chunks/{schema-44pmzq9c.js → model-44pmzq9c.js} +2 -2
  68. package/dist/chunks/{schema-5cw6sz18.js → model-47pktn18.js} +12 -12
  69. package/dist/chunks/{schema-5kv53nmy.js → model-49rkndpa.js} +6 -6
  70. package/dist/chunks/{schema-k0hc0p3t.js → model-4av79kf0.js} +7 -7
  71. package/dist/chunks/{schema-09pq3b3z.js → model-4b72pw7k.js} +5 -5
  72. package/dist/chunks/{schema-4dx1dgte.js → model-4dx1dgte.js} +1 -1
  73. package/dist/chunks/{schema-r5cygv5r.js → model-4e2mfesz.js} +19 -19
  74. package/dist/chunks/{schema-xzmcv7yx.js → model-4fzwr2m0.js} +22 -22
  75. package/dist/chunks/{schema-vycsk1c7.js → model-4medx3yc.js} +8 -8
  76. package/dist/chunks/{schema-4pyp9zr9.js → model-4pyp9zr9.js} +1 -1
  77. package/dist/chunks/{schema-p7m378f9.js → model-4taass34.js} +6 -6
  78. package/dist/chunks/{schema-4v008n1t.js → model-4v008n1t.js} +1 -1
  79. package/dist/chunks/{schema-z6yjkx3d.js → model-5a0bptm8.js} +4 -4
  80. package/dist/chunks/{schema-w75qynz4.js → model-5asgddgx.js} +6 -6
  81. package/dist/chunks/{schema-3jzwv4qn.js → model-5hcj91nx.js} +24 -24
  82. package/dist/chunks/{schema-5m9w47nd.js → model-5m9w47nd.js} +1 -1
  83. package/dist/chunks/{schema-bhfd478d.js → model-5n0rnk8e.js} +4 -4
  84. package/dist/chunks/{schema-0jmzsf4m.js → model-5sfs57rd.js} +11 -11
  85. package/dist/chunks/{schema-5whx36p1.js → model-5whx36p1.js} +1 -1
  86. package/dist/chunks/{schema-r7r9xhwp.js → model-5zht1efa.js} +25 -25
  87. package/dist/chunks/{schema-26wfx3k0.js → model-62zd5tzk.js} +7 -7
  88. package/dist/chunks/{schema-s5r2vghp.js → model-64tp0ya5.js} +9 -9
  89. package/dist/chunks/{schema-r89d1c3z.js → model-650ycsqk.js} +5 -5
  90. package/dist/chunks/{schema-neary136.js → model-65n9jqtg.js} +8 -8
  91. package/dist/chunks/{schema-x5w1zr3w.js → model-690kw40d.js} +23 -23
  92. package/dist/chunks/{schema-85vqx18w.js → model-6apf8frj.js} +4 -4
  93. package/dist/chunks/{schema-1z5vznfb.js → model-6d447hqy.js} +9 -9
  94. package/dist/chunks/{schema-4xjdjntw.js → model-6es1dp4c.js} +8 -8
  95. package/dist/chunks/{schema-q9w50hwc.js → model-6qappkbv.js} +17 -17
  96. package/dist/chunks/{schema-6y2b864j.js → model-6y2b864j.js} +1 -1
  97. package/dist/chunks/{schema-z4h0d849.js → model-6yyddktx.js} +43 -43
  98. package/dist/chunks/{schema-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  99. package/dist/chunks/{schema-apg8hqv6.js → model-7r3nrrdh.js} +22 -22
  100. package/dist/chunks/{schema-g4428mab.js → model-7trqavmj.js} +31 -31
  101. package/dist/chunks/{schema-7w2ypzdf.js → model-7w2ypzdf.js} +1 -1
  102. package/dist/chunks/{schema-7weczvnd.js → model-7weczvnd.js} +1 -1
  103. package/dist/chunks/{schema-fcv63w14.js → model-7y3c392v.js} +38 -38
  104. package/dist/chunks/{schema-775hqbnd.js → model-80mg3ag8.js} +3 -3
  105. package/dist/chunks/{schema-80pdk984.js → model-80pdk984.js} +1 -1
  106. package/dist/chunks/{schema-85jq8dht.js → model-85jq8dht.js} +1 -1
  107. package/dist/chunks/{schema-t2j0e88x.js → model-8624fsr4.js} +11 -11
  108. package/dist/chunks/{schema-8b3vzgkx.js → model-8b3vzgkx.js} +1 -1
  109. package/dist/chunks/{schema-3bgf9gas.js → model-8bjrjs1n.js} +4 -4
  110. package/dist/chunks/{schema-g5d82n9d.js → model-8d047cw6.js} +3 -3
  111. package/dist/chunks/{schema-jtfxvpqx.js → model-8fm8128g.js} +16 -16
  112. package/dist/chunks/{schema-xmzr9vx2.js → model-8j11fyne.js} +30 -30
  113. package/dist/chunks/{schema-bb3mmwvh.js → model-8sxe6kv8.js} +2 -2
  114. package/dist/chunks/{schema-8wtp7s3z.js → model-8wtp7s3z.js} +1 -1
  115. package/dist/chunks/{schema-8zv0xmg5.js → model-8zv0xmg5.js} +1 -1
  116. package/dist/chunks/{schema-963hk181.js → model-963hk181.js} +2 -2
  117. package/dist/chunks/{schema-j470za27.js → model-9cjk3842.js} +9 -9
  118. package/dist/chunks/{schema-qzv2q1wc.js → model-9k9q9h2y.js} +11 -11
  119. package/dist/chunks/{schema-4krz84m7.js → model-9khz0wq9.js} +7 -7
  120. package/dist/chunks/{schema-hmankmc5.js → model-9sgn6a71.js} +26 -26
  121. package/dist/chunks/{schema-1aqqzjqd.js → model-9t5vtgd8.js} +17 -17
  122. package/dist/chunks/{schema-9zwexsxs.js → model-9zwexsxs.js} +2 -2
  123. package/dist/chunks/{schema-hretfjjx.js → model-a3fn0gmm.js} +2 -2
  124. package/dist/chunks/{schema-gm3gbk7j.js → model-a3tm4wjw.js} +34 -34
  125. package/dist/chunks/{schema-nh4zw8dy.js → model-a5d8v0q4.js} +32 -32
  126. package/dist/chunks/{schema-ekp8nq7b.js → model-a5rej8c4.js} +28 -28
  127. package/dist/chunks/{schema-jm1f39t7.js → model-aagm5cbn.js} +36 -36
  128. package/dist/chunks/{schema-vz5bqa0f.js → model-ahenw0f4.js} +5 -5
  129. package/dist/chunks/{schema-xdgew5ya.js → model-am5a7svf.js} +4 -4
  130. package/dist/chunks/{schema-jahxfc61.js → model-ay6wrfq3.js} +9 -9
  131. package/dist/chunks/{schema-3cbjf1nt.js → model-ayjs7tqn.js} +2 -2
  132. package/dist/chunks/{schema-b26ddj6h.js → model-b26ddj6h.js} +4 -4
  133. package/dist/chunks/{schema-b4k47k2s.js → model-b4k47k2s.js} +2 -2
  134. package/dist/chunks/{schema-eempz8bw.js → model-b6b58phx.js} +27 -27
  135. package/dist/chunks/{schema-zbng777a.js → model-bffykna6.js} +5 -5
  136. package/dist/chunks/{schema-3bsk4n41.js → model-bj9jxw1d.js} +19 -19
  137. package/dist/chunks/{schema-qpvrrhfg.js → model-br010nc4.js} +23 -23
  138. package/dist/chunks/{schema-bstexjd6.js → model-bstexjd6.js} +1 -1
  139. package/dist/chunks/{schema-7mpf854e.js → model-by3zbw0c.js} +20 -20
  140. package/dist/chunks/{schema-zpdbqgja.js → model-by8ty0bx.js} +4 -4
  141. package/dist/chunks/{schema-26fy3zdr.js → model-c8j7dnn2.js} +21 -21
  142. package/dist/chunks/{schema-j45pbb2b.js → model-cagdk6e6.js} +4 -4
  143. package/dist/chunks/{schema-qen42n7m.js → model-cbssh99t.js} +6 -6
  144. package/dist/chunks/{schema-kg1jhe5b.js → model-cbts0apv.js} +16 -16
  145. package/dist/chunks/{schema-px1jwg4z.js → model-ccq6qsk8.js} +33 -33
  146. package/dist/chunks/{schema-x08hk12p.js → model-ce7s1pbp.js} +25 -25
  147. package/dist/chunks/{schema-c6x7d2ts.js → model-cpvd08na.js} +4 -4
  148. package/dist/chunks/{schema-2bhf5fzs.js → model-cwj7f37j.js} +4 -4
  149. package/dist/chunks/{schema-cwrgdav8.js → model-cwrgdav8.js} +2 -2
  150. package/dist/chunks/{schema-3zdj44x7.js → model-d3308ckt.js} +35 -35
  151. package/dist/chunks/{schema-d4v9tmah.js → model-d4v9tmah.js} +2 -2
  152. package/dist/chunks/{schema-my9bcdye.js → model-dhpx0ztf.js} +44 -44
  153. package/dist/chunks/{schema-dt77769w.js → model-dt77769w.js} +1 -1
  154. package/dist/chunks/{schema-5bvdtq3a.js → model-e0y7zfw7.js} +17 -17
  155. package/dist/chunks/{schema-r7s4amkf.js → model-e7qryzfw.js} +21 -21
  156. package/dist/chunks/{schema-d4ya8xdt.js → model-eft32nj2.js} +22 -22
  157. package/dist/chunks/{schema-26qpn291.js → model-ekj2k84j.js} +3 -3
  158. package/dist/chunks/{schema-eqw4pqj1.js → model-eqw4pqj1.js} +2 -2
  159. package/dist/chunks/{schema-p5f5wvc6.js → model-etbj7259.js} +9 -9
  160. package/dist/chunks/{schema-cps4cmre.js → model-ewn6818x.js} +12 -12
  161. package/dist/chunks/{schema-5d8m3jk5.js → model-f0t59cqk.js} +16 -16
  162. package/dist/chunks/{schema-sjtm08sb.js → model-f1kpf9tg.js} +6 -6
  163. package/dist/chunks/{schema-75pfzghc.js → model-f2t3k20r.js} +10 -10
  164. package/dist/chunks/{schema-5vp7djrs.js → model-f7qbn273.js} +26 -26
  165. package/dist/chunks/{schema-z244sk7m.js → model-f7r7m9p6.js} +9 -9
  166. package/dist/chunks/{schema-hzyabs26.js → model-f8n5d6m9.js} +83 -83
  167. package/dist/chunks/{schema-zzz646na.js → model-fa9zh0hf.js} +8 -8
  168. package/dist/chunks/{schema-1n2wt30b.js → model-fdtp6zbm.js} +11 -11
  169. package/dist/chunks/{schema-fg9p65nk.js → model-fg9p65nk.js} +2 -2
  170. package/dist/chunks/{schema-5jjne4g5.js → model-fvgj1da1.js} +7 -7
  171. package/dist/chunks/{schema-7h5yv299.js → model-fvsmnwd4.js} +9 -9
  172. package/dist/chunks/{schema-vpa2j03j.js → model-g2njb55f.js} +8 -8
  173. package/dist/chunks/{schema-gbjdnr5j.js → model-gbjdnr5j.js} +2 -2
  174. package/dist/chunks/{schema-vqz1w45k.js → model-gc6rk9wr.js} +6 -6
  175. package/dist/chunks/{schema-r9r1hv6r.js → model-gfjve02f.js} +4 -4
  176. package/dist/chunks/{schema-ghrv1g9c.js → model-ghrv1g9c.js} +1 -1
  177. package/dist/chunks/{schema-zvs0kzc5.js → model-gj7y0tfs.js} +5 -5
  178. package/dist/chunks/{schema-r6wb84tj.js → model-gr0bm0f7.js} +29 -29
  179. package/dist/chunks/{schema-wqff1vx6.js → model-h0bhactx.js} +7 -7
  180. package/dist/chunks/{schema-y83y93hb.js → model-h91tf95k.js} +12 -12
  181. package/dist/chunks/{schema-a1y0gagk.js → model-h940dy85.js} +3 -3
  182. package/dist/chunks/{schema-zgtdwdax.js → model-hfdaj0h9.js} +17 -17
  183. package/dist/chunks/{schema-v6v5n2yq.js → model-hfjxjgrv.js} +13 -13
  184. package/dist/chunks/{schema-hgzwgvze.js → model-hgzwgvze.js} +2 -2
  185. package/dist/chunks/{schema-k314sxn6.js → model-hhwtx70h.js} +10 -10
  186. package/dist/chunks/model-hjs1bv3x.js +273 -0
  187. package/dist/chunks/{schema-w6af1eav.js → model-hqw6s7vg.js} +41 -41
  188. package/dist/chunks/{schema-rxjp9ywm.js → model-hvfme911.js} +6 -6
  189. package/dist/chunks/{schema-xacrkbdt.js → model-j1zpf99x.js} +7 -7
  190. package/dist/chunks/{schema-7qjyv4b5.js → model-j7cndtze.js} +9 -9
  191. package/dist/chunks/{schema-jm70asfg.js → model-jm70asfg.js} +1 -1
  192. package/dist/chunks/{schema-mjh13j51.js → model-k25vwq5p.js} +59 -59
  193. package/dist/chunks/{schema-n1871bnv.js → model-k413tq6h.js} +40 -40
  194. package/dist/chunks/{schema-wk2hhfay.js → model-k7rtwba0.js} +22 -22
  195. package/dist/chunks/{schema-67wwskyb.js → model-kbgs7tyr.js} +4 -4
  196. package/dist/chunks/{schema-8y7m8t19.js → model-kcxeskpv.js} +32 -32
  197. package/dist/chunks/{schema-cz64vtt7.js → model-kf9pbwfw.js} +41 -41
  198. package/dist/chunks/{schema-c3x56fbb.js → model-krmt0h2w.js} +18 -18
  199. package/dist/chunks/{schema-kt3bjfbg.js → model-kt3bjfbg.js} +1 -1
  200. package/dist/chunks/{schema-6jeqf2ta.js → model-ktkyce3z.js} +5 -5
  201. package/dist/chunks/{schema-djfnttkh.js → model-kve8t19d.js} +9 -9
  202. package/dist/chunks/{schema-kzczzf4v.js → model-kzczzf4v.js} +1 -1
  203. package/dist/chunks/{schema-m1714858.js → model-m1714858.js} +1 -1
  204. package/dist/chunks/{schema-8rewpzhr.js → model-m3axgt35.js} +19 -19
  205. package/dist/chunks/{schema-ysf45hfb.js → model-m3bkjmxb.js} +33 -33
  206. package/dist/chunks/{schema-wvdkrrmq.js → model-m5nv7m71.js} +30 -30
  207. package/dist/chunks/{schema-6c7sgph9.js → model-m88ft9j9.js} +4 -4
  208. package/dist/chunks/{schema-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  209. package/dist/chunks/{schema-8z6m94af.js → model-mb7mbhnz.js} +3 -3
  210. package/dist/chunks/{schema-1r0h7dcd.js → model-mbd12qs5.js} +11 -11
  211. package/dist/chunks/{schema-bdv8sqrq.js → model-me215f18.js} +1 -1
  212. package/dist/chunks/{schema-rtx9dw6y.js → model-metcvwkm.js} +2 -2
  213. package/dist/chunks/{schema-6jr0bk4e.js → model-mn8tqb4h.js} +9 -9
  214. package/dist/chunks/{schema-yen64j8h.js → model-mpjxpg35.js} +23 -23
  215. package/dist/chunks/{schema-msd2a3qm.js → model-msd2a3qm.js} +4 -4
  216. package/dist/chunks/{schema-c32tazex.js → model-my936y1m.js} +12 -12
  217. package/dist/chunks/{schema-hc0t8k9e.js → model-myt9fkc7.js} +6 -6
  218. package/dist/chunks/{schema-9ntyjr0x.js → model-mzn2a4s9.js} +52 -52
  219. package/dist/chunks/{schema-3spf441s.js → model-n3j33rb6.js} +4 -4
  220. package/dist/chunks/{schema-ykt7cx5b.js → model-n92r3whm.js} +11 -11
  221. package/dist/chunks/{schema-43ckntww.js → model-nbqqe8xw.js} +26 -26
  222. package/dist/chunks/{schema-98t65f00.js → model-nfaz60sz.js} +6 -6
  223. package/dist/chunks/{schema-vmffp9hq.js → model-nk9akxx5.js} +2 -2
  224. package/dist/chunks/{schema-n95h3yp2.js → model-np0jxeq5.js} +11 -11
  225. package/dist/chunks/{schema-dbatw319.js → model-nq1mg43n.js} +3 -3
  226. package/dist/chunks/{schema-stsmee1w.js → model-nr1zwmm0.js} +4 -4
  227. package/dist/chunks/{schema-gzmsa05z.js → model-nsbjhe4d.js} +18 -18
  228. package/dist/chunks/{schema-8drqbk3r.js → model-p3d2bavg.js} +16 -16
  229. package/dist/chunks/{schema-42g0h6cf.js → model-p3mc3rwb.js} +3 -3
  230. package/dist/chunks/{schema-t1pejg4m.js → model-pgeamhre.js} +17 -17
  231. package/dist/chunks/{schema-88kypjvy.js → model-pgqxr0th.js} +4 -4
  232. package/dist/chunks/{schema-xaqfm906.js → model-pkg4x22g.js} +2 -2
  233. package/dist/chunks/{schema-pknna89w.js → model-pknna89w.js} +1 -1
  234. package/dist/chunks/{schema-a9kkqc7j.js → model-ppp1a1w1.js} +16 -16
  235. package/dist/chunks/{schema-068p4esx.js → model-pt2f0jk2.js} +352 -352
  236. package/dist/chunks/{schema-sqrx5aq3.js → model-q2dmbysw.js} +7 -7
  237. package/dist/chunks/{schema-q42tzrxa.js → model-q42tzrxa.js} +1 -1
  238. package/dist/chunks/{schema-5xdgvpxd.js → model-q7srkfd6.js} +3 -3
  239. package/dist/chunks/{schema-9f3jsh1d.js → model-qh5g3qaw.js} +5 -5
  240. package/dist/chunks/model-qmh7vbk2.js +18 -0
  241. package/dist/chunks/{schema-qp7r0hxv.js → model-qp7r0hxv.js} +1 -1
  242. package/dist/chunks/{schema-hwh4ncss.js → model-qqsn6hfp.js} +5 -5
  243. package/dist/chunks/{schema-4bxhh7h8.js → model-qxr7hnvj.js} +13 -13
  244. package/dist/chunks/{schema-j9jvns0x.js → model-qy0mvb3m.js} +27 -27
  245. package/dist/chunks/{schema-zs5ctna9.js → model-qzwa5pge.js} +8 -8
  246. package/dist/chunks/{schema-ae1yse5b.js → model-r14wyr3w.js} +8 -8
  247. package/dist/chunks/model-r3p2wjdh.js +26 -0
  248. package/dist/chunks/{schema-4f25tdd0.js → model-r542h3bh.js} +5 -5
  249. package/dist/chunks/{schema-wea2fgd6.js → model-r5a4enwn.js} +8 -8
  250. package/dist/chunks/{schema-v68s1kbg.js → model-r70fc8q7.js} +16 -16
  251. package/dist/chunks/{schema-9zg392cc.js → model-r7p2nbf1.js} +18 -18
  252. package/dist/chunks/{schema-20x9eck3.js → model-r90z6zhq.js} +40 -40
  253. package/dist/chunks/{schema-yx7jjv83.js → model-ra34yqmw.js} +6 -6
  254. package/dist/chunks/{schema-t570dzwf.js → model-raamw8fs.js} +18 -18
  255. package/dist/chunks/{schema-rb9dy4dg.js → model-rb9dy4dg.js} +1 -1
  256. package/dist/chunks/{schema-6wghq4dw.js → model-rcsbmygy.js} +25 -25
  257. package/dist/chunks/{schema-2tw700xj.js → model-remxw044.js} +1 -1
  258. package/dist/chunks/{schema-rgc9cx3e.js → model-rgc9cx3e.js} +2 -2
  259. package/dist/chunks/{schema-px7qpgcn.js → model-rj7j5fvs.js} +4 -4
  260. package/dist/chunks/{schema-11v4pf0y.js → model-rjc0e4t0.js} +20 -20
  261. package/dist/chunks/{schema-rt5dr6hb.js → model-rt5dr6hb.js} +1 -1
  262. package/dist/chunks/{schema-q69ep0st.js → model-rt912mbg.js} +25 -25
  263. package/dist/chunks/{schema-4a6v035m.js → model-rtkfrg4c.js} +17 -17
  264. package/dist/chunks/{schema-7s71rvzj.js → model-rvmghfg9.js} +12 -12
  265. package/dist/chunks/{schema-sg6pcgfg.js → model-ryr33a7c.js} +17 -17
  266. package/dist/chunks/{schema-2a9gbc7r.js → model-s5va80fv.js} +17 -17
  267. package/dist/chunks/{schema-02hqzv7v.js → model-s65cmm33.js} +45 -45
  268. package/dist/chunks/{schema-5bevz5wx.js → model-s8fvhn4h.js} +4 -4
  269. package/dist/chunks/{schema-sbya78hr.js → model-sbya78hr.js} +1 -1
  270. package/dist/chunks/{schema-anvcme1c.js → model-sf9y72b7.js} +4 -4
  271. package/dist/chunks/{schema-hd6esjpp.js → model-sphvsfsr.js} +10 -10
  272. package/dist/chunks/{schema-4f0zf85j.js → model-ss0ndc15.js} +10 -10
  273. package/dist/chunks/{schema-4vzr2b15.js → model-stbett4v.js} +3 -3
  274. package/dist/chunks/{schema-hetg91zk.js → model-stmzw2v7.js} +5 -5
  275. package/dist/chunks/{schema-svcy3p9a.js → model-svcy3p9a.js} +1 -1
  276. package/dist/chunks/{schema-tbpn7jtk.js → model-tbpn7jtk.js} +1 -1
  277. package/dist/chunks/{schema-tczq8hjw.js → model-tczq8hjw.js} +1 -1
  278. package/dist/chunks/{schema-cwzxgq4r.js → model-tevveh3n.js} +35 -35
  279. package/dist/chunks/{schema-tg7s7b5t.js → model-tg7s7b5t.js} +1 -1
  280. package/dist/chunks/{schema-7d7ft0wg.js → model-tjk7q11w.js} +13 -13
  281. package/dist/chunks/{schema-s2m8shgg.js → model-tktfk7r3.js} +10 -10
  282. package/dist/chunks/{schema-tr8x705m.js → model-tr8x705m.js} +1 -1
  283. package/dist/chunks/{schema-nkjg7sax.js → model-ttmm5gr6.js} +10 -10
  284. package/dist/chunks/{schema-4p8b0s43.js → model-tvbp6ax4.js} +15 -15
  285. package/dist/chunks/{schema-tvtps2q9.js → model-tvtps2q9.js} +1 -1
  286. package/dist/chunks/{schema-twssxy5n.js → model-twssxy5n.js} +2 -2
  287. package/dist/chunks/{schema-2zcmn93b.js → model-tyycnx8n.js} +50 -50
  288. package/dist/chunks/{schema-v2r1d0zg.js → model-v2r1d0zg.js} +1 -1
  289. package/dist/chunks/{schema-4t0fvyck.js → model-v3d8wtdt.js} +10 -10
  290. package/dist/chunks/{schema-ttyacz3n.js → model-v6zdqbgs.js} +18 -18
  291. package/dist/chunks/{schema-xrxq5n47.js → model-v727gcv0.js} +9 -9
  292. package/dist/chunks/{schema-smy7v48d.js → model-v82zsv82.js} +8 -8
  293. package/dist/chunks/{schema-gc7y5amy.js → model-vcsx8vbf.js} +7 -7
  294. package/dist/chunks/{schema-vjf35v1f.js → model-vjf35v1f.js} +1 -1
  295. package/dist/chunks/{schema-4ya4zdjh.js → model-vkq56ka5.js} +21 -21
  296. package/dist/chunks/{schema-vvppee7m.js → model-vqq0nw69.js} +16 -16
  297. package/dist/chunks/{schema-vpq88xaq.js → model-vsa1az0w.js} +16 -16
  298. package/dist/chunks/{schema-22pyhvsf.js → model-vwm6fdyp.js} +30 -30
  299. package/dist/chunks/{schema-ywshbe5e.js → model-vzmn4kft.js} +28 -28
  300. package/dist/chunks/{schema-w2eysc6j.js → model-w2eysc6j.js} +2 -2
  301. package/dist/chunks/{schema-fq7vbn4s.js → model-w2vzp9j5.js} +9 -9
  302. package/dist/chunks/{schema-f1b6qn1g.js → model-w392gvqw.js} +8 -8
  303. package/dist/chunks/{schema-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  304. package/dist/chunks/{schema-k9xamp5p.js → model-w5pqf8b7.js} +31 -31
  305. package/dist/chunks/{schema-bybfhncg.js → model-w6vg8qxy.js} +5 -5
  306. package/dist/chunks/{schema-wakvkjy4.js → model-wakvkjy4.js} +1 -1
  307. package/dist/chunks/{schema-h78vwvm2.js → model-wcxqhytp.js} +7 -7
  308. package/dist/chunks/{schema-wd87259q.js → model-wd87259q.js} +1 -1
  309. package/dist/chunks/{schema-nx4vzyjd.js → model-wegkxhrn.js} +2 -2
  310. package/dist/chunks/{schema-kr0h39da.js → model-wezrjeyh.js} +15 -15
  311. package/dist/chunks/{schema-jg11hrrc.js → model-wfdx5ztx.js} +4 -4
  312. package/dist/chunks/{schema-fdx8q17g.js → model-wprv5e0c.js} +9 -9
  313. package/dist/chunks/{schema-w687dnns.js → model-wr3re1en.js} +4 -4
  314. package/dist/chunks/{schema-bmzbb9x5.js → model-wr7bjqf6.js} +10 -10
  315. package/dist/chunks/{schema-c7cw818c.js → model-wt99tj4q.js} +5 -5
  316. package/dist/chunks/{schema-6x982fjf.js → model-wznk9vg6.js} +19 -19
  317. package/dist/chunks/{schema-cqexwvrh.js → model-x0afmz69.js} +5 -5
  318. package/dist/chunks/{schema-n3nmssvp.js → model-x41w2g5z.js} +19 -19
  319. package/dist/chunks/{schema-40gwjjsw.js → model-x70req0v.js} +42 -42
  320. package/dist/chunks/{schema-2b40rs3n.js → model-x9sa2vw4.js} +22 -22
  321. package/dist/chunks/{schema-xezdzwfx.js → model-xc08sm7v.js} +12 -12
  322. package/dist/chunks/{schema-859w1rtj.js → model-xjbsd7zy.js} +9 -9
  323. package/dist/chunks/{schema-e1tser6y.js → model-xmd1xbsv.js} +10 -10
  324. package/dist/chunks/{schema-1a3fcb7v.js → model-xsgzmtt3.js} +21 -21
  325. package/dist/chunks/{schema-n320gsn2.js → model-xvn8mnch.js} +4 -4
  326. package/dist/chunks/{schema-n1jbxack.js → model-xxrnkfxa.js} +3 -3
  327. package/dist/chunks/{schema-xxschbft.js → model-xxschbft.js} +1 -1
  328. package/dist/chunks/{schema-y45hqcp7.js → model-xy5k248r.js} +13 -13
  329. package/dist/chunks/{schema-xz07m27x.js → model-xz07m27x.js} +2 -2
  330. package/dist/chunks/model-y32xxt00.js +16 -0
  331. package/dist/chunks/{schema-yb20nhc3.js → model-yb20nhc3.js} +1 -1
  332. package/dist/chunks/{schema-wwrejvzt.js → model-yb81b84g.js} +17 -17
  333. package/dist/chunks/{schema-r67xp73y.js → model-yd6kjv4n.js} +26 -26
  334. package/dist/chunks/{schema-c5q2xc2q.js → model-ymkf5gg0.js} +11 -11
  335. package/dist/chunks/{schema-yr705xyq.js → model-yr705xyq.js} +1 -1
  336. package/dist/chunks/{schema-1araq4vk.js → model-yv7gfeb1.js} +22 -22
  337. package/dist/chunks/{schema-yvtc2x31.js → model-yvtc2x31.js} +1 -1
  338. package/dist/chunks/{schema-nkpjx6f9.js → model-yy1xpgfn.js} +6 -6
  339. package/dist/chunks/{schema-rqmqphdk.js → model-z2hjnym5.js} +79 -79
  340. package/dist/chunks/{schema-vre17ymf.js → model-z3nw929v.js} +9 -9
  341. package/dist/chunks/{schema-2y59be07.js → model-z5td0z29.js} +20 -20
  342. package/dist/chunks/{schema-49h8eg1d.js → model-z9prk17z.js} +18 -18
  343. package/dist/chunks/{schema-7vcgbxq3.js → model-z9y0h9gf.js} +9 -9
  344. package/dist/chunks/{schema-2pnarb80.js → model-zdtdjee6.js} +13 -13
  345. package/dist/chunks/{schema-j9nxzz3g.js → model-ze75qvmd.js} +3 -3
  346. package/dist/chunks/{schema-r0ftmkk6.js → model-zp38z90p.js} +5 -5
  347. package/dist/chunks/{schema-2dw474gn.js → model-zqv6p0j7.js} +22 -22
  348. package/dist/chunks/{schema-rjtcs3g0.js → model-zvp1emq8.js} +22 -22
  349. package/dist/chunks/{schema-a2t722ra.js → model-zy7n64tq.js} +4 -4
  350. package/dist/chunks/{schema-mh84av5k.js → model-zz2c832q.js} +10 -10
  351. package/dist/codemode/catalog.js +1 -1
  352. package/dist/codemode/execution.js +5 -5
  353. package/dist/codemode/fetch.js +148 -148
  354. package/dist/codemode/instructions.js +7 -7
  355. package/dist/codemode/tool.js +155 -155
  356. package/dist/command.js +92 -92
  357. package/dist/config/discovery.js +95 -95
  358. package/dist/config/integration.js +5 -5
  359. package/dist/config/managed.js +1 -1
  360. package/dist/config/markdown.js +1 -1
  361. package/dist/config/normalize.js +112 -112
  362. package/dist/config/plugin/agent.js +131 -131
  363. package/dist/config/plugin/command.js +238 -238
  364. package/dist/config/plugin/compaction.js +173 -173
  365. package/dist/config/plugin/compatibility.js +153 -153
  366. package/dist/config/plugin/entry-observer.js +1 -1
  367. package/dist/config/plugin/formatter.js +131 -131
  368. package/dist/config/plugin/image.js +130 -130
  369. package/dist/config/plugin/instruction.js +130 -130
  370. package/dist/config/plugin/location-watcher.js +132 -132
  371. package/dist/config/plugin/mcp.js +141 -141
  372. package/dist/config/plugin/policy.js +130 -130
  373. package/dist/config/plugin/provider.js +130 -130
  374. package/dist/config/plugin/reference.js +132 -132
  375. package/dist/config/plugin/shell.js +132 -132
  376. package/dist/config/plugin/skill-file.js +149 -149
  377. package/dist/config/plugin/skill-scan.js +1 -1
  378. package/dist/config/plugin/skill.js +156 -156
  379. package/dist/config/plugin/snapshot.js +130 -130
  380. package/dist/config/plugin/source.js +134 -134
  381. package/dist/config/plugin/tool-output.js +131 -131
  382. package/dist/config/plugin/websearch.js +131 -131
  383. package/dist/config/plugin/worktree.js +132 -132
  384. package/dist/config/variable.js +1 -1
  385. package/dist/config/watch.js +1 -1
  386. package/dist/config.js +131 -131
  387. package/dist/console-access.js +1 -1
  388. package/dist/credential/sql.js +2 -2
  389. package/dist/credential.js +94 -94
  390. package/dist/database/batch.js +1 -1
  391. package/dist/database/database.js +77 -77
  392. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  393. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  394. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  395. package/dist/database/drizzle/index.js +13 -13
  396. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  399. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  401. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  404. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  405. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  406. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  407. package/dist/database/drizzle.js +14 -14
  408. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  409. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  410. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  411. package/dist/database/migration/20260225215848_workspace.js +1 -1
  412. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  413. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  414. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  415. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  416. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  417. package/dist/database/migration/20260323234822_events.js +1 -1
  418. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  419. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  420. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  421. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  422. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  423. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  424. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  425. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  426. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  427. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  428. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  429. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  430. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  431. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  432. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  433. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  434. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  435. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  436. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  437. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  438. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  439. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  440. package/dist/database/migration/20260611035744_credential.js +1 -1
  441. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  442. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  443. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  444. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  445. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  446. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  447. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  448. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  449. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  450. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  451. package/dist/database/migration/20260812213948_worktree.js +1 -1
  452. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  453. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  454. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  455. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  456. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  457. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  458. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  459. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  460. package/dist/database/migration/20261025123711_blob.js +1 -1
  461. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  462. package/dist/database/migration/20261026223005_schedule.js +1 -1
  463. package/dist/database/migration/20261029002625_session_part.js +1 -1
  464. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  465. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  466. package/dist/database/migration/20261030054400_job.js +1 -1
  467. package/dist/database/migration.gen.js +60 -60
  468. package/dist/database/migration.js +76 -76
  469. package/dist/database/path.js +2 -2
  470. package/dist/database/schema.gen.js +1 -1
  471. package/dist/database/schema.sql.js +1 -1
  472. package/dist/database/v1-migration.bun.js +98 -98
  473. package/dist/database/v1-migration.js +1 -1
  474. package/dist/effect/app-node-builder.js +441 -441
  475. package/dist/effect/app-node-platform.js +2 -2
  476. package/dist/effect/keyed-mutex.js +1 -1
  477. package/dist/effect/websocket-constructor.js +1 -1
  478. package/dist/environment/driver.js +1 -1
  479. package/dist/environment/environment.js +105 -105
  480. package/dist/environment/exec-defaults.js +2 -2
  481. package/dist/environment/files.js +1 -1
  482. package/dist/environment/index.js +107 -107
  483. package/dist/environment/local.js +2 -2
  484. package/dist/environment/memory.js +2 -2
  485. package/dist/environment/unavailable.js +3 -3
  486. package/dist/event/sql.js +1 -1
  487. package/dist/event-logger.js +81 -81
  488. package/dist/file-access.js +160 -160
  489. package/dist/file-mutation.js +108 -108
  490. package/dist/file-retention.js +1 -1
  491. package/dist/file-write.js +160 -160
  492. package/dist/filesystem/fff.bun.js +2 -2
  493. package/dist/filesystem/fff.js +1 -1
  494. package/dist/filesystem/fff.node.js +2 -2
  495. package/dist/filesystem/fff.workerd.js +2 -2
  496. package/dist/filesystem/file-watch.js +86 -86
  497. package/dist/filesystem/location-watcher-policy.js +4 -4
  498. package/dist/filesystem/location-watcher.js +253 -253
  499. package/dist/filesystem/protected.js +1 -1
  500. package/dist/filesystem/search.js +113 -113
  501. package/dist/filesystem/watcher-binding.js +1 -1
  502. package/dist/filesystem/watcher.js +9 -9
  503. package/dist/filesystem.js +118 -118
  504. package/dist/flag.js +135 -135
  505. package/dist/form.js +85 -85
  506. package/dist/formatter/builtins.js +4 -4
  507. package/dist/formatter.js +100 -100
  508. package/dist/generate.js +118 -118
  509. package/dist/git.js +7 -7
  510. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  511. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  512. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  513. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  514. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  515. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  516. package/dist/github-copilot/copilot-provider.js +17 -17
  517. package/dist/github-copilot/models.js +112 -112
  518. package/dist/github-copilot/openai-compatible-error.js +1 -1
  519. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  520. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  521. package/dist/github-copilot/responses/openai-error.js +1 -1
  522. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  523. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  524. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  525. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  526. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  528. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  529. package/dist/image/notice.js +1 -1
  530. package/dist/image/photon-normalize.js +1 -1
  531. package/dist/image/photon-worker.js +1 -1
  532. package/dist/image/photon.js +4 -4
  533. package/dist/image.js +6 -6
  534. package/dist/instance/service.js +5 -5
  535. package/dist/instance.js +432 -432
  536. package/dist/instruction-discovery.js +93 -93
  537. package/dist/instructions/builtins.js +100 -100
  538. package/dist/instructions/index.js +3 -3
  539. package/dist/integration/connection.js +3 -3
  540. package/dist/integration.js +98 -98
  541. package/dist/job/list.js +7 -7
  542. package/dist/job/recovery.js +2 -2
  543. package/dist/job/sql.js +2 -2
  544. package/dist/job.js +90 -90
  545. package/dist/kv/sql.js +2 -2
  546. package/dist/kv.js +82 -82
  547. package/dist/location-activity.js +180 -180
  548. package/dist/location-lifecycle.js +153 -153
  549. package/dist/location-service-map.js +99 -99
  550. package/dist/location-services.js +429 -429
  551. package/dist/location.js +94 -94
  552. package/dist/managed-policy.js +3 -3
  553. package/dist/mcp/client.js +158 -158
  554. package/dist/mcp/connection.js +106 -106
  555. package/dist/mcp/index.js +122 -122
  556. package/dist/mcp/instructions.js +189 -189
  557. package/dist/mcp/oauth.js +89 -89
  558. package/dist/mcp/pool.js +112 -112
  559. package/dist/mcp/socket-client.js +1 -1
  560. package/dist/mcp/stdio.js +157 -157
  561. package/dist/mime.js +1 -1
  562. package/dist/modal/models.js +112 -112
  563. package/dist/model-resolver.js +112 -112
  564. package/dist/model-retry.js +1 -1
  565. package/dist/model.js +111 -111
  566. package/dist/models-dev/v1.js +1 -1
  567. package/dist/models-dev.js +121 -121
  568. package/dist/oauth/page.js +1 -1
  569. package/dist/permission/saved.js +91 -91
  570. package/dist/permission/sql.js +5 -5
  571. package/dist/permission.js +152 -152
  572. package/dist/persistent-pty/binary.bun.js +1 -1
  573. package/dist/persistent-pty/daemon.js +1 -1
  574. package/dist/persistent-pty/index.js +97 -97
  575. package/dist/persistent-pty/pty-binding.js +1 -1
  576. package/dist/persistent-pty.js +86 -86
  577. package/dist/plugin/agent.js +85 -85
  578. package/dist/plugin/command.js +117 -117
  579. package/dist/plugin/goal.js +3 -3
  580. package/dist/plugin/hooks.js +5 -5
  581. package/dist/plugin/host.js +244 -244
  582. package/dist/plugin/identity.js +5 -5
  583. package/dist/plugin/instance.js +3 -3
  584. package/dist/plugin/internal.js +410 -410
  585. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  586. package/dist/plugin/models-dev.js +110 -110
  587. package/dist/plugin/module.js +129 -129
  588. package/dist/plugin/optimize.js +2 -2
  589. package/dist/plugin/plan.js +149 -149
  590. package/dist/plugin/promise.js +1 -1
  591. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  592. package/dist/plugin/provider/azure.js +131 -131
  593. package/dist/plugin/provider/cerebras.js +1 -1
  594. package/dist/plugin/provider/chatgpt.js +133 -133
  595. package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
  596. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  597. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  598. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  599. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  600. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  601. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  602. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  603. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  604. package/dist/plugin/provider/claude-agent/index.js +148 -148
  605. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  606. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  608. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  609. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  610. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  612. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  613. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  614. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  615. package/dist/plugin/provider/claude-agent/session.js +112 -112
  616. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  617. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  619. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  620. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  623. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  625. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  626. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  627. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  628. package/dist/plugin/provider/configured.js +126 -126
  629. package/dist/plugin/provider/credential-settings.js +88 -88
  630. package/dist/plugin/provider/databricks.js +1 -1
  631. package/dist/plugin/provider/digitalocean.js +109 -109
  632. package/dist/plugin/provider/dynamic.js +2 -2
  633. package/dist/plugin/provider/github-copilot.js +111 -111
  634. package/dist/plugin/provider/gitlab.js +109 -109
  635. package/dist/plugin/provider/google-vertex.js +127 -127
  636. package/dist/plugin/provider/kilo.js +1 -1
  637. package/dist/plugin/provider/llmgateway.js +89 -89
  638. package/dist/plugin/provider/lmstudio.js +140 -140
  639. package/dist/plugin/provider/local.js +137 -137
  640. package/dist/plugin/provider/modal.js +108 -108
  641. package/dist/plugin/provider/neon.js +1 -1
  642. package/dist/plugin/provider/nvidia.js +1 -1
  643. package/dist/plugin/provider/ollama.js +140 -140
  644. package/dist/plugin/provider/openai-context-caps.js +106 -106
  645. package/dist/plugin/provider/openai.js +133 -133
  646. package/dist/plugin/provider/opencode-watches.js +4 -4
  647. package/dist/plugin/provider/opencode.js +161 -161
  648. package/dist/plugin/provider/openrouter.js +104 -104
  649. package/dist/plugin/provider/poe.js +90 -90
  650. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  651. package/dist/plugin/provider/refresh.js +87 -87
  652. package/dist/plugin/provider/sap-ai-core.js +104 -104
  653. package/dist/plugin/provider/sdk-factory.js +1 -1
  654. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  655. package/dist/plugin/provider/vllm.js +140 -140
  656. package/dist/plugin/provider/xai.js +104 -104
  657. package/dist/plugin/provider/zenmux.js +1 -1
  658. package/dist/plugin/provider.js +239 -239
  659. package/dist/plugin/sdk.js +87 -87
  660. package/dist/plugin/service.js +3 -3
  661. package/dist/plugin/skill.js +150 -150
  662. package/dist/plugin/source-directory.js +1 -1
  663. package/dist/plugin/supervisor.js +420 -420
  664. package/dist/plugin/tool-input-repair.js +2 -2
  665. package/dist/plugin/update.js +6 -6
  666. package/dist/plugin/vcs/git.js +99 -99
  667. package/dist/plugin/vcs/hg.js +99 -99
  668. package/dist/plugin/verbosity.js +106 -106
  669. package/dist/plugin/warming.js +130 -130
  670. package/dist/plugin/websearch/exa.js +6 -6
  671. package/dist/plugin/websearch/firecrawl.js +9 -9
  672. package/dist/plugin/websearch/index.js +10 -10
  673. package/dist/plugin/websearch/mcp.js +2 -2
  674. package/dist/plugin/websearch/parallel.js +9 -9
  675. package/dist/plugin/websearch/provider.js +1 -1
  676. package/dist/plugin/websearch/tavily.js +5 -5
  677. package/dist/plugin/websearch/tinyfish.js +9 -9
  678. package/dist/plugin.js +255 -255
  679. package/dist/project/icon.js +5 -5
  680. package/dist/project/schema.js +2 -2
  681. package/dist/project/sql.js +4 -4
  682. package/dist/project.js +93 -93
  683. package/dist/provider.js +110 -110
  684. package/dist/pty/protocol.js +1 -1
  685. package/dist/pty/ticket.js +1 -1
  686. package/dist/pty.js +111 -111
  687. package/dist/reference/instructions.js +101 -101
  688. package/dist/reference.js +103 -103
  689. package/dist/repository-cache.js +93 -93
  690. package/dist/repository.js +1 -1
  691. package/dist/ripgrep/binary.js +2 -2
  692. package/dist/ripgrep.js +111 -111
  693. package/dist/rpc.js +99 -99
  694. package/dist/schedule/check.js +249 -249
  695. package/dist/schedule/sql.js +6 -6
  696. package/dist/schedule.js +263 -263
  697. package/dist/schema.js +1 -1
  698. package/dist/session/affinity.js +1 -1
  699. package/dist/session/background.js +3 -3
  700. package/dist/session/blob.js +134 -134
  701. package/dist/session/command.js +85 -85
  702. package/dist/session/compaction.js +175 -175
  703. package/dist/session/context.js +205 -205
  704. package/dist/session/diff.js +101 -101
  705. package/dist/session/environment.js +5 -5
  706. package/dist/session/error.js +3 -3
  707. package/dist/session/event.js +1 -1
  708. package/dist/session/execution/restart.js +247 -247
  709. package/dist/session/execution.js +171 -171
  710. package/dist/session/generate.js +206 -206
  711. package/dist/session/history.js +139 -139
  712. package/dist/session/inbox.js +152 -152
  713. package/dist/session/info.js +3 -3
  714. package/dist/session/instruction-entry.js +90 -90
  715. package/dist/session/instruction-state.js +8 -8
  716. package/dist/session/instructions.js +142 -142
  717. package/dist/session/message-updater.js +4 -4
  718. package/dist/session/message.js +1 -1
  719. package/dist/session/model-request.js +169 -169
  720. package/dist/session/model-transport.js +7 -7
  721. package/dist/session/move.js +171 -171
  722. package/dist/session/projector.js +146 -146
  723. package/dist/session/prompt.js +151 -151
  724. package/dist/session/recent-text.js +1 -1
  725. package/dist/session/revert.js +142 -142
  726. package/dist/session/run-coordinator.js +3 -3
  727. package/dist/session/runner/index.js +3 -3
  728. package/dist/session/runner/llm.js +258 -258
  729. package/dist/session/runner/max-steps.js +1 -1
  730. package/dist/session/runner/model.js +113 -113
  731. package/dist/session/runner/publish-llm-event.js +153 -153
  732. package/dist/session/runner/retry.js +5 -5
  733. package/dist/session/runner/step.js +166 -166
  734. package/dist/session/runner/to-llm-message.js +140 -140
  735. package/dist/session/schema.js +5 -5
  736. package/dist/session/session.js +188 -188
  737. package/dist/session/shell.js +145 -145
  738. package/dist/session/skill.js +150 -150
  739. package/dist/session/sql.js +5 -5
  740. package/dist/session/stats.js +85 -85
  741. package/dist/session/store.js +145 -145
  742. package/dist/session/stored.js +2 -2
  743. package/dist/session/subagent-completion.js +1 -1
  744. package/dist/session/subagent-job.js +237 -237
  745. package/dist/session/system-prompt.js +1 -1
  746. package/dist/session/title.js +209 -209
  747. package/dist/session/to-session-error.js +152 -152
  748. package/dist/session/transfer.js +244 -244
  749. package/dist/session/usage.js +3 -3
  750. package/dist/session.js +239 -239
  751. package/dist/shared-cache.js +5 -5
  752. package/dist/shell/parse.js +6 -6
  753. package/dist/shell/result.js +1 -1
  754. package/dist/shell/scan.js +1 -1
  755. package/dist/shell/select.js +15 -15
  756. package/dist/shell.js +145 -145
  757. package/dist/skill/discovery.js +6 -6
  758. package/dist/skill/instructions.js +154 -154
  759. package/dist/skill.js +157 -157
  760. package/dist/snapshot.js +106 -106
  761. package/dist/state.js +1 -1
  762. package/dist/tool/html-markdown.js +1 -1
  763. package/dist/tool/http-body.js +1 -1
  764. package/dist/tool/mcp.js +188 -188
  765. package/dist/tool/plugin/artifact.js +236 -236
  766. package/dist/tool/plugin/edit.js +170 -170
  767. package/dist/tool/plugin/file-diff.js +1 -1
  768. package/dist/tool/plugin/glob.js +174 -174
  769. package/dist/tool/plugin/grep.js +173 -173
  770. package/dist/tool/plugin/image-generate.js +245 -245
  771. package/dist/tool/plugin/mcp-resource.js +169 -169
  772. package/dist/tool/plugin/opencode.js +166 -166
  773. package/dist/tool/plugin/patch.js +169 -169
  774. package/dist/tool/plugin/question.js +151 -151
  775. package/dist/tool/plugin/read.js +175 -175
  776. package/dist/tool/plugin/schedule.js +255 -255
  777. package/dist/tool/plugin/shell.js +239 -239
  778. package/dist/tool/plugin/skill.js +158 -158
  779. package/dist/tool/plugin/subagent.js +244 -244
  780. package/dist/tool/plugin/todo.js +156 -156
  781. package/dist/tool/plugin/webfetch.js +158 -158
  782. package/dist/tool/plugin/websearch.js +156 -156
  783. package/dist/tool/plugin/write.js +171 -171
  784. package/dist/tool/read-filesystem.js +116 -116
  785. package/dist/tool/runtime.js +1 -1
  786. package/dist/tool/search.js +109 -109
  787. package/dist/tool-output.js +7 -7
  788. package/dist/tool.js +165 -165
  789. package/dist/usage-limits.js +100 -100
  790. package/dist/util/error-summary.js +1 -1
  791. package/dist/util/git-executable.js +3 -3
  792. package/dist/util/lazy.js +1 -1
  793. package/dist/util/slug.js +1 -1
  794. package/dist/util/token.js +1 -1
  795. package/dist/util/which.js +1 -1
  796. package/dist/util/wildcard.js +1 -1
  797. package/dist/v1/config/agent.js +5 -5
  798. package/dist/v1/config/command.js +3 -3
  799. package/dist/v1/config/mcp.js +2 -2
  800. package/dist/v1/config/migrate.js +105 -105
  801. package/dist/v1/config/permission.js +3 -3
  802. package/dist/v1/config/plugin.js +1 -1
  803. package/dist/v1/config/provider-options.js +1 -1
  804. package/dist/v1/config/provider.js +4 -4
  805. package/dist/variant.js +106 -106
  806. package/dist/vcs/patch.js +1 -1
  807. package/dist/vcs.js +102 -102
  808. package/dist/voice.js +99 -99
  809. package/dist/websearch.js +101 -101
  810. package/dist/wellknown/plugin.js +87 -87
  811. package/dist/wellknown.js +88 -88
  812. package/dist/workspace/driver.js +5 -5
  813. package/dist/workspace/sql.js +1 -1
  814. package/dist/workspace.js +93 -93
  815. package/dist/worktree/directory.js +2 -2
  816. package/dist/worktree/git.js +11 -11
  817. package/dist/worktree/sql.js +5 -5
  818. package/dist/worktree/strategies.js +102 -102
  819. package/dist/worktree.js +113 -113
  820. package/package.json +8 -8
  821. package/dist/chunks/schema-365eavge.js +0 -16
  822. package/dist/chunks/schema-7yv5xa0k.js +0 -18
  823. package/dist/chunks/schema-eqvg8de0.js +0 -26
  824. package/dist/chunks/schema-v18tez6e.js +0 -273
  825. /package/dist/chunks/{schema-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  826. /package/dist/chunks/{schema-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  827. /package/dist/chunks/{schema-108x4f4w.js → model-108x4f4w.js} +0 -0
  828. /package/dist/chunks/{schema-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  829. /package/dist/chunks/{schema-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  830. /package/dist/chunks/{schema-1kah00gy.js → model-1kah00gy.js} +0 -0
  831. /package/dist/chunks/{schema-24dcb14g.js → model-24dcb14g.js} +0 -0
  832. /package/dist/chunks/{schema-2710q6r3.js → model-2710q6r3.js} +0 -0
  833. /package/dist/chunks/{schema-2bv980vf.js → model-2bv980vf.js} +0 -0
  834. /package/dist/chunks/{schema-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  835. /package/dist/chunks/{schema-359p4xyc.js → model-359p4xyc.js} +0 -0
  836. /package/dist/chunks/{schema-3af0jn4w.js → model-3af0jn4w.js} +0 -0
  837. /package/dist/chunks/{schema-3asan66x.js → model-3asan66x.js} +0 -0
  838. /package/dist/chunks/{schema-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  839. /package/dist/chunks/{schema-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  840. /package/dist/chunks/{schema-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  841. /package/dist/chunks/{schema-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  842. /package/dist/chunks/{schema-4qk9sjk2.js → model-4qk9sjk2.js} +0 -0
  843. /package/dist/chunks/{schema-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  844. /package/dist/chunks/{schema-53557ph1.js → model-53557ph1.js} +0 -0
  845. /package/dist/chunks/{schema-550bvhaj.js → model-550bvhaj.js} +0 -0
  846. /package/dist/chunks/{schema-5w3e23ze.js → model-5w3e23ze.js} +0 -0
  847. /package/dist/chunks/{schema-6agm2x70.js → model-6agm2x70.js} +0 -0
  848. /package/dist/chunks/{schema-6prwharc.js → model-6prwharc.js} +0 -0
  849. /package/dist/chunks/{schema-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
  850. /package/dist/chunks/{schema-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  851. /package/dist/chunks/{schema-7m9af43g.js → model-7m9af43g.js} +0 -0
  852. /package/dist/chunks/{schema-822emrt2.js → model-822emrt2.js} +0 -0
  853. /package/dist/chunks/{schema-84wd9syh.js → model-84wd9syh.js} +0 -0
  854. /package/dist/chunks/{schema-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  855. /package/dist/chunks/{schema-8n3pysct.js → model-8n3pysct.js} +0 -0
  856. /package/dist/chunks/{schema-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  857. /package/dist/chunks/{schema-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  858. /package/dist/chunks/{schema-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  859. /package/dist/chunks/{schema-af5trqkr.js → model-af5trqkr.js} +0 -0
  860. /package/dist/chunks/{schema-afrmfg78.js → model-afrmfg78.js} +0 -0
  861. /package/dist/chunks/{schema-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  862. /package/dist/chunks/{schema-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  863. /package/dist/chunks/{schema-beh6qq61.js → model-beh6qq61.js} +0 -0
  864. /package/dist/chunks/{schema-bhmrqjy3.js → model-bhmrqjy3.js} +0 -0
  865. /package/dist/chunks/{schema-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  866. /package/dist/chunks/{schema-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  867. /package/dist/chunks/{schema-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  868. /package/dist/chunks/{schema-cqv5kn06.js → model-cqv5kn06.js} +0 -0
  869. /package/dist/chunks/{schema-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  870. /package/dist/chunks/{schema-d9fn303g.js → model-d9fn303g.js} +0 -0
  871. /package/dist/chunks/{schema-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  872. /package/dist/chunks/{schema-dap0rakb.js → model-dap0rakb.js} +0 -0
  873. /package/dist/chunks/{schema-df08tz66.js → model-df08tz66.js} +0 -0
  874. /package/dist/chunks/{schema-dy18nga0.js → model-dy18nga0.js} +0 -0
  875. /package/dist/chunks/{schema-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  876. /package/dist/chunks/{schema-ean2d8b5.js → model-ean2d8b5.js} +0 -0
  877. /package/dist/chunks/{schema-ec1grn59.js → model-ec1grn59.js} +0 -0
  878. /package/dist/chunks/{schema-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  879. /package/dist/chunks/{schema-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  880. /package/dist/chunks/{schema-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  881. /package/dist/chunks/{schema-faypxj3z.js → model-faypxj3z.js} +0 -0
  882. /package/dist/chunks/{schema-fd410y7t.js → model-fd410y7t.js} +0 -0
  883. /package/dist/chunks/{schema-fkpq3x5p.js → model-fkpq3x5p.js} +0 -0
  884. /package/dist/chunks/{schema-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  885. /package/dist/chunks/{schema-g86h250q.js → model-g86h250q.js} +0 -0
  886. /package/dist/chunks/{schema-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  887. /package/dist/chunks/{schema-gftt206x.js → model-gftt206x.js} +0 -0
  888. /package/dist/chunks/{schema-hcxmzztb.js → model-hcxmzztb.js} +0 -0
  889. /package/dist/chunks/{schema-hk9envan.js → model-hk9envan.js} +0 -0
  890. /package/dist/chunks/{schema-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  891. /package/dist/chunks/{schema-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  892. /package/dist/chunks/{schema-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  893. /package/dist/chunks/{schema-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  894. /package/dist/chunks/{schema-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  895. /package/dist/chunks/{schema-jwr30sdr.js → model-jwr30sdr.js} +0 -0
  896. /package/dist/chunks/{schema-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  897. /package/dist/chunks/{schema-m18g726c.js → model-m18g726c.js} +0 -0
  898. /package/dist/chunks/{schema-mp448xyj.js → model-mp448xyj.js} +0 -0
  899. /package/dist/chunks/{schema-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  900. /package/dist/chunks/{schema-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  901. /package/dist/chunks/{schema-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  902. /package/dist/chunks/{schema-nh4v3znn.js → model-nh4v3znn.js} +0 -0
  903. /package/dist/chunks/{schema-njntx4h6.js → model-njntx4h6.js} +0 -0
  904. /package/dist/chunks/{schema-p71gwv9c.js → model-p71gwv9c.js} +0 -0
  905. /package/dist/chunks/{schema-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  906. /package/dist/chunks/{schema-q74kybfr.js → model-q74kybfr.js} +0 -0
  907. /package/dist/chunks/{schema-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  908. /package/dist/chunks/{schema-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  909. /package/dist/chunks/{schema-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  910. /package/dist/chunks/{schema-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  911. /package/dist/chunks/{schema-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  912. /package/dist/chunks/{schema-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  913. /package/dist/chunks/{schema-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  914. /package/dist/chunks/{schema-syrav9an.js → model-syrav9an.js} +0 -0
  915. /package/dist/chunks/{schema-t03h4f5z.js → model-t03h4f5z.js} +0 -0
  916. /package/dist/chunks/{schema-ty7weeps.js → model-ty7weeps.js} +0 -0
  917. /package/dist/chunks/{schema-ve7vex1e.js → model-ve7vex1e.js} +0 -0
  918. /package/dist/chunks/{schema-vtarvj67.js → model-vtarvj67.js} +0 -0
  919. /package/dist/chunks/{schema-w803qqfp.js → model-w803qqfp.js} +0 -0
  920. /package/dist/chunks/{schema-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  921. /package/dist/chunks/{schema-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  922. /package/dist/chunks/{schema-wtztk69x.js → model-wtztk69x.js} +0 -0
  923. /package/dist/chunks/{schema-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  924. /package/dist/chunks/{schema-x4th4bpe.js → model-x4th4bpe.js} +0 -0
  925. /package/dist/chunks/{schema-x61499pn.js → model-x61499pn.js} +0 -0
  926. /package/dist/chunks/{schema-y44na4kk.js → model-y44na4kk.js} +0 -0
  927. /package/dist/chunks/{schema-y8f7s663.js → model-y8f7s663.js} +0 -0
  928. /package/dist/chunks/{schema-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  929. /package/dist/chunks/{schema-z0h12gs8.js → model-z0h12gs8.js} +0 -0
  930. /package/dist/chunks/{schema-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  931. /package/dist/chunks/{schema-z9919s4g.js → model-z9919s4g.js} +0 -0
  932. /package/dist/chunks/{schema-zxpyjp51.js → model-zxpyjp51.js} +0 -0
  933. /package/dist/chunks/{schema-zz5vv3aq.js → model-zz5vv3aq.js} +0 -0
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  Service93
3
- } from "./schema-85vqx18w.js";
3
+ } from "./model-6apf8frj.js";
4
4
  import {
5
- Event20,
6
- Service89
7
- } from "./schema-ekp8nq7b.js";
5
+ Event19,
6
+ Service87
7
+ } from "./model-a5rej8c4.js";
8
8
  import {
9
9
  batch2
10
- } from "./schema-40y6dtc2.js";
10
+ } from "./model-40y6dtc2.js";
11
11
  import {
12
12
  suppliers2
13
- } from "./schema-xacrkbdt.js";
13
+ } from "./model-j1zpf99x.js";
14
14
  import {
15
15
  match3
16
- } from "./schema-1aqsckx4.js";
16
+ } from "./model-1aqsckx4.js";
17
17
  import {
18
18
  statements2,
19
19
  decision2,
20
20
  integrationResource2,
21
21
  accounts2
22
- } from "./schema-4vzr2b15.js";
22
+ } from "./model-stbett4v.js";
23
23
  import {
24
24
  Service79
25
- } from "./schema-cv4f5z77.js";
25
+ } from "./model-33gwp74t.js";
26
26
  import {
27
- Service45
28
- } from "./schema-k9xamp5p.js";
27
+ Service23
28
+ } from "./model-w5pqf8b7.js";
29
29
  import {
30
30
  observe2
31
- } from "./schema-tvtps2q9.js";
31
+ } from "./model-tvtps2q9.js";
32
32
  import {
33
33
  __export
34
- } from "./schema-9rqn6x4v.js";
34
+ } from "./model-9rqn6x4v.js";
35
35
 
36
36
  // src/config/plugin/policy.ts
37
37
  var exports_policy = {};
38
38
  __export(exports_policy, {
39
39
  ConfigPolicyPlugin: () => exports_policy,
40
- Plugin: () => Plugin29
40
+ Plugin: () => Plugin16
41
41
  });
42
42
  import { define } from "@opencode/plugin/effect/plugin";
43
43
  import { Effect, Stream } from "effect";
44
- var Plugin29 = define({
44
+ var Plugin16 = define({
45
45
  id: "opencode.config.policy",
46
46
  effect: Effect.fn(function* (ctx) {
47
47
  const config = yield* Service79;
48
- const credentials = yield* Service89;
49
- const websearch = yield* Service45;
48
+ const credentials = yield* Service87;
49
+ const websearch = yield* Service23;
50
50
  const bus = yield* Service93;
51
51
  const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload(), websearch.reload()], {
52
52
  discard: true
@@ -54,7 +54,7 @@ var Plugin29 = define({
54
54
  const loaded = yield* observe2(config, ctx.event, reload);
55
55
  const policies = () => statements2(loaded.entries);
56
56
  const current = { accounts: accounts2(yield* credentials.all()) };
57
- yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
57
+ yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
58
58
  const next = accounts2(yield* credentials.all());
59
59
  if (next.size === current.accounts.size && Array.from(next).every(([id, account]) => current.accounts.get(id) === account))
60
60
  return;
@@ -110,4 +110,4 @@ var Plugin29 = define({
110
110
  })
111
111
  });
112
112
 
113
- export { Plugin29, exports_policy };
113
+ export { Plugin16, exports_policy };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./schema-85vqx18w.js";
4
+ } from "./model-6apf8frj.js";
5
5
  import {
6
6
  Service92,
7
7
  node94
8
- } from "./schema-vz5bqa0f.js";
8
+ } from "./model-ahenw0f4.js";
9
9
  import {
10
10
  Service90,
11
11
  node92
12
- } from "./schema-xaqfm906.js";
12
+ } from "./model-pkg4x22g.js";
13
13
  import {
14
14
  Service80,
15
- node82
16
- } from "./schema-wm0yff3r.js";
15
+ node81
16
+ } from "./model-2qm5at19.js";
17
17
  import {
18
18
  awaitActivation2
19
- } from "./schema-7yv5xa0k.js";
19
+ } from "./model-qmh7vbk2.js";
20
20
  import {
21
- node23
22
- } from "./schema-wwrejvzt.js";
21
+ node22
22
+ } from "./model-yb81b84g.js";
23
23
  import {
24
24
  Service7,
25
- node8
26
- } from "./schema-9f3jsh1d.js";
25
+ node9
26
+ } from "./model-qh5g3qaw.js";
27
27
  import {
28
28
  __export
29
- } from "./schema-9rqn6x4v.js";
29
+ } from "./model-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher2 = {};
33
- __export(exports_location_watcher2, {
34
- LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service6,
36
- node: () => node7
32
+ var exports_location_watcher = {};
33
+ __export(exports_location_watcher, {
34
+ LocationWatcher: () => exports_location_watcher,
35
+ Service: () => Service2,
36
+ node: () => node2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service6 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service6, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
46
  const location = yield* Service90;
47
47
  const watcher = yield* Service80;
48
48
  const bus = yield* Service93;
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service6.of({});
103
+ return Service2.of({});
104
104
  }));
105
- var node7 = makeLocationNode({
106
- service: Service6,
105
+ var node2 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node82, FSUtil.node, node92, node94, node95, node23, node8]
108
+ deps: [node81, FSUtil.node, node92, node94, node95, node22, node9]
109
109
  });
110
110
 
111
- export { Service6, node7, exports_location_watcher2 };
111
+ export { Service2, node2, exports_location_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  useragent2
3
- } from "./schema-2m9jz6vw.js";
3
+ } from "./model-0hc5b915.js";
4
4
  import {
5
5
  OAuth3,
6
- Service89
7
- } from "./schema-ekp8nq7b.js";
6
+ Service87
7
+ } from "./model-a5rej8c4.js";
8
8
  import {
9
- ID18,
9
+ ID17,
10
10
  MethodID2
11
- } from "./schema-j9jvns0x.js";
11
+ } from "./model-qy0mvb3m.js";
12
12
  import {
13
- ID17,
13
+ ID16,
14
14
  mergeOverlay2
15
- } from "./schema-20r3fdkm.js";
15
+ } from "./model-3k9a42wj.js";
16
16
  import {
17
- ID16,
17
+ ID15,
18
18
  VariantID2,
19
- Info24
20
- } from "./schema-46ctycg0.js";
19
+ Info23
20
+ } from "./model-05bt7bhb.js";
21
21
  import {
22
22
  success2,
23
23
  error2
24
- } from "./schema-yb20nhc3.js";
24
+ } from "./model-yb20nhc3.js";
25
25
  import {
26
26
  get5
27
- } from "./schema-3nnrz6f6.js";
27
+ } from "./model-3nnrz6f6.js";
28
28
  import {
29
29
  configuredSettings2
30
- } from "./schema-6c7sgph9.js";
30
+ } from "./model-m88ft9j9.js";
31
31
  import {
32
32
  onSwitch2,
33
33
  reloadIfChanged2
34
- } from "./schema-sqrx5aq3.js";
34
+ } from "./model-q2dmbysw.js";
35
35
  import {
36
36
  activeCredential2
37
- } from "./schema-qen42n7m.js";
37
+ } from "./model-cbssh99t.js";
38
38
 
39
39
  // src/plugin/provider/chatgpt.ts
40
40
  import { define } from "@opencode/plugin/effect/plugin";
@@ -46,8 +46,8 @@ var issuer = "https://auth.openai.com";
46
46
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
47
47
  var resource = "https://api.openai.com/v1";
48
48
  var tokenSharingScope = "chatgpt.tokens.use.direct";
49
- var providerID = ID17.openai;
50
- var integrationID = ID18.make("openai");
49
+ var providerID = ID16.openai;
50
+ var integrationID = ID17.make("openai");
51
51
  var methodID = MethodID2.make("chatgpt-token-sharing");
52
52
  var modelCacheKey = (clientID) => `models:${clientID}`;
53
53
  var fallbackModels = new Set([
@@ -184,7 +184,7 @@ function listen(server) {
184
184
  var ChatGPTPlugin2 = define({
185
185
  id: "opencode.provider.chatgpt",
186
186
  effect: Effect.fn(function* (ctx) {
187
- const credentials = yield* Service89;
187
+ const credentials = yield* Service87;
188
188
  const loading = Semaphore.makeUnsafe(1);
189
189
  let chatgpt;
190
190
  let source;
@@ -198,7 +198,7 @@ var ChatGPTPlugin2 = define({
198
198
  yield* ctx.integration.transform((editor) => {
199
199
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
200
200
  });
201
- yield* Effect.forEach(yield* credentials.list(ID18.make("openai")), (entry) => {
201
+ yield* Effect.forEach(yield* credentials.list(ID17.make("openai")), (entry) => {
202
202
  const value = entry.value;
203
203
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
204
204
  return Effect.void;
@@ -327,7 +327,7 @@ function deriveModels2(remote, existing) {
327
327
  const found = byID.get(model.modelID);
328
328
  return found ? [deriveModel(found, model)] : [];
329
329
  }),
330
- ...remote.filter((model) => !known.has(ID16.make(model.slug))).map((model) => deriveModel(model, Info24.default(ID17.openai, ID16.make(model.slug))))
330
+ ...remote.filter((model) => !known.has(ID15.make(model.slug))).map((model) => deriveModel(model, Info23.default(ID16.openai, ID15.make(model.slug))))
331
331
  ];
332
332
  }
333
333
  function deriveModel(remote, previous) {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/session/background.ts
6
6
  var exports_background = {};
7
7
  __export(exports_background, {
8
8
  SessionBackground: () => exports_background,
9
- list: () => list3,
9
+ list: () => list2,
10
10
  outstanding: () => outstanding2
11
11
  });
12
12
  import { Effect } from "effect";
@@ -32,7 +32,7 @@ var outstanding2 = Effect.fnUntraced(function* (jobs, store, sessionID) {
32
32
  };
33
33
  });
34
34
  });
35
- var list3 = Effect.fn("SessionBackground.list")(function* (jobs, store, filter = {}) {
35
+ var list2 = Effect.fn("SessionBackground.list")(function* (jobs, store, filter = {}) {
36
36
  const items = (yield* jobs.backgroundJobs).filter((item) => (filter.kind === undefined || item.kind === filter.kind) && (filter.status === undefined || item.status === filter.status));
37
37
  if (filter.sessionID === undefined)
38
38
  return items;
@@ -61,4 +61,4 @@ var descends = Effect.fnUntraced(function* (store, parents, from, ancestor) {
61
61
  return false;
62
62
  });
63
63
 
64
- export { outstanding2, list3, exports_background };
64
+ export { outstanding2, list2, exports_background };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80,
3
- node82
4
- } from "./schema-wm0yff3r.js";
3
+ node81
4
+ } from "./model-2qm5at19.js";
5
5
  import {
6
6
  Service90,
7
7
  node92
8
- } from "./schema-xaqfm906.js";
8
+ } from "./model-pkg4x22g.js";
9
9
  import {
10
10
  Service79,
11
- node81
12
- } from "./schema-cv4f5z77.js";
11
+ node80
12
+ } from "./model-33gwp74t.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./schema-7weczvnd.js";
16
+ } from "./model-7weczvnd.js";
17
17
  import {
18
18
  isDirectorySource2
19
- } from "./schema-tvtps2q9.js";
19
+ } from "./model-tvtps2q9.js";
20
20
  import {
21
21
  __export
22
- } from "./schema-9rqn6x4v.js";
22
+ } from "./model-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/source.ts
25
25
  var exports_source = {};
26
26
  __export(exports_source, {
27
27
  ConfigPluginSource: () => exports_source,
28
- Service: () => Service2,
28
+ Service: () => Service4,
29
29
  empty: () => empty2,
30
- layer: () => layer4,
31
- node: () => node3
30
+ layer: () => layer5,
31
+ node: () => node6
32
32
  });
33
33
  import { FSUtil } from "@opencode/util/fs-util";
34
34
  import { Host } from "@opencode/plugin/host";
@@ -36,9 +36,9 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
37
37
  import path from "path";
38
38
  import { fileURLToPath, pathToFileURL } from "url";
39
- class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
39
+ class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
40
40
  }
41
- var layer4 = Layer.effect(Service2, Effect.gen(function* () {
41
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
42
42
  const config = yield* Service79;
43
43
  const watcher = yield* Service80;
44
44
  const fs = yield* FSUtil.Service;
@@ -61,7 +61,7 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
61
61
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
62
62
  }
63
63
  });
64
- return Service2.of({
64
+ return Service4.of({
65
65
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
66
66
  const entries = yield* config.entries();
67
67
  const operations = yield* scan(fs, location, entries);
@@ -73,14 +73,14 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
73
73
  })), Stream.fromPubSub(configuredChanges))
74
74
  });
75
75
  }));
76
- var node3 = makeLocationNode({
77
- service: Service2,
78
- layer: layer4,
79
- deps: [node81, FSUtil.node, node82, node92]
76
+ var node6 = makeLocationNode({
77
+ service: Service4,
78
+ layer: layer5,
79
+ deps: [node80, FSUtil.node, node81, node92]
80
80
  });
81
81
  var empty2 = makeLocationNode({
82
- service: Service2,
83
- layer: Layer.succeed(Service2, Service2.of({
82
+ service: Service4,
83
+ layer: Layer.succeed(Service4, Service4.of({
84
84
  operations: () => Effect.succeed([]),
85
85
  changes: () => Stream.never
86
86
  })),
@@ -138,4 +138,4 @@ var scan = Effect.fn("ConfigPluginSource.scan")(function* (fs, location, entries
138
138
  })).pipe(Effect.map((operations) => operations.flat()));
139
139
  });
140
140
 
141
- export { Service2, layer4, node3, empty2, exports_source };
141
+ export { Service4, layer5, node6, empty2, exports_source };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  onSwitch2
3
- } from "./schema-sqrx5aq3.js";
3
+ } from "./model-q2dmbysw.js";
4
4
  import {
5
5
  isLoggedIn2
6
- } from "./schema-2p60zmnr.js";
6
+ } from "./model-2p60zmnr.js";
7
7
  import {
8
8
  ID3
9
- } from "./schema-4a6v035m.js";
9
+ } from "./model-rtkfrg4c.js";
10
10
  import {
11
11
  __export
12
- } from "./schema-9rqn6x4v.js";
12
+ } from "./model-9rqn6x4v.js";
13
13
 
14
14
  // src/plugin/provider/claude-agent/integration.ts
15
15
  var exports_integration = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID20,
3
- Service89
4
- } from "./schema-ekp8nq7b.js";
2
+ ID18,
3
+ Service87
4
+ } from "./model-a5rej8c4.js";
5
5
  import {
6
6
  onSwitch2
7
- } from "./schema-sqrx5aq3.js";
7
+ } from "./model-q2dmbysw.js";
8
8
 
9
9
  // src/plugin/provider/credential-settings.ts
10
10
  import { Effect } from "effect";
@@ -16,10 +16,10 @@ var activeCredential2 = Effect.fnUntraced(function* (ctx, integrationID) {
16
16
  return { connection, credential };
17
17
  });
18
18
  var credentialSettings2 = Effect.fn("ProviderPlugin.credentialSettings")(function* (ctx, integrationID, select) {
19
- const credentials = yield* Service89;
19
+ const credentials = yield* Service87;
20
20
  const load = Effect.fn("ProviderPlugin.credentialSettings.load")(function* () {
21
21
  const connection = yield* ctx.integration.connection.active(integrationID);
22
- const stored = connection?.type === "credential" ? yield* credentials.get(ID20.make(connection.id)) : undefined;
22
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
23
23
  return stored ? select(stored.value) : {};
24
24
  });
25
25
  const current = { settings: yield* load() };
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  key3
3
- } from "./schema-n320gsn2.js";
3
+ } from "./model-xvn8mnch.js";
4
4
  import {
5
- ID17,
6
- Service86
7
- } from "./schema-20r3fdkm.js";
5
+ ID16,
6
+ Service85
7
+ } from "./model-3k9a42wj.js";
8
8
  import {
9
- load5,
10
- derive3
11
- } from "./schema-yen64j8h.js";
9
+ load4,
10
+ derive2
11
+ } from "./model-mpjxpg35.js";
12
12
  import {
13
- Service38,
13
+ Service48,
14
14
  fingerprint2
15
- } from "./schema-4xjdjntw.js";
15
+ } from "./model-6es1dp4c.js";
16
16
  import {
17
17
  start3
18
- } from "./schema-sqrx5aq3.js";
18
+ } from "./model-q2dmbysw.js";
19
19
  import {
20
20
  activeCredential2
21
- } from "./schema-qen42n7m.js";
21
+ } from "./model-cbssh99t.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect } from "effect";
25
25
  import { HttpClient } from "effect/http";
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
- var providerID = ID17.make("modal");
27
+ var providerID = ID16.make("modal");
28
28
  var ModalPlugin2 = define({
29
29
  id: "opencode.provider.modal",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const providers = yield* Service86;
32
- const cache = yield* Service38;
31
+ const providers = yield* Service85;
32
+ const cache = yield* Service48;
33
33
  const http = yield* HttpClient.HttpClient;
34
34
  const discovered = yield* start3({
35
35
  integrationID: "modal",
@@ -46,7 +46,7 @@ var ModalPlugin2 = define({
46
46
  const models = yield* cache.get({
47
47
  key: modelsKey(connection, apiKey, baseURL),
48
48
  ...options,
49
- load: (connection ? ctx.integration.connection.resolve(connection) : Effect.undefined).pipe(Effect.map((current) => current?.type === "key" ? current.key : connection ? undefined : process.env.MODAL_PROXY_TOKEN), Effect.flatMap((key) => key ? load5(http, baseURL, key) : Effect.fail(new Error("Modal connection has no API key"))), Effect.map((models) => models.toSorted((a, b) => a.id.localeCompare(b.id))))
49
+ load: (connection ? ctx.integration.connection.resolve(connection) : Effect.undefined).pipe(Effect.map((current) => current?.type === "key" ? current.key : connection ? undefined : process.env.MODAL_PROXY_TOKEN), Effect.flatMap((key) => key ? load4(http, baseURL, key) : Effect.fail(new Error("Modal connection has no API key"))), Effect.map((models) => models.toSorted((a, b) => a.id.localeCompare(b.id))))
50
50
  }).pipe(Effect.orElseSucceed(() => {
51
51
  return;
52
52
  }));
@@ -60,7 +60,7 @@ var ModalPlugin2 = define({
60
60
  return;
61
61
  evt.add({
62
62
  info: item.provider,
63
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
63
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
64
64
  sourceConnection: loaded.connection
65
65
  });
66
66
  });
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./schema-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  Service90
6
- } from "./schema-xaqfm906.js";
6
+ } from "./model-pkg4x22g.js";
7
7
  import {
8
- Service61
9
- } from "./schema-zgtdwdax.js";
8
+ Service71
9
+ } from "./model-hfdaj0h9.js";
10
10
  import {
11
11
  InvalidPatternError2,
12
- Service60
13
- } from "./schema-pe9vq5ts.js";
12
+ Service52
13
+ } from "./model-3h4bcgh0.js";
14
14
  import {
15
15
  DEFAULT_SEARCH_LIMIT2,
16
16
  GrepInput2,
17
17
  Entry2,
18
18
  Match2
19
- } from "./schema-r6wb84tj.js";
19
+ } from "./model-gr0bm0f7.js";
20
20
  import {
21
21
  invocation2,
22
- Service70
23
- } from "./schema-x4rjv40f.js";
22
+ Service73
23
+ } from "./model-09zcjbp5.js";
24
24
  import {
25
- Service49
26
- } from "./schema-d4ya8xdt.js";
25
+ Service70
26
+ } from "./model-eft32nj2.js";
27
27
  import {
28
28
  pathType2,
29
29
  bounded2
30
- } from "./schema-g5d82n9d.js";
30
+ } from "./model-8d047cw6.js";
31
31
  import {
32
32
  __export
33
- } from "./schema-9rqn6x4v.js";
33
+ } from "./model-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/grep.ts
36
36
  var exports_grep = {};
37
37
  __export(exports_grep, {
38
38
  GrepTool: () => exports_grep,
39
- Input: () => Input9,
40
- Output: () => Output6,
41
- Plugin: () => Plugin10,
42
- name: () => name9,
43
- toModelContent: () => toModelContent5
39
+ Input: () => Input13,
40
+ Output: () => Output10,
41
+ Plugin: () => Plugin33,
42
+ name: () => name13,
43
+ toModelContent: () => toModelContent6
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai/effect";
46
46
  import { Effect, Schema } from "effect";
47
47
  import path from "path";
48
- var name9 = "grep";
49
- var Input9 = Schema.Struct({
48
+ var name13 = "grep";
49
+ var Input13 = Schema.Struct({
50
50
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
51
51
  description: "Regular expression or literal text to match in file contents."
52
52
  }),
@@ -66,8 +66,8 @@ var Input9 = Schema.Struct({
66
66
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
67
67
  })
68
68
  });
69
- var Output6 = Schema.Array(Match2);
70
- var toModelContent5 = (matches, truncated = false) => {
69
+ var Output10 = Schema.Array(Match2);
70
+ var toModelContent6 = (matches, truncated = false) => {
71
71
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
72
72
  let current = "";
73
73
  for (const match of matches) {
@@ -84,25 +84,25 @@ var toModelContent5 = (matches, truncated = false) => {
84
84
  return lines.join(`
85
85
  `);
86
86
  };
87
- var Plugin10 = {
87
+ var Plugin33 = {
88
88
  id: "opencode.tool.grep",
89
89
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
90
- const environment = yield* Service61;
91
- const ripgrep = yield* Service60;
90
+ const environment = yield* Service71;
91
+ const ripgrep = yield* Service52;
92
92
  const location = yield* Service90;
93
- const access = yield* Service49;
94
- const permission = yield* Service70;
93
+ const access = yield* Service70;
94
+ const permission = yield* Service73;
95
95
  yield* ctx.tool.transform((editor) => editor.add({
96
- name: name9,
96
+ name: name13,
97
97
  options: { codemode: false },
98
98
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
99
- input: Input9,
100
- output: Output6,
99
+ input: Input13,
100
+ output: Output10,
101
101
  execute: (input, context) => Effect.gen(function* () {
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name9,
105
+ action: name13,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -139,7 +139,7 @@ var Plugin10 = {
139
139
  };
140
140
  }).pipe(Effect.map((result) => ({
141
141
  output: result.matches,
142
- content: toModelContent5(result.matches.map((match) => ({
142
+ content: toModelContent6(result.matches.map((match) => ({
143
143
  ...match,
144
144
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
145
145
  })), result.truncated),
@@ -149,4 +149,4 @@ var Plugin10 = {
149
149
  })
150
150
  };
151
151
 
152
- export { name9, Input9, Output6, toModelContent5, Plugin10, exports_grep };
152
+ export { name13, Input13, Output10, toModelContent6, Plugin33, exports_grep };