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

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 (934) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +86 -86
  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 +244 -244
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{model-myt9fkc7.js → file-retention-00evz0zc.js} +6 -6
  9. package/dist/chunks/{model-034tev2y.js → file-retention-034tev2y.js} +2 -2
  10. package/dist/chunks/{model-cagdk6e6.js → file-retention-040rxmsg.js} +7 -7
  11. package/dist/chunks/{model-4b72pw7k.js → file-retention-0dxcp800.js} +2 -2
  12. package/dist/chunks/{model-62zd5tzk.js → file-retention-0gp4h782.js} +4 -4
  13. package/dist/chunks/{model-0hxcpwt2.js → file-retention-0hxcpwt2.js} +3 -3
  14. package/dist/chunks/{model-0j7gp832.js → file-retention-0j7gp832.js} +1 -1
  15. package/dist/chunks/{model-v6zdqbgs.js → file-retention-0kpz9k6q.js} +6 -6
  16. package/dist/chunks/{model-0ma9gw4f.js → file-retention-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{model-64tp0ya5.js → file-retention-0nby6mnz.js} +11 -11
  18. package/dist/chunks/{model-3p08md3h.js → file-retention-0nseh0ww.js} +11 -11
  19. package/dist/chunks/{model-0php2d2a.js → file-retention-0php2d2a.js} +4 -4
  20. package/dist/chunks/{model-ewn6818x.js → file-retention-0t6d4jhr.js} +11 -11
  21. package/dist/chunks/{model-remxw044.js → file-retention-0tvgqg49.js} +1 -1
  22. package/dist/chunks/{model-h0bhactx.js → file-retention-0zx00d82.js} +7 -7
  23. package/dist/chunks/{model-cbts0apv.js → file-retention-109t80sz.js} +14 -14
  24. package/dist/chunks/{model-mzn2a4s9.js → file-retention-15jjwh3e.js} +40 -40
  25. package/dist/chunks/{model-xxrnkfxa.js → file-retention-1akar8ks.js} +3 -3
  26. package/dist/chunks/{model-1aqsckx4.js → file-retention-1aqsckx4.js} +1 -1
  27. package/dist/chunks/{model-d3308ckt.js → file-retention-1dtka0nz.js} +20 -20
  28. package/dist/chunks/{model-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
  29. package/dist/chunks/{model-h940dy85.js → file-retention-1f19kj02.js} +3 -3
  30. package/dist/chunks/{model-ccq6qsk8.js → file-retention-1vtweyq1.js} +33 -33
  31. package/dist/chunks/{model-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{model-1yq9hg58.js → file-retention-1yq9hg58.js} +1 -1
  33. package/dist/chunks/{model-3e73t2zc.js → file-retention-206p06sk.js} +29 -29
  34. package/dist/chunks/{model-rj7j5fvs.js → file-retention-229tvxdn.js} +4 -4
  35. package/dist/chunks/{model-5zht1efa.js → file-retention-2cygvtc6.js} +27 -27
  36. package/dist/chunks/{model-2fc7eemy.js → file-retention-2fc7eemy.js} +1 -1
  37. package/dist/chunks/{model-nsbjhe4d.js → file-retention-2k299qg4.js} +9 -9
  38. package/dist/chunks/{model-2kg89srt.js → file-retention-2kg89srt.js} +1 -1
  39. package/dist/chunks/{model-ce7s1pbp.js → file-retention-2rbj4gma.js} +22 -22
  40. package/dist/chunks/{model-gr0bm0f7.js → file-retention-2wkndd51.js} +18 -18
  41. package/dist/chunks/{model-hfdaj0h9.js → file-retention-2xdfg7wz.js} +13 -13
  42. package/dist/chunks/{model-9cjk3842.js → file-retention-2xm40w62.js} +12 -12
  43. package/dist/chunks/{model-r14wyr3w.js → file-retention-3139xxfc.js} +8 -8
  44. package/dist/chunks/{model-fa9zh0hf.js → file-retention-36fpmjbw.js} +8 -8
  45. package/dist/chunks/{model-gj7y0tfs.js → file-retention-388pzms7.js} +5 -5
  46. package/dist/chunks/{model-mn8tqb4h.js → file-retention-39j14cry.js} +8 -8
  47. package/dist/chunks/{model-m3bkjmxb.js → file-retention-3a1jm349.js} +32 -32
  48. package/dist/chunks/{model-xjbsd7zy.js → file-retention-3adw4bt5.js} +9 -9
  49. package/dist/chunks/{model-a3tm4wjw.js → file-retention-3db8mxk3.js} +123 -67
  50. package/dist/chunks/{model-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{model-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
  52. package/dist/chunks/{model-j1zpf99x.js → file-retention-3qgwywyc.js} +5 -5
  53. package/dist/chunks/{model-pgqxr0th.js → file-retention-3v50s0nm.js} +4 -4
  54. package/dist/chunks/{model-05ehc3gz.js → file-retention-3z2wansv.js} +11 -11
  55. package/dist/chunks/{model-40y6dtc2.js → file-retention-40y6dtc2.js} +1 -1
  56. package/dist/chunks/{model-0d15b3p2.js → file-retention-45fhkea0.js} +27 -27
  57. package/dist/chunks/{model-0yn2q0fq.js → file-retention-471b4vg3.js} +12 -12
  58. package/dist/chunks/{model-z9prk17z.js → file-retention-49wct0kc.js} +16 -16
  59. package/dist/chunks/{model-4medx3yc.js → file-retention-4dtvemx5.js} +8 -8
  60. package/dist/chunks/{model-4dx1dgte.js → file-retention-4dx1dgte.js} +1 -1
  61. package/dist/chunks/{model-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
  62. package/dist/chunks/{model-cwj7f37j.js → file-retention-4thshjht.js} +1 -1
  63. package/dist/chunks/{model-msd2a3qm.js → file-retention-4tnarq1t.js} +6 -6
  64. package/dist/chunks/{model-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
  65. package/dist/chunks/{model-yd6kjv4n.js → file-retention-4wakat28.js} +28 -28
  66. package/dist/chunks/{model-wr7bjqf6.js → file-retention-4yabvb9z.js} +2 -2
  67. package/dist/chunks/{model-q7srkfd6.js → file-retention-530xg6vw.js} +6 -6
  68. package/dist/chunks/{model-tktfk7r3.js → file-retention-571e4mnh.js} +10 -10
  69. package/dist/chunks/{model-c8j7dnn2.js → file-retention-59w360q8.js} +13 -13
  70. package/dist/chunks/{model-qqsn6hfp.js → file-retention-5a7qb1w3.js} +2 -2
  71. package/dist/chunks/{model-33mjg06a.js → file-retention-5enc3vxd.js} +3 -3
  72. package/dist/chunks/{model-fdtp6zbm.js → file-retention-5kc3t2f9.js} +11 -11
  73. package/dist/chunks/{model-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  74. package/dist/chunks/{model-r5a4enwn.js → file-retention-5q33j1cv.js} +4 -4
  75. package/dist/chunks/{model-5whx36p1.js → file-retention-5whx36p1.js} +1 -1
  76. package/dist/chunks/{model-zvp1emq8.js → file-retention-683maj78.js} +24 -24
  77. package/dist/chunks/{model-3rapmj7b.js → file-retention-6vzxa6gg.js} +8 -8
  78. package/dist/chunks/{model-47pktn18.js → file-retention-6xed0wgw.js} +11 -11
  79. package/dist/chunks/{model-m3axgt35.js → file-retention-73t33r1z.js} +14 -14
  80. package/dist/chunks/{model-zdtdjee6.js → file-retention-74z1qt8d.js} +15 -15
  81. package/dist/chunks/{model-9zwexsxs.js → file-retention-78p2h4ex.js} +5 -5
  82. package/dist/chunks/{model-f7r7m9p6.js → file-retention-7aqhms1k.js} +9 -9
  83. package/dist/chunks/{model-1j041cfy.js → file-retention-7ate3mdg.js} +143 -143
  84. package/dist/chunks/{model-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{model-8624fsr4.js → file-retention-7gbwh7hh.js} +11 -11
  86. package/dist/chunks/{model-xy5k248r.js → file-retention-7kh39e2h.js} +13 -13
  87. package/dist/chunks/{model-0t89tmzm.js → file-retention-7m3mjwky.js} +13 -13
  88. package/dist/chunks/{model-mpjxpg35.js → file-retention-7nm62yak.js} +14 -14
  89. package/dist/chunks/{model-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
  90. package/dist/chunks/{model-7weczvnd.js → file-retention-7weczvnd.js} +1 -1
  91. package/dist/chunks/{model-6yyddktx.js → file-retention-7xgv5ycq.js} +30 -30
  92. package/dist/chunks/{model-80mg3ag8.js → file-retention-80mg3ag8.js} +3 -3
  93. package/dist/chunks/{model-80pdk984.js → file-retention-80pdk984.js} +1 -1
  94. package/dist/chunks/{model-br010nc4.js → file-retention-80sd2g1t.js} +24 -24
  95. package/dist/chunks/{model-85jq8dht.js → file-retention-85jq8dht.js} +1 -1
  96. package/dist/chunks/{model-ss0ndc15.js → file-retention-86sq5tg5.js} +10 -10
  97. package/dist/chunks/{model-krmt0h2w.js → file-retention-8a60k7tf.js} +12 -12
  98. package/dist/chunks/{model-yb81b84g.js → file-retention-8ajp9zyd.js} +17 -17
  99. package/dist/chunks/{model-nq1mg43n.js → file-retention-8akjpyn6.js} +3 -3
  100. package/dist/chunks/{model-8b3vzgkx.js → file-retention-8b3vzgkx.js} +1 -1
  101. package/dist/chunks/{model-148xq1kq.js → file-retention-8h9nhb80.js} +8 -8
  102. package/dist/chunks/{model-2bswbpgz.js → file-retention-8hfctyyf.js} +5 -5
  103. package/dist/chunks/{model-tevveh3n.js → file-retention-8j76zmcb.js} +30 -30
  104. package/dist/chunks/{model-8sxe6kv8.js → file-retention-8sxe6kv8.js} +2 -2
  105. package/dist/chunks/{model-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
  106. package/dist/chunks/{model-8zv0xmg5.js → file-retention-8zv0xmg5.js} +1 -1
  107. package/dist/chunks/{model-4e2mfesz.js → file-retention-913papyv.js} +14 -14
  108. package/dist/chunks/{model-963hk181.js → file-retention-963hk181.js} +2 -2
  109. package/dist/chunks/{model-08weax8k.js → file-retention-96rzt6wt.js} +11 -11
  110. package/dist/chunks/{model-s5va80fv.js → file-retention-9ff9wbtn.js} +13 -13
  111. package/dist/chunks/{model-3k9a42wj.js → file-retention-9qffqtsn.js} +16 -16
  112. package/dist/chunks/{model-200xyzfe.js → file-retention-9xgw5zfe.js} +17 -17
  113. package/dist/chunks/{model-r70fc8q7.js → file-retention-9xk0h840.js} +16 -16
  114. package/dist/chunks/{model-a3fn0gmm.js → file-retention-a3fn0gmm.js} +2 -2
  115. package/dist/chunks/{model-pgeamhre.js → file-retention-a9hkbpc6.js} +14 -14
  116. package/dist/chunks/{model-0y15sqga.js → file-retention-ad123chm.js} +11 -11
  117. package/dist/chunks/{model-2p60zmnr.js → file-retention-ad21tgm2.js} +4 -4
  118. package/dist/chunks/{model-6es1dp4c.js → file-retention-adjee44k.js} +8 -8
  119. package/dist/chunks/{model-wcxqhytp.js → file-retention-aefd2vw2.js} +7 -7
  120. package/dist/chunks/{model-6y2b864j.js → file-retention-agje4kmn.js} +4 -4
  121. package/dist/chunks/{model-ahenw0f4.js → file-retention-ahenw0f4.js} +5 -5
  122. package/dist/chunks/{model-10pn4eb5.js → file-retention-ayfytmn9.js} +5 -5
  123. package/dist/chunks/{model-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
  124. package/dist/chunks/{model-k7rtwba0.js → file-retention-b3d082y1.js} +22 -22
  125. package/dist/chunks/{model-vcsx8vbf.js → file-retention-b6zprkys.js} +7 -7
  126. package/dist/chunks/{model-rtkfrg4c.js → file-retention-bapqn1wv.js} +10 -10
  127. package/dist/chunks/{model-ay6wrfq3.js → file-retention-bcbezmcm.js} +9 -9
  128. package/dist/chunks/{model-2svm880h.js → file-retention-bcenpvnw.js} +13 -13
  129. package/dist/chunks/{model-6apf8frj.js → file-retention-bd4geh6z.js} +4 -4
  130. package/dist/chunks/{model-650ycsqk.js → file-retention-bfbsygdd.js} +5 -5
  131. package/dist/chunks/{model-bffykna6.js → file-retention-bffykna6.js} +2 -2
  132. package/dist/chunks/{model-vqq0nw69.js → file-retention-bq1g6b1d.js} +15 -15
  133. package/dist/chunks/{model-bstexjd6.js → file-retention-bstexjd6.js} +1 -1
  134. package/dist/chunks/{model-f1kpf9tg.js → file-retention-bvp63rq9.js} +6 -6
  135. package/dist/chunks/{model-qxr7hnvj.js → file-retention-bw0b2238.js} +15 -15
  136. package/dist/chunks/{model-zqv6p0j7.js → file-retention-bwr3jnns.js} +15 -15
  137. package/dist/chunks/{model-hqw6s7vg.js → file-retention-bxc2ab2h.js} +40 -40
  138. package/dist/chunks/{model-w6vg8qxy.js → file-retention-by8rs8mm.js} +3 -3
  139. package/dist/chunks/{model-by8ty0bx.js → file-retention-by8ty0bx.js} +1 -1
  140. package/dist/chunks/{model-v3d8wtdt.js → file-retention-c366grjq.js} +13 -13
  141. package/dist/chunks/{model-8j11fyne.js → file-retention-c4fqyyzh.js} +33 -33
  142. package/dist/chunks/{model-cpvd08na.js → file-retention-c6x7d2ts.js} +4 -4
  143. package/dist/chunks/{model-wt99tj4q.js → file-retention-c7cw818c.js} +5 -5
  144. package/dist/chunks/{model-xmd1xbsv.js → file-retention-ca3yk086.js} +12 -12
  145. package/dist/chunks/{model-f2t3k20r.js → file-retention-cbesbsh3.js} +10 -10
  146. package/dist/chunks/{model-am5a7svf.js → file-retention-cbzjmpsh.js} +4 -4
  147. package/dist/chunks/{model-q2dmbysw.js → file-retention-cf21gzb8.js} +5 -5
  148. package/dist/chunks/{model-raamw8fs.js → file-retention-cgtdmx1h.js} +20 -20
  149. package/dist/chunks/{model-s65cmm33.js → file-retention-csqnxa1q.js} +28 -28
  150. package/dist/chunks/{model-1cev16q8.js → file-retention-cw6ks3ew.js} +8 -8
  151. package/dist/chunks/{model-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
  152. package/dist/chunks/{model-2bsw763r.js → file-retention-d254c387.js} +9 -9
  153. package/dist/chunks/{model-65n9jqtg.js → file-retention-d390zwf3.js} +6 -6
  154. package/dist/chunks/{model-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
  155. package/dist/chunks/{model-08nq0gwq.js → file-retention-d7jp7t91.js} +19 -19
  156. package/dist/chunks/{model-z2hjnym5.js → file-retention-d94nassh.js} +74 -74
  157. package/dist/chunks/{model-160yv0cs.js → file-retention-ddvn7d3w.js} +8 -8
  158. package/dist/chunks/{model-5a0bptm8.js → file-retention-ddznp77j.js} +4 -4
  159. package/dist/chunks/{model-w2vzp9j5.js → file-retention-dk6dpcaf.js} +9 -9
  160. package/dist/chunks/{model-dt77769w.js → file-retention-dt77769w.js} +1 -1
  161. package/dist/chunks/{model-3h4bcgh0.js → file-retention-e07faqy4.js} +18 -18
  162. package/dist/chunks/{model-2mbjfaxd.js → file-retention-e45fk36t.js} +4 -4
  163. package/dist/chunks/{model-kve8t19d.js → file-retention-e934f88v.js} +11 -11
  164. package/dist/chunks/{model-7y3c392v.js → file-retention-eb9nv8p6.js} +31 -31
  165. package/dist/chunks/{model-nr1zwmm0.js → file-retention-ecpg6fb9.js} +4 -4
  166. package/dist/chunks/{model-nfaz60sz.js → file-retention-eeqxneqt.js} +6 -6
  167. package/dist/chunks/{model-eqw4pqj1.js → file-retention-eqw4pqj1.js} +2 -2
  168. package/dist/chunks/{model-zz2c832q.js → file-retention-eqz858fr.js} +9 -9
  169. package/dist/chunks/file-retention-ev660z6k.js +18 -0
  170. package/dist/chunks/{model-09zcjbp5.js → file-retention-eyq5wfd8.js} +32 -32
  171. package/dist/chunks/{model-7r3nrrdh.js → file-retention-f1sxnq30.js} +22 -22
  172. package/dist/chunks/{model-p3mc3rwb.js → file-retention-f805k95c.js} +1 -1
  173. package/dist/chunks/{model-tyycnx8n.js → file-retention-f8h4q6rt.js} +47 -47
  174. package/dist/chunks/{model-tjk7q11w.js → file-retention-fc62rt39.js} +15 -15
  175. package/dist/chunks/{model-sphvsfsr.js → file-retention-fcv31keh.js} +13 -13
  176. package/dist/chunks/{model-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
  177. package/dist/chunks/{model-gfjve02f.js → file-retention-fmtchrtw.js} +7 -7
  178. package/dist/chunks/{model-m5nv7m71.js → file-retention-ftqqst3x.js} +30 -30
  179. package/dist/chunks/file-retention-g1pwz04r.js +26 -0
  180. package/dist/chunks/{model-w5pqf8b7.js → file-retention-g2y31exj.js} +33 -33
  181. package/dist/chunks/{model-pt2f0jk2.js → file-retention-g9cj8p6n.js} +351 -351
  182. package/dist/chunks/{model-gbjdnr5j.js → file-retention-gbjdnr5j.js} +2 -2
  183. package/dist/chunks/{model-gc6rk9wr.js → file-retention-gc6rk9wr.js} +1 -1
  184. package/dist/chunks/{model-1494zjeh.js → file-retention-gf7w3qjk.js} +23 -23
  185. package/dist/chunks/{model-7trqavmj.js → file-retention-gh3v29h0.js} +31 -31
  186. package/dist/chunks/{model-ghrv1g9c.js → file-retention-ghrv1g9c.js} +1 -1
  187. package/dist/chunks/{model-2b555hw6.js → file-retention-gwmqddn8.js} +48 -48
  188. package/dist/chunks/{model-10kej31a.js → file-retention-h5ncs4da.js} +81 -81
  189. package/dist/chunks/{model-wznk9vg6.js → file-retention-h6pm70xx.js} +19 -19
  190. package/dist/chunks/{model-k25vwq5p.js → file-retention-h9qmrvth.js} +59 -59
  191. package/dist/chunks/{model-wprv5e0c.js → file-retention-hcbk55mf.js} +10 -10
  192. package/dist/chunks/{model-stmzw2v7.js → file-retention-hgyjngcw.js} +5 -5
  193. package/dist/chunks/{model-hgzwgvze.js → file-retention-hgzwgvze.js} +2 -2
  194. package/dist/chunks/{model-10afd8zb.js → file-retention-hhg8skp7.js} +24 -24
  195. package/dist/chunks/{model-f0t59cqk.js → file-retention-j1k6k24k.js} +17 -17
  196. package/dist/chunks/{model-4fzwr2m0.js → file-retention-jezdr3qb.js} +14 -14
  197. package/dist/chunks/{model-tr8x705m.js → file-retention-jht64jd1.js} +4 -4
  198. package/dist/chunks/{model-v727gcv0.js → file-retention-jkkettf9.js} +11 -11
  199. package/dist/chunks/{model-jm70asfg.js → file-retention-jm70asfg.js} +1 -1
  200. package/dist/chunks/{model-9t5vtgd8.js → file-retention-jnaj2187.js} +17 -17
  201. package/dist/chunks/{model-b4k47k2s.js → file-retention-jtn88xg7.js} +5 -5
  202. package/dist/chunks/{model-ymkf5gg0.js → file-retention-jtss1qkx.js} +15 -15
  203. package/dist/chunks/{model-6qappkbv.js → file-retention-jwcw5enf.js} +14 -14
  204. package/dist/chunks/{model-m88ft9j9.js → file-retention-k0tm75mb.js} +6 -6
  205. package/dist/chunks/{model-f8n5d6m9.js → file-retention-k98t6223.js} +81 -81
  206. package/dist/chunks/{model-2qm5at19.js → file-retention-k99ec1p8.js} +18 -18
  207. package/dist/chunks/{model-z5td0z29.js → file-retention-kas5rcgf.js} +17 -17
  208. package/dist/chunks/{model-xc08sm7v.js → file-retention-kb8spm7s.js} +10 -10
  209. package/dist/chunks/{model-a5rej8c4.js → file-retention-kdw9060a.js} +12 -12
  210. package/dist/chunks/{model-20pht57w.js → file-retention-kj9n5bvh.js} +4 -4
  211. package/dist/chunks/{model-3936qknj.js → file-retention-kpgsw4f5.js} +3 -3
  212. package/dist/chunks/{model-6d447hqy.js → file-retention-kqd77qhf.js} +9 -9
  213. package/dist/chunks/file-retention-kqp8n64m.js +273 -0
  214. package/dist/chunks/{model-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
  215. package/dist/chunks/{model-5asgddgx.js → file-retention-ktck1cjp.js} +6 -6
  216. package/dist/chunks/{model-x41w2g5z.js → file-retention-kyzerg4y.js} +18 -18
  217. package/dist/chunks/{model-kzczzf4v.js → file-retention-kzczzf4v.js} +1 -1
  218. package/dist/chunks/{model-m1714858.js → file-retention-m1714858.js} +1 -1
  219. package/dist/chunks/{model-qy0mvb3m.js → file-retention-m4db2ssm.js} +21 -21
  220. package/dist/chunks/{model-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  221. package/dist/chunks/{model-mb7mbhnz.js → file-retention-mb7mbhnz.js} +3 -3
  222. package/dist/chunks/{model-pkg4x22g.js → file-retention-mdfqpk4k.js} +2 -2
  223. package/dist/chunks/{model-me215f18.js → file-retention-me215f18.js} +1 -1
  224. package/dist/chunks/{model-np0jxeq5.js → file-retention-mkny72vx.js} +8 -8
  225. package/dist/chunks/{model-1xrqzjsv.js → file-retention-mnkn5pp4.js} +8 -8
  226. package/dist/chunks/{model-cbssh99t.js → file-retention-mwnw36e2.js} +4 -4
  227. package/dist/chunks/{model-j7cndtze.js → file-retention-mydpxcgn.js} +9 -9
  228. package/dist/chunks/{model-33gwp74t.js → file-retention-mz3kf7qd.js} +39 -39
  229. package/dist/chunks/{model-n3j33rb6.js → file-retention-n3j33rb6.js} +1 -1
  230. package/dist/chunks/{model-5sfs57rd.js → file-retention-n8pvpwzy.js} +6 -6
  231. package/dist/chunks/{model-xxschbft.js → file-retention-nad3qcx8.js} +7 -7
  232. package/dist/chunks/{model-p3d2bavg.js → file-retention-ng20w319.js} +14 -14
  233. package/dist/chunks/{model-aagm5cbn.js → file-retention-nm246k4b.js} +34 -34
  234. package/dist/chunks/{model-a5d8v0q4.js → file-retention-ntzjwv6t.js} +30 -30
  235. package/dist/chunks/{model-n92r3whm.js → file-retention-nx4mdkkp.js} +5 -5
  236. package/dist/chunks/{model-my936y1m.js → file-retention-p06kgngc.js} +12 -12
  237. package/dist/chunks/{model-z9y0h9gf.js → file-retention-p2p83fhz.js} +6 -6
  238. package/dist/chunks/{model-8d047cw6.js → file-retention-p8nn0xd4.js} +3 -3
  239. package/dist/chunks/{model-ktkyce3z.js → file-retention-p9eyzste.js} +3 -3
  240. package/dist/chunks/{model-8bjrjs1n.js → file-retention-p9j2z5m0.js} +4 -4
  241. package/dist/chunks/{model-x9sa2vw4.js → file-retention-pkks4ccs.js} +18 -18
  242. package/dist/chunks/{model-pknna89w.js → file-retention-pknna89w.js} +1 -1
  243. package/dist/chunks/{model-f7qbn273.js → file-retention-ppjhkp0t.js} +18 -18
  244. package/dist/chunks/{model-1v62x7nb.js → file-retention-prq49vex.js} +11 -11
  245. package/dist/chunks/{model-690kw40d.js → file-retention-ptbvxvsc.js} +25 -25
  246. package/dist/chunks/{model-r90z6zhq.js → file-retention-pxetjdyf.js} +32 -32
  247. package/dist/chunks/{model-hfjxjgrv.js → file-retention-pzy821ss.js} +15 -15
  248. package/dist/chunks/{model-q42tzrxa.js → file-retention-q42tzrxa.js} +1 -1
  249. package/dist/chunks/{model-9khz0wq9.js → file-retention-q6a7h9km.js} +7 -7
  250. package/dist/chunks/{model-rt912mbg.js → file-retention-q7mj2rrj.js} +22 -22
  251. package/dist/chunks/{model-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
  252. package/dist/chunks/{model-vzmn4kft.js → file-retention-qrnem0ta.js} +7 -7
  253. package/dist/chunks/{model-etbj7259.js → file-retention-qxejr2tq.js} +9 -9
  254. package/dist/chunks/{model-r542h3bh.js → file-retention-r542h3bh.js} +1 -1
  255. package/dist/chunks/{model-yv7gfeb1.js → file-retention-r65pqp2z.js} +22 -22
  256. package/dist/chunks/{model-0hc5b915.js → file-retention-r6v2fhzz.js} +10 -10
  257. package/dist/chunks/{model-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
  258. package/dist/chunks/{model-e7qryzfw.js → file-retention-rdf28bwj.js} +79 -50
  259. package/dist/chunks/{model-rjc0e4t0.js → file-retention-reqkdp97.js} +20 -20
  260. package/dist/chunks/{model-rgc9cx3e.js → file-retention-rgc9cx3e.js} +2 -2
  261. package/dist/chunks/{model-vsa1az0w.js → file-retention-rh5js60t.js} +13 -13
  262. package/dist/chunks/{model-stbett4v.js → file-retention-rj7jtxy8.js} +3 -3
  263. package/dist/chunks/{model-b6b58phx.js → file-retention-rs3b9ywk.js} +15 -15
  264. package/dist/chunks/{model-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
  265. package/dist/chunks/{model-hvfme911.js → file-retention-rz0ah06v.js} +6 -6
  266. package/dist/chunks/{model-sf9y72b7.js → file-retention-rzg6y5rp.js} +4 -4
  267. package/dist/chunks/{model-5n0rnk8e.js → file-retention-s26c8eb5.js} +4 -4
  268. package/dist/chunks/{model-mbd12qs5.js → file-retention-s3m11dxy.js} +11 -11
  269. package/dist/chunks/{model-kf9pbwfw.js → file-retention-s6yrjw80.js} +29 -29
  270. package/dist/chunks/{model-sbya78hr.js → file-retention-sbya78hr.js} +1 -1
  271. package/dist/chunks/{model-z3nw929v.js → file-retention-scn5v30h.js} +9 -9
  272. package/dist/chunks/{model-ppp1a1w1.js → file-retention-scz6edve.js} +16 -16
  273. package/dist/chunks/{model-x70req0v.js → file-retention-sddgrs9h.js} +31 -31
  274. package/dist/chunks/{model-ra34yqmw.js → file-retention-sq4s6wq1.js} +6 -6
  275. package/dist/chunks/{model-x0afmz69.js → file-retention-sr8k1zr2.js} +5 -5
  276. package/dist/chunks/{model-5hcj91nx.js → file-retention-srr3d3tf.js} +7 -7
  277. package/dist/chunks/{model-kcxeskpv.js → file-retention-stqs64fv.js} +40 -40
  278. package/dist/chunks/{model-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
  279. package/dist/chunks/{model-bj9jxw1d.js → file-retention-sxawesdv.js} +19 -19
  280. package/dist/chunks/{model-ekj2k84j.js → file-retention-sxqh7f09.js} +3 -3
  281. package/dist/chunks/{model-05bt7bhb.js → file-retention-sz4vf8k7.js} +15 -15
  282. package/dist/chunks/{model-zp38z90p.js → file-retention-t16h1dw6.js} +3 -3
  283. package/dist/chunks/{model-3raqsjay.js → file-retention-t2jp7rtp.js} +1 -1
  284. package/dist/chunks/{model-qzwa5pge.js → file-retention-t5e1vn0t.js} +12 -12
  285. package/dist/chunks/{model-xsgzmtt3.js → file-retention-t702817v.js} +28 -28
  286. package/dist/chunks/{model-hhwtx70h.js → file-retention-tamy641b.js} +7 -7
  287. package/dist/chunks/{model-tbpn7jtk.js → file-retention-tbpn7jtk.js} +1 -1
  288. package/dist/chunks/{model-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
  289. package/dist/chunks/{model-tg7s7b5t.js → file-retention-tg7s7b5t.js} +1 -1
  290. package/dist/chunks/{model-nbqqe8xw.js → file-retention-tkp26qc3.js} +19 -19
  291. package/dist/chunks/{model-b26ddj6h.js → file-retention-tp1jb13k.js} +7 -7
  292. package/dist/chunks/{model-9k9q9h2y.js → file-retention-tr00xmye.js} +11 -11
  293. package/dist/chunks/{model-tvtps2q9.js → file-retention-tvtps2q9.js} +1 -1
  294. package/dist/chunks/{model-1yzx0q78.js → file-retention-tw1x107z.js} +3 -3
  295. package/dist/chunks/{model-44pmzq9c.js → file-retention-twhtcdx9.js} +4 -4
  296. package/dist/chunks/{model-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
  297. package/dist/chunks/{model-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
  298. package/dist/chunks/{model-zy7n64tq.js → file-retention-vde2qr54.js} +1 -1
  299. package/dist/chunks/{model-vjf35v1f.js → file-retention-vjf35v1f.js} +1 -1
  300. package/dist/chunks/{model-2jffmtyb.js → file-retention-vk5e8r28.js} +42 -42
  301. package/dist/chunks/{model-15vwk5m2.js → file-retention-vp7d9g79.js} +18 -18
  302. package/dist/chunks/{model-qh5g3qaw.js → file-retention-vq0qa3sh.js} +9 -9
  303. package/dist/chunks/{model-r7p2nbf1.js → file-retention-w0tdj5cr.js} +18 -18
  304. package/dist/chunks/{model-fvsmnwd4.js → file-retention-w18hgg2d.js} +9 -9
  305. package/dist/chunks/{model-w2eysc6j.js → file-retention-w2eysc6j.js} +2 -2
  306. package/dist/chunks/{model-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  307. package/dist/chunks/{model-xz07m27x.js → file-retention-w4xw9ac5.js} +2 -2
  308. package/dist/chunks/{model-nk9akxx5.js → file-retention-wa6s0ez2.js} +2 -2
  309. package/dist/chunks/{model-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
  310. package/dist/chunks/{model-wd87259q.js → file-retention-wd87259q.js} +1 -1
  311. package/dist/chunks/{model-wegkxhrn.js → file-retention-wegkxhrn.js} +2 -2
  312. package/dist/chunks/{model-wfdx5ztx.js → file-retention-wfdx5ztx.js} +1 -1
  313. package/dist/chunks/{model-41p56tas.js → file-retention-wjts407w.js} +34 -34
  314. package/dist/chunks/{model-49rkndpa.js → file-retention-wksqf360.js} +6 -6
  315. package/dist/chunks/{model-w392gvqw.js → file-retention-wqjs5pht.js} +8 -8
  316. package/dist/chunks/{model-wr3re1en.js → file-retention-wr3re1en.js} +1 -1
  317. package/dist/chunks/{model-9sgn6a71.js → file-retention-wxdcyhh4.js} +14 -14
  318. package/dist/chunks/{model-4taass34.js → file-retention-x0epf1q7.js} +8 -8
  319. package/dist/chunks/{model-s8fvhn4h.js → file-retention-x6cj2m5r.js} +4 -4
  320. package/dist/chunks/{model-h91tf95k.js → file-retention-x8w129ft.js} +10 -10
  321. package/dist/chunks/{model-ttmm5gr6.js → file-retention-x9js1xgv.js} +11 -11
  322. package/dist/chunks/{model-vkq56ka5.js → file-retention-xc7hst99.js} +21 -21
  323. package/dist/chunks/{model-metcvwkm.js → file-retention-xpccsfks.js} +2 -2
  324. package/dist/chunks/{model-xvn8mnch.js → file-retention-xvn8mnch.js} +1 -1
  325. package/dist/chunks/{model-by3zbw0c.js → file-retention-xw8brf9j.js} +12 -12
  326. package/dist/chunks/{model-dhpx0ztf.js → file-retention-xx767whj.js} +46 -46
  327. package/dist/chunks/{model-e0y7zfw7.js → file-retention-y3019neg.js} +10 -10
  328. package/dist/chunks/{model-vwm6fdyp.js → file-retention-y5c52r2e.js} +30 -30
  329. package/dist/chunks/{model-g2njb55f.js → file-retention-y5pgrr0z.js} +2 -2
  330. package/dist/chunks/{model-fvgj1da1.js → file-retention-y6daexrx.js} +7 -7
  331. package/dist/chunks/{model-rvmghfg9.js → file-retention-y9ww16zv.js} +12 -12
  332. package/dist/chunks/{model-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
  333. package/dist/chunks/{model-28pxtz2s.js → file-retention-ybfry77y.js} +46 -46
  334. package/dist/chunks/{model-y32xxt00.js → file-retention-yc9fq4e8.js} +4 -4
  335. package/dist/chunks/{model-wezrjeyh.js → file-retention-ycbwr1g8.js} +15 -15
  336. package/dist/chunks/{model-tvbp6ax4.js → file-retention-ydsyqk66.js} +11 -11
  337. package/dist/chunks/{model-8fm8128g.js → file-retention-ykwpwmwk.js} +16 -16
  338. package/dist/chunks/{model-yr705xyq.js → file-retention-yr705xyq.js} +1 -1
  339. package/dist/chunks/{model-4av79kf0.js → file-retention-yr9fzrcg.js} +9 -9
  340. package/dist/chunks/{model-kbgs7tyr.js → file-retention-yts2a8qm.js} +4 -4
  341. package/dist/chunks/{model-rcsbmygy.js → file-retention-yvh06wfw.js} +25 -25
  342. package/dist/chunks/{model-yvtc2x31.js → file-retention-yvtc2x31.js} +1 -1
  343. package/dist/chunks/{model-yy1xpgfn.js → file-retention-yy1xpgfn.js} +3 -3
  344. package/dist/chunks/{model-k413tq6h.js → file-retention-z5khxxz4.js} +20 -20
  345. package/dist/chunks/{model-1nqk9g29.js → file-retention-z6g4szpb.js} +8 -8
  346. package/dist/chunks/{model-ze75qvmd.js → file-retention-ze75qvmd.js} +3 -3
  347. package/dist/chunks/{model-eft32nj2.js → file-retention-zqa3fvkz.js} +22 -22
  348. package/dist/chunks/{model-v82zsv82.js → file-retention-zsnv2c73.js} +10 -10
  349. package/dist/chunks/{model-ryr33a7c.js → file-retention-zt2z3e0p.js} +17 -17
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +3 -3
  352. package/dist/codemode/fetch.js +148 -148
  353. package/dist/codemode/instructions.js +9 -9
  354. package/dist/codemode/tool.js +155 -155
  355. package/dist/command.js +88 -88
  356. package/dist/config/discovery.js +95 -95
  357. package/dist/config/integration.js +3 -3
  358. package/dist/config/managed.js +1 -1
  359. package/dist/config/markdown.js +1 -1
  360. package/dist/config/normalize.js +112 -112
  361. package/dist/config/plugin/agent.js +131 -131
  362. package/dist/config/plugin/command.js +238 -238
  363. package/dist/config/plugin/compaction.js +173 -173
  364. package/dist/config/plugin/compatibility.js +153 -153
  365. package/dist/config/plugin/entry-observer.js +1 -1
  366. package/dist/config/plugin/formatter.js +131 -131
  367. package/dist/config/plugin/image.js +130 -130
  368. package/dist/config/plugin/instruction.js +130 -130
  369. package/dist/config/plugin/location-watcher.js +130 -130
  370. package/dist/config/plugin/mcp.js +141 -141
  371. package/dist/config/plugin/policy.js +130 -130
  372. package/dist/config/plugin/provider.js +132 -132
  373. package/dist/config/plugin/reference.js +132 -132
  374. package/dist/config/plugin/shell.js +130 -130
  375. package/dist/config/plugin/skill-file.js +149 -149
  376. package/dist/config/plugin/skill-scan.js +1 -1
  377. package/dist/config/plugin/skill.js +154 -154
  378. package/dist/config/plugin/snapshot.js +130 -130
  379. package/dist/config/plugin/source.js +128 -128
  380. package/dist/config/plugin/tool-output.js +131 -131
  381. package/dist/config/plugin/websearch.js +129 -129
  382. package/dist/config/plugin/worktree.js +132 -132
  383. package/dist/config/variable.js +1 -1
  384. package/dist/config/watch.js +1 -1
  385. package/dist/config.js +133 -133
  386. package/dist/console-access.js +1 -1
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +88 -88
  389. package/dist/database/batch.js +1 -1
  390. package/dist/database/database.js +77 -77
  391. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  392. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +13 -13
  395. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  398. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  400. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  406. package/dist/database/drizzle.js +14 -14
  407. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  408. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  409. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  410. package/dist/database/migration/20260225215848_workspace.js +1 -1
  411. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  412. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  413. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  414. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  415. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  416. package/dist/database/migration/20260323234822_events.js +1 -1
  417. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  418. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  419. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  420. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  421. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  422. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  423. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  424. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  425. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  426. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  427. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  428. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  429. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  430. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  431. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  432. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  433. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  434. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  435. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  436. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  437. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  438. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  439. package/dist/database/migration/20260611035744_credential.js +1 -1
  440. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  441. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  442. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  443. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  444. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  445. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  446. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  447. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  448. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  449. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  450. package/dist/database/migration/20260812213948_worktree.js +1 -1
  451. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  452. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  453. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  454. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  455. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  456. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  457. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  458. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  459. package/dist/database/migration/20261025123711_blob.js +1 -1
  460. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  461. package/dist/database/migration/20261026223005_schedule.js +1 -1
  462. package/dist/database/migration/20261029002625_session_part.js +1 -1
  463. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  464. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  465. package/dist/database/migration/20261030054400_job.js +1 -1
  466. package/dist/database/migration.gen.js +60 -60
  467. package/dist/database/migration.js +76 -76
  468. package/dist/database/path.js +2 -2
  469. package/dist/database/schema.gen.js +1 -1
  470. package/dist/database/schema.sql.js +1 -1
  471. package/dist/database/v1-migration.bun.js +98 -98
  472. package/dist/database/v1-migration.js +1 -1
  473. package/dist/effect/app-node-builder.js +441 -441
  474. package/dist/effect/app-node-platform.js +2 -2
  475. package/dist/effect/keyed-mutex.js +1 -1
  476. package/dist/effect/websocket-constructor.js +1 -1
  477. package/dist/environment/driver.js +1 -1
  478. package/dist/environment/environment.js +105 -105
  479. package/dist/environment/exec-defaults.js +2 -2
  480. package/dist/environment/files.js +1 -1
  481. package/dist/environment/index.js +108 -108
  482. package/dist/environment/local.js +2 -2
  483. package/dist/environment/memory.js +2 -2
  484. package/dist/environment/unavailable.js +1 -1
  485. package/dist/event/sql.js +1 -1
  486. package/dist/event-logger.js +81 -81
  487. package/dist/file-access.js +160 -160
  488. package/dist/file-mutation.js +108 -108
  489. package/dist/file-retention.js +1 -1
  490. package/dist/file-write.js +160 -160
  491. package/dist/filesystem/fff.bun.js +2 -2
  492. package/dist/filesystem/fff.js +1 -1
  493. package/dist/filesystem/fff.node.js +2 -2
  494. package/dist/filesystem/fff.workerd.js +2 -2
  495. package/dist/filesystem/file-watch.js +88 -88
  496. package/dist/filesystem/location-watcher-policy.js +6 -6
  497. package/dist/filesystem/location-watcher.js +251 -251
  498. package/dist/filesystem/protected.js +1 -1
  499. package/dist/filesystem/search.js +113 -113
  500. package/dist/filesystem/watcher-binding.js +1 -1
  501. package/dist/filesystem/watcher.js +11 -11
  502. package/dist/filesystem.js +114 -114
  503. package/dist/flag.js +131 -131
  504. package/dist/form.js +85 -85
  505. package/dist/formatter/builtins.js +4 -4
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +118 -118
  508. package/dist/git.js +7 -7
  509. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  510. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  511. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  512. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  513. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  514. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  515. package/dist/github-copilot/copilot-provider.js +17 -17
  516. package/dist/github-copilot/models.js +112 -112
  517. package/dist/github-copilot/openai-compatible-error.js +1 -1
  518. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  519. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  520. package/dist/github-copilot/responses/openai-error.js +1 -1
  521. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  522. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  523. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  524. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  525. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  526. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  528. package/dist/image/notice.js +1 -1
  529. package/dist/image/photon-normalize.js +1 -1
  530. package/dist/image/photon-worker.js +1 -1
  531. package/dist/image/photon.js +4 -4
  532. package/dist/image.js +6 -6
  533. package/dist/instance/service.js +5 -5
  534. package/dist/instance.js +432 -432
  535. package/dist/instruction-discovery.js +89 -89
  536. package/dist/instructions/builtins.js +100 -100
  537. package/dist/instructions/index.js +1 -1
  538. package/dist/integration/connection.js +1 -1
  539. package/dist/integration.js +94 -94
  540. package/dist/job/list.js +5 -5
  541. package/dist/job/recovery.js +2 -2
  542. package/dist/job/sql.js +2 -2
  543. package/dist/job.js +88 -88
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +84 -84
  546. package/dist/location-activity.js +182 -182
  547. package/dist/location-lifecycle.js +153 -153
  548. package/dist/location-service-map.js +99 -99
  549. package/dist/location-services.js +429 -429
  550. package/dist/location.js +94 -94
  551. package/dist/managed-policy.js +3 -3
  552. package/dist/mcp/client.js +158 -158
  553. package/dist/mcp/connection.js +106 -106
  554. package/dist/mcp/index.js +122 -122
  555. package/dist/mcp/instructions.js +187 -187
  556. package/dist/mcp/oauth.js +89 -89
  557. package/dist/mcp/pool.js +110 -110
  558. package/dist/mcp/socket-client.js +1 -1
  559. package/dist/mcp/stdio.js +157 -157
  560. package/dist/mime.js +1 -1
  561. package/dist/modal/models.js +112 -112
  562. package/dist/model-resolver.js +112 -112
  563. package/dist/model-retry.js +1 -1
  564. package/dist/model.js +107 -107
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +121 -121
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +89 -89
  569. package/dist/permission/sql.js +5 -5
  570. package/dist/permission.js +150 -150
  571. package/dist/persistent-pty/binary.bun.js +1 -1
  572. package/dist/persistent-pty/daemon.js +1 -1
  573. package/dist/persistent-pty/index.js +97 -97
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +85 -85
  577. package/dist/plugin/command.js +117 -117
  578. package/dist/plugin/goal.js +3 -3
  579. package/dist/plugin/hooks.js +5 -5
  580. package/dist/plugin/host.js +244 -244
  581. package/dist/plugin/identity.js +3 -3
  582. package/dist/plugin/instance.js +5 -5
  583. package/dist/plugin/internal.js +408 -408
  584. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  585. package/dist/plugin/models-dev.js +110 -110
  586. package/dist/plugin/module.js +129 -129
  587. package/dist/plugin/optimize.js +2 -2
  588. package/dist/plugin/plan.js +149 -149
  589. package/dist/plugin/promise.js +1 -1
  590. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  591. package/dist/plugin/provider/azure.js +133 -133
  592. package/dist/plugin/provider/cerebras.js +1 -1
  593. package/dist/plugin/provider/chatgpt.js +133 -133
  594. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  595. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  596. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  597. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  598. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  599. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  600. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  601. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  602. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  603. package/dist/plugin/provider/claude-agent/index.js +148 -148
  604. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  605. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  606. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  608. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  609. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  610. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  612. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  613. package/dist/plugin/provider/claude-agent/provider.js +112 -112
  614. package/dist/plugin/provider/claude-agent/session.js +112 -112
  615. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  616. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  617. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  619. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  620. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  622. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  623. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  625. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  626. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  627. package/dist/plugin/provider/configured.js +126 -126
  628. package/dist/plugin/provider/credential-settings.js +88 -88
  629. package/dist/plugin/provider/databricks.js +1 -1
  630. package/dist/plugin/provider/digitalocean.js +109 -109
  631. package/dist/plugin/provider/dynamic.js +2 -2
  632. package/dist/plugin/provider/github-copilot.js +111 -111
  633. package/dist/plugin/provider/gitlab.js +109 -109
  634. package/dist/plugin/provider/google-vertex.js +127 -127
  635. package/dist/plugin/provider/kilo.js +1 -1
  636. package/dist/plugin/provider/llmgateway.js +89 -89
  637. package/dist/plugin/provider/lmstudio.js +138 -138
  638. package/dist/plugin/provider/local.js +137 -137
  639. package/dist/plugin/provider/modal.js +108 -108
  640. package/dist/plugin/provider/neon.js +1 -1
  641. package/dist/plugin/provider/nvidia.js +1 -1
  642. package/dist/plugin/provider/ollama.js +138 -138
  643. package/dist/plugin/provider/openai-context-caps.js +106 -106
  644. package/dist/plugin/provider/openai.js +133 -133
  645. package/dist/plugin/provider/opencode-watches.js +2 -2
  646. package/dist/plugin/provider/opencode.js +161 -161
  647. package/dist/plugin/provider/openrouter.js +104 -104
  648. package/dist/plugin/provider/poe.js +90 -90
  649. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  650. package/dist/plugin/provider/refresh.js +87 -87
  651. package/dist/plugin/provider/sap-ai-core.js +104 -104
  652. package/dist/plugin/provider/sdk-factory.js +1 -1
  653. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  654. package/dist/plugin/provider/vllm.js +138 -138
  655. package/dist/plugin/provider/xai.js +104 -104
  656. package/dist/plugin/provider/zenmux.js +1 -1
  657. package/dist/plugin/provider.js +239 -239
  658. package/dist/plugin/sdk.js +81 -81
  659. package/dist/plugin/service.js +3 -3
  660. package/dist/plugin/skill.js +150 -150
  661. package/dist/plugin/source-directory.js +1 -1
  662. package/dist/plugin/supervisor.js +416 -416
  663. package/dist/plugin/tool-input-repair.js +4 -4
  664. package/dist/plugin/update.js +6 -6
  665. package/dist/plugin/vcs/git.js +99 -99
  666. package/dist/plugin/vcs/hg.js +99 -99
  667. package/dist/plugin/verbosity.js +106 -106
  668. package/dist/plugin/warming.js +130 -130
  669. package/dist/plugin/websearch/exa.js +8 -8
  670. package/dist/plugin/websearch/firecrawl.js +7 -7
  671. package/dist/plugin/websearch/index.js +10 -10
  672. package/dist/plugin/websearch/mcp.js +2 -2
  673. package/dist/plugin/websearch/parallel.js +9 -9
  674. package/dist/plugin/websearch/provider.js +5 -5
  675. package/dist/plugin/websearch/tavily.js +5 -5
  676. package/dist/plugin/websearch/tinyfish.js +9 -9
  677. package/dist/plugin.js +255 -255
  678. package/dist/project/icon.js +5 -5
  679. package/dist/project/schema.js +2 -2
  680. package/dist/project/sql.js +4 -4
  681. package/dist/project.js +93 -93
  682. package/dist/provider.js +106 -106
  683. package/dist/pty/protocol.js +1 -1
  684. package/dist/pty/ticket.js +1 -1
  685. package/dist/pty.js +111 -111
  686. package/dist/reference/instructions.js +101 -101
  687. package/dist/reference.js +97 -97
  688. package/dist/repository-cache.js +93 -93
  689. package/dist/repository.js +1 -1
  690. package/dist/ripgrep/binary.js +2 -2
  691. package/dist/ripgrep.js +111 -111
  692. package/dist/rpc.js +99 -99
  693. package/dist/schedule/check.js +249 -249
  694. package/dist/schedule/sql.js +6 -6
  695. package/dist/schedule.js +263 -263
  696. package/dist/schema.js +1 -1
  697. package/dist/session/affinity.js +1 -1
  698. package/dist/session/background.js +1 -1
  699. package/dist/session/blob.js +132 -132
  700. package/dist/session/command.js +85 -85
  701. package/dist/session/compaction.js +169 -169
  702. package/dist/session/context.js +205 -205
  703. package/dist/session/diff.js +101 -101
  704. package/dist/session/environment.js +5 -5
  705. package/dist/session/error.js +5 -5
  706. package/dist/session/event.js +1 -1
  707. package/dist/session/execution/restart.js +247 -247
  708. package/dist/session/execution.js +165 -165
  709. package/dist/session/generate.js +206 -206
  710. package/dist/session/history.js +139 -139
  711. package/dist/session/inbox.js +146 -146
  712. package/dist/session/info.js +3 -3
  713. package/dist/session/instruction-entry.js +88 -88
  714. package/dist/session/instruction-state.js +8 -8
  715. package/dist/session/instructions.js +144 -144
  716. package/dist/session/message-updater.js +4 -4
  717. package/dist/session/message.js +1 -1
  718. package/dist/session/model-request.js +169 -169
  719. package/dist/session/model-transport.js +7 -7
  720. package/dist/session/move.js +171 -171
  721. package/dist/session/projector.js +146 -146
  722. package/dist/session/prompt.js +151 -151
  723. package/dist/session/recent-text.js +1 -1
  724. package/dist/session/revert.js +142 -142
  725. package/dist/session/run-coordinator.js +1 -1
  726. package/dist/session/runner/index.js +3 -3
  727. package/dist/session/runner/llm.js +258 -258
  728. package/dist/session/runner/max-steps.js +1 -1
  729. package/dist/session/runner/model.js +113 -113
  730. package/dist/session/runner/publish-llm-event.js +153 -153
  731. package/dist/session/runner/retry.js +5 -5
  732. package/dist/session/runner/step.js +164 -164
  733. package/dist/session/runner/to-llm-message.js +140 -140
  734. package/dist/session/schema.js +1 -1
  735. package/dist/session/session.js +186 -186
  736. package/dist/session/shell.js +145 -145
  737. package/dist/session/skill.js +150 -150
  738. package/dist/session/sql.js +5 -5
  739. package/dist/session/stats.js +85 -85
  740. package/dist/session/store.js +145 -145
  741. package/dist/session/stored.js +2 -2
  742. package/dist/session/subagent-completion.js +1 -1
  743. package/dist/session/subagent-job.js +237 -237
  744. package/dist/session/system-prompt.js +3 -3
  745. package/dist/session/title.js +207 -207
  746. package/dist/session/to-session-error.js +152 -152
  747. package/dist/session/transfer.js +242 -242
  748. package/dist/session/usage.js +1 -1
  749. package/dist/session.js +239 -239
  750. package/dist/shared-cache.js +5 -5
  751. package/dist/shell/parse.js +6 -6
  752. package/dist/shell/result.js +1 -1
  753. package/dist/shell/scan.js +1 -1
  754. package/dist/shell/select.js +11 -11
  755. package/dist/shell.js +147 -147
  756. package/dist/skill/discovery.js +6 -6
  757. package/dist/skill/instructions.js +154 -154
  758. package/dist/skill.js +157 -157
  759. package/dist/snapshot.js +100 -100
  760. package/dist/state.js +1 -1
  761. package/dist/tool/html-markdown.js +1 -1
  762. package/dist/tool/http-body.js +1 -1
  763. package/dist/tool/mcp.js +184 -184
  764. package/dist/tool/plugin/artifact.js +236 -236
  765. package/dist/tool/plugin/edit.js +170 -170
  766. package/dist/tool/plugin/file-diff.js +1 -1
  767. package/dist/tool/plugin/glob.js +174 -174
  768. package/dist/tool/plugin/grep.js +173 -173
  769. package/dist/tool/plugin/image-generate.js +245 -245
  770. package/dist/tool/plugin/mcp-resource.js +169 -169
  771. package/dist/tool/plugin/opencode.js +164 -164
  772. package/dist/tool/plugin/patch.js +167 -167
  773. package/dist/tool/plugin/question.js +149 -149
  774. package/dist/tool/plugin/read.js +175 -175
  775. package/dist/tool/plugin/schedule.js +255 -255
  776. package/dist/tool/plugin/shell.js +241 -241
  777. package/dist/tool/plugin/skill.js +156 -156
  778. package/dist/tool/plugin/subagent.js +242 -242
  779. package/dist/tool/plugin/todo.js +156 -156
  780. package/dist/tool/plugin/webfetch.js +158 -158
  781. package/dist/tool/plugin/websearch.js +156 -156
  782. package/dist/tool/plugin/write.js +171 -171
  783. package/dist/tool/read-filesystem.js +116 -116
  784. package/dist/tool/runtime.js +1 -1
  785. package/dist/tool/search.js +109 -109
  786. package/dist/tool-output.js +7 -7
  787. package/dist/tool.js +163 -163
  788. package/dist/types/tool/plugin/read.d.ts +2 -1
  789. package/dist/types/tool/read-filesystem.d.ts +8 -9
  790. package/dist/usage-limits.js +94 -94
  791. package/dist/util/error-summary.js +1 -1
  792. package/dist/util/git-executable.js +3 -3
  793. package/dist/util/lazy.js +1 -1
  794. package/dist/util/slug.js +1 -1
  795. package/dist/util/token.js +1 -1
  796. package/dist/util/which.js +1 -1
  797. package/dist/util/wildcard.js +1 -1
  798. package/dist/v1/config/agent.js +5 -5
  799. package/dist/v1/config/command.js +3 -3
  800. package/dist/v1/config/mcp.js +4 -4
  801. package/dist/v1/config/migrate.js +105 -105
  802. package/dist/v1/config/permission.js +1 -1
  803. package/dist/v1/config/plugin.js +1 -1
  804. package/dist/v1/config/provider-options.js +1 -1
  805. package/dist/v1/config/provider.js +4 -4
  806. package/dist/variant.js +104 -104
  807. package/dist/vcs/patch.js +1 -1
  808. package/dist/vcs.js +100 -100
  809. package/dist/voice.js +91 -91
  810. package/dist/websearch.js +101 -101
  811. package/dist/wellknown/plugin.js +87 -87
  812. package/dist/wellknown.js +88 -88
  813. package/dist/workspace/driver.js +1 -1
  814. package/dist/workspace/sql.js +1 -1
  815. package/dist/workspace.js +83 -83
  816. package/dist/worktree/directory.js +2 -2
  817. package/dist/worktree/git.js +9 -9
  818. package/dist/worktree/sql.js +5 -5
  819. package/dist/worktree/strategies.js +102 -102
  820. package/dist/worktree.js +111 -111
  821. package/package.json +8 -8
  822. package/dist/chunks/model-hjs1bv3x.js +0 -273
  823. package/dist/chunks/model-qmh7vbk2.js +0 -18
  824. package/dist/chunks/model-r3p2wjdh.js +0 -26
  825. /package/dist/chunks/{model-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  826. /package/dist/chunks/{model-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  827. /package/dist/chunks/{model-108x4f4w.js → file-retention-108x4f4w.js} +0 -0
  828. /package/dist/chunks/{model-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  829. /package/dist/chunks/{model-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  830. /package/dist/chunks/{model-1kah00gy.js → file-retention-1kah00gy.js} +0 -0
  831. /package/dist/chunks/{model-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  832. /package/dist/chunks/{model-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  833. /package/dist/chunks/{model-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
  834. /package/dist/chunks/{model-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  835. /package/dist/chunks/{model-2n444ktb.js → file-retention-2n444ktb.js} +0 -0
  836. /package/dist/chunks/{model-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  837. /package/dist/chunks/{model-3af0jn4w.js → file-retention-3af0jn4w.js} +0 -0
  838. /package/dist/chunks/{model-3asan66x.js → file-retention-3asan66x.js} +0 -0
  839. /package/dist/chunks/{model-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  840. /package/dist/chunks/{model-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  841. /package/dist/chunks/{model-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  842. /package/dist/chunks/{model-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  843. /package/dist/chunks/{model-4qk9sjk2.js → file-retention-4qk9sjk2.js} +0 -0
  844. /package/dist/chunks/{model-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  845. /package/dist/chunks/{model-53557ph1.js → file-retention-53557ph1.js} +0 -0
  846. /package/dist/chunks/{model-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  847. /package/dist/chunks/{model-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
  848. /package/dist/chunks/{model-6agm2x70.js → file-retention-6agm2x70.js} +0 -0
  849. /package/dist/chunks/{model-6prwharc.js → file-retention-6prwharc.js} +0 -0
  850. /package/dist/chunks/{model-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  851. /package/dist/chunks/{model-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  852. /package/dist/chunks/{model-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  853. /package/dist/chunks/{model-822emrt2.js → file-retention-822emrt2.js} +0 -0
  854. /package/dist/chunks/{model-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  855. /package/dist/chunks/{model-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  856. /package/dist/chunks/{model-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  857. /package/dist/chunks/{model-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  858. /package/dist/chunks/{model-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  859. /package/dist/chunks/{model-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  860. /package/dist/chunks/{model-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  861. /package/dist/chunks/{model-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  862. /package/dist/chunks/{model-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  863. /package/dist/chunks/{model-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  864. /package/dist/chunks/{model-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
  865. /package/dist/chunks/{model-bhmrqjy3.js → file-retention-bhmrqjy3.js} +0 -0
  866. /package/dist/chunks/{model-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  867. /package/dist/chunks/{model-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  868. /package/dist/chunks/{model-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  869. /package/dist/chunks/{model-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
  870. /package/dist/chunks/{model-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  871. /package/dist/chunks/{model-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  872. /package/dist/chunks/{model-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  873. /package/dist/chunks/{model-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  874. /package/dist/chunks/{model-df08tz66.js → file-retention-df08tz66.js} +0 -0
  875. /package/dist/chunks/{model-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  876. /package/dist/chunks/{model-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  877. /package/dist/chunks/{model-ean2d8b5.js → file-retention-ean2d8b5.js} +0 -0
  878. /package/dist/chunks/{model-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  879. /package/dist/chunks/{model-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  880. /package/dist/chunks/{model-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  881. /package/dist/chunks/{model-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  882. /package/dist/chunks/{model-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  883. /package/dist/chunks/{model-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  884. /package/dist/chunks/{model-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
  885. /package/dist/chunks/{model-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  886. /package/dist/chunks/{model-g86h250q.js → file-retention-g86h250q.js} +0 -0
  887. /package/dist/chunks/{model-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  888. /package/dist/chunks/{model-gftt206x.js → file-retention-gftt206x.js} +0 -0
  889. /package/dist/chunks/{model-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
  890. /package/dist/chunks/{model-hk9envan.js → file-retention-hk9envan.js} +0 -0
  891. /package/dist/chunks/{model-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  892. /package/dist/chunks/{model-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  893. /package/dist/chunks/{model-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  894. /package/dist/chunks/{model-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  895. /package/dist/chunks/{model-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  896. /package/dist/chunks/{model-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
  897. /package/dist/chunks/{model-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  898. /package/dist/chunks/{model-m18g726c.js → file-retention-m18g726c.js} +0 -0
  899. /package/dist/chunks/{model-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  900. /package/dist/chunks/{model-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  901. /package/dist/chunks/{model-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  902. /package/dist/chunks/{model-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  903. /package/dist/chunks/{model-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
  904. /package/dist/chunks/{model-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  905. /package/dist/chunks/{model-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
  906. /package/dist/chunks/{model-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  907. /package/dist/chunks/{model-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  908. /package/dist/chunks/{model-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  909. /package/dist/chunks/{model-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  910. /package/dist/chunks/{model-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  911. /package/dist/chunks/{model-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  912. /package/dist/chunks/{model-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  913. /package/dist/chunks/{model-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  914. /package/dist/chunks/{model-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  915. /package/dist/chunks/{model-syrav9an.js → file-retention-syrav9an.js} +0 -0
  916. /package/dist/chunks/{model-t03h4f5z.js → file-retention-t03h4f5z.js} +0 -0
  917. /package/dist/chunks/{model-ty7weeps.js → file-retention-ty7weeps.js} +0 -0
  918. /package/dist/chunks/{model-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  919. /package/dist/chunks/{model-vtarvj67.js → file-retention-vtarvj67.js} +0 -0
  920. /package/dist/chunks/{model-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  921. /package/dist/chunks/{model-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  922. /package/dist/chunks/{model-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  923. /package/dist/chunks/{model-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  924. /package/dist/chunks/{model-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  925. /package/dist/chunks/{model-x4th4bpe.js → file-retention-x4th4bpe.js} +0 -0
  926. /package/dist/chunks/{model-x61499pn.js → file-retention-x61499pn.js} +0 -0
  927. /package/dist/chunks/{model-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  928. /package/dist/chunks/{model-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  929. /package/dist/chunks/{model-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  930. /package/dist/chunks/{model-z0h12gs8.js → file-retention-z0h12gs8.js} +0 -0
  931. /package/dist/chunks/{model-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  932. /package/dist/chunks/{model-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
  933. /package/dist/chunks/{model-zxpyjp51.js → file-retention-zxpyjp51.js} +0 -0
  934. /package/dist/chunks/{model-zz5vv3aq.js → file-retention-zz5vv3aq.js} +0 -0
@@ -2,18 +2,18 @@ import {
2
2
  provider2,
3
3
  model2,
4
4
  compatibleModel2
5
- } from "./model-dt77769w.js";
5
+ } from "./file-retention-dt77769w.js";
6
6
  import {
7
7
  aisdk2,
8
8
  packageName2
9
- } from "./model-3k9a42wj.js";
9
+ } from "./file-retention-9qffqtsn.js";
10
10
  import {
11
11
  Capabilities2,
12
12
  compatibility2
13
- } from "./model-05bt7bhb.js";
13
+ } from "./file-retention-sz4vf8k7.js";
14
14
  import {
15
15
  __export
16
- } from "./model-9rqn6x4v.js";
16
+ } from "./file-retention-9rqn6x4v.js";
17
17
 
18
18
  // src/v1/config/migrate.ts
19
19
  var exports_migrate = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  HEADER2,
3
3
  FORK_HEADER2
4
- } from "./model-yr705xyq.js";
4
+ } from "./file-retention-yr705xyq.js";
5
5
  import {
6
6
  ID3
7
- } from "./model-rtkfrg4c.js";
7
+ } from "./file-retention-bapqn1wv.js";
8
8
  import {
9
9
  __export
10
- } from "./model-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/plugin/provider/claude-agent/session.ts
13
13
  var exports_session2 = {};
14
14
  __export(exports_session2, {
15
15
  ClaudeSessionHooks: () => exports_session2,
16
- register: () => register7
16
+ register: () => register5
17
17
  });
18
18
  import { AssistantMessage, ToolMessage } from "@opencode/ai/effect";
19
19
  import { Effect, Schema } from "effect";
@@ -28,7 +28,7 @@ var flagToolError = (part) => {
28
28
  };
29
29
  return { ...part, providerMetadata: { ...part.providerMetadata, [ID3]: flags } };
30
30
  };
31
- var register7 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
31
+ var register5 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
32
32
  yield* ctx.session.hook("model.request", (event) => Effect.gen(function* () {
33
33
  event.headers[HEADER2] = event.kind;
34
34
  if (event.kind !== "primary")
@@ -53,4 +53,4 @@ var register7 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
53
53
  }), { providerID: ID3 });
54
54
  });
55
55
 
56
- export { register7, exports_session2 };
56
+ export { register5, exports_session2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  groups2
3
- } from "./model-vjf35v1f.js";
3
+ } from "./file-retention-vjf35v1f.js";
4
4
  import {
5
5
  __export
6
- } from "./model-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/claude-agent/sync/checkpoints.ts
9
9
  var exports_checkpoints = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./model-0ma9gw4f.js";
3
+ } from "./file-retention-0ma9gw4f.js";
4
4
  import {
5
5
  __export
6
- } from "./model-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service35,
11
+ Service: () => Service33,
12
12
  SessionModelTransport: () => exports_model_transport,
13
13
  layer: () => layer14,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node38
15
+ node: () => node37
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service35.of({ bind, close, closeAll });
370
+ return Service33.of({ bind, close, closeAll });
371
371
  }));
372
372
  var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node38 = makeGlobalNode({ service: Service35, layer: layer14, deps: [webSocketConstructor2] });
375
+ var node37 = makeGlobalNode({ service: Service33, layer: layer14, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service35, makeLayer2, layer14, node38, exports_model_transport };
377
+ export { Service33, makeLayer2, layer14, node37, exports_model_transport };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./file-retention-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service41,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service41 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service41.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service41, awaitActivation2, exports_service };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./model-6apf8frj.js";
4
+ } from "./file-retention-bd4geh6z.js";
5
5
  import {
6
6
  Service90,
7
7
  node92
8
- } from "./model-pkg4x22g.js";
8
+ } from "./file-retention-mdfqpk4k.js";
9
9
  import {
10
- Service76,
11
- node77
12
- } from "./model-e0y7zfw7.js";
10
+ Service74,
11
+ node75
12
+ } from "./file-retention-y3019neg.js";
13
13
  import {
14
- NotFoundError12
15
- } from "./model-q7srkfd6.js";
14
+ NotFoundError11
15
+ } from "./file-retention-530xg6vw.js";
16
16
  import {
17
17
  match3
18
- } from "./model-1aqsckx4.js";
18
+ } from "./file-retention-1aqsckx4.js";
19
19
  import {
20
- Service75,
21
- node76
22
- } from "./model-rvmghfg9.js";
20
+ Service72,
21
+ node73
22
+ } from "./file-retention-y9ww16zv.js";
23
23
  import {
24
- Service74,
25
- node75
26
- } from "./model-6qappkbv.js";
24
+ Service73,
25
+ node74
26
+ } from "./file-retention-jwcw5enf.js";
27
27
  import {
28
- Service77,
29
- node78
30
- } from "./model-1nqk9g29.js";
28
+ Service75,
29
+ node76
30
+ } from "./file-retention-z6g4szpb.js";
31
31
  import {
32
32
  __export
33
- } from "./model-9rqn6x4v.js";
33
+ } from "./file-retention-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
36
  var exports_permission = {};
@@ -47,13 +47,13 @@ __export(exports_permission, {
47
47
  Request: () => Request3,
48
48
  Rule: () => Rule2,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service73,
50
+ Service: () => Service71,
51
51
  Source: () => Source5,
52
52
  Unattended: () => Unattended2,
53
53
  evaluate: () => evaluate3,
54
54
  invocation: () => invocation2,
55
55
  merge: () => merge2,
56
- node: () => node74
56
+ node: () => node72
57
57
  });
58
58
  import { makeLocationNode } from "@opencode/util/effect/app-node";
59
59
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
@@ -114,15 +114,15 @@ function merge2(...rulesets) {
114
114
  return rulesets.flat();
115
115
  }
116
116
 
117
- class Service73 extends Context.Service()("@opencode/Permission") {
117
+ class Service71 extends Context.Service()("@opencode/Permission") {
118
118
  }
119
- var layer = Layer.effect(Service73, Effect.gen(function* () {
119
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
120
120
  const bus = yield* Service93;
121
121
  const location = yield* Service90;
122
- const agents = yield* Service76;
123
- const sessions = yield* Service75;
124
- const saved = yield* Service74;
125
- const hooks = yield* Service77;
122
+ const agents = yield* Service74;
123
+ const sessions = yield* Service72;
124
+ const saved = yield* Service73;
125
+ const hooks = yield* Service75;
126
126
  const pending = new Map;
127
127
  let closed = false;
128
128
  const close = Effect.gen(function* () {
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
145
145
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
146
146
  const session = yield* sessions.get(sessionID);
147
147
  if (!session)
148
- return yield* new NotFoundError12({ sessionID });
148
+ return yield* new NotFoundError11({ sessionID });
149
149
  const agent = yield* agents.resolve(agentID ?? session.agent);
150
150
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
151
151
  });
@@ -313,12 +313,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
313
313
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
314
314
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
315
315
  });
316
- return Service73.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
316
+ return Service71.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
317
317
  }));
318
- var node74 = makeLocationNode({
319
- service: Service73,
318
+ var node72 = makeLocationNode({
319
+ service: Service71,
320
320
  layer,
321
- deps: [node95, node92, node77, node76, node75, node78]
321
+ deps: [node95, node92, node75, node73, node74, node76]
322
322
  });
323
323
 
324
- export { PermissionEffect, ID11, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError10, evaluate3, merge2, Service73, node74, exports_permission, Rule2, Ruleset2, Event13 };
324
+ export { PermissionEffect, ID11, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError10, evaluate3, merge2, Service71, node72, exports_permission, Rule2, Ruleset2, Event13 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./model-4pyp9zr9.js";
3
+ } from "./file-retention-4pyp9zr9.js";
4
4
  import {
5
5
  invocation2,
6
- Service73
7
- } from "./model-09zcjbp5.js";
6
+ Service71
7
+ } from "./file-retention-eyq5wfd8.js";
8
8
  import {
9
9
  MAX_MARKDOWN_BYTES2,
10
10
  convertHTMLToMarkdown2
11
- } from "./model-zxpyjp51.js";
11
+ } from "./file-retention-zxpyjp51.js";
12
12
  import {
13
13
  collectBoundedResponseBody2
14
- } from "./model-3v8g72cx.js";
14
+ } from "./file-retention-3v8g72cx.js";
15
15
  import {
16
16
  __export
17
- } from "./model-9rqn6x4v.js";
17
+ } from "./file-retention-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/webfetch.ts
20
20
  var exports_webfetch = {};
21
21
  __export(exports_webfetch, {
22
22
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
23
- Input: () => Input14,
23
+ Input: () => Input4,
24
24
  MAX_REDIRECTS: () => MAX_REDIRECTS2,
25
25
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
26
26
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
27
- Plugin: () => Plugin35,
27
+ Plugin: () => Plugin21,
28
28
  WebFetchTool: () => exports_webfetch,
29
29
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
30
- description: () => description6,
30
+ description: () => description3,
31
31
  extractTextFromHTML: () => extractTextFromHTML2,
32
- name: () => name14
32
+ name: () => name4
33
33
  });
34
34
  import { ToolFailure } from "@opencode/ai/effect";
35
35
  import { Duration, Effect, Schema } from "effect";
36
36
  import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
37
37
  import { Parser } from "htmlparser2";
38
- var name14 = "webfetch";
38
+ var name4 = "webfetch";
39
39
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
40
40
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
41
41
  var MAX_TIMEOUT_SECONDS2 = 120;
42
- var description6 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
42
+ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
43
43
 
44
44
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
45
45
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
46
- var Input14 = Schema.Struct({
46
+ var Input4 = Schema.Struct({
47
47
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
48
48
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
49
49
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -53,7 +53,7 @@ var Input14 = Schema.Struct({
53
53
  var Output = Schema.Struct({
54
54
  url: Schema.String,
55
55
  contentType: Schema.String,
56
- format: Input14.fields.format,
56
+ format: Input4.fields.format,
57
57
  output: Schema.String
58
58
  });
59
59
  var acceptHeader = (format) => {
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
119
119
  return extractTextFromHTML2(content);
120
120
  return content;
121
121
  };
122
- var Plugin35 = {
122
+ var Plugin21 = {
123
123
  id: "opencode.tool.webfetch",
124
124
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
125
125
  const http = yield* HttpClient.HttpClient;
126
- const permission = yield* Service73;
126
+ const permission = yield* Service71;
127
127
  yield* ctx.tool.transform((editor) => editor.add({
128
- name: name14,
128
+ name: name4,
129
129
  options: { codemode: false },
130
- description: description6,
131
- input: Input14,
130
+ description: description3,
131
+ input: Input4,
132
132
  output: Output,
133
133
  execute: (input, context) => Effect.gen(function* () {
134
134
  const url = input.url.split("#")[0];
@@ -137,7 +137,7 @@ var Plugin35 = {
137
137
  catch: (error) => error
138
138
  });
139
139
  yield* permission.assert({
140
- action: name14,
140
+ action: name4,
141
141
  resources: [url],
142
142
  save: ["*"],
143
143
  metadata: input,
@@ -145,7 +145,7 @@ var Plugin35 = {
145
145
  });
146
146
  const { body, contentType } = yield* Effect.gen(function* () {
147
147
  const check = (next) => permission.assertNotDenied({
148
- action: name14,
148
+ action: name4,
149
149
  resources: [next],
150
150
  metadata: { ...input, url: next },
151
151
  ...invocation2(context)
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
199
199
  parser.end();
200
200
  return text.trim();
201
201
  }
202
- export { name14, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description6, Input14, MAX_REDIRECTS2, Plugin35, extractTextFromHTML2, exports_webfetch };
202
+ export { name4, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input4, MAX_REDIRECTS2, Plugin21, extractTextFromHTML2, exports_webfetch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID15
3
- } from "./model-05bt7bhb.js";
3
+ } from "./file-retention-sz4vf8k7.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -1,68 +1,68 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./model-5whx36p1.js";
3
+ } from "./file-retention-5whx36p1.js";
4
4
  import {
5
5
  Service93,
6
6
  node95
7
- } from "./model-6apf8frj.js";
7
+ } from "./file-retention-bd4geh6z.js";
8
8
  import {
9
9
  Event19,
10
- Service87,
11
- node88
12
- } from "./model-a5rej8c4.js";
10
+ Service85,
11
+ node86
12
+ } from "./file-retention-kdw9060a.js";
13
13
  import {
14
14
  Service90,
15
15
  node92
16
- } from "./model-pkg4x22g.js";
16
+ } from "./file-retention-mdfqpk4k.js";
17
17
  import {
18
- Service71,
19
- node72
20
- } from "./model-hfdaj0h9.js";
21
- import {
22
- ID19,
23
18
  Service88,
24
19
  node89
25
- } from "./model-4av79kf0.js";
20
+ } from "./file-retention-2xdfg7wz.js";
21
+ import {
22
+ ID19,
23
+ Service86,
24
+ node87
25
+ } from "./file-retention-yr9fzrcg.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create4
29
- } from "./model-40y6dtc2.js";
29
+ } from "./file-retention-40y6dtc2.js";
30
30
  import {
31
31
  ID17,
32
32
  MethodID2,
33
- Service86,
34
- node87
35
- } from "./model-qy0mvb3m.js";
33
+ Service84,
34
+ node85
35
+ } from "./file-retention-m4db2ssm.js";
36
36
  import {
37
- make27
38
- } from "./model-w392gvqw.js";
37
+ make25
38
+ } from "./file-retention-wqjs5pht.js";
39
39
  import {
40
- Service43,
40
+ Service40,
41
41
  key2,
42
- node46
43
- } from "./model-x41w2g5z.js";
42
+ node44
43
+ } from "./file-retention-kyzerg4y.js";
44
44
  import {
45
45
  __export
46
- } from "./model-9rqn6x4v.js";
46
+ } from "./file-retention-9rqn6x4v.js";
47
47
 
48
48
  // src/mcp/index.ts
49
49
  var exports_mcp4 = {};
50
50
  __export(exports_mcp4, {
51
51
  Mcp: () => exports_mcp4,
52
52
  NotFoundError: () => NotFoundError6,
53
- Options: () => Options3,
53
+ Options: () => Options4,
54
54
  PromptsChanged: () => PromptsChanged2,
55
55
  Resource: () => Resource2,
56
56
  ResourceCatalog: () => ResourceCatalog2,
57
57
  ResourceContent: () => ResourceContent2,
58
58
  ResourceTemplate: () => ResourceTemplate2,
59
59
  ServerName: () => ServerName2,
60
- Service: () => Service41,
60
+ Service: () => Service39,
61
61
  Status: () => Status3,
62
62
  ToolCallError: () => ToolCallError2,
63
- configured: () => configured3,
63
+ configured: () => configured4,
64
64
  layer: () => layer17,
65
- node: () => node44
65
+ node: () => node43
66
66
  });
67
67
  import { Mcp } from "@opencode/schema/mcp";
68
68
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -128,23 +128,23 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
128
128
  var changes = { tools: McpEvent.ToolsChanged, resources: McpEvent.ResourcesChanged, prompts: PromptsChanged2 };
129
129
  var cloneConfig = (config) => structuredClone(config);
130
130
 
131
- class Service41 extends Context.Service()("@opencode/MCP") {
131
+ class Service39 extends Context.Service()("@opencode/MCP") {
132
132
  }
133
- var Options3 = Schema.Struct({
133
+ var Options4 = Schema.Struct({
134
134
  clientInfo: Schema.optional(Schema.Struct({
135
135
  name: Schema.String,
136
136
  version: Schema.String
137
137
  }))
138
138
  });
139
- var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
139
+ var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
140
140
  const location = yield* Service90;
141
- const environment = yield* Service71;
141
+ const environment = yield* Service88;
142
142
  const bus = yield* Service93;
143
- const forms = yield* Service88;
144
- const integration = yield* Service86;
145
- const credentials = yield* Service87;
143
+ const forms = yield* Service86;
144
+ const integration = yield* Service84;
145
+ const credentials = yield* Service85;
146
146
  const fetch = yield* FetchHttpClient.Fetch;
147
- const pool = yield* Service43;
147
+ const pool = yield* Service40;
148
148
  const root = yield* Effect.scope;
149
149
  const fork = yield* FiberSet.makeRuntime();
150
150
  const servers = yield* Scope.fork(root, "parallel");
@@ -175,7 +175,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
175
175
  method: { id: methodID, type: "oauth", label: name },
176
176
  authorize: () => Effect.gen(function* () {
177
177
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
178
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service87, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
178
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service85, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
179
179
  })
180
180
  });
181
181
  }).pipe(Scope.provide(scope));
@@ -196,7 +196,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
196
196
  if (entry.config.type !== "remote" || !entry.integrationID)
197
197
  return;
198
198
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
199
- return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(Service87, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
199
+ return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(Service85, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
200
200
  });
201
201
  const elicitation = {
202
202
  create: (input) => Effect.gen(function* () {
@@ -270,7 +270,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
270
270
  status: { status: "pending" },
271
271
  startup: Latch.makeUnsafe(),
272
272
  attempt: { started, settled: Latch.makeUnsafe() },
273
- connection: (pooled ? share : make27)({
273
+ connection: (pooled ? share : make25)({
274
274
  name,
275
275
  config: config.pool && config.protocol === undefined ? { ...config, protocol: "auto" } : config,
276
276
  directory: location.directory,
@@ -412,7 +412,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
412
412
  clientInfo: options?.clientInfo
413
413
  }).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
414
414
  closed = true;
415
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service71, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
415
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service88, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
416
416
  const register = Effect.gen(function* () {
417
417
  if (closed) {
418
418
  yield* Scope.close(scope, Exit.void);
@@ -511,7 +511,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
511
511
  }),
512
512
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
513
513
  });
514
- return Service41.of({
514
+ return Service39.of({
515
515
  transform: state.transform,
516
516
  reload: state.reload,
517
517
  servers: Effect.fn("MCP.servers")(function* () {
@@ -643,23 +643,23 @@ function mergeCatalogs(catalogs) {
643
643
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
644
644
  });
645
645
  }
646
- function configured3(options) {
646
+ function configured4(options) {
647
647
  return makeLocationNode({
648
- service: Service41,
648
+ service: Service39,
649
649
  layer: layer17(options),
650
650
  deps: [
651
651
  node92,
652
- node72,
653
- node95,
654
652
  node89,
653
+ node95,
655
654
  node87,
656
- node88,
655
+ node85,
656
+ node86,
657
657
  httpFetch,
658
- node46
658
+ node44
659
659
  ]
660
660
  });
661
661
  }
662
- var node44 = configured3();
662
+ var node43 = configured4();
663
663
  function toElicitationField(key, property, required) {
664
664
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
665
665
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -710,4 +710,4 @@ function toElicitationField(key, property, required) {
710
710
  }
711
711
  }
712
712
 
713
- export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service41, Options3, layer17, configured3, node44, exports_mcp4 };
713
+ export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service39, Options4, layer17, configured4, node43, exports_mcp4 };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./model-3k9a42wj.js";
4
+ } from "./file-retention-9qffqtsn.js";
5
5
  import {
6
6
  mergeCapabilities2
7
- } from "./model-05bt7bhb.js";
7
+ } from "./file-retention-sz4vf8k7.js";
8
8
  import {
9
9
  Document3
10
- } from "./model-j1zpf99x.js";
10
+ } from "./file-retention-3qgwywyc.js";
11
11
  import {
12
12
  latest2,
13
- Service79
14
- } from "./model-33gwp74t.js";
13
+ Service78
14
+ } from "./file-retention-mz3kf7qd.js";
15
15
  import {
16
16
  supports2,
17
17
  resolve5
18
- } from "./model-3936qknj.js";
18
+ } from "./file-retention-kpgsw4f5.js";
19
19
  import {
20
20
  observe2
21
- } from "./model-tvtps2q9.js";
21
+ } from "./file-retention-tvtps2q9.js";
22
22
  import {
23
23
  __export
24
- } from "./model-9rqn6x4v.js";
24
+ } from "./file-retention-9rqn6x4v.js";
25
25
 
26
26
  // src/config/plugin/provider.ts
27
- var exports_provider3 = {};
28
- __export(exports_provider3, {
29
- ConfigProviderPlugin: () => exports_provider3,
30
- Plugin: () => Plugin46,
27
+ var exports_provider2 = {};
28
+ __export(exports_provider2, {
29
+ ConfigProviderPlugin: () => exports_provider2,
30
+ Plugin: () => Plugin39,
31
31
  integrate: () => integrate2
32
32
  });
33
33
  import { define } from "@opencode/plugin/effect/plugin";
34
34
  import { Money } from "@opencode/schema/money";
35
35
  import { Effect } from "effect";
36
- var Plugin46 = define({
36
+ var Plugin39 = define({
37
37
  id: "opencode.config.provider",
38
38
  effect: Effect.fn(function* (ctx) {
39
- const config = yield* Service79;
39
+ const config = yield* Service78;
40
40
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
41
41
  yield* ctx.integration.transform((integrations) => {
42
42
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -251,4 +251,4 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
251
251
  });
252
252
  }
253
253
 
254
- export { Plugin46, integrate2, exports_provider3 };
254
+ export { Plugin39, integrate2, exports_provider2 };