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

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 +86 -86
  8. package/dist/chunks/{flag-r7rb1c30.js → schema-02hqzv7v.js} +45 -45
  9. package/dist/chunks/{flag-6qvbbm8z.js → schema-068p4esx.js} +371 -371
  10. package/dist/chunks/{flag-z8hr8e7v.js → schema-09pq3b3z.js} +5 -5
  11. package/dist/chunks/{flag-0j7gp832.js → schema-0j7gp832.js} +1 -1
  12. package/dist/chunks/{flag-jqxg5spm.js → schema-0jmzsf4m.js} +11 -11
  13. package/dist/chunks/{flag-0ma9gw4f.js → schema-0ma9gw4f.js} +2 -2
  14. package/dist/chunks/{flag-esmmqr2r.js → schema-108n43cx.js} +37 -37
  15. package/dist/chunks/{flag-qtb74cpe.js → schema-11v4pf0y.js} +23 -23
  16. package/dist/chunks/{flag-krf10cfx.js → schema-13mbk8n3.js} +3 -3
  17. package/dist/chunks/{flag-dc4k9dtw.js → schema-1a3fcb7v.js} +29 -29
  18. package/dist/chunks/{flag-crf37bn8.js → schema-1aqqzjqd.js} +16 -16
  19. package/dist/chunks/{flag-1aqsckx4.js → schema-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{flag-q8b38pj7.js → schema-1araq4vk.js} +29 -29
  21. package/dist/chunks/{flag-5aadmexf.js → schema-1n2wt30b.js} +11 -11
  22. package/dist/chunks/{flag-jy6jhtn9.js → schema-1r0h7dcd.js} +15 -15
  23. package/dist/chunks/{flag-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{flag-1yq9hg58.js → schema-1yq9hg58.js} +1 -1
  25. package/dist/chunks/{flag-pxqvx5np.js → schema-1z5vznfb.js} +44 -44
  26. package/dist/chunks/{flag-2x3dh5kg.js → schema-20r3fdkm.js} +29 -29
  27. package/dist/chunks/{flag-hqxbrs6e.js → schema-20x9eck3.js} +37 -37
  28. package/dist/chunks/{flag-vm78n1xb.js → schema-22pyhvsf.js} +32 -32
  29. package/dist/chunks/{flag-bt9r6qej.js → schema-26fy3zdr.js} +28 -28
  30. package/dist/chunks/{flag-t92z0407.js → schema-26qpn291.js} +3 -3
  31. package/dist/chunks/{flag-tb2mrvc9.js → schema-26wfx3k0.js} +4 -4
  32. package/dist/chunks/{flag-1ep2p91f.js → schema-27w5k9zf.js} +2 -2
  33. package/dist/chunks/{flag-akev4tcy.js → schema-2a9gbc7r.js} +17 -17
  34. package/dist/chunks/{flag-whbekvnz.js → schema-2b40rs3n.js} +23 -23
  35. package/dist/chunks/{flag-e39xtrnv.js → schema-2bhf5fzs.js} +4 -4
  36. package/dist/chunks/{flag-ryhr0j4c.js → schema-2dw474gn.js} +14 -14
  37. package/dist/chunks/{flag-2fc7eemy.js → schema-2fc7eemy.js} +1 -1
  38. package/dist/chunks/{flag-kda55mjf.js → schema-2m9jz6vw.js} +10 -10
  39. package/dist/chunks/{flag-y7nmb5w5.js → schema-2ns5e8zk.js} +31 -31
  40. package/dist/chunks/{flag-2p60zmnr.js → schema-2p60zmnr.js} +2 -2
  41. package/dist/chunks/{flag-c8k7ng7p.js → schema-2pnarb80.js} +18 -18
  42. package/dist/chunks/{flag-nxv0qn3p.js → schema-2tw700xj.js} +1 -1
  43. package/dist/chunks/{flag-n2rwwq30.js → schema-2y59be07.js} +20 -20
  44. package/dist/chunks/{flag-p27bwnvr.js → schema-2zcmn93b.js} +64 -64
  45. package/dist/chunks/schema-365eavge.js +16 -0
  46. package/dist/chunks/{flag-nemnqzpn.js → schema-3bgf9gas.js} +4 -4
  47. package/dist/chunks/{flag-qas5yjh7.js → schema-3bsk4n41.js} +21 -21
  48. package/dist/chunks/{flag-ayjs7tqn.js → schema-3cbjf1nt.js} +2 -2
  49. package/dist/chunks/{flag-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{flag-bd883wqc.js → schema-3jzwv4qn.js} +23 -23
  51. package/dist/chunks/{flag-3nnrz6f6.js → schema-3nnrz6f6.js} +1 -1
  52. package/dist/chunks/{flag-n3j33rb6.js → schema-3spf441s.js} +4 -4
  53. package/dist/chunks/{flag-3y61gytp.js → schema-3zdj44x7.js} +31 -31
  54. package/dist/chunks/{flag-hddbd6m6.js → schema-40gwjjsw.js} +44 -44
  55. package/dist/chunks/{flag-6n1wf0xp.js → schema-40kv09wy.js} +10 -10
  56. package/dist/chunks/{flag-40y6dtc2.js → schema-40y6dtc2.js} +1 -1
  57. package/dist/chunks/{flag-8pg86m63.js → schema-42g0h6cf.js} +3 -3
  58. package/dist/chunks/{flag-jf97j8rr.js → schema-43ckntww.js} +28 -28
  59. package/dist/chunks/{flag-44pmzq9c.js → schema-44pmzq9c.js} +2 -2
  60. package/dist/chunks/{flag-5tsg0p07.js → schema-46ctycg0.js} +31 -31
  61. package/dist/chunks/{flag-jsrnmwcy.js → schema-49h8eg1d.js} +18 -18
  62. package/dist/chunks/{flag-2xzmefa0.js → schema-4a6v035m.js} +20 -20
  63. package/dist/chunks/{flag-7eg4x4j6.js → schema-4bxhh7h8.js} +15 -15
  64. package/dist/chunks/{flag-4dx1dgte.js → schema-4dx1dgte.js} +1 -1
  65. package/dist/chunks/{flag-z5nvgrxr.js → schema-4f0zf85j.js} +10 -10
  66. package/dist/chunks/{flag-4f25tdd0.js → schema-4f25tdd0.js} +1 -1
  67. package/dist/chunks/{flag-xad1gvt8.js → schema-4krz84m7.js} +7 -7
  68. package/dist/chunks/{flag-54gmcw0p.js → schema-4p8b0s43.js} +15 -15
  69. package/dist/chunks/{flag-4pyp9zr9.js → schema-4pyp9zr9.js} +1 -1
  70. package/dist/chunks/{flag-msf0rvct.js → schema-4t0fvyck.js} +14 -14
  71. package/dist/chunks/{flag-4v008n1t.js → schema-4v008n1t.js} +1 -1
  72. package/dist/chunks/{flag-m1231s5x.js → schema-4vzr2b15.js} +3 -3
  73. package/dist/chunks/{flag-xbjcy85w.js → schema-4xjdjntw.js} +8 -8
  74. package/dist/chunks/{flag-c4g6jnnc.js → schema-4ya4zdjh.js} +25 -25
  75. package/dist/chunks/{flag-a4mv72m9.js → schema-5bevz5wx.js} +4 -4
  76. package/dist/chunks/{flag-f5g1gp80.js → schema-5bvdtq3a.js} +20 -20
  77. package/dist/chunks/{flag-15218fxr.js → schema-5cw6sz18.js} +11 -11
  78. package/dist/chunks/{flag-k5ckk9r8.js → schema-5d8m3jk5.js} +15 -15
  79. package/dist/chunks/{flag-scp3z44w.js → schema-5jjne4g5.js} +7 -7
  80. package/dist/chunks/{flag-x1necfrd.js → schema-5kv53nmy.js} +6 -6
  81. package/dist/chunks/{flag-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
  82. package/dist/chunks/{flag-wsjmr3t1.js → schema-5tq0jeka.js} +12 -12
  83. package/dist/chunks/{flag-5k76wwnk.js → schema-5vp7djrs.js} +27 -27
  84. package/dist/chunks/{flag-5whx36p1.js → schema-5whx36p1.js} +1 -1
  85. package/dist/chunks/{flag-530xg6vw.js → schema-5xdgvpxd.js} +6 -6
  86. package/dist/chunks/{flag-8xz27cp9.js → schema-67wwskyb.js} +4 -4
  87. package/dist/chunks/{flag-krw0phax.js → schema-686fknyk.js} +36 -36
  88. package/dist/chunks/{flag-r0w98kdj.js → schema-6c7sgph9.js} +6 -6
  89. package/dist/chunks/{flag-7q2mwnxg.js → schema-6jeqf2ta.js} +5 -5
  90. package/dist/chunks/{flag-1jdfnha2.js → schema-6jr0bk4e.js} +8 -8
  91. package/dist/chunks/{flag-2fsd9jws.js → schema-6wghq4dw.js} +36 -36
  92. package/dist/chunks/{flag-d6hdbspf.js → schema-6x982fjf.js} +19 -19
  93. package/dist/chunks/{flag-agje4kmn.js → schema-6y2b864j.js} +4 -4
  94. package/dist/chunks/{flag-xh01vz4c.js → schema-75pfzghc.js} +14 -14
  95. package/dist/chunks/{flag-775hqbnd.js → schema-775hqbnd.js} +3 -3
  96. package/dist/chunks/{flag-48s0mctq.js → schema-78pqwty4.js} +56 -56
  97. package/dist/chunks/{flag-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  98. package/dist/chunks/{flag-tfk87ts6.js → schema-7cmb6eb6.js} +28 -28
  99. package/dist/chunks/{flag-27q4qgmv.js → schema-7d7ft0wg.js} +12 -12
  100. package/dist/chunks/{flag-e5gzkckm.js → schema-7h5yv299.js} +9 -9
  101. package/dist/chunks/{flag-z3za1g3d.js → schema-7mpf854e.js} +20 -20
  102. package/dist/chunks/{flag-yepd7x5v.js → schema-7nb8tm12.js} +5 -5
  103. package/dist/chunks/{flag-xg2v92w4.js → schema-7qjyv4b5.js} +9 -9
  104. package/dist/chunks/{flag-fw3d54es.js → schema-7s71rvzj.js} +11 -11
  105. package/dist/chunks/{flag-dg6pkt06.js → schema-7vcgbxq3.js} +9 -9
  106. package/dist/chunks/{flag-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
  107. package/dist/chunks/{flag-7weczvnd.js → schema-7weczvnd.js} +1 -1
  108. package/dist/chunks/schema-7yv5xa0k.js +18 -0
  109. package/dist/chunks/{flag-80pdk984.js → schema-80pdk984.js} +1 -1
  110. package/dist/chunks/{flag-mjrcsjpa.js → schema-859w1rtj.js} +9 -9
  111. package/dist/chunks/{flag-85jq8dht.js → schema-85jq8dht.js} +1 -1
  112. package/dist/chunks/{flag-rfz9ehj2.js → schema-85vqx18w.js} +14 -14
  113. package/dist/chunks/{flag-jy2czfqv.js → schema-88kypjvy.js} +4 -4
  114. package/dist/chunks/{flag-8b3vzgkx.js → schema-8b3vzgkx.js} +1 -1
  115. package/dist/chunks/{flag-ctvkzvzy.js → schema-8drqbk3r.js} +21 -21
  116. package/dist/chunks/{flag-yhjjh8bc.js → schema-8rewpzhr.js} +20 -20
  117. package/dist/chunks/{flag-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
  118. package/dist/chunks/{flag-9a57mt7y.js → schema-8y7m8t19.js} +38 -38
  119. package/dist/chunks/{flag-mb7mbhnz.js → schema-8z6m94af.js} +3 -3
  120. package/dist/chunks/{flag-8zv0xmg5.js → schema-8zv0xmg5.js} +1 -1
  121. package/dist/chunks/{flag-90w20xd3.js → schema-93twee3r.js} +8 -8
  122. package/dist/chunks/{flag-xe6pezxp.js → schema-963hk181.js} +7 -7
  123. package/dist/chunks/{flag-x7dr992x.js → schema-98t65f00.js} +6 -6
  124. package/dist/chunks/{flag-vt4r9rmy.js → schema-9f3jsh1d.js} +9 -9
  125. package/dist/chunks/{flag-1mgr176x.js → schema-9ntyjr0x.js} +57 -57
  126. package/dist/chunks/{flag-4krr2nde.js → schema-9vgs7jrt.js} +6 -6
  127. package/dist/chunks/{flag-s8ag18r3.js → schema-9zg392cc.js} +18 -18
  128. package/dist/chunks/{flag-61qraad9.js → schema-9zwexsxs.js} +5 -5
  129. package/dist/chunks/{flag-18w9rf6t.js → schema-a1y0gagk.js} +3 -3
  130. package/dist/chunks/{flag-atsdz8km.js → schema-a2t722ra.js} +4 -4
  131. package/dist/chunks/{flag-mh586mz7.js → schema-a9kkqc7j.js} +19 -19
  132. package/dist/chunks/{flag-e4wdkeae.js → schema-addcsn96.js} +5 -5
  133. package/dist/chunks/{flag-3k2f1fzx.js → schema-ae1yse5b.js} +10 -10
  134. package/dist/chunks/{flag-034tev2y.js → schema-aj7mw0zk.js} +2 -2
  135. package/dist/chunks/{flag-z080rjh6.js → schema-anvcme1c.js} +4 -4
  136. package/dist/chunks/{flag-2y0zgx14.js → schema-apg8hqv6.js} +22 -22
  137. package/dist/chunks/{flag-b26ddj6h.js → schema-b26ddj6h.js} +4 -4
  138. package/dist/chunks/{flag-7h22etv1.js → schema-b4k47k2s.js} +5 -5
  139. package/dist/chunks/{flag-8sxe6kv8.js → schema-bb3mmwvh.js} +2 -2
  140. package/dist/chunks/{flag-me215f18.js → schema-bdv8sqrq.js} +1 -1
  141. package/dist/chunks/{flag-cr4rfj9z.js → schema-bhfd478d.js} +4 -4
  142. package/dist/chunks/{flag-2j6b9fc2.js → schema-bmzbb9x5.js} +8 -8
  143. package/dist/chunks/{flag-bstexjd6.js → schema-bstexjd6.js} +1 -1
  144. package/dist/chunks/{flag-gc4cg58p.js → schema-bybfhncg.js} +5 -5
  145. package/dist/chunks/{flag-6pb6w246.js → schema-c32tazex.js} +14 -14
  146. package/dist/chunks/{flag-xv7g2e6c.js → schema-c3x56fbb.js} +18 -18
  147. package/dist/chunks/{flag-npvf18tt.js → schema-c5q2xc2q.js} +17 -17
  148. package/dist/chunks/{flag-0ahs07zn.js → schema-c6x7d2ts.js} +4 -4
  149. package/dist/chunks/{flag-c7cw818c.js → schema-c7cw818c.js} +2 -2
  150. package/dist/chunks/{flag-8gq4zt76.js → schema-ca3gkesr.js} +11 -11
  151. package/dist/chunks/{flag-yttt8yaa.js → schema-cps4cmre.js} +11 -11
  152. package/dist/chunks/{flag-gcwvq7an.js → schema-cqexwvrh.js} +5 -5
  153. package/dist/chunks/{flag-4p2a78wv.js → schema-cv4f5z77.js} +49 -49
  154. package/dist/chunks/{flag-cx5bqfs5.js → schema-cvddnmmh.js} +18 -18
  155. package/dist/chunks/{flag-cwrgdav8.js → schema-cwrgdav8.js} +2 -2
  156. package/dist/chunks/{flag-9wjxy1hh.js → schema-cwzxgq4r.js} +35 -35
  157. package/dist/chunks/{flag-jdwh5k8d.js → schema-cz64vtt7.js} +42 -42
  158. package/dist/chunks/{flag-d4v9tmah.js → schema-d4v9tmah.js} +2 -2
  159. package/dist/chunks/{flag-t70t8r9y.js → schema-d4ya8xdt.js} +25 -25
  160. package/dist/chunks/{flag-t48jrnqq.js → schema-dbatw319.js} +3 -3
  161. package/dist/chunks/{flag-trjv09tz.js → schema-dct3bmgw.js} +4 -4
  162. package/dist/chunks/{flag-p0v8tzm2.js → schema-djfnttkh.js} +13 -13
  163. package/dist/chunks/{flag-dt77769w.js → schema-dt77769w.js} +1 -1
  164. package/dist/chunks/{flag-xdv8px4q.js → schema-e1tser6y.js} +12 -12
  165. package/dist/chunks/{flag-e6b4sada.js → schema-eempz8bw.js} +27 -27
  166. package/dist/chunks/{flag-s7kkmpf3.js → schema-ekp8nq7b.js} +23 -23
  167. package/dist/chunks/schema-eqvg8de0.js +26 -0
  168. package/dist/chunks/{flag-eqw4pqj1.js → schema-eqw4pqj1.js} +2 -2
  169. package/dist/chunks/{flag-ycm7aaex.js → schema-f1b6qn1g.js} +8 -8
  170. package/dist/chunks/{flag-qk5sk9d1.js → schema-f4krjp8e.js} +5 -5
  171. package/dist/chunks/{flag-9g0n57w0.js → schema-fcv63w14.js} +32 -32
  172. package/dist/chunks/{flag-9mt6xtde.js → schema-fdx8q17g.js} +6 -6
  173. package/dist/chunks/{flag-fg9p65nk.js → schema-fg9p65nk.js} +2 -2
  174. package/dist/chunks/{flag-37qexgj9.js → schema-fq7vbn4s.js} +9 -9
  175. package/dist/chunks/{flag-g2p49j0f.js → schema-g4428mab.js} +25 -25
  176. package/dist/chunks/{flag-ypr9531w.js → schema-g5d82n9d.js} +3 -3
  177. package/dist/chunks/{flag-gbjdnr5j.js → schema-gbjdnr5j.js} +2 -2
  178. package/dist/chunks/{flag-fy6zdrgs.js → schema-gc7y5amy.js} +9 -9
  179. package/dist/chunks/{flag-ghrv1g9c.js → schema-ghrv1g9c.js} +1 -1
  180. package/dist/chunks/{flag-6xg0z2gt.js → schema-gm3gbk7j.js} +38 -38
  181. package/dist/chunks/{flag-534p3jq9.js → schema-gzmsa05z.js} +18 -18
  182. package/dist/chunks/{flag-ttwmyft8.js → schema-h78vwvm2.js} +7 -7
  183. package/dist/chunks/{flag-5ar0v554.js → schema-h9xvjfqn.js} +11 -11
  184. package/dist/chunks/{flag-sy9rxy5q.js → schema-hc0t8k9e.js} +6 -6
  185. package/dist/chunks/{flag-xrndcx13.js → schema-hd6esjpp.js} +23 -23
  186. package/dist/chunks/{flag-42t8ge4y.js → schema-hetg91zk.js} +5 -5
  187. package/dist/chunks/{flag-hgzwgvze.js → schema-hgzwgvze.js} +2 -2
  188. package/dist/chunks/{flag-hd9dcm1e.js → schema-hmankmc5.js} +24 -24
  189. package/dist/chunks/{flag-a3fn0gmm.js → schema-hretfjjx.js} +2 -2
  190. package/dist/chunks/{flag-8bvnskax.js → schema-hwh4ncss.js} +5 -5
  191. package/dist/chunks/{flag-sv418x6v.js → schema-hzyabs26.js} +93 -93
  192. package/dist/chunks/{flag-8agkwpr2.js → schema-j1sr36t7.js} +22 -22
  193. package/dist/chunks/{flag-mg67vnn7.js → schema-j45pbb2b.js} +7 -7
  194. package/dist/chunks/{flag-cwvapanm.js → schema-j470za27.js} +6 -6
  195. package/dist/chunks/{flag-dc42dfn3.js → schema-j9jvns0x.js} +30 -30
  196. package/dist/chunks/{flag-rmtced94.js → schema-j9n04yyf.js} +13 -13
  197. package/dist/chunks/{flag-j9nxzz3g.js → schema-j9nxzz3g.js} +3 -3
  198. package/dist/chunks/{flag-bsfkzme1.js → schema-jahxfc61.js} +9 -9
  199. package/dist/chunks/{flag-jg11hrrc.js → schema-jg11hrrc.js} +1 -1
  200. package/dist/chunks/{flag-nvsbh4jb.js → schema-jm1f39t7.js} +41 -41
  201. package/dist/chunks/{flag-jm70asfg.js → schema-jm70asfg.js} +1 -1
  202. package/dist/chunks/{flag-qx09zx5e.js → schema-jtfxvpqx.js} +16 -16
  203. package/dist/chunks/{flag-fqw49gzr.js → schema-k0hc0p3t.js} +21 -21
  204. package/dist/chunks/{flag-r2s839d9.js → schema-k314sxn6.js} +10 -10
  205. package/dist/chunks/{flag-td4h7x9e.js → schema-k44rfvex.js} +5 -5
  206. package/dist/chunks/{flag-mh90gvy0.js → schema-k5cvtdy7.js} +13 -13
  207. package/dist/chunks/{flag-5phaeez2.js → schema-k7mvkdqc.js} +34 -34
  208. package/dist/chunks/{flag-d35j55gy.js → schema-k9xamp5p.js} +34 -34
  209. package/dist/chunks/{flag-7y3w8yh2.js → schema-kg1jhe5b.js} +12 -12
  210. package/dist/chunks/{flag-ectj0n0w.js → schema-kp9hf7gh.js} +24 -24
  211. package/dist/chunks/{flag-k70echwb.js → schema-kr0h39da.js} +15 -15
  212. package/dist/chunks/{flag-kt3bjfbg.js → schema-kt3bjfbg.js} +1 -1
  213. package/dist/chunks/{flag-kzczzf4v.js → schema-kzczzf4v.js} +1 -1
  214. package/dist/chunks/{flag-m1714858.js → schema-m1714858.js} +1 -1
  215. package/dist/chunks/{flag-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  216. package/dist/chunks/{flag-kw7meyf9.js → schema-mh84av5k.js} +11 -11
  217. package/dist/chunks/{flag-0zw4bgnp.js → schema-mjh13j51.js} +59 -59
  218. package/dist/chunks/{flag-msd2a3qm.js → schema-msd2a3qm.js} +4 -4
  219. package/dist/chunks/{flag-fw2bj3yc.js → schema-my9bcdye.js} +49 -49
  220. package/dist/chunks/{flag-8v783vgg.js → schema-n1871bnv.js} +43 -43
  221. package/dist/chunks/{flag-v3a0q1tq.js → schema-n1jbxack.js} +3 -3
  222. package/dist/chunks/{flag-xvn8mnch.js → schema-n320gsn2.js} +4 -4
  223. package/dist/chunks/{flag-10znbv1y.js → schema-n3nmssvp.js} +19 -19
  224. package/dist/chunks/{flag-s9c602wf.js → schema-n450nt6a.js} +194 -194
  225. package/dist/chunks/{flag-x9fv1e42.js → schema-n95h3yp2.js} +11 -11
  226. package/dist/chunks/{flag-ss4ezae1.js → schema-neary136.js} +5 -5
  227. package/dist/chunks/{flag-ea1trek2.js → schema-nh4zw8dy.js} +37 -37
  228. package/dist/chunks/{flag-735jxpn0.js → schema-nkjg7sax.js} +11 -11
  229. package/dist/chunks/{flag-bf4p0zpt.js → schema-nkpjx6f9.js} +8 -8
  230. package/dist/chunks/{flag-2n444ktb.js → schema-nv2c5e9q.js} +3 -3
  231. package/dist/chunks/{flag-wegkxhrn.js → schema-nx4vzyjd.js} +2 -2
  232. package/dist/chunks/{flag-057bekvq.js → schema-p1acca2q.js} +47 -47
  233. package/dist/chunks/{flag-y4vr6j7h.js → schema-p5f5wvc6.js} +16 -16
  234. package/dist/chunks/{flag-y7ez90qx.js → schema-p7m378f9.js} +8 -8
  235. package/dist/chunks/{flag-gvjkbnsw.js → schema-pe9vq5ts.js} +14 -14
  236. package/dist/chunks/{flag-pknna89w.js → schema-pknna89w.js} +1 -1
  237. package/dist/chunks/{flag-3ezvm26p.js → schema-pnhy6vkz.js} +8 -8
  238. package/dist/chunks/{flag-spra8t40.js → schema-pph3afw8.js} +15 -15
  239. package/dist/chunks/{flag-bx2z8bfs.js → schema-px1jwg4z.js} +35 -35
  240. package/dist/chunks/{flag-vt2d6wap.js → schema-px7qpgcn.js} +4 -4
  241. package/dist/chunks/{flag-q42tzrxa.js → schema-q42tzrxa.js} +1 -1
  242. package/dist/chunks/{flag-j94t6k5j.js → schema-q69ep0st.js} +24 -24
  243. package/dist/chunks/{flag-h4gnqfjf.js → schema-q9w50hwc.js} +21 -21
  244. package/dist/chunks/{flag-k1s9gqmy.js → schema-qen42n7m.js} +6 -6
  245. package/dist/chunks/{flag-k46dd5bg.js → schema-qfz6bxfd.js} +4 -4
  246. package/dist/chunks/{flag-qp7r0hxv.js → schema-qp7r0hxv.js} +1 -1
  247. package/dist/chunks/{flag-xnh9gzhm.js → schema-qpvrrhfg.js} +32 -32
  248. package/dist/chunks/{flag-b5p2mdb2.js → schema-qzv2q1wc.js} +11 -11
  249. package/dist/chunks/{flag-9cfgm1yn.js → schema-r0ftmkk6.js} +5 -5
  250. package/dist/chunks/{flag-vtgg5ge7.js → schema-r5cygv5r.js} +21 -21
  251. package/dist/chunks/{flag-pawtkyf1.js → schema-r67xp73y.js} +28 -28
  252. package/dist/chunks/{flag-6yn64n4z.js → schema-r6wb84tj.js} +19 -19
  253. package/dist/chunks/{flag-m1t6pmkr.js → schema-r7r9xhwp.js} +36 -36
  254. package/dist/chunks/{flag-99tsxk4p.js → schema-r7s4amkf.js} +19 -19
  255. package/dist/chunks/{flag-tdky2mah.js → schema-r89d1c3z.js} +5 -5
  256. package/dist/chunks/{flag-9w82hkf9.js → schema-r9r1hv6r.js} +7 -7
  257. package/dist/chunks/{flag-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
  258. package/dist/chunks/{flag-0php2d2a.js → schema-rdnhrv98.js} +6 -6
  259. package/dist/chunks/{flag-rgc9cx3e.js → schema-rgc9cx3e.js} +2 -2
  260. package/dist/chunks/{flag-e8qzkdex.js → schema-rjtcs3g0.js} +24 -24
  261. package/dist/chunks/{flag-3rf5qfwk.js → schema-rqmqphdk.js} +81 -81
  262. package/dist/chunks/{flag-rt5dr6hb.js → schema-rt5dr6hb.js} +1 -1
  263. package/dist/chunks/{flag-c8j7dza1.js → schema-rtx9dw6y.js} +2 -2
  264. package/dist/chunks/{flag-c7e1jce8.js → schema-rxjp9ywm.js} +6 -6
  265. package/dist/chunks/{flag-3731drge.js → schema-s2m8shgg.js} +13 -13
  266. package/dist/chunks/{flag-jr1br1nz.js → schema-s5r2vghp.js} +11 -11
  267. package/dist/chunks/{flag-sbya78hr.js → schema-sbya78hr.js} +1 -1
  268. package/dist/chunks/{flag-z6g4szpb.js → schema-sbzezcpx.js} +8 -8
  269. package/dist/chunks/{flag-7e7tnr01.js → schema-seqxwcng.js} +86 -86
  270. package/dist/chunks/{flag-ptsc7pw2.js → schema-sg6pcgfg.js} +17 -17
  271. package/dist/chunks/{flag-sthjaggt.js → schema-sjtm08sb.js} +6 -6
  272. package/dist/chunks/{flag-0m83mv9a.js → schema-smy7v48d.js} +16 -16
  273. package/dist/chunks/{flag-p7681246.js → schema-spysdwxw.js} +11 -11
  274. package/dist/chunks/{flag-twsyahft.js → schema-sqrx5aq3.js} +7 -7
  275. package/dist/chunks/{flag-3ngrr6zm.js → schema-stsmee1w.js} +4 -4
  276. package/dist/chunks/{flag-svcy3p9a.js → schema-svcy3p9a.js} +1 -1
  277. package/dist/chunks/{flag-g5b6m127.js → schema-t1pejg4m.js} +24 -24
  278. package/dist/chunks/{flag-wvmz9xhr.js → schema-t2j0e88x.js} +18 -18
  279. package/dist/chunks/{flag-4vwfjexy.js → schema-t570dzwf.js} +14 -14
  280. package/dist/chunks/{flag-tbpn7jtk.js → schema-tbpn7jtk.js} +1 -1
  281. package/dist/chunks/{flag-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
  282. package/dist/chunks/{flag-tg7s7b5t.js → schema-tg7s7b5t.js} +1 -1
  283. package/dist/chunks/{flag-tr8x705m.js → schema-tr8x705m.js} +1 -1
  284. package/dist/chunks/{flag-etjadvmx.js → schema-ttyacz3n.js} +18 -18
  285. package/dist/chunks/{flag-tvtps2q9.js → schema-tvtps2q9.js} +1 -1
  286. package/dist/chunks/{flag-twssxy5n.js → schema-twssxy5n.js} +2 -2
  287. package/dist/chunks/{flag-w79nt68w.js → schema-v0t96s7a.js} +4 -4
  288. package/dist/chunks/schema-v18tez6e.js +273 -0
  289. package/dist/chunks/{flag-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
  290. package/dist/chunks/{flag-pzc35b9r.js → schema-v68s1kbg.js} +16 -16
  291. package/dist/chunks/{flag-djkfnqtw.js → schema-v6v5n2yq.js} +17 -17
  292. package/dist/chunks/{flag-vjf35v1f.js → schema-vjf35v1f.js} +1 -1
  293. package/dist/chunks/{flag-s3xjexac.js → schema-vmffp9hq.js} +2 -2
  294. package/dist/chunks/{flag-qfsv5gqd.js → schema-vpa2j03j.js} +8 -8
  295. package/dist/chunks/{flag-azhh0tf2.js → schema-vpq88xaq.js} +16 -16
  296. package/dist/chunks/{flag-zfar18d4.js → schema-vqz1w45k.js} +6 -6
  297. package/dist/chunks/{flag-scn5v30h.js → schema-vre17ymf.js} +9 -9
  298. package/dist/chunks/{flag-edjd8nn4.js → schema-vvppee7m.js} +19 -19
  299. package/dist/chunks/{flag-jjx6aha5.js → schema-vycsk1c7.js} +8 -8
  300. package/dist/chunks/{flag-bbt6d3ff.js → schema-vz5bqa0f.js} +12 -12
  301. package/dist/chunks/{flag-r41sfy63.js → schema-w2eysc6j.js} +6 -6
  302. package/dist/chunks/{flag-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  303. package/dist/chunks/{flag-w687dnns.js → schema-w687dnns.js} +1 -1
  304. package/dist/chunks/{flag-vfzy64ya.js → schema-w6af1eav.js} +43 -43
  305. package/dist/chunks/{flag-2s9mae96.js → schema-w75qynz4.js} +3 -3
  306. package/dist/chunks/{flag-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
  307. package/dist/chunks/{flag-wd87259q.js → schema-wd87259q.js} +1 -1
  308. package/dist/chunks/{flag-g06jy8h3.js → schema-wea2fgd6.js} +8 -8
  309. package/dist/chunks/{flag-rgen4y4m.js → schema-wk2hhfay.js} +31 -31
  310. package/dist/chunks/{flag-vfq85drt.js → schema-wm0yff3r.js} +18 -18
  311. package/dist/chunks/{flag-zs4b3nf4.js → schema-wqff1vx6.js} +7 -7
  312. package/dist/chunks/{flag-bmae84g4.js → schema-wvdkrrmq.js} +30 -30
  313. package/dist/chunks/{flag-7mca0d52.js → schema-wwrejvzt.js} +17 -17
  314. package/dist/chunks/{flag-09g4xkfz.js → schema-x08hk12p.js} +25 -25
  315. package/dist/chunks/{flag-kxnhx9t7.js → schema-x4rjv40f.js} +42 -42
  316. package/dist/chunks/{flag-srbra2vb.js → schema-x5w1zr3w.js} +26 -26
  317. package/dist/chunks/{flag-j1zpf99x.js → schema-xacrkbdt.js} +7 -7
  318. package/dist/chunks/{flag-vgk87pas.js → schema-xaqfm906.js} +16 -16
  319. package/dist/chunks/{flag-xsact9zs.js → schema-xdcpcrtr.js} +4 -4
  320. package/dist/chunks/{flag-9nxfy581.js → schema-xdgew5ya.js} +4 -4
  321. package/dist/chunks/{flag-zw9cz4ve.js → schema-xezdzwfx.js} +12 -12
  322. package/dist/chunks/{flag-h2y3txjc.js → schema-xmzr9vx2.js} +33 -33
  323. package/dist/chunks/{flag-g4r0q9ck.js → schema-xrxq5n47.js} +11 -11
  324. package/dist/chunks/{flag-xjr6c8m4.js → schema-xxschbft.js} +4 -4
  325. package/dist/chunks/{flag-w4xw9ac5.js → schema-xz07m27x.js} +2 -2
  326. package/dist/chunks/{flag-3e52hnnt.js → schema-xzmcv7yx.js} +11 -11
  327. package/dist/chunks/{flag-2b53gkgs.js → schema-y45hqcp7.js} +13 -13
  328. package/dist/chunks/{flag-53jsaysx.js → schema-y5dg5cq9.js} +12 -12
  329. package/dist/chunks/{flag-651bexe0.js → schema-y83y93hb.js} +12 -12
  330. package/dist/chunks/{flag-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
  331. package/dist/chunks/{flag-7tpyp9vw.js → schema-ydsespw1.js} +6 -6
  332. package/dist/chunks/{flag-ev7sqhk6.js → schema-yen64j8h.js} +12 -12
  333. package/dist/chunks/{flag-znrheh92.js → schema-yey3vg0k.js} +19 -19
  334. package/dist/chunks/{flag-r3azt9y8.js → schema-ykt7cx5b.js} +14 -14
  335. package/dist/chunks/{flag-yr705xyq.js → schema-yr705xyq.js} +1 -1
  336. package/dist/chunks/{flag-55m7948j.js → schema-ysf45hfb.js} +30 -30
  337. package/dist/chunks/{flag-yvtc2x31.js → schema-yvtc2x31.js} +1 -1
  338. package/dist/chunks/{flag-2zarxrf9.js → schema-ywshbe5e.js} +28 -28
  339. package/dist/chunks/{flag-qah7t4da.js → schema-yx7jjv83.js} +6 -6
  340. package/dist/chunks/{flag-qnh56mex.js → schema-z244sk7m.js} +9 -9
  341. package/dist/chunks/{flag-a2br860z.js → schema-z4h0d849.js} +45 -45
  342. package/dist/chunks/{flag-1ca7nfax.js → schema-z6yjkx3d.js} +4 -4
  343. package/dist/chunks/{flag-6sk4m11q.js → schema-zbng777a.js} +21 -7
  344. package/dist/chunks/{flag-v1m0y28q.js → schema-zgq5ynfz.js} +8 -8
  345. package/dist/chunks/{flag-xq7frb1f.js → schema-zgtdwdax.js} +20 -20
  346. package/dist/chunks/{flag-by8ty0bx.js → schema-zpdbqgja.js} +4 -4
  347. package/dist/chunks/{flag-2drr4a66.js → schema-zs5ctna9.js} +12 -12
  348. package/dist/chunks/{flag-w7r5kjvg.js → schema-zvs0kzc5.js} +5 -5
  349. package/dist/chunks/{flag-tr3t571y.js → schema-zzz646na.js} +8 -8
  350. package/dist/chunks/{flag-2fkh5tz5.js → schema-zzzp2n6j.js} +19 -19
  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 +5 -5
  355. package/dist/codemode/tool.js +155 -155
  356. package/dist/command.js +90 -90
  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 +133 -133
  363. package/dist/config/plugin/command.js +240 -240
  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 +130 -130
  371. package/dist/config/plugin/mcp.js +145 -145
  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 +130 -130
  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 +129 -129
  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 +133 -133
  387. package/dist/console-access.js +1 -1
  388. package/dist/credential/sql.js +2 -2
  389. package/dist/credential.js +92 -92
  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 +105 -105
  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 +108 -108
  483. package/dist/environment/local.js +2 -2
  484. package/dist/environment/memory.js +2 -2
  485. package/dist/environment/unavailable.js +1 -1
  486. package/dist/event/sql.js +1 -1
  487. package/dist/event-logger.js +85 -85
  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 +164 -164
  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 +91 -91
  497. package/dist/filesystem/location-watcher-policy.js +6 -6
  498. package/dist/filesystem/location-watcher.js +251 -251
  499. package/dist/filesystem/protected.js +1 -1
  500. package/dist/filesystem/search.js +111 -111
  501. package/dist/filesystem/watcher-binding.js +1 -1
  502. package/dist/filesystem/watcher.js +11 -11
  503. package/dist/filesystem.js +112 -112
  504. package/dist/flag.js +133 -133
  505. package/dist/form.js +89 -89
  506. package/dist/formatter/builtins.js +4 -4
  507. package/dist/formatter.js +100 -100
  508. package/dist/generate.js +122 -122
  509. package/dist/git.js +11 -11
  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 +104 -104
  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 +91 -91
  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 +184 -184
  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 +100 -100
  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 +126 -126
  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 +104 -104
  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 +115 -115
  568. package/dist/oauth/page.js +1 -1
  569. package/dist/permission/saved.js +93 -93
  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 +99 -99
  575. package/dist/persistent-pty/pty-binding.js +1 -1
  576. package/dist/persistent-pty.js +86 -86
  577. package/dist/plugin/agent.js +87 -87
  578. package/dist/plugin/command.js +119 -119
  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 +133 -133
  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 +117 -117
  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 +115 -115
  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 +3 -3
  614. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  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 +83 -83
  660. package/dist/plugin/service.js +3 -3
  661. package/dist/plugin/skill.js +152 -152
  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 +4 -4
  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 +8 -8
  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 +4 -4
  674. package/dist/plugin/websearch/parallel.js +9 -9
  675. package/dist/plugin/websearch/provider.js +3 -3
  676. package/dist/plugin/websearch/tavily.js +5 -5
  677. package/dist/plugin/websearch/tinyfish.js +9 -9
  678. package/dist/plugin.js +251 -251
  679. package/dist/project/icon.js +5 -5
  680. package/dist/project/schema.js +6 -6
  681. package/dist/project/sql.js +4 -4
  682. package/dist/project.js +103 -103
  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 +103 -103
  687. package/dist/reference/instructions.js +101 -101
  688. package/dist/reference.js +101 -101
  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 +109 -109
  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 +257 -257
  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 +173 -173
  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 +5 -5
  707. package/dist/session/event.js +1 -1
  708. package/dist/session/execution/restart.js +249 -249
  709. package/dist/session/execution.js +167 -167
  710. package/dist/session/generate.js +206 -206
  711. package/dist/session/history.js +139 -139
  712. package/dist/session/inbox.js +150 -150
  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 +146 -146
  717. package/dist/session/message-updater.js +2 -2
  718. package/dist/session/message.js +1 -1
  719. package/dist/session/model-request.js +171 -171
  720. package/dist/session/model-transport.js +9 -9
  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 +1 -1
  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 +3 -3
  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 +143 -143
  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 +3 -3
  746. package/dist/session/title.js +209 -209
  747. package/dist/session/to-session-error.js +152 -152
  748. package/dist/session/transfer.js +250 -250
  749. package/dist/session/usage.js +1 -1
  750. package/dist/session.js +241 -241
  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 +9 -9
  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 +102 -102
  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 +186 -186
  765. package/dist/tool/plugin/artifact.js +236 -236
  766. package/dist/tool/plugin/edit.js +164 -164
  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 +247 -247
  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 +171 -171
  774. package/dist/tool/plugin/question.js +149 -149
  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 +241 -241
  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 +169 -169
  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 +161 -161
  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 +3 -3
  798. package/dist/v1/config/command.js +3 -3
  799. package/dist/v1/config/mcp.js +4 -4
  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 +104 -104
  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/flag-64qpjjtt.js +0 -16
  822. package/dist/chunks/flag-6bshxcsx.js +0 -18
  823. package/dist/chunks/flag-bz2nnsbp.js +0 -273
  824. package/dist/chunks/flag-pckc3j00.js +0 -26
  825. /package/dist/chunks/{flag-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  826. /package/dist/chunks/{flag-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  827. /package/dist/chunks/{flag-108x4f4w.js → schema-108x4f4w.js} +0 -0
  828. /package/dist/chunks/{flag-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  829. /package/dist/chunks/{flag-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  830. /package/dist/chunks/{flag-1kah00gy.js → schema-1kah00gy.js} +0 -0
  831. /package/dist/chunks/{flag-24dcb14g.js → schema-24dcb14g.js} +0 -0
  832. /package/dist/chunks/{flag-2710q6r3.js → schema-2710q6r3.js} +0 -0
  833. /package/dist/chunks/{flag-2bv980vf.js → schema-2bv980vf.js} +0 -0
  834. /package/dist/chunks/{flag-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  835. /package/dist/chunks/{flag-359p4xyc.js → schema-359p4xyc.js} +0 -0
  836. /package/dist/chunks/{flag-3af0jn4w.js → schema-3af0jn4w.js} +0 -0
  837. /package/dist/chunks/{flag-3asan66x.js → schema-3asan66x.js} +0 -0
  838. /package/dist/chunks/{flag-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  839. /package/dist/chunks/{flag-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  840. /package/dist/chunks/{flag-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  841. /package/dist/chunks/{flag-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  842. /package/dist/chunks/{flag-4qk9sjk2.js → schema-4qk9sjk2.js} +0 -0
  843. /package/dist/chunks/{flag-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  844. /package/dist/chunks/{flag-53557ph1.js → schema-53557ph1.js} +0 -0
  845. /package/dist/chunks/{flag-550bvhaj.js → schema-550bvhaj.js} +0 -0
  846. /package/dist/chunks/{flag-5w3e23ze.js → schema-5w3e23ze.js} +0 -0
  847. /package/dist/chunks/{flag-6agm2x70.js → schema-6agm2x70.js} +0 -0
  848. /package/dist/chunks/{flag-6prwharc.js → schema-6prwharc.js} +0 -0
  849. /package/dist/chunks/{flag-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
  850. /package/dist/chunks/{flag-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  851. /package/dist/chunks/{flag-7m9af43g.js → schema-7m9af43g.js} +0 -0
  852. /package/dist/chunks/{flag-822emrt2.js → schema-822emrt2.js} +0 -0
  853. /package/dist/chunks/{flag-84wd9syh.js → schema-84wd9syh.js} +0 -0
  854. /package/dist/chunks/{flag-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  855. /package/dist/chunks/{flag-8n3pysct.js → schema-8n3pysct.js} +0 -0
  856. /package/dist/chunks/{flag-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  857. /package/dist/chunks/{flag-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  858. /package/dist/chunks/{flag-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  859. /package/dist/chunks/{flag-af5trqkr.js → schema-af5trqkr.js} +0 -0
  860. /package/dist/chunks/{flag-afrmfg78.js → schema-afrmfg78.js} +0 -0
  861. /package/dist/chunks/{flag-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  862. /package/dist/chunks/{flag-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  863. /package/dist/chunks/{flag-beh6qq61.js → schema-beh6qq61.js} +0 -0
  864. /package/dist/chunks/{flag-bhmrqjy3.js → schema-bhmrqjy3.js} +0 -0
  865. /package/dist/chunks/{flag-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  866. /package/dist/chunks/{flag-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  867. /package/dist/chunks/{flag-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  868. /package/dist/chunks/{flag-cqv5kn06.js → schema-cqv5kn06.js} +0 -0
  869. /package/dist/chunks/{flag-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  870. /package/dist/chunks/{flag-d9fn303g.js → schema-d9fn303g.js} +0 -0
  871. /package/dist/chunks/{flag-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  872. /package/dist/chunks/{flag-dap0rakb.js → schema-dap0rakb.js} +0 -0
  873. /package/dist/chunks/{flag-df08tz66.js → schema-df08tz66.js} +0 -0
  874. /package/dist/chunks/{flag-dy18nga0.js → schema-dy18nga0.js} +0 -0
  875. /package/dist/chunks/{flag-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  876. /package/dist/chunks/{flag-ean2d8b5.js → schema-ean2d8b5.js} +0 -0
  877. /package/dist/chunks/{flag-ec1grn59.js → schema-ec1grn59.js} +0 -0
  878. /package/dist/chunks/{flag-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  879. /package/dist/chunks/{flag-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  880. /package/dist/chunks/{flag-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  881. /package/dist/chunks/{flag-faypxj3z.js → schema-faypxj3z.js} +0 -0
  882. /package/dist/chunks/{flag-fd410y7t.js → schema-fd410y7t.js} +0 -0
  883. /package/dist/chunks/{flag-fkpq3x5p.js → schema-fkpq3x5p.js} +0 -0
  884. /package/dist/chunks/{flag-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  885. /package/dist/chunks/{flag-g86h250q.js → schema-g86h250q.js} +0 -0
  886. /package/dist/chunks/{flag-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  887. /package/dist/chunks/{flag-gftt206x.js → schema-gftt206x.js} +0 -0
  888. /package/dist/chunks/{flag-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
  889. /package/dist/chunks/{flag-hk9envan.js → schema-hk9envan.js} +0 -0
  890. /package/dist/chunks/{flag-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  891. /package/dist/chunks/{flag-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  892. /package/dist/chunks/{flag-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  893. /package/dist/chunks/{flag-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  894. /package/dist/chunks/{flag-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  895. /package/dist/chunks/{flag-jwr30sdr.js → schema-jwr30sdr.js} +0 -0
  896. /package/dist/chunks/{flag-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  897. /package/dist/chunks/{flag-m18g726c.js → schema-m18g726c.js} +0 -0
  898. /package/dist/chunks/{flag-mp448xyj.js → schema-mp448xyj.js} +0 -0
  899. /package/dist/chunks/{flag-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  900. /package/dist/chunks/{flag-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  901. /package/dist/chunks/{flag-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  902. /package/dist/chunks/{flag-nh4v3znn.js → schema-nh4v3znn.js} +0 -0
  903. /package/dist/chunks/{flag-njntx4h6.js → schema-njntx4h6.js} +0 -0
  904. /package/dist/chunks/{flag-p71gwv9c.js → schema-p71gwv9c.js} +0 -0
  905. /package/dist/chunks/{flag-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  906. /package/dist/chunks/{flag-q74kybfr.js → schema-q74kybfr.js} +0 -0
  907. /package/dist/chunks/{flag-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  908. /package/dist/chunks/{flag-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  909. /package/dist/chunks/{flag-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  910. /package/dist/chunks/{flag-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  911. /package/dist/chunks/{flag-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  912. /package/dist/chunks/{flag-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  913. /package/dist/chunks/{flag-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  914. /package/dist/chunks/{flag-syrav9an.js → schema-syrav9an.js} +0 -0
  915. /package/dist/chunks/{flag-t03h4f5z.js → schema-t03h4f5z.js} +0 -0
  916. /package/dist/chunks/{flag-ty7weeps.js → schema-ty7weeps.js} +0 -0
  917. /package/dist/chunks/{flag-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
  918. /package/dist/chunks/{flag-vtarvj67.js → schema-vtarvj67.js} +0 -0
  919. /package/dist/chunks/{flag-w803qqfp.js → schema-w803qqfp.js} +0 -0
  920. /package/dist/chunks/{flag-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  921. /package/dist/chunks/{flag-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  922. /package/dist/chunks/{flag-wtztk69x.js → schema-wtztk69x.js} +0 -0
  923. /package/dist/chunks/{flag-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  924. /package/dist/chunks/{flag-x4th4bpe.js → schema-x4th4bpe.js} +0 -0
  925. /package/dist/chunks/{flag-x61499pn.js → schema-x61499pn.js} +0 -0
  926. /package/dist/chunks/{flag-y44na4kk.js → schema-y44na4kk.js} +0 -0
  927. /package/dist/chunks/{flag-y8f7s663.js → schema-y8f7s663.js} +0 -0
  928. /package/dist/chunks/{flag-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  929. /package/dist/chunks/{flag-z0h12gs8.js → schema-z0h12gs8.js} +0 -0
  930. /package/dist/chunks/{flag-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  931. /package/dist/chunks/{flag-z9919s4g.js → schema-z9919s4g.js} +0 -0
  932. /package/dist/chunks/{flag-zxpyjp51.js → schema-zxpyjp51.js} +0 -0
  933. /package/dist/chunks/{flag-zz5vv3aq.js → schema-zz5vv3aq.js} +0 -0
@@ -1,38 +1,38 @@
1
1
  import {
2
- Service81,
2
+ Service75,
3
3
  useragent2,
4
- node82
5
- } from "./flag-kda55mjf.js";
4
+ node77
5
+ } from "./schema-2m9jz6vw.js";
6
6
  import {
7
- Service92,
8
- node93
9
- } from "./flag-rfz9ehj2.js";
7
+ Service93,
8
+ node95
9
+ } from "./schema-85vqx18w.js";
10
10
  import {
11
11
  native2,
12
- ID16,
12
+ ID17,
13
13
  aisdk2,
14
14
  packageName2,
15
15
  builtinPackages2
16
- } from "./flag-2x3dh5kg.js";
16
+ } from "./schema-20r3fdkm.js";
17
17
  import {
18
- ID15,
18
+ ID16,
19
19
  Family2
20
- } from "./flag-5tsg0p07.js";
20
+ } from "./schema-46ctycg0.js";
21
21
  import {
22
22
  supports2,
23
23
  resolve2
24
- } from "./flag-krf10cfx.js";
24
+ } from "./schema-13mbk8n3.js";
25
25
  import {
26
26
  Service82,
27
- node83
28
- } from "./flag-9mt6xtde.js";
27
+ node84
28
+ } from "./schema-fdx8q17g.js";
29
29
  import {
30
30
  isV12,
31
31
  toV22
32
- } from "./flag-p71gwv9c.js";
32
+ } from "./schema-p71gwv9c.js";
33
33
  import {
34
34
  __export
35
- } from "./flag-9rqn6x4v.js";
35
+ } from "./schema-9rqn6x4v.js";
36
36
 
37
37
  // src/models-dev.ts
38
38
  var exports_models_dev = {};
@@ -40,13 +40,13 @@ __export(exports_models_dev, {
40
40
  Event: () => Event2,
41
41
  ModelsDev: () => exports_models_dev,
42
42
  Options: () => Options2,
43
- Service: () => Service14,
43
+ Service: () => Service17,
44
44
  bodyDigest: () => bodyDigest2,
45
45
  catalogPath: () => catalogPath2,
46
46
  configured: () => configured2,
47
47
  decodeSnapshot: () => decodeSnapshot2,
48
- layer: () => layer9,
49
- node: () => node16
48
+ layer: () => layer11,
49
+ node: () => node19
50
50
  });
51
51
  import { Cause, Context, Duration, Effect, Layer, Option, Result, Schedule, Schema, Semaphore } from "effect";
52
52
  import { HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
@@ -169,7 +169,7 @@ var normalize = Effect.fnUntraced(function* (catalog) {
169
169
  const item = Option.getOrUndefined(decodeProvider(value));
170
170
  if (!item)
171
171
  return [];
172
- const providerID = ID16.make(item.id);
172
+ const providerID = ID17.make(item.id);
173
173
  const sources = Object.entries(item.models).flatMap(([key, value]) => {
174
174
  const decoded = decodeModel(value);
175
175
  if (Result.isFailure(decoded))
@@ -194,12 +194,12 @@ var normalize = Effect.fnUntraced(function* (catalog) {
194
194
  };
195
195
  const models = sources.flatMap((source) => {
196
196
  const baseCost = cost(source.model.cost);
197
- const id = ID15.make(source.model.id);
197
+ const id = ID16.make(source.model.id);
198
198
  const base = modelInfo(providerID, { packageName, baseURL }, id, source, { cost: baseCost });
199
199
  const variants = resolve2({ ...base, package: source.route.package }, supports2(source.model.capabilities.reasoning));
200
200
  return [
201
201
  { ...base, variants },
202
- ...entries(source.model.experimental?.modes, decodeMode).map(([mode, options]) => modelInfo(providerID, { packageName, baseURL }, ID15.make(`${source.model.id}-${mode}`), source, {
202
+ ...entries(source.model.experimental?.modes, decodeMode).map(([mode, options]) => modelInfo(providerID, { packageName, baseURL }, ID16.make(`${source.model.id}-${mode}`), source, {
203
203
  name: `${source.model.name} ${mode.charAt(0).toUpperCase()}${mode.slice(1)}`,
204
204
  cost: modeCost(source.model, baseCost, mode, options),
205
205
  request: options,
@@ -363,7 +363,7 @@ function modelInfo(providerID, provider, id, source, input = {}) {
363
363
  };
364
364
  return {
365
365
  id,
366
- modelID: ID15.make(model.id),
366
+ modelID: ID16.make(model.id),
367
367
  providerID,
368
368
  type: model.type,
369
369
  name: input.name ?? model.name,
@@ -398,7 +398,7 @@ var Options2 = Schema.Struct({
398
398
  snapshot: Schema.optional(Schema.Boolean)
399
399
  });
400
400
 
401
- class Service14 extends Context.Service()("@opencode/ModelsDev") {
401
+ class Service17 extends Context.Service()("@opencode/ModelsDev") {
402
402
  }
403
403
  var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
404
404
  var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text);
@@ -428,10 +428,10 @@ function cacheKey(source) {
428
428
  function bodyDigest2(text) {
429
429
  return Hash.sha256(text);
430
430
  }
431
- var layer9 = (options) => Layer.effect(Service14, Effect.gen(function* () {
431
+ var layer11 = (options) => Layer.effect(Service17, Effect.gen(function* () {
432
432
  const fs = yield* FSUtil.Service;
433
- const bus = yield* Service92;
434
- const app = yield* Service81;
433
+ const bus = yield* Service93;
434
+ const app = yield* Service75;
435
435
  const kv = yield* Service82;
436
436
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
437
437
  retryOn: "errors-and-responses",
@@ -526,15 +526,15 @@ var layer9 = (options) => Layer.effect(Service14, Effect.gen(function* () {
526
526
  if (fetch && !process.argv.includes("--get-yargs-completions")) {
527
527
  yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
528
528
  }
529
- return Service14.of({ get, refresh });
529
+ return Service17.of({ get, refresh });
530
530
  }));
531
531
  function configured2(options) {
532
532
  return makeGlobalNode({
533
- service: Service14,
534
- layer: layer9(options),
535
- deps: [FSUtil.node, node93, node82, node83, httpClient]
533
+ service: Service17,
534
+ layer: layer11(options),
535
+ deps: [FSUtil.node, node95, node77, node84, httpClient]
536
536
  });
537
537
  }
538
- var node16 = configured2();
538
+ var node19 = configured2();
539
539
 
540
- export { Options2, Service14, catalogPath2, decodeSnapshot2, bodyDigest2, layer9, configured2, node16, exports_models_dev, Event2 };
540
+ export { Options2, Service17, catalogPath2, decodeSnapshot2, bodyDigest2, layer11, configured2, node19, exports_models_dev, Event2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./flag-a4mv72m9.js";
4
+ } from "./schema-5bevz5wx.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./flag-3hepkmqq.js";
7
+ } from "./schema-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./flag-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
16
  Service: () => Service82,
17
- node: () => node83
17
+ node: () => node84
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node83 = makeGlobalNode({ service: Service82, layer, deps: [node96] });
54
+ var node84 = makeGlobalNode({ service: Service82, layer, deps: [node96] });
55
55
 
56
- export { Service82, node83, exports_kv };
56
+ export { Service82, node84, exports_kv };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./flag-gftt206x.js";
3
+ } from "./schema-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./flag-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/session/stored.ts
9
9
  var exports_stored = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref5
3
- } from "./flag-vgk87pas.js";
3
+ } from "./schema-xaqfm906.js";
4
4
  import {
5
5
  __export
6
- } from "./flag-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service57,
12
+ Service: () => Service84,
13
13
  canonical: () => canonical3,
14
- node: () => node59,
14
+ node: () => node86,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service57 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service84 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service57, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service84, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node59 = LayerNode.unbound(Service57, Node.tags.values.global);
27
+ var node86 = LayerNode.unbound(Service84, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service57;
29
+ const locations = yield* Service84;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -48,4 +48,4 @@ function canonical3(ref) {
48
48
  });
49
49
  }
50
50
 
51
- export { Service57, node59, reload2, canonical3, exports_location_service_map };
51
+ export { Service84, node86, reload2, canonical3, exports_location_service_map };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service92,
3
- node93
4
- } from "./flag-rfz9ehj2.js";
2
+ Service93,
3
+ node95
4
+ } from "./schema-85vqx18w.js";
5
5
  import {
6
6
  lazy2
7
- } from "./flag-88xbtdfr.js";
7
+ } from "./schema-88xbtdfr.js";
8
8
  import {
9
- Service89,
10
- node90
11
- } from "./flag-vgk87pas.js";
9
+ Service90,
10
+ node92
11
+ } from "./schema-xaqfm906.js";
12
12
  import {
13
- Service67,
13
+ Service54,
14
14
  login2,
15
- node68
16
- } from "./flag-ryhr0j4c.js";
15
+ node56
16
+ } from "./schema-2dw474gn.js";
17
17
  import {
18
18
  __export
19
- } from "./flag-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
@@ -25,12 +25,12 @@ __export(exports_pty, {
25
25
  Event: () => Event3,
26
26
  ExitedError: () => ExitedError2,
27
27
  ID: () => ID4,
28
- Info: () => Info3,
28
+ Info: () => Info4,
29
29
  NotFoundError: () => NotFoundError2,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service15,
31
+ Service: () => Service19,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node17
33
+ node: () => node21
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
@@ -40,7 +40,7 @@ var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
42
  var ID4 = Pty.ID;
43
- var Info3 = Pty.Info;
43
+ var Info4 = Pty.Info;
44
44
  var CreateInput2 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
@@ -54,12 +54,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service15 extends Context.Service()("@opencode/Pty") {
57
+ class Service19 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service15, Effect.gen(function* () {
60
- const bus = yield* Service92;
61
- const location = yield* Service89;
62
- const shell = yield* Service67;
59
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
60
+ const bus = yield* Service93;
61
+ const location = yield* Service90;
62
+ const shell = yield* Service54;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -255,12 +255,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
255
255
  }
256
256
  };
257
257
  });
258
- return Service15.of({ list, get, create, update, remove, write, attach });
258
+ return Service19.of({ list, get, create, update, remove, write, attach });
259
259
  }));
260
- var node17 = makeLocationNode({
261
- service: Service15,
260
+ var node21 = makeLocationNode({
261
+ service: Service19,
262
262
  layer,
263
- deps: [node93, node90, node68]
263
+ deps: [node95, node92, node56]
264
264
  });
265
265
 
266
- export { ID4, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty, Event3 };
266
+ export { ID4, Info4, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service19, node21, exports_pty, Event3 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./flag-svcy3p9a.js";
3
+ } from "./schema-svcy3p9a.js";
4
4
  import {
5
5
  DEFAULT_SEARCH_TIMEOUT_MS2
6
- } from "./flag-6yn64n4z.js";
6
+ } from "./schema-r6wb84tj.js";
7
7
  import {
8
8
  __export
9
- } from "./flag-9rqn6x4v.js";
9
+ } from "./schema-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/search.ts
12
12
  var exports_search = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  groups2
3
- } from "./flag-vjf35v1f.js";
3
+ } from "./schema-vjf35v1f.js";
4
4
  import {
5
5
  __export
6
- } from "./flag-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/claude-agent/sync/decide.ts
9
9
  var exports_decide = {};
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./flag-rb9dy4dg.js";
10
+ } from "./schema-rb9dy4dg.js";
11
11
  import {
12
- Service89
13
- } from "./flag-vgk87pas.js";
12
+ Service90
13
+ } from "./schema-xaqfm906.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./flag-g5b6m127.js";
16
+ } from "./schema-t1pejg4m.js";
17
17
  import {
18
18
  __export
19
- } from "./flag-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin21,
24
+ Plugin: () => Plugin38,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin21 = define({
33
+ var Plugin38 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service89;
36
+ const location = yield* Service90;
37
37
  if (location.vcs && location.vcs.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin21, exports_hg };
201
+ export { Plugin38, exports_hg };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./flag-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./flag-z5v4ffb3.js";
3
+ } from "./schema-z5v4ffb3.js";
4
4
  import {
5
- Service89
6
- } from "./flag-vgk87pas.js";
5
+ Service90
6
+ } from "./schema-xaqfm906.js";
7
7
  import {
8
8
  NotFound3
9
- } from "./flag-svcy3p9a.js";
9
+ } from "./schema-svcy3p9a.js";
10
10
  import {
11
11
  makeFiles2
12
- } from "./flag-rgc9cx3e.js";
12
+ } from "./schema-rgc9cx3e.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./flag-twssxy5n.js";
15
+ } from "./schema-twssxy5n.js";
16
16
  import {
17
17
  invocation2,
18
- Service72
19
- } from "./flag-kxnhx9t7.js";
18
+ Service70
19
+ } from "./schema-x4rjv40f.js";
20
20
  import {
21
- Service29
22
- } from "./flag-t70t8r9y.js";
21
+ Service49
22
+ } from "./schema-d4ya8xdt.js";
23
23
  import {
24
- Service6
25
- } from "./flag-xrndcx13.js";
24
+ Service10
25
+ } from "./schema-hd6esjpp.js";
26
26
  import {
27
- ID10,
27
+ ID9,
28
28
  uri2,
29
29
  isUri2,
30
- Service66
31
- } from "./flag-c4g6jnnc.js";
30
+ Service43
31
+ } from "./schema-4ya4zdjh.js";
32
32
  import {
33
33
  isSafeSegment2
34
- } from "./flag-mjrcsjpa.js";
34
+ } from "./schema-859w1rtj.js";
35
35
  import {
36
36
  BinaryFileError2,
37
37
  MediaIngestLimitError2,
@@ -41,27 +41,27 @@ import {
41
41
  FileContent2,
42
42
  TextPage2,
43
43
  ListPage2,
44
- Service37,
44
+ Service30,
45
45
  read2
46
- } from "./flag-99tsxk4p.js";
46
+ } from "./schema-r7s4amkf.js";
47
47
  import {
48
48
  __export
49
- } from "./flag-9rqn6x4v.js";
49
+ } from "./schema-9rqn6x4v.js";
50
50
 
51
51
  // src/tool/plugin/read.ts
52
52
  var exports_read = {};
53
53
  __export(exports_read, {
54
- Input: () => Input7,
55
- Plugin: () => Plugin8,
54
+ Input: () => Input3,
55
+ Plugin: () => Plugin4,
56
56
  ReadTool: () => exports_read,
57
- name: () => name7,
58
- toModelContent: () => toModelContent3
57
+ name: () => name3,
58
+ toModelContent: () => toModelContent2
59
59
  });
60
60
  import { basename, dirname, join } from "path";
61
61
  import { ToolFailure } from "@opencode/ai/effect";
62
62
  import { Effect, Schema } from "effect";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
- var name7 = "read";
64
+ var name3 = "read";
65
65
  var FILENAME = "AGENTS.md";
66
66
  var LocationInput = Schema.Struct({
67
67
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -72,23 +72,23 @@ var LocationInput = Schema.Struct({
72
72
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
73
73
  })
74
74
  });
75
- var Input7 = LocationInput;
75
+ var Input3 = LocationInput;
76
76
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
77
- var Plugin8 = {
77
+ var Plugin4 = {
78
78
  id: "opencode.tool.read",
79
79
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
80
- const reader = yield* Service37;
81
- const access = yield* Service29;
82
- const permission = yield* Service72;
83
- const skills = yield* Service66;
84
- const sessionInstructions = yield* Service6;
80
+ const reader = yield* Service30;
81
+ const access = yield* Service49;
82
+ const permission = yield* Service70;
83
+ const skills = yield* Service43;
84
+ const sessionInstructions = yield* Service10;
85
85
  const fs = yield* FSUtil.Service;
86
- const location = yield* Service89;
86
+ const location = yield* Service90;
87
87
  yield* ctx.tool.transform((editor) => editor.add({
88
- name: name7,
88
+ name: name3,
89
89
  options: { codemode: false },
90
90
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
91
- input: Input7,
91
+ input: Input3,
92
92
  output: Output,
93
93
  execute: (input, context) => {
94
94
  return Effect.gen(function* () {
@@ -96,7 +96,7 @@ var Plugin8 = {
96
96
  const parsed = parseSkillUri(input.path);
97
97
  if (!parsed)
98
98
  return yield* new ToolFailure({ message: `File not found: ${input.path}` });
99
- const id = ID10.make(parsed.id);
99
+ const id = ID9.make(parsed.id);
100
100
  const skill = yield* skills.get(id);
101
101
  if (!skill || !isUri2(skill.path))
102
102
  return yield* new ToolFailure({ message: `File not found: ${input.path}` });
@@ -163,7 +163,7 @@ var Plugin8 = {
163
163
  return { output: result.content, path: result.path };
164
164
  }).pipe(Effect.map((result) => ({
165
165
  output: result.output,
166
- content: toModelContent3(result.path, input.offset, result.output),
166
+ content: toModelContent2(result.path, input.offset, result.output),
167
167
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
168
168
  })), Effect.mapError((error) => {
169
169
  if (error instanceof ToolFailure)
@@ -240,7 +240,7 @@ function parseSkillUri(value) {
240
240
  return;
241
241
  return { id, target: rest === "" ? "/" : `/${rest}`, uri: uri2(id, rest || undefined) };
242
242
  }
243
- var toModelContent3 = (path, offset, output) => {
243
+ var toModelContent2 = (path, offset, output) => {
244
244
  if (output.type === "file" && output.encoding === "base64")
245
245
  return [
246
246
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -276,4 +276,4 @@ var toModelContent3 = (path, offset, output) => {
276
276
  `);
277
277
  };
278
278
 
279
- export { name7, Input7, Plugin8, toModelContent3, exports_read };
279
+ export { name3, Input3, Plugin4, toModelContent2, exports_read };