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

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 +88 -88
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +238 -238
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{model-034tev2y.js → instruction-discovery-034tev2y.js} +2 -2
  9. package/dist/chunks/{model-7r3nrrdh.js → instruction-discovery-05ww0tct.js} +25 -25
  10. package/dist/chunks/{model-m3bkjmxb.js → instruction-discovery-07z6t3m8.js} +31 -31
  11. package/dist/chunks/{model-c8j7dnn2.js → instruction-discovery-096a4ey7.js} +28 -28
  12. package/dist/chunks/{model-1494zjeh.js → instruction-discovery-0azcnvzv.js} +30 -30
  13. package/dist/chunks/{model-4b72pw7k.js → instruction-discovery-0f79bht5.js} +5 -5
  14. package/dist/chunks/{model-0php2d2a.js → instruction-discovery-0hmx2qjn.js} +4 -4
  15. package/dist/chunks/{model-0j7gp832.js → instruction-discovery-0j7gp832.js} +1 -1
  16. package/dist/chunks/{model-0ma9gw4f.js → instruction-discovery-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{model-yy1xpgfn.js → instruction-discovery-0n720z3p.js} +3 -3
  18. package/dist/chunks/{model-2svm880h.js → instruction-discovery-0nqxgmxj.js} +13 -13
  19. package/dist/chunks/{model-kve8t19d.js → instruction-discovery-0nynr8sa.js} +13 -13
  20. package/dist/chunks/{model-10pn4eb5.js → instruction-discovery-10pn4eb5.js} +2 -2
  21. package/dist/chunks/{model-5zht1efa.js → instruction-discovery-15zw0pf4.js} +28 -28
  22. package/dist/chunks/{model-0y15sqga.js → instruction-discovery-18b1hh0p.js} +11 -11
  23. package/dist/chunks/{model-1aqsckx4.js → instruction-discovery-1aqsckx4.js} +1 -1
  24. package/dist/chunks/{model-1ep2p91f.js → instruction-discovery-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{model-p3mc3rwb.js → instruction-discovery-1jqhjz8x.js} +3 -3
  26. package/dist/chunks/{model-r70fc8q7.js → instruction-discovery-1mjed9m0.js} +18 -18
  27. package/dist/chunks/{model-hfdaj0h9.js → instruction-discovery-1p8dpx3b.js} +20 -20
  28. package/dist/chunks/{model-0t89tmzm.js → instruction-discovery-1tng1z6k.js} +15 -15
  29. package/dist/chunks/{model-e0y7zfw7.js → instruction-discovery-1vkak1f2.js} +13 -13
  30. package/dist/chunks/{model-1x2knyw4.js → instruction-discovery-1x2knyw4.js} +1 -1
  31. package/dist/chunks/{model-8j11fyne.js → instruction-discovery-1y1mzemz.js} +35 -35
  32. package/dist/chunks/{model-1yq9hg58.js → instruction-discovery-1yq9hg58.js} +1 -1
  33. package/dist/chunks/{model-mn8tqb4h.js → instruction-discovery-22qx8d5d.js} +8 -8
  34. package/dist/chunks/{model-62zd5tzk.js → instruction-discovery-26wfx3k0.js} +7 -7
  35. package/dist/chunks/{model-9k9q9h2y.js → instruction-discovery-2898qs3z.js} +11 -11
  36. package/dist/chunks/{model-2fc7eemy.js → instruction-discovery-2fc7eemy.js} +1 -1
  37. package/dist/chunks/{model-2jffmtyb.js → instruction-discovery-2fvrv2dh.js} +45 -45
  38. package/dist/chunks/{model-nbqqe8xw.js → instruction-discovery-2q78srga.js} +17 -17
  39. package/dist/chunks/{model-nfaz60sz.js → instruction-discovery-2zk860f7.js} +6 -6
  40. package/dist/chunks/{model-sf9y72b7.js → instruction-discovery-38aws4xb.js} +4 -4
  41. package/dist/chunks/{model-690kw40d.js → instruction-discovery-38ebz7bx.js} +25 -25
  42. package/dist/chunks/{model-v6zdqbgs.js → instruction-discovery-3bbmjbhc.js} +18 -18
  43. package/dist/chunks/{model-p3d2bavg.js → instruction-discovery-3by6mha1.js} +18 -18
  44. package/dist/chunks/{model-f1kpf9tg.js → instruction-discovery-3cnfysr5.js} +6 -6
  45. package/dist/chunks/{model-28pxtz2s.js → instruction-discovery-3fbvy841.js} +35 -35
  46. package/dist/chunks/{model-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{model-3nnrz6f6.js → instruction-discovery-3nnrz6f6.js} +1 -1
  48. package/dist/chunks/{model-j1zpf99x.js → instruction-discovery-3qgwywyc.js} +5 -5
  49. package/dist/chunks/{model-yd6kjv4n.js → instruction-discovery-3s0pgq88.js} +24 -24
  50. package/dist/chunks/{model-ymkf5gg0.js → instruction-discovery-4084dgj6.js} +17 -17
  51. package/dist/chunks/{model-40y6dtc2.js → instruction-discovery-40y6dtc2.js} +1 -1
  52. package/dist/chunks/{model-m88ft9j9.js → instruction-discovery-41hph88s.js} +4 -4
  53. package/dist/chunks/{model-a5d8v0q4.js → instruction-discovery-45a2j779.js} +37 -37
  54. package/dist/chunks/{model-08weax8k.js → instruction-discovery-45m6e38z.js} +11 -11
  55. package/dist/chunks/{model-n3j33rb6.js → instruction-discovery-45nqx4xx.js} +4 -4
  56. package/dist/chunks/{model-4dx1dgte.js → instruction-discovery-4dx1dgte.js} +1 -1
  57. package/dist/chunks/{model-8624fsr4.js → instruction-discovery-4dxbz5t2.js} +15 -15
  58. package/dist/chunks/{model-r542h3bh.js → instruction-discovery-4f25tdd0.js} +5 -5
  59. package/dist/chunks/{model-41p56tas.js → instruction-discovery-4jbr7150.js} +33 -33
  60. package/dist/chunks/{model-4pyp9zr9.js → instruction-discovery-4pyp9zr9.js} +1 -1
  61. package/dist/chunks/{model-4v008n1t.js → instruction-discovery-4v008n1t.js} +1 -1
  62. package/dist/chunks/{model-9t5vtgd8.js → instruction-discovery-4xwww03f.js} +19 -19
  63. package/dist/chunks/{model-65n9jqtg.js → instruction-discovery-4ygb74tw.js} +8 -8
  64. package/dist/chunks/{model-eft32nj2.js → instruction-discovery-4yntqjxm.js} +24 -24
  65. package/dist/chunks/{model-6es1dp4c.js → instruction-discovery-5cr30h4q.js} +8 -8
  66. package/dist/chunks/{model-pkg4x22g.js → instruction-discovery-5cwxazss.js} +12 -12
  67. package/dist/chunks/{model-w2eysc6j.js → instruction-discovery-5enarcya.js} +6 -6
  68. package/dist/chunks/{model-hhwtx70h.js → instruction-discovery-5evp2eyr.js} +7 -7
  69. package/dist/chunks/{model-2bsw763r.js → instruction-discovery-5k4n1gb3.js} +10 -10
  70. package/dist/chunks/{model-5m9w47nd.js → instruction-discovery-5m9w47nd.js} +1 -1
  71. package/dist/chunks/{model-w5pqf8b7.js → instruction-discovery-5n4jvj3e.js} +16 -16
  72. package/dist/chunks/{model-5whx36p1.js → instruction-discovery-5whx36p1.js} +1 -1
  73. package/dist/chunks/{model-hfjxjgrv.js → instruction-discovery-5wymkgse.js} +17 -17
  74. package/dist/chunks/{model-a3tm4wjw.js → instruction-discovery-5z37zzep.js} +38 -38
  75. package/dist/chunks/{model-5a0bptm8.js → instruction-discovery-5zhccwhm.js} +4 -4
  76. package/dist/chunks/{model-q7srkfd6.js → instruction-discovery-5zpqhmp2.js} +6 -6
  77. package/dist/chunks/{model-9zwexsxs.js → instruction-discovery-61qraad9.js} +5 -5
  78. package/dist/chunks/{model-v3d8wtdt.js → instruction-discovery-63d3zap5.js} +15 -15
  79. package/dist/chunks/{model-9sgn6a71.js → instruction-discovery-65s9w0ba.js} +29 -29
  80. package/dist/chunks/{model-j7cndtze.js → instruction-discovery-6ahmdr5g.js} +9 -9
  81. package/dist/chunks/{model-9khz0wq9.js → instruction-discovery-6cqkw5v2.js} +7 -7
  82. package/dist/chunks/{model-k25vwq5p.js → instruction-discovery-6ghwpzxw.js} +59 -59
  83. package/dist/chunks/{model-x41w2g5z.js → instruction-discovery-6m28zfh6.js} +16 -16
  84. package/dist/chunks/{model-3k9a42wj.js → instruction-discovery-6mx9s162.js} +20 -20
  85. package/dist/chunks/{model-ekj2k84j.js → instruction-discovery-6xfxs9wt.js} +3 -3
  86. package/dist/chunks/{model-10afd8zb.js → instruction-discovery-71cpk4y0.js} +26 -26
  87. package/dist/chunks/{model-1yzx0q78.js → instruction-discovery-71jgy235.js} +5 -5
  88. package/dist/chunks/{model-s5va80fv.js → instruction-discovery-71kmztew.js} +15 -15
  89. package/dist/chunks/{model-sphvsfsr.js → instruction-discovery-75z8ttbx.js} +20 -20
  90. package/dist/chunks/{model-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
  91. package/dist/chunks/{model-fvsmnwd4.js → instruction-discovery-7bvxhdvg.js} +9 -9
  92. package/dist/chunks/{model-b4k47k2s.js → instruction-discovery-7h22etv1.js} +5 -5
  93. package/dist/chunks/{model-vqq0nw69.js → instruction-discovery-7mv28461.js} +18 -18
  94. package/dist/chunks/{model-e7qryzfw.js → instruction-discovery-7t1wcste.js} +15 -15
  95. package/dist/chunks/{model-7w2ypzdf.js → instruction-discovery-7w2ypzdf.js} +1 -1
  96. package/dist/chunks/{model-7weczvnd.js → instruction-discovery-7weczvnd.js} +1 -1
  97. package/dist/chunks/{model-qqsn6hfp.js → instruction-discovery-7wrg17wp.js} +5 -5
  98. package/dist/chunks/{model-nsbjhe4d.js → instruction-discovery-7xrr1h9y.js} +18 -18
  99. package/dist/chunks/{model-80mg3ag8.js → instruction-discovery-80mg3ag8.js} +3 -3
  100. package/dist/chunks/{model-80pdk984.js → instruction-discovery-80pdk984.js} +1 -1
  101. package/dist/chunks/{model-zqv6p0j7.js → instruction-discovery-82t5zjg4.js} +14 -14
  102. package/dist/chunks/{model-85jq8dht.js → instruction-discovery-85jq8dht.js} +1 -1
  103. package/dist/chunks/{model-cwj7f37j.js → instruction-discovery-877ex1x8.js} +4 -4
  104. package/dist/chunks/{model-8b3vzgkx.js → instruction-discovery-8b3vzgkx.js} +1 -1
  105. package/dist/chunks/{model-ttmm5gr6.js → instruction-discovery-8e35k2dv.js} +14 -14
  106. package/dist/chunks/{model-5hcj91nx.js → instruction-discovery-8f5znwjq.js} +15 -15
  107. package/dist/chunks/{model-f7r7m9p6.js → instruction-discovery-8hvja03c.js} +9 -9
  108. package/dist/chunks/{model-x0afmz69.js → instruction-discovery-8k1b2kbc.js} +5 -5
  109. package/dist/chunks/{model-1v62x7nb.js → instruction-discovery-8k8vqbkb.js} +6 -6
  110. package/dist/chunks/{model-4medx3yc.js → instruction-discovery-8n09hdvs.js} +8 -8
  111. package/dist/chunks/{model-yb81b84g.js → instruction-discovery-8nvhek60.js} +16 -16
  112. package/dist/chunks/{model-8sxe6kv8.js → instruction-discovery-8sxe6kv8.js} +2 -2
  113. package/dist/chunks/{model-8wtp7s3z.js → instruction-discovery-8wtp7s3z.js} +1 -1
  114. package/dist/chunks/{model-kf9pbwfw.js → instruction-discovery-8zjkm0at.js} +39 -39
  115. package/dist/chunks/{model-8zv0xmg5.js → instruction-discovery-8zv0xmg5.js} +1 -1
  116. package/dist/chunks/{model-963hk181.js → instruction-discovery-963hk181.js} +2 -2
  117. package/dist/chunks/{model-s8fvhn4h.js → instruction-discovery-9dqxst5z.js} +4 -4
  118. package/dist/chunks/{model-v727gcv0.js → instruction-discovery-9r920prg.js} +11 -11
  119. package/dist/chunks/{model-nq1mg43n.js → instruction-discovery-9rqfe4ad.js} +3 -3
  120. package/dist/chunks/{model-ahenw0f4.js → instruction-discovery-a1tswj55.js} +5 -5
  121. package/dist/chunks/{model-fvgj1da1.js → instruction-discovery-a2h73pm3.js} +7 -7
  122. package/dist/chunks/instruction-discovery-a610t88q.js +18 -0
  123. package/dist/chunks/{model-stmzw2v7.js → instruction-discovery-a631g2cm.js} +5 -5
  124. package/dist/chunks/{model-h91tf95k.js → instruction-discovery-a85bkmsn.js} +10 -10
  125. package/dist/chunks/{model-rcsbmygy.js → instruction-discovery-a936ysns.js} +25 -25
  126. package/dist/chunks/{model-6qappkbv.js → instruction-discovery-aacxd4ty.js} +17 -17
  127. package/dist/chunks/{model-y32xxt00.js → instruction-discovery-aqczazaa.js} +4 -4
  128. package/dist/chunks/{model-by3zbw0c.js → instruction-discovery-awx72zq7.js} +20 -20
  129. package/dist/chunks/{model-metcvwkm.js → instruction-discovery-ax3devvw.js} +2 -2
  130. package/dist/chunks/{model-h940dy85.js → instruction-discovery-axa33maw.js} +3 -3
  131. package/dist/chunks/{model-ayjs7tqn.js → instruction-discovery-ayjs7tqn.js} +2 -2
  132. package/dist/chunks/{model-me215f18.js → instruction-discovery-b7nkz392.js} +1 -1
  133. package/dist/chunks/{model-wcxqhytp.js → instruction-discovery-bb7q5hvs.js} +7 -7
  134. package/dist/chunks/{model-4av79kf0.js → instruction-discovery-bcbg5853.js} +10 -10
  135. package/dist/chunks/{model-pgqxr0th.js → instruction-discovery-bex4xsk5.js} +4 -4
  136. package/dist/chunks/{model-tktfk7r3.js → instruction-discovery-bfzxg64b.js} +16 -16
  137. package/dist/chunks/{model-33gwp74t.js → instruction-discovery-bq407wpz.js} +44 -44
  138. package/dist/chunks/{model-bstexjd6.js → instruction-discovery-bstexjd6.js} +1 -1
  139. package/dist/chunks/{model-k7rtwba0.js → instruction-discovery-bvq8f0kp.js} +27 -27
  140. package/dist/chunks/{model-vkq56ka5.js → instruction-discovery-c2je6y50.js} +17 -17
  141. package/dist/chunks/{model-cpvd08na.js → instruction-discovery-c6x7d2ts.js} +4 -4
  142. package/dist/chunks/{model-wt99tj4q.js → instruction-discovery-c7cw818c.js} +5 -5
  143. package/dist/chunks/{model-krmt0h2w.js → instruction-discovery-cac42eeb.js} +18 -18
  144. package/dist/chunks/{model-tjk7q11w.js → instruction-discovery-cazsqtbb.js} +15 -15
  145. package/dist/chunks/{model-ra34yqmw.js → instruction-discovery-cg3fcpn4.js} +6 -6
  146. package/dist/chunks/{model-my936y1m.js → instruction-discovery-ck42qxzz.js} +14 -14
  147. package/dist/chunks/{model-3rapmj7b.js → instruction-discovery-cnm88yfy.js} +8 -8
  148. package/dist/chunks/{model-qh5g3qaw.js → instruction-discovery-ctmpqb7w.js} +9 -9
  149. package/dist/chunks/{model-cwrgdav8.js → instruction-discovery-cwrgdav8.js} +2 -2
  150. package/dist/chunks/{model-q2dmbysw.js → instruction-discovery-d1spntys.js} +7 -7
  151. package/dist/chunks/{model-d4v9tmah.js → instruction-discovery-d4v9tmah.js} +2 -2
  152. package/dist/chunks/{model-yv7gfeb1.js → instruction-discovery-dc403p35.js} +22 -22
  153. package/dist/chunks/{model-s65cmm33.js → instruction-discovery-dee02ybc.js} +39 -39
  154. package/dist/chunks/{model-650ycsqk.js → instruction-discovery-dfsy2zcm.js} +5 -5
  155. package/dist/chunks/{model-dt77769w.js → instruction-discovery-dt77769w.js} +1 -1
  156. package/dist/chunks/{model-br010nc4.js → instruction-discovery-e437mpew.js} +30 -30
  157. package/dist/chunks/{model-tevveh3n.js → instruction-discovery-ehgta2nm.js} +31 -31
  158. package/dist/chunks/{model-3e73t2zc.js → instruction-discovery-em917w8p.js} +29 -29
  159. package/dist/chunks/{model-eqw4pqj1.js → instruction-discovery-eqw4pqj1.js} +2 -2
  160. package/dist/chunks/{model-3h4bcgh0.js → instruction-discovery-eryzpwpq.js} +18 -18
  161. package/dist/chunks/{model-f2t3k20r.js → instruction-discovery-ev4zfx05.js} +14 -14
  162. package/dist/chunks/{model-fg9p65nk.js → instruction-discovery-fg9p65nk.js} +2 -2
  163. package/dist/chunks/{model-wznk9vg6.js → instruction-discovery-fn5th1ab.js} +19 -19
  164. package/dist/chunks/{model-pgeamhre.js → instruction-discovery-fvdwnf39.js} +21 -21
  165. package/dist/chunks/{model-z2hjnym5.js → instruction-discovery-fw2qyj1f.js} +80 -80
  166. package/dist/chunks/{model-vsa1az0w.js → instruction-discovery-fw5v6aya.js} +16 -16
  167. package/dist/chunks/{model-z9y0h9gf.js → instruction-discovery-fwjbabb2.js} +7 -7
  168. package/dist/chunks/{model-b26ddj6h.js → instruction-discovery-g4txs7zc.js} +4 -4
  169. package/dist/chunks/{model-gj7y0tfs.js → instruction-discovery-g5ds3bms.js} +5 -5
  170. package/dist/chunks/{model-gbjdnr5j.js → instruction-discovery-gbjdnr5j.js} +2 -2
  171. package/dist/chunks/{model-ewn6818x.js → instruction-discovery-gdpv4h37.js} +7 -7
  172. package/dist/chunks/{model-5asgddgx.js → instruction-discovery-ggx84v7x.js} +6 -6
  173. package/dist/chunks/{model-ghrv1g9c.js → instruction-discovery-ghrv1g9c.js} +1 -1
  174. package/dist/chunks/instruction-discovery-gp9b5t1t.js +273 -0
  175. package/dist/chunks/{model-148xq1kq.js → instruction-discovery-gt02w2mb.js} +9 -9
  176. package/dist/chunks/{model-10kej31a.js → instruction-discovery-gvvr0d1k.js} +82 -82
  177. package/dist/chunks/{model-tg7s7b5t.js → instruction-discovery-gxs71cxp.js} +4 -4
  178. package/dist/chunks/{model-a5rej8c4.js → instruction-discovery-h0aek10s.js} +28 -28
  179. package/dist/chunks/{model-r90z6zhq.js → instruction-discovery-hbtbm6gc.js} +33 -33
  180. package/dist/chunks/{model-tyycnx8n.js → instruction-discovery-hgawkv06.js} +51 -51
  181. package/dist/chunks/{model-5sfs57rd.js → instruction-discovery-hgf1wwv3.js} +11 -11
  182. package/dist/chunks/{model-hgzwgvze.js → instruction-discovery-hgzwgvze.js} +2 -2
  183. package/dist/chunks/{model-zvp1emq8.js → instruction-discovery-hk297yx1.js} +24 -24
  184. package/dist/chunks/{model-m3axgt35.js → instruction-discovery-hpy856qe.js} +16 -16
  185. package/dist/chunks/{model-rvmghfg9.js → instruction-discovery-j0vpes8p.js} +12 -12
  186. package/dist/chunks/{model-zdtdjee6.js → instruction-discovery-j20ahyp3.js} +15 -15
  187. package/dist/chunks/{model-tr8x705m.js → instruction-discovery-j376ae4e.js} +5 -5
  188. package/dist/chunks/{model-4e2mfesz.js → instruction-discovery-j54ey3dk.js} +21 -21
  189. package/dist/chunks/{model-5n0rnk8e.js → instruction-discovery-jkdcm5hg.js} +4 -4
  190. package/dist/chunks/{model-jm70asfg.js → instruction-discovery-jm70asfg.js} +1 -1
  191. package/dist/chunks/{model-nk9akxx5.js → instruction-discovery-jpg8zcfk.js} +2 -2
  192. package/dist/chunks/{model-qzwa5pge.js → instruction-discovery-js360skg.js} +12 -12
  193. package/dist/chunks/{model-gfjve02f.js → instruction-discovery-jwh3xyhe.js} +7 -7
  194. package/dist/chunks/{model-44pmzq9c.js → instruction-discovery-jxd6f16v.js} +2 -2
  195. package/dist/chunks/{model-6d447hqy.js → instruction-discovery-jyk617cr.js} +9 -9
  196. package/dist/chunks/{model-w392gvqw.js → instruction-discovery-k0cpattz.js} +5 -5
  197. package/dist/chunks/{model-x9sa2vw4.js → instruction-discovery-k3g9bhk6.js} +18 -18
  198. package/dist/chunks/{model-wezrjeyh.js → instruction-discovery-k5xaj77z.js} +13 -13
  199. package/dist/chunks/{model-3936qknj.js → instruction-discovery-kab192kh.js} +6 -6
  200. package/dist/chunks/{model-20pht57w.js → instruction-discovery-kj9n5bvh.js} +4 -4
  201. package/dist/chunks/{model-zp38z90p.js → instruction-discovery-kkx9edz0.js} +3 -3
  202. package/dist/chunks/{model-xz07m27x.js → instruction-discovery-kmekj7m2.js} +4 -4
  203. package/dist/chunks/{model-kcxeskpv.js → instruction-discovery-kp8agc27.js} +38 -38
  204. package/dist/chunks/{model-kt3bjfbg.js → instruction-discovery-kt3bjfbg.js} +1 -1
  205. package/dist/chunks/{model-kzczzf4v.js → instruction-discovery-kzczzf4v.js} +1 -1
  206. package/dist/chunks/{model-2bswbpgz.js → instruction-discovery-kzdam8c6.js} +7 -7
  207. package/dist/chunks/{model-m1714858.js → instruction-discovery-m1714858.js} +1 -1
  208. package/dist/chunks/{model-bj9jxw1d.js → instruction-discovery-m1a9cv8b.js} +21 -21
  209. package/dist/chunks/{model-ay6wrfq3.js → instruction-discovery-m5brqekz.js} +9 -9
  210. package/dist/chunks/{model-0yn2q0fq.js → instruction-discovery-m7t615r4.js} +12 -12
  211. package/dist/chunks/{model-f8n5d6m9.js → instruction-discovery-m8c1a2pd.js} +86 -86
  212. package/dist/chunks/{model-cagdk6e6.js → instruction-discovery-m9hjmvdm.js} +7 -7
  213. package/dist/chunks/{model-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
  214. package/dist/chunks/{model-mb7mbhnz.js → instruction-discovery-mb7mbhnz.js} +3 -3
  215. package/dist/chunks/{model-g2njb55f.js → instruction-discovery-mbyymhsd.js} +8 -8
  216. package/dist/chunks/{model-2kg89srt.js → instruction-discovery-mf63ygpr.js} +4 -4
  217. package/dist/chunks/{model-cbssh99t.js → instruction-discovery-mge70beb.js} +6 -6
  218. package/dist/chunks/{model-vcsx8vbf.js → instruction-discovery-mh1rreeb.js} +9 -9
  219. package/dist/chunks/{model-aagm5cbn.js → instruction-discovery-mrzz8s7h.js} +32 -32
  220. package/dist/chunks/{model-m5nv7m71.js → instruction-discovery-mtx9qk1x.js} +30 -30
  221. package/dist/chunks/{model-xvn8mnch.js → instruction-discovery-n320gsn2.js} +4 -4
  222. package/dist/chunks/{model-6apf8frj.js → instruction-discovery-n6fjjwma.js} +4 -4
  223. package/dist/chunks/{model-2b555hw6.js → instruction-discovery-nb92b240.js} +49 -49
  224. package/dist/chunks/{model-r7p2nbf1.js → instruction-discovery-ncmpkv8w.js} +17 -17
  225. package/dist/chunks/{model-0d15b3p2.js → instruction-discovery-npdhee2a.js} +31 -31
  226. package/dist/chunks/{model-k413tq6h.js → instruction-discovery-npdj87z7.js} +38 -38
  227. package/dist/chunks/{model-1cev16q8.js → instruction-discovery-npnga1vf.js} +8 -8
  228. package/dist/chunks/{model-0hc5b915.js → instruction-discovery-nq91b848.js} +9 -9
  229. package/dist/chunks/{model-4fzwr2m0.js → instruction-discovery-nvjede13.js} +22 -22
  230. package/dist/chunks/{model-15vwk5m2.js → instruction-discovery-nx1vpfa3.js} +21 -21
  231. package/dist/chunks/{model-xy5k248r.js → instruction-discovery-p7y8ak2q.js} +13 -13
  232. package/dist/chunks/{model-ccq6qsk8.js → instruction-discovery-p90c3rke.js} +35 -35
  233. package/dist/chunks/{model-xc08sm7v.js → instruction-discovery-pb9gr1fn.js} +12 -12
  234. package/dist/chunks/{model-fa9zh0hf.js → instruction-discovery-pd89y4vg.js} +6 -6
  235. package/dist/chunks/{model-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
  236. package/dist/chunks/{model-gc6rk9wr.js → instruction-discovery-pnw5tfaz.js} +8 -8
  237. package/dist/chunks/{model-f7qbn273.js → instruction-discovery-ppzye4tc.js} +22 -22
  238. package/dist/chunks/{model-rtkfrg4c.js → instruction-discovery-ptymmbb1.js} +17 -17
  239. package/dist/chunks/{model-200xyzfe.js → instruction-discovery-pwjytcs6.js} +17 -17
  240. package/dist/chunks/{model-xxrnkfxa.js → instruction-discovery-q35nk5cz.js} +3 -3
  241. package/dist/chunks/{model-q42tzrxa.js → instruction-discovery-q42tzrxa.js} +1 -1
  242. package/dist/chunks/{model-ryr33a7c.js → instruction-discovery-q84v8ast.js} +15 -15
  243. package/dist/chunks/{model-z3nw929v.js → instruction-discovery-qa8wq1bx.js} +9 -9
  244. package/dist/chunks/{model-6yyddktx.js → instruction-discovery-qgp5gqjt.js} +39 -39
  245. package/dist/chunks/{model-9cjk3842.js → instruction-discovery-qgrcdsd3.js} +18 -18
  246. package/dist/chunks/{model-qp7r0hxv.js → instruction-discovery-qp7r0hxv.js} +1 -1
  247. package/dist/chunks/{model-ss0ndc15.js → instruction-discovery-qrwsktcm.js} +10 -10
  248. package/dist/chunks/{model-64tp0ya5.js → instruction-discovery-qt420wez.js} +11 -11
  249. package/dist/chunks/{model-2n444ktb.js → instruction-discovery-qtf35215.js} +3 -3
  250. package/dist/chunks/{model-dhpx0ztf.js → instruction-discovery-qwg91r6f.js} +47 -47
  251. package/dist/chunks/{model-8fm8128g.js → instruction-discovery-qxnmxsad.js} +12 -12
  252. package/dist/chunks/{model-7y3c392v.js → instruction-discovery-r147690n.js} +39 -39
  253. package/dist/chunks/{model-gr0bm0f7.js → instruction-discovery-r7fbedde.js} +30 -30
  254. package/dist/chunks/{model-1nqk9g29.js → instruction-discovery-r7r55277.js} +8 -8
  255. package/dist/chunks/{model-am5a7svf.js → instruction-discovery-rac80r1t.js} +4 -4
  256. package/dist/chunks/{model-rb9dy4dg.js → instruction-discovery-rb9dy4dg.js} +1 -1
  257. package/dist/chunks/{model-rgc9cx3e.js → instruction-discovery-rgc9cx3e.js} +2 -2
  258. package/dist/chunks/{model-1j041cfy.js → instruction-discovery-rh0vkr7v.js} +177 -177
  259. package/dist/chunks/{model-rj7j5fvs.js → instruction-discovery-rj7j5fvs.js} +1 -1
  260. package/dist/chunks/{model-stbett4v.js → instruction-discovery-rj7jtxy8.js} +3 -3
  261. package/dist/chunks/{model-mpjxpg35.js → instruction-discovery-rke1pk6v.js} +23 -23
  262. package/dist/chunks/{model-hvfme911.js → instruction-discovery-rkss24s3.js} +6 -6
  263. package/dist/chunks/{model-nr1zwmm0.js → instruction-discovery-rs6b2qby.js} +4 -4
  264. package/dist/chunks/{model-05ehc3gz.js → instruction-discovery-rsh9mrpq.js} +17 -17
  265. package/dist/chunks/{model-rt5dr6hb.js → instruction-discovery-rt5dr6hb.js} +1 -1
  266. package/dist/chunks/{model-ktkyce3z.js → instruction-discovery-rzba8b35.js} +5 -5
  267. package/dist/chunks/{model-2p60zmnr.js → instruction-discovery-s1ba0vj0.js} +2 -2
  268. package/dist/chunks/{model-xsgzmtt3.js → instruction-discovery-s1hdwwky.js} +26 -26
  269. package/dist/chunks/{model-3raqsjay.js → instruction-discovery-s2qbnkbr.js} +4 -4
  270. package/dist/chunks/{model-8bjrjs1n.js → instruction-discovery-s51rk2n1.js} +4 -4
  271. package/dist/chunks/{model-sbya78hr.js → instruction-discovery-sbya78hr.js} +1 -1
  272. package/dist/chunks/{model-8d047cw6.js → instruction-discovery-sh1vctrz.js} +3 -3
  273. package/dist/chunks/{model-4taass34.js → instruction-discovery-sj4dkmm8.js} +8 -8
  274. package/dist/chunks/{model-svcy3p9a.js → instruction-discovery-svcy3p9a.js} +1 -1
  275. package/dist/chunks/{model-08nq0gwq.js → instruction-discovery-sykep8z1.js} +16 -16
  276. package/dist/chunks/{model-np0jxeq5.js → instruction-discovery-szakm7q4.js} +11 -11
  277. package/dist/chunks/{model-d3308ckt.js → instruction-discovery-t4fc5w9m.js} +33 -33
  278. package/dist/chunks/{model-tbpn7jtk.js → instruction-discovery-tbpn7jtk.js} +1 -1
  279. package/dist/chunks/{model-etbj7259.js → instruction-discovery-tceawxew.js} +11 -11
  280. package/dist/chunks/instruction-discovery-tcvn27ta.js +577 -0
  281. package/dist/chunks/{model-tczq8hjw.js → instruction-discovery-tczq8hjw.js} +1 -1
  282. package/dist/chunks/{model-mbd12qs5.js → instruction-discovery-tppacz0p.js} +15 -15
  283. package/dist/chunks/{model-09zcjbp5.js → instruction-discovery-trp5xsg0.js} +34 -34
  284. package/dist/chunks/{model-tvtps2q9.js → instruction-discovery-tvtps2q9.js} +1 -1
  285. package/dist/chunks/{model-twssxy5n.js → instruction-discovery-twssxy5n.js} +2 -2
  286. package/dist/chunks/{model-7trqavmj.js → instruction-discovery-txxmmn21.js} +25 -25
  287. package/dist/chunks/instruction-discovery-tze7wbk4.js +26 -0
  288. package/dist/chunks/{model-v2r1d0zg.js → instruction-discovery-v2r1d0zg.js} +1 -1
  289. package/dist/chunks/{model-47pktn18.js → instruction-discovery-v48fmenw.js} +9 -9
  290. package/dist/chunks/{model-xmd1xbsv.js → instruction-discovery-vfz1yd30.js} +10 -10
  291. package/dist/chunks/{model-vjf35v1f.js → instruction-discovery-vjf35v1f.js} +1 -1
  292. package/dist/chunks/{model-33mjg06a.js → instruction-discovery-vmkgnf08.js} +5 -5
  293. package/dist/chunks/{model-3p08md3h.js → instruction-discovery-vmz99vp1.js} +13 -13
  294. package/dist/chunks/{model-zz2c832q.js → instruction-discovery-vtkyewdg.js} +11 -11
  295. package/dist/chunks/{model-6y2b864j.js → instruction-discovery-vwcz1f45.js} +7 -7
  296. package/dist/chunks/{model-rjc0e4t0.js → instruction-discovery-vzba0y0m.js} +25 -25
  297. package/dist/chunks/{model-qy0mvb3m.js → instruction-discovery-w1d134qy.js} +22 -22
  298. package/dist/chunks/{model-z5td0z29.js → instruction-discovery-w3mjccnh.js} +20 -20
  299. package/dist/chunks/{model-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
  300. package/dist/chunks/{model-r5a4enwn.js → instruction-discovery-w6ph90n3.js} +8 -8
  301. package/dist/chunks/{model-2mbjfaxd.js → instruction-discovery-w76xjer3.js} +4 -4
  302. package/dist/chunks/{model-vzmn4kft.js → instruction-discovery-w87p3bvv.js} +28 -28
  303. package/dist/chunks/{model-zy7n64tq.js → instruction-discovery-w8yavv78.js} +4 -4
  304. package/dist/chunks/{model-myt9fkc7.js → instruction-discovery-w986w4hx.js} +6 -6
  305. package/dist/chunks/{model-n92r3whm.js → instruction-discovery-wa5jqpkn.js} +11 -11
  306. package/dist/chunks/{model-wakvkjy4.js → instruction-discovery-wakvkjy4.js} +1 -1
  307. package/dist/chunks/{model-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
  308. package/dist/chunks/{model-wegkxhrn.js → instruction-discovery-wegkxhrn.js} +2 -2
  309. package/dist/chunks/{model-wfdx5ztx.js → instruction-discovery-wfdx5ztx.js} +1 -1
  310. package/dist/chunks/{model-rt912mbg.js → instruction-discovery-wprpberk.js} +23 -23
  311. package/dist/chunks/{model-wr3re1en.js → instruction-discovery-wr3re1en.js} +1 -1
  312. package/dist/chunks/{model-a3fn0gmm.js → instruction-discovery-x150ncgg.js} +2 -2
  313. package/dist/chunks/{model-raamw8fs.js → instruction-discovery-x1yq6p9a.js} +14 -14
  314. package/dist/chunks/{model-f0t59cqk.js → instruction-discovery-x2x4cmk7.js} +16 -16
  315. package/dist/chunks/{model-r14wyr3w.js → instruction-discovery-xhbkw68y.js} +10 -10
  316. package/dist/chunks/{model-v82zsv82.js → instruction-discovery-xhkb6x72.js} +10 -10
  317. package/dist/chunks/{model-xjbsd7zy.js → instruction-discovery-xjbsd7zy.js} +2 -2
  318. package/dist/chunks/{model-kbgs7tyr.js → instruction-discovery-xksw6ev0.js} +4 -4
  319. package/dist/chunks/{model-x70req0v.js → instruction-discovery-xm43y1n1.js} +37 -37
  320. package/dist/chunks/{model-mzn2a4s9.js → instruction-discovery-xn9c2ktn.js} +32 -32
  321. package/dist/chunks/{model-h0bhactx.js → instruction-discovery-xqv7e1eg.js} +7 -7
  322. package/dist/chunks/{model-wr7bjqf6.js → instruction-discovery-xrwd0eaa.js} +13 -13
  323. package/dist/chunks/{model-b6b58phx.js → instruction-discovery-xwb75rjn.js} +25 -25
  324. package/dist/chunks/{model-xxschbft.js → instruction-discovery-xxschbft.js} +1 -1
  325. package/dist/chunks/{model-fdtp6zbm.js → instruction-discovery-xy2adanr.js} +11 -11
  326. package/dist/chunks/{model-ppp1a1w1.js → instruction-discovery-y4z3prv2.js} +16 -16
  327. package/dist/chunks/{model-hqw6s7vg.js → instruction-discovery-y8aqsrqr.js} +39 -39
  328. package/dist/chunks/{model-05bt7bhb.js → instruction-discovery-y8x56kgy.js} +22 -22
  329. package/dist/chunks/{model-yb20nhc3.js → instruction-discovery-yb20nhc3.js} +1 -1
  330. package/dist/chunks/{model-msd2a3qm.js → instruction-discovery-ybws1qgk.js} +4 -4
  331. package/dist/chunks/{model-160yv0cs.js → instruction-discovery-ydsespw1.js} +4 -4
  332. package/dist/chunks/{model-0hxcpwt2.js → instruction-discovery-yk4ram99.js} +3 -3
  333. package/dist/chunks/{model-49rkndpa.js → instruction-discovery-yp2c7qyq.js} +6 -6
  334. package/dist/chunks/{model-remxw044.js → instruction-discovery-yq9kw5cw.js} +1 -1
  335. package/dist/chunks/{model-yr705xyq.js → instruction-discovery-yr705xyq.js} +1 -1
  336. package/dist/chunks/{model-tvbp6ax4.js → instruction-discovery-yv3vk3c7.js} +13 -13
  337. package/dist/chunks/{model-yvtc2x31.js → instruction-discovery-yvtc2x31.js} +1 -1
  338. package/dist/chunks/{model-w6vg8qxy.js → instruction-discovery-yy6p0r3f.js} +5 -5
  339. package/dist/chunks/{model-wprv5e0c.js → instruction-discovery-z1zwgy4a.js} +10 -10
  340. package/dist/chunks/{model-w2vzp9j5.js → instruction-discovery-z514yeqw.js} +9 -9
  341. package/dist/chunks/{model-cbts0apv.js → instruction-discovery-z8d5w4cp.js} +14 -14
  342. package/dist/chunks/{model-z9prk17z.js → instruction-discovery-z8dga3gp.js} +16 -16
  343. package/dist/chunks/{model-ce7s1pbp.js → instruction-discovery-z8je6wes.js} +28 -28
  344. package/dist/chunks/{model-1xrqzjsv.js → instruction-discovery-zapgmn8f.js} +8 -8
  345. package/dist/chunks/{model-bffykna6.js → instruction-discovery-zbng777a.js} +5 -5
  346. package/dist/chunks/{model-2qm5at19.js → instruction-discovery-zded71tf.js} +16 -16
  347. package/dist/chunks/{model-ze75qvmd.js → instruction-discovery-ze75qvmd.js} +3 -3
  348. package/dist/chunks/{model-qxr7hnvj.js → instruction-discovery-zjxmd7k6.js} +15 -15
  349. package/dist/chunks/{model-vwm6fdyp.js → instruction-discovery-znv1hwjk.js} +26 -26
  350. package/dist/chunks/{model-by8ty0bx.js → instruction-discovery-zpdbqgja.js} +4 -4
  351. package/dist/codemode/catalog.js +1 -1
  352. package/dist/codemode/execution.js +3 -3
  353. package/dist/codemode/fetch.js +148 -148
  354. package/dist/codemode/instructions.js +11 -11
  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 +3 -3
  359. package/dist/config/managed.js +1 -1
  360. package/dist/config/markdown.js +1 -1
  361. package/dist/config/normalize.js +112 -112
  362. package/dist/config/plugin/agent.js +131 -131
  363. package/dist/config/plugin/command.js +238 -238
  364. package/dist/config/plugin/compaction.js +173 -173
  365. package/dist/config/plugin/compatibility.js +153 -153
  366. package/dist/config/plugin/entry-observer.js +1 -1
  367. package/dist/config/plugin/formatter.js +131 -131
  368. package/dist/config/plugin/image.js +130 -130
  369. package/dist/config/plugin/instruction.js +130 -130
  370. package/dist/config/plugin/location-watcher.js +132 -132
  371. package/dist/config/plugin/mcp.js +141 -141
  372. package/dist/config/plugin/policy.js +130 -130
  373. package/dist/config/plugin/provider.js +130 -130
  374. package/dist/config/plugin/reference.js +132 -132
  375. package/dist/config/plugin/shell.js +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 +154 -154
  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 +131 -131
  387. package/dist/console-access.js +1 -1
  388. package/dist/credential/sql.js +2 -2
  389. package/dist/credential.js +94 -94
  390. package/dist/database/batch.js +1 -1
  391. package/dist/database/database.js +77 -77
  392. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  393. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  394. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  395. package/dist/database/drizzle/index.js +13 -13
  396. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  399. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  401. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  404. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  405. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  406. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  407. package/dist/database/drizzle.js +14 -14
  408. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  409. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  410. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  411. package/dist/database/migration/20260225215848_workspace.js +1 -1
  412. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  413. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  414. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  415. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  416. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  417. package/dist/database/migration/20260323234822_events.js +1 -1
  418. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  419. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  420. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  421. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  422. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  423. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  424. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  425. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  426. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  427. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  428. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  429. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  430. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  431. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  432. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  433. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  434. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  435. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  436. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  437. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  438. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  439. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  440. package/dist/database/migration/20260611035744_credential.js +1 -1
  441. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  442. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  443. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  444. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  445. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  446. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  447. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  448. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  449. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  450. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  451. package/dist/database/migration/20260812213948_worktree.js +1 -1
  452. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  453. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  454. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  455. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  456. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  457. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  458. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  459. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  460. package/dist/database/migration/20261025123711_blob.js +1 -1
  461. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  462. package/dist/database/migration/20261026223005_schedule.js +1 -1
  463. package/dist/database/migration/20261029002625_session_part.js +1 -1
  464. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  465. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  466. package/dist/database/migration/20261030054400_job.js +1 -1
  467. package/dist/database/migration.gen.js +60 -60
  468. package/dist/database/migration.js +76 -76
  469. package/dist/database/path.js +2 -2
  470. package/dist/database/schema.gen.js +1 -1
  471. package/dist/database/schema.sql.js +1 -1
  472. package/dist/database/v1-migration.bun.js +98 -98
  473. package/dist/database/v1-migration.js +1 -1
  474. package/dist/effect/app-node-builder.js +441 -441
  475. package/dist/effect/app-node-platform.js +2 -2
  476. package/dist/effect/keyed-mutex.js +1 -1
  477. package/dist/effect/websocket-constructor.js +1 -1
  478. package/dist/environment/driver.js +1 -1
  479. package/dist/environment/environment.js +105 -105
  480. package/dist/environment/exec-defaults.js +2 -2
  481. package/dist/environment/files.js +1 -1
  482. package/dist/environment/index.js +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 +81 -81
  488. package/dist/file-access.js +160 -160
  489. package/dist/file-mutation.js +108 -108
  490. package/dist/file-retention.js +1 -1
  491. package/dist/file-write.js +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 +88 -88
  497. package/dist/filesystem/location-watcher-policy.js +6 -6
  498. package/dist/filesystem/location-watcher.js +253 -253
  499. package/dist/filesystem/protected.js +1 -1
  500. package/dist/filesystem/search.js +113 -113
  501. package/dist/filesystem/watcher-binding.js +1 -1
  502. package/dist/filesystem/watcher.js +9 -9
  503. package/dist/filesystem.js +116 -116
  504. package/dist/flag.js +133 -133
  505. package/dist/form.js +85 -85
  506. package/dist/formatter/builtins.js +4 -4
  507. package/dist/formatter.js +100 -100
  508. package/dist/generate.js +118 -118
  509. package/dist/git.js +7 -7
  510. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  511. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  512. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  513. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  514. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  515. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  516. package/dist/github-copilot/copilot-provider.js +17 -17
  517. package/dist/github-copilot/models.js +112 -112
  518. package/dist/github-copilot/openai-compatible-error.js +1 -1
  519. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  520. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  521. package/dist/github-copilot/responses/openai-error.js +1 -1
  522. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  523. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  524. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  525. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  526. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  528. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  529. package/dist/image/notice.js +1 -1
  530. package/dist/image/photon-normalize.js +1 -1
  531. package/dist/image/photon-worker.js +1 -1
  532. package/dist/image/photon.js +4 -4
  533. package/dist/image.js +6 -6
  534. package/dist/instance/service.js +5 -5
  535. package/dist/instance.js +432 -432
  536. package/dist/instruction-discovery.js +93 -93
  537. package/dist/instructions/builtins.js +100 -100
  538. package/dist/instructions/index.js +3 -3
  539. package/dist/integration/connection.js +3 -3
  540. package/dist/integration.js +96 -96
  541. package/dist/job/list.js +5 -5
  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 +84 -84
  547. package/dist/location-activity.js +182 -182
  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 +104 -104
  555. package/dist/mcp/index.js +124 -124
  556. package/dist/mcp/instructions.js +189 -189
  557. package/dist/mcp/oauth.js +89 -89
  558. package/dist/mcp/pool.js +112 -112
  559. package/dist/mcp/socket-client.js +1 -1
  560. package/dist/mcp/stdio.js +157 -157
  561. package/dist/mime.js +1 -1
  562. package/dist/modal/models.js +112 -112
  563. package/dist/model-resolver.js +112 -112
  564. package/dist/model-retry.js +1 -1
  565. package/dist/model.js +109 -109
  566. package/dist/models-dev/v1.js +1 -1
  567. package/dist/models-dev.js +121 -121
  568. package/dist/oauth/page.js +1 -1
  569. package/dist/permission/saved.js +91 -91
  570. package/dist/permission/sql.js +5 -5
  571. package/dist/permission.js +150 -150
  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 +85 -85
  578. package/dist/plugin/command.js +117 -117
  579. package/dist/plugin/goal.js +3 -3
  580. package/dist/plugin/hooks.js +5 -5
  581. package/dist/plugin/host.js +244 -244
  582. package/dist/plugin/identity.js +5 -5
  583. package/dist/plugin/instance.js +3 -3
  584. package/dist/plugin/internal.js +410 -410
  585. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  586. package/dist/plugin/models-dev.js +110 -110
  587. package/dist/plugin/module.js +129 -129
  588. package/dist/plugin/optimize.js +2 -2
  589. package/dist/plugin/plan.js +149 -149
  590. package/dist/plugin/promise.js +1 -1
  591. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  592. package/dist/plugin/provider/azure.js +131 -131
  593. package/dist/plugin/provider/cerebras.js +1 -1
  594. package/dist/plugin/provider/chatgpt.js +133 -133
  595. package/dist/plugin/provider/claude-agent/aisdk.js +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 +3 -3
  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 +112 -112
  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 +5 -5
  614. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  615. package/dist/plugin/provider/claude-agent/session.js +112 -112
  616. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  617. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  619. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  620. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  623. package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
  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 +89 -89
  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 +6 -6
  671. package/dist/plugin/websearch/firecrawl.js +9 -9
  672. package/dist/plugin/websearch/index.js +10 -10
  673. package/dist/plugin/websearch/mcp.js +4 -4
  674. package/dist/plugin/websearch/parallel.js +9 -9
  675. package/dist/plugin/websearch/provider.js +1 -1
  676. package/dist/plugin/websearch/tavily.js +7 -7
  677. package/dist/plugin/websearch/tinyfish.js +9 -9
  678. package/dist/plugin.js +253 -253
  679. package/dist/project/icon.js +5 -5
  680. package/dist/project/schema.js +2 -2
  681. package/dist/project/sql.js +4 -4
  682. package/dist/project.js +93 -93
  683. package/dist/provider.js +108 -108
  684. package/dist/pty/protocol.js +1 -1
  685. package/dist/pty/ticket.js +1 -1
  686. package/dist/pty.js +107 -107
  687. package/dist/reference/instructions.js +101 -101
  688. package/dist/reference.js +99 -99
  689. package/dist/repository-cache.js +93 -93
  690. package/dist/repository.js +1 -1
  691. package/dist/ripgrep/binary.js +2 -2
  692. package/dist/ripgrep.js +111 -111
  693. package/dist/rpc.js +99 -99
  694. package/dist/schedule/check.js +249 -249
  695. package/dist/schedule/sql.js +6 -6
  696. package/dist/schedule.js +255 -255
  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 +132 -132
  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 +247 -247
  709. package/dist/session/execution.js +167 -167
  710. package/dist/session/generate.js +204 -204
  711. package/dist/session/history.js +139 -139
  712. package/dist/session/inbox.js +146 -146
  713. package/dist/session/info.js +3 -3
  714. package/dist/session/instruction-entry.js +88 -88
  715. package/dist/session/instruction-state.js +8 -8
  716. package/dist/session/instructions.js +146 -146
  717. package/dist/session/message-updater.js +4 -4
  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 +5 -5
  733. package/dist/session/runner/step.js +166 -166
  734. package/dist/session/runner/to-llm-message.js +140 -140
  735. package/dist/session/schema.js +5 -5
  736. package/dist/session/session.js +186 -186
  737. package/dist/session/shell.js +145 -145
  738. package/dist/session/skill.js +150 -150
  739. package/dist/session/sql.js +5 -5
  740. package/dist/session/stats.js +85 -85
  741. package/dist/session/store.js +145 -145
  742. package/dist/session/stored.js +2 -2
  743. package/dist/session/subagent-completion.js +1 -1
  744. package/dist/session/subagent-job.js +237 -237
  745. package/dist/session/system-prompt.js +5 -5
  746. package/dist/session/title.js +209 -209
  747. package/dist/session/to-session-error.js +152 -152
  748. package/dist/session/transfer.js +244 -244
  749. package/dist/session/usage.js +3 -3
  750. package/dist/session.js +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 +11 -11
  756. package/dist/shell.js +147 -147
  757. package/dist/skill/discovery.js +2 -2
  758. package/dist/skill/instructions.js +152 -152
  759. package/dist/skill.js +153 -153
  760. package/dist/snapshot.js +104 -104
  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 +170 -170
  767. package/dist/tool/plugin/file-diff.js +1 -1
  768. package/dist/tool/plugin/glob.js +172 -172
  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 +147 -147
  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 +160 -160
  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 +160 -160
  782. package/dist/tool/plugin/websearch.js +156 -156
  783. package/dist/tool/plugin/write.js +171 -171
  784. package/dist/tool/read-filesystem.js +114 -114
  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 +163 -163
  789. package/dist/usage-limits.js +100 -100
  790. package/dist/util/error-summary.js +1 -1
  791. package/dist/util/git-executable.js +3 -3
  792. package/dist/util/lazy.js +1 -1
  793. package/dist/util/slug.js +1 -1
  794. package/dist/util/token.js +1 -1
  795. package/dist/util/which.js +1 -1
  796. package/dist/util/wildcard.js +1 -1
  797. package/dist/v1/config/agent.js +5 -5
  798. package/dist/v1/config/command.js +3 -3
  799. package/dist/v1/config/mcp.js +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 +2 -2
  805. package/dist/variant.js +106 -106
  806. package/dist/vcs/patch.js +1 -1
  807. package/dist/vcs.js +102 -102
  808. package/dist/voice.js +95 -95
  809. package/dist/websearch.js +89 -89
  810. package/dist/wellknown/plugin.js +87 -87
  811. package/dist/wellknown.js +90 -90
  812. package/dist/workspace/driver.js +7 -7
  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 +9 -9
  817. package/dist/worktree/sql.js +5 -5
  818. package/dist/worktree/strategies.js +102 -102
  819. package/dist/worktree.js +109 -109
  820. package/package.json +8 -8
  821. package/dist/chunks/model-hjs1bv3x.js +0 -273
  822. package/dist/chunks/model-pt2f0jk2.js +0 -577
  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 → instruction-discovery-0qkdqm5v.js} +0 -0
  826. /package/dist/chunks/{model-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
  827. /package/dist/chunks/{model-108x4f4w.js → instruction-discovery-108x4f4w.js} +0 -0
  828. /package/dist/chunks/{model-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
  829. /package/dist/chunks/{model-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
  830. /package/dist/chunks/{model-1kah00gy.js → instruction-discovery-1kah00gy.js} +0 -0
  831. /package/dist/chunks/{model-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
  832. /package/dist/chunks/{model-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
  833. /package/dist/chunks/{model-2bv980vf.js → instruction-discovery-2bv980vf.js} +0 -0
  834. /package/dist/chunks/{model-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
  835. /package/dist/chunks/{model-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
  836. /package/dist/chunks/{model-3af0jn4w.js → instruction-discovery-3af0jn4w.js} +0 -0
  837. /package/dist/chunks/{model-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
  838. /package/dist/chunks/{model-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
  839. /package/dist/chunks/{model-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
  840. /package/dist/chunks/{model-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
  841. /package/dist/chunks/{model-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
  842. /package/dist/chunks/{model-4qk9sjk2.js → instruction-discovery-4qk9sjk2.js} +0 -0
  843. /package/dist/chunks/{model-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
  844. /package/dist/chunks/{model-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
  845. /package/dist/chunks/{model-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
  846. /package/dist/chunks/{model-5w3e23ze.js → instruction-discovery-5w3e23ze.js} +0 -0
  847. /package/dist/chunks/{model-6agm2x70.js → instruction-discovery-6agm2x70.js} +0 -0
  848. /package/dist/chunks/{model-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
  849. /package/dist/chunks/{model-6q2bdcd1.js → instruction-discovery-6q2bdcd1.js} +0 -0
  850. /package/dist/chunks/{model-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
  851. /package/dist/chunks/{model-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
  852. /package/dist/chunks/{model-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
  853. /package/dist/chunks/{model-84wd9syh.js → instruction-discovery-84wd9syh.js} +0 -0
  854. /package/dist/chunks/{model-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
  855. /package/dist/chunks/{model-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
  856. /package/dist/chunks/{model-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
  857. /package/dist/chunks/{model-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
  858. /package/dist/chunks/{model-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
  859. /package/dist/chunks/{model-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
  860. /package/dist/chunks/{model-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
  861. /package/dist/chunks/{model-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
  862. /package/dist/chunks/{model-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
  863. /package/dist/chunks/{model-beh6qq61.js → instruction-discovery-beh6qq61.js} +0 -0
  864. /package/dist/chunks/{model-bhmrqjy3.js → instruction-discovery-bhmrqjy3.js} +0 -0
  865. /package/dist/chunks/{model-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
  866. /package/dist/chunks/{model-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
  867. /package/dist/chunks/{model-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
  868. /package/dist/chunks/{model-cqv5kn06.js → instruction-discovery-cqv5kn06.js} +0 -0
  869. /package/dist/chunks/{model-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
  870. /package/dist/chunks/{model-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
  871. /package/dist/chunks/{model-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
  872. /package/dist/chunks/{model-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
  873. /package/dist/chunks/{model-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
  874. /package/dist/chunks/{model-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
  875. /package/dist/chunks/{model-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
  876. /package/dist/chunks/{model-ean2d8b5.js → instruction-discovery-ean2d8b5.js} +0 -0
  877. /package/dist/chunks/{model-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
  878. /package/dist/chunks/{model-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
  879. /package/dist/chunks/{model-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
  880. /package/dist/chunks/{model-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
  881. /package/dist/chunks/{model-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
  882. /package/dist/chunks/{model-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
  883. /package/dist/chunks/{model-fkpq3x5p.js → instruction-discovery-fkpq3x5p.js} +0 -0
  884. /package/dist/chunks/{model-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
  885. /package/dist/chunks/{model-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
  886. /package/dist/chunks/{model-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
  887. /package/dist/chunks/{model-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
  888. /package/dist/chunks/{model-hcxmzztb.js → instruction-discovery-hcxmzztb.js} +0 -0
  889. /package/dist/chunks/{model-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
  890. /package/dist/chunks/{model-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
  891. /package/dist/chunks/{model-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
  892. /package/dist/chunks/{model-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
  893. /package/dist/chunks/{model-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
  894. /package/dist/chunks/{model-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
  895. /package/dist/chunks/{model-jwr30sdr.js → instruction-discovery-jwr30sdr.js} +0 -0
  896. /package/dist/chunks/{model-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
  897. /package/dist/chunks/{model-m18g726c.js → instruction-discovery-m18g726c.js} +0 -0
  898. /package/dist/chunks/{model-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
  899. /package/dist/chunks/{model-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
  900. /package/dist/chunks/{model-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
  901. /package/dist/chunks/{model-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
  902. /package/dist/chunks/{model-nh4v3znn.js → instruction-discovery-nh4v3znn.js} +0 -0
  903. /package/dist/chunks/{model-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
  904. /package/dist/chunks/{model-p71gwv9c.js → instruction-discovery-p71gwv9c.js} +0 -0
  905. /package/dist/chunks/{model-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
  906. /package/dist/chunks/{model-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
  907. /package/dist/chunks/{model-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
  908. /package/dist/chunks/{model-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
  909. /package/dist/chunks/{model-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
  910. /package/dist/chunks/{model-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
  911. /package/dist/chunks/{model-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
  912. /package/dist/chunks/{model-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
  913. /package/dist/chunks/{model-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
  914. /package/dist/chunks/{model-syrav9an.js → instruction-discovery-syrav9an.js} +0 -0
  915. /package/dist/chunks/{model-t03h4f5z.js → instruction-discovery-t03h4f5z.js} +0 -0
  916. /package/dist/chunks/{model-ty7weeps.js → instruction-discovery-ty7weeps.js} +0 -0
  917. /package/dist/chunks/{model-ve7vex1e.js → instruction-discovery-ve7vex1e.js} +0 -0
  918. /package/dist/chunks/{model-vtarvj67.js → instruction-discovery-vtarvj67.js} +0 -0
  919. /package/dist/chunks/{model-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
  920. /package/dist/chunks/{model-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
  921. /package/dist/chunks/{model-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
  922. /package/dist/chunks/{model-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
  923. /package/dist/chunks/{model-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
  924. /package/dist/chunks/{model-x4th4bpe.js → instruction-discovery-x4th4bpe.js} +0 -0
  925. /package/dist/chunks/{model-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
  926. /package/dist/chunks/{model-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
  927. /package/dist/chunks/{model-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
  928. /package/dist/chunks/{model-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
  929. /package/dist/chunks/{model-z0h12gs8.js → instruction-discovery-z0h12gs8.js} +0 -0
  930. /package/dist/chunks/{model-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
  931. /package/dist/chunks/{model-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
  932. /package/dist/chunks/{model-zxpyjp51.js → instruction-discovery-zxpyjp51.js} +0 -0
  933. /package/dist/chunks/{model-zz5vv3aq.js → instruction-discovery-zz5vv3aq.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-z5v4ffb3.js";
3
+ } from "./instruction-discovery-z5v4ffb3.js";
4
4
  import {
5
- Service90
6
- } from "./model-pkg4x22g.js";
5
+ Service89
6
+ } from "./instruction-discovery-5cwxazss.js";
7
7
  import {
8
8
  NotFound3
9
- } from "./model-svcy3p9a.js";
9
+ } from "./instruction-discovery-svcy3p9a.js";
10
10
  import {
11
11
  makeFiles2
12
- } from "./model-rgc9cx3e.js";
12
+ } from "./instruction-discovery-rgc9cx3e.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./model-twssxy5n.js";
15
+ } from "./instruction-discovery-twssxy5n.js";
16
16
  import {
17
17
  invocation2,
18
- Service73
19
- } from "./model-09zcjbp5.js";
18
+ Service72
19
+ } from "./instruction-discovery-trp5xsg0.js";
20
20
  import {
21
- Service70
22
- } from "./model-eft32nj2.js";
21
+ Service21
22
+ } from "./instruction-discovery-4yntqjxm.js";
23
23
  import {
24
- Service10
25
- } from "./model-sphvsfsr.js";
24
+ Service12
25
+ } from "./instruction-discovery-75z8ttbx.js";
26
26
  import {
27
- ID10,
27
+ ID9,
28
28
  uri2,
29
29
  isUri2,
30
- Service54
31
- } from "./model-vkq56ka5.js";
30
+ Service50
31
+ } from "./instruction-discovery-c2je6y50.js";
32
32
  import {
33
33
  isSafeSegment2
34
- } from "./model-xjbsd7zy.js";
34
+ } from "./instruction-discovery-xjbsd7zy.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
- Service40,
44
+ Service45,
45
45
  read2
46
- } from "./model-e7qryzfw.js";
46
+ } from "./instruction-discovery-7t1wcste.js";
47
47
  import {
48
48
  __export
49
- } from "./model-9rqn6x4v.js";
49
+ } from "./instruction-discovery-9rqn6x4v.js";
50
50
 
51
51
  // src/tool/plugin/read.ts
52
52
  var exports_read = {};
53
53
  __export(exports_read, {
54
- Input: () => Input11,
55
- Plugin: () => Plugin31,
54
+ Input: () => Input14,
55
+ Plugin: () => Plugin54,
56
56
  ReadTool: () => exports_read,
57
- name: () => name11,
58
- toModelContent: () => toModelContent5
57
+ name: () => name14,
58
+ toModelContent: () => toModelContent6
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 name11 = "read";
64
+ var name14 = "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 Input11 = LocationInput;
75
+ var Input14 = LocationInput;
76
76
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
77
- var Plugin31 = {
77
+ var Plugin54 = {
78
78
  id: "opencode.tool.read",
79
79
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
80
- const reader = yield* Service40;
81
- const access = yield* Service70;
82
- const permission = yield* Service73;
83
- const skills = yield* Service54;
84
- const sessionInstructions = yield* Service10;
80
+ const reader = yield* Service45;
81
+ const access = yield* Service21;
82
+ const permission = yield* Service72;
83
+ const skills = yield* Service50;
84
+ const sessionInstructions = yield* Service12;
85
85
  const fs = yield* FSUtil.Service;
86
- const location = yield* Service90;
86
+ const location = yield* Service89;
87
87
  yield* ctx.tool.transform((editor) => editor.add({
88
- name: name11,
88
+ name: name14,
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: Input11,
91
+ input: Input14,
92
92
  output: Output,
93
93
  execute: (input, context) => {
94
94
  return Effect.gen(function* () {
@@ -96,7 +96,7 @@ var Plugin31 = {
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 Plugin31 = {
163
163
  return { output: result.content, path: result.path };
164
164
  }).pipe(Effect.map((result) => ({
165
165
  output: result.output,
166
- content: toModelContent5(result.path, input.offset, result.output),
166
+ content: toModelContent6(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 toModelContent5 = (path, offset, output) => {
243
+ var toModelContent6 = (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 toModelContent5 = (path, offset, output) => {
276
276
  `);
277
277
  };
278
278
 
279
- export { name11, Input11, Plugin31, toModelContent5, exports_read };
279
+ export { name14, Input14, Plugin54, toModelContent6, exports_read };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  scan4,
3
3
  scanPowerShell2
4
- } from "./model-8zv0xmg5.js";
4
+ } from "./instruction-discovery-8zv0xmg5.js";
5
5
  import {
6
6
  name17,
7
7
  ps2
8
- } from "./model-zqv6p0j7.js";
8
+ } from "./instruction-discovery-82t5zjg4.js";
9
9
  import {
10
10
  match3
11
- } from "./model-1aqsckx4.js";
11
+ } from "./instruction-discovery-1aqsckx4.js";
12
12
  import {
13
13
  __export
14
- } from "./model-9rqn6x4v.js";
14
+ } from "./instruction-discovery-9rqn6x4v.js";
15
15
 
16
16
  // src/shell/parse.ts
17
17
  var exports_parse = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./model-gftt206x.js";
3
+ } from "./instruction-discovery-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./model-2n444ktb.js";
6
+ } from "./instruction-discovery-qtf35215.js";
7
7
  import {
8
8
  __export
9
- } from "./model-9rqn6x4v.js";
9
+ } from "./instruction-discovery-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error = {};
@@ -20,7 +20,7 @@ __export(exports_error, {
20
20
  InvalidListCursorError: () => InvalidListCursorError2,
21
21
  MessageDecodeError: () => MessageDecodeError2,
22
22
  MessageNotFoundError: () => MessageNotFoundError2,
23
- NotFoundError: () => NotFoundError12,
23
+ NotFoundError: () => NotFoundError11,
24
24
  PromptConflictError: () => PromptConflictError2,
25
25
  SessionErrors: () => exports_error,
26
26
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError12 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError11 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError12, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
126
+ export { NotFoundError11, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-z5v4ffb3.js";
3
+ } from "./instruction-discovery-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-9rqn6x4v.js";
6
+ } from "./instruction-discovery-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info22,
12
+ Info: () => Info21,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -70,6 +70,6 @@ var Remote2 = Schema.Struct({
70
70
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
71
71
  })
72
72
  }).annotate({ identifier: "McpRemoteConfig" });
73
- var Info22 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
73
+ var Info21 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
74
74
 
75
- export { Local2, OAuth2, Remote2, Info22, exports_mcp5 };
75
+ export { Local2, OAuth2, Remote2, Info21, exports_mcp5 };
@@ -2,14 +2,14 @@ import {
2
2
  ephemeral2,
3
3
  Service93,
4
4
  node95
5
- } from "./model-6apf8frj.js";
5
+ } from "./instruction-discovery-n6fjjwma.js";
6
6
  import {
7
- Service83,
8
- node84
9
- } from "./model-wprv5e0c.js";
7
+ Service88,
8
+ node90
9
+ } from "./instruction-discovery-z1zwgy4a.js";
10
10
  import {
11
11
  __export
12
- } from "./model-9rqn6x4v.js";
12
+ } from "./instruction-discovery-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
@@ -19,11 +19,11 @@ __export(exports_wellknown, {
19
19
  Event: () => Event15,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service81,
22
+ Service: () => Service82,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node82,
26
- resolve: () => resolve4
25
+ node: () => node84,
26
+ resolve: () => resolve5
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service81 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service82 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
51
  var Event15 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve5 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service81, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service83;
84
+ const kv = yield* Service88;
85
85
  const bus = yield* Service93;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
115
115
  yield* bus.publish(Event15.Updated, {}, { global: true });
116
116
  return true;
117
117
  }, (effect) => lock.withPermit(effect));
118
- return Service81.of({
118
+ return Service82.of({
119
119
  entries: load,
120
120
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
121
121
  refresh,
@@ -154,6 +154,6 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
154
154
  })
155
155
  });
156
156
  }));
157
- var node82 = makeGlobalNode({ service: Service81, layer, deps: [httpClient, node84, node95] });
157
+ var node84 = makeGlobalNode({ service: Service82, layer, deps: [httpClient, node90, node95] });
158
158
 
159
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service81, Event15, inspect2, resolve4, node82, exports_wellknown };
159
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service82, Event15, inspect2, resolve5, node84, exports_wellknown };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-z5v4ffb3.js";
4
+ } from "./instruction-discovery-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service92,
9
9
  node94
10
- } from "./model-ahenw0f4.js";
10
+ } from "./instruction-discovery-a1tswj55.js";
11
11
  import {
12
- Service90,
13
- node92
14
- } from "./model-pkg4x22g.js";
12
+ Service89,
13
+ node91
14
+ } from "./instruction-discovery-5cwxazss.js";
15
15
  import {
16
16
  create4
17
- } from "./model-40y6dtc2.js";
17
+ } from "./instruction-discovery-40y6dtc2.js";
18
18
  import {
19
19
  __export
20
- } from "./model-9rqn6x4v.js";
20
+ } from "./instruction-discovery-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID9,
27
- Service: () => Service53,
25
+ Error: () => Error2,
26
+ ID: () => ID10,
27
+ Service: () => Service57,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node55,
29
+ node: () => node59,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID9 } from "@opencode/schema/snapshot";
37
+ import { ID as ID10 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service53 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service57 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service53, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service92;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service90;
52
+ const location = yield* Service89;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create4({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
75
75
  if (!FSUtil.contains(worktree, directory))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
97
97
  maximumUntrackedFileBytes: 2 * 1024 * 1024
98
98
  });
99
99
  yield* packWhenDue(repo.snapshotRepository);
100
- return ID9.make(tree);
100
+ return ID10.make(tree);
101
101
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
102
102
  });
103
103
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
142
142
  for (const [file, snapshot] of input.files) {
143
143
  const absolute = path.resolve(worktree, file);
144
144
  if (!FSUtil.contains(worktree, absolute))
145
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
145
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
146
146
  files.set(file, TreeID2.make(snapshot));
147
147
  }
148
148
  return files;
149
149
  });
150
150
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
151
151
  if (!enabled())
152
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
152
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
153
153
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
155
155
  });
156
- return Service53.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service57.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
- var node55 = makeLocationNode({
159
- service: Service53,
158
+ var node59 = makeLocationNode({
159
+ service: Service57,
160
160
  layer,
161
- deps: [FSUtil.node, node94, Global.node, node92]
161
+ deps: [FSUtil.node, node94, Global.node, node91]
162
162
  });
163
- var noopLayer3 = Layer.succeed(Service53, Service53.of({
163
+ var noopLayer3 = Layer.succeed(Service57, Service57.of({
164
164
  transform: () => Effect.succeed({ dispose: Effect.void }),
165
165
  reload: () => Effect.void,
166
166
  capture: () => Effect.undefined,
@@ -169,13 +169,13 @@ var noopLayer3 = Layer.succeed(Service53, Service53.of({
169
169
  restore: () => Effect.void
170
170
  }));
171
171
  function failure(operation, cause) {
172
- if (cause instanceof Error3 && cause.operation === operation)
172
+ if (cause instanceof Error2 && cause.operation === operation)
173
173
  return cause;
174
- return new Error3({
174
+ return new Error2({
175
175
  operation,
176
176
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
177
177
  cause
178
178
  });
179
179
  }
180
180
 
181
- export { ID9, Error3, Service53, node55, noopLayer3, exports_snapshot2 };
181
+ export { ID10, Error2, Service57, node59, noopLayer3, exports_snapshot2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service46
3
- } from "./model-ra34yqmw.js";
2
+ Service49
3
+ } from "./instruction-discovery-cg3fcpn4.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./model-qmh7vbk2.js";
6
+ } from "./instruction-discovery-a610t88q.js";
7
7
  import {
8
- Service59
9
- } from "./model-2jffmtyb.js";
8
+ Service51
9
+ } from "./instruction-discovery-2fvrv2dh.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./model-q42tzrxa.js";
12
+ } from "./instruction-discovery-q42tzrxa.js";
13
13
  import {
14
14
  __export
15
- } from "./model-9rqn6x4v.js";
15
+ } from "./instruction-discovery-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start4 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service46;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service59), instances.provide(input.session));
25
+ const instances = yield* Service49;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,12 +1,12 @@
1
1
  import {
2
- make15
3
- } from "./model-5n0rnk8e.js";
2
+ make13
3
+ } from "./instruction-discovery-jkdcm5hg.js";
4
4
  import {
5
- make14
6
- } from "./model-2bswbpgz.js";
5
+ make12
6
+ } from "./instruction-discovery-kzdam8c6.js";
7
7
  import {
8
8
  __export
9
- } from "./model-9rqn6x4v.js";
9
+ } from "./instruction-discovery-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/claude/query-options.ts
12
12
  var exports_query_options = {};
@@ -80,14 +80,14 @@ async function session2(input) {
80
80
  systemPrompt: input.system,
81
81
  includePartialMessages: true,
82
82
  persistSession: input.persist,
83
- hooks: make15(input.pending),
83
+ hooks: make13(input.pending),
84
84
  mcpServers: {}
85
85
  };
86
86
  if (input.maxOutputTokens !== undefined) {
87
87
  options.env = { ...options.env, CLAUDE_CODE_MAX_OUTPUT_TOKENS: String(input.maxOutputTokens) };
88
88
  }
89
89
  if (input.tools.length > 0)
90
- options.mcpServers = { opencode: await make14(input.tools, input.pending) };
90
+ options.mcpServers = { opencode: await make12(input.tools, input.pending) };
91
91
  if (input.resume !== undefined) {
92
92
  options.resume = input.resume;
93
93
  return options;