@opencode/core 0.0.0-dev-19369 → 0.0.0-dev-19371

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{tool-0msc39tg.js → instruction-discovery-013av1x8.js} +11 -11
  9. package/dist/chunks/{tool-bgmt3wra.js → instruction-discovery-07ag7k0e.js} +28 -28
  10. package/dist/chunks/{tool-s0haq3v3.js → instruction-discovery-09zd0szw.js} +25 -25
  11. package/dist/chunks/{tool-jmm88pvs.js → instruction-discovery-0e5r1skn.js} +11 -11
  12. package/dist/chunks/{tool-mfvn5m8d.js → instruction-discovery-0ex6px1z.js} +5 -5
  13. package/dist/chunks/{tool-kk8fq19e.js → instruction-discovery-0fm4fvvj.js} +22 -22
  14. package/dist/chunks/{tool-0hpxrkyb.js → instruction-discovery-0hpxrkyb.js} +2 -2
  15. package/dist/chunks/instruction-discovery-0j1a1t13.js +22 -0
  16. package/dist/chunks/{tool-egp6178n.js → instruction-discovery-0kb9m1f6.js} +10 -10
  17. package/dist/chunks/instruction-discovery-0mesazry.js +4 -0
  18. package/dist/chunks/{tool-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{tool-0q0f95c6.js → instruction-discovery-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{tool-zncx7357.js → instruction-discovery-1a3gk442.js} +12 -12
  21. package/dist/chunks/{tool-wbyq7e0t.js → instruction-discovery-1d6q6my0.js} +46 -46
  22. package/dist/chunks/{tool-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{tool-22m95qs7.js → instruction-discovery-1hc11dc4.js} +4 -4
  24. package/dist/chunks/{tool-nqz62vb6.js → instruction-discovery-1ka62ajm.js} +23 -23
  25. package/dist/chunks/{tool-y0wsg1r3.js → instruction-discovery-1nhndn61.js} +7 -7
  26. package/dist/chunks/{tool-7rzn7488.js → instruction-discovery-1ptb02zb.js} +41 -41
  27. package/dist/chunks/{tool-qzkdxd86.js → instruction-discovery-1rjn7b92.js} +6 -6
  28. package/dist/chunks/{tool-7f3sjtrh.js → instruction-discovery-1wxb385z.js} +1 -1
  29. package/dist/chunks/{tool-c3er4f98.js → instruction-discovery-1xj25msm.js} +18 -18
  30. package/dist/chunks/{tool-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
  31. package/dist/chunks/{tool-2402vzrj.js → instruction-discovery-2402vzrj.js} +1 -1
  32. package/dist/chunks/{tool-pqkb2z9p.js → instruction-discovery-24gjgxem.js} +15 -15
  33. package/dist/chunks/{tool-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{tool-pnv527nz.js → instruction-discovery-2bt6bea8.js} +9 -9
  35. package/dist/chunks/{tool-br0bxb5z.js → instruction-discovery-2n6x26ww.js} +3 -3
  36. package/dist/chunks/{tool-gc2r3arx.js → instruction-discovery-2nnczm4n.js} +76 -76
  37. package/dist/chunks/{tool-dex3nr62.js → instruction-discovery-2rpj59nm.js} +69 -69
  38. package/dist/chunks/{tool-jw7c8f1w.js → instruction-discovery-2seywkaq.js} +13 -13
  39. package/dist/chunks/{tool-fw7ks5z6.js → instruction-discovery-2tbcxsee.js} +19 -19
  40. package/dist/chunks/{tool-fab8hzt3.js → instruction-discovery-2tfmgkzg.js} +4 -4
  41. package/dist/chunks/{tool-zbe5vsva.js → instruction-discovery-2vvechqa.js} +26 -26
  42. package/dist/chunks/{tool-kzx8z335.js → instruction-discovery-32zkwxf4.js} +46 -46
  43. package/dist/chunks/{tool-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{tool-13tvcsgk.js → instruction-discovery-3fqhs30r.js} +11 -11
  45. package/dist/chunks/{tool-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{tool-knvy7wqf.js → instruction-discovery-3mwx79t2.js} +17 -17
  47. package/dist/chunks/{tool-8ypn74s0.js → instruction-discovery-3q1jyqhd.js} +1 -1
  48. package/dist/chunks/{tool-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{tool-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{tool-ag9w8cw1.js → instruction-discovery-3w2b2yj4.js} +5 -5
  51. package/dist/chunks/{tool-qfv804ab.js → instruction-discovery-3wrtxrr4.js} +6 -6
  52. package/dist/chunks/{tool-31v57ene.js → instruction-discovery-42n6z8pq.js} +32 -32
  53. package/dist/chunks/{tool-8t1wrec1.js → instruction-discovery-4c8bw516.js} +8 -8
  54. package/dist/chunks/{tool-d5pcg4sb.js → instruction-discovery-4dxrwc2h.js} +60 -60
  55. package/dist/chunks/{tool-1jwdep4c.js → instruction-discovery-4g2w7pq2.js} +9 -9
  56. package/dist/chunks/{tool-2mnagb0e.js → instruction-discovery-4mkcvr19.js} +5 -5
  57. package/dist/chunks/{tool-rsv3dyxs.js → instruction-discovery-4s43gdt0.js} +14 -14
  58. package/dist/chunks/instruction-discovery-4yx2wtwn.js +247 -0
  59. package/dist/chunks/{tool-vmq7ehpy.js → instruction-discovery-510m7gjw.js} +5 -5
  60. package/dist/chunks/{tool-6f5kdbjb.js → instruction-discovery-516fypfz.js} +32 -32
  61. package/dist/chunks/{tool-56gdpj1q.js → instruction-discovery-56gdpj1q.js} +2 -2
  62. package/dist/chunks/{tool-100kzw8g.js → instruction-discovery-56yety9r.js} +37 -37
  63. package/dist/chunks/{tool-5c4hm403.js → instruction-discovery-5c4hm403.js} +3 -3
  64. package/dist/chunks/{tool-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
  65. package/dist/chunks/{tool-6y4tgg16.js → instruction-discovery-5fhmv1q3.js} +34 -34
  66. package/dist/chunks/{tool-e8ge1rnk.js → instruction-discovery-5nsrms9d.js} +1 -1
  67. package/dist/chunks/{tool-45zx1ce8.js → instruction-discovery-5s33gdzw.js} +24 -24
  68. package/dist/chunks/{tool-z9x25qgp.js → instruction-discovery-5sb8wf39.js} +16 -16
  69. package/dist/chunks/{tool-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{tool-m2krvp2x.js → instruction-discovery-5zem9v7d.js} +13 -13
  71. package/dist/chunks/instruction-discovery-619r8v3y.js +18 -0
  72. package/dist/chunks/{tool-669tq793.js → instruction-discovery-669tq793.js} +1 -1
  73. package/dist/chunks/{tool-rmm45jmv.js → instruction-discovery-66r9f6z1.js} +5 -5
  74. package/dist/chunks/{tool-7ebn0nc0.js → instruction-discovery-6anwy9fs.js} +6 -6
  75. package/dist/chunks/{tool-q5qadqqc.js → instruction-discovery-6cb6sp75.js} +4 -4
  76. package/dist/chunks/{tool-ce8ketvm.js → instruction-discovery-6fd16rw2.js} +23 -23
  77. package/dist/chunks/{tool-cfxak8gp.js → instruction-discovery-6fs1bwmd.js} +22 -22
  78. package/dist/chunks/{tool-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
  79. package/dist/chunks/{tool-g83yhva0.js → instruction-discovery-6q6sza9m.js} +21 -21
  80. package/dist/chunks/{tool-y0qtjk0t.js → instruction-discovery-6vmq095n.js} +11 -11
  81. package/dist/chunks/{tool-p6rs3vpq.js → instruction-discovery-71m7qv0m.js} +11 -11
  82. package/dist/chunks/{tool-71q4at8m.js → instruction-discovery-71q4at8m.js} +1 -1
  83. package/dist/chunks/{tool-e67ygrb5.js → instruction-discovery-75rf4veb.js} +20 -20
  84. package/dist/chunks/{tool-yxz14c3m.js → instruction-discovery-77vr9fvh.js} +43 -43
  85. package/dist/chunks/{tool-kf91f419.js → instruction-discovery-7bjy8qnq.js} +14 -14
  86. package/dist/chunks/{tool-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{tool-h47mvjjj.js → instruction-discovery-7bszj1cq.js} +30 -30
  88. package/dist/chunks/{tool-2k8khapm.js → instruction-discovery-7dqw4kz8.js} +5 -5
  89. package/dist/chunks/{tool-xanzpgaf.js → instruction-discovery-7gqvs912.js} +16 -16
  90. package/dist/chunks/{tool-xt6vqbst.js → instruction-discovery-7ng2f82v.js} +35 -35
  91. package/dist/chunks/{tool-j9eppgdd.js → instruction-discovery-7vc0yr26.js} +15 -15
  92. package/dist/chunks/{tool-yyxs5174.js → instruction-discovery-7wp5vt1y.js} +9 -9
  93. package/dist/chunks/{tool-4faz70f1.js → instruction-discovery-7xbncs63.js} +52 -52
  94. package/dist/chunks/{tool-638f9gty.js → instruction-discovery-7ynajkh9.js} +26 -26
  95. package/dist/chunks/{tool-zad871sr.js → instruction-discovery-83x6p9kd.js} +1 -1
  96. package/dist/chunks/{tool-cmwkp3r5.js → instruction-discovery-844ef7ks.js} +4 -4
  97. package/dist/chunks/{tool-2gm42vdj.js → instruction-discovery-8bk6ht13.js} +15 -15
  98. package/dist/chunks/{tool-qjqdk9x8.js → instruction-discovery-8bzjxz67.js} +20 -20
  99. package/dist/chunks/{tool-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
  100. package/dist/chunks/{tool-vyqwgby1.js → instruction-discovery-8gq8wjx2.js} +9 -9
  101. package/dist/chunks/{tool-50kt3f8y.js → instruction-discovery-90e5nz4z.js} +4 -4
  102. package/dist/chunks/{tool-j7wq2tw5.js → instruction-discovery-93hpb89x.js} +3 -3
  103. package/dist/chunks/{tool-859kcgs2.js → instruction-discovery-9875sft1.js} +3 -3
  104. package/dist/chunks/{tool-a1pcbmkx.js → instruction-discovery-9bkp3vk6.js} +14 -14
  105. package/dist/chunks/{tool-wk58jv74.js → instruction-discovery-9edcvf27.js} +10 -10
  106. package/dist/chunks/{tool-a46v4e4v.js → instruction-discovery-a46v4e4v.js} +1 -1
  107. package/dist/chunks/{tool-j9tvrbwe.js → instruction-discovery-a823mjcm.js} +22 -22
  108. package/dist/chunks/{tool-3r7whzgv.js → instruction-discovery-a8vp0knq.js} +7 -7
  109. package/dist/chunks/{tool-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
  110. package/dist/chunks/{tool-h1dazz20.js → instruction-discovery-avhz3daf.js} +17 -17
  111. package/dist/chunks/{tool-t0jgeayb.js → instruction-discovery-b2zyk4ye.js} +13 -13
  112. package/dist/chunks/{tool-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{tool-7j9rtswg.js → instruction-discovery-bbrn9wt5.js} +11 -11
  114. package/dist/chunks/{tool-yc73ry1q.js → instruction-discovery-be85q6rn.js} +6 -6
  115. package/dist/chunks/{tool-pjmc1jwj.js → instruction-discovery-bjyhjfk1.js} +29 -29
  116. package/dist/chunks/{tool-4jad23kz.js → instruction-discovery-bv2fytjm.js} +20 -20
  117. package/dist/chunks/{tool-jfpzywp2.js → instruction-discovery-c7ecgrk6.js} +6 -6
  118. package/dist/chunks/{tool-99exew75.js → instruction-discovery-cc5pkwqg.js} +43 -43
  119. package/dist/chunks/{tool-pe0c0z4r.js → instruction-discovery-ccedsq4e.js} +18 -18
  120. package/dist/chunks/{tool-72cm32h1.js → instruction-discovery-cf8tr9ph.js} +6 -6
  121. package/dist/chunks/instruction-discovery-chckjpc4.js +462 -0
  122. package/dist/chunks/{tool-fjvydvzm.js → instruction-discovery-cmbqfntm.js} +6 -6
  123. package/dist/chunks/{tool-yvy73jwh.js → instruction-discovery-cssamdmg.js} +15 -15
  124. package/dist/chunks/{tool-r1q74f54.js → instruction-discovery-cyr4v3cw.js} +24 -24
  125. package/dist/chunks/{tool-5aa4zf44.js → instruction-discovery-d13x8xp9.js} +27 -27
  126. package/dist/chunks/{tool-62gm3akr.js → instruction-discovery-d25rvqmh.js} +8 -8
  127. package/dist/chunks/{tool-g0aj3r5p.js → instruction-discovery-d3k4bsrs.js} +6 -6
  128. package/dist/chunks/{tool-s6vet9p8.js → instruction-discovery-dbd00eyb.js} +6 -6
  129. package/dist/chunks/{tool-vfpkabdf.js → instruction-discovery-dc5a176q.js} +10 -10
  130. package/dist/chunks/{tool-vz6rz0af.js → instruction-discovery-dht98sv3.js} +18 -18
  131. package/dist/chunks/{tool-dj2t23y0.js → instruction-discovery-dj2t23y0.js} +2 -2
  132. package/dist/chunks/{tool-y71avatq.js → instruction-discovery-dpkg50ah.js} +4 -4
  133. package/dist/chunks/{tool-m8gmjx38.js → instruction-discovery-dskz157b.js} +38 -38
  134. package/dist/chunks/{tool-00gnxv30.js → instruction-discovery-dwhk5b05.js} +20 -20
  135. package/dist/chunks/{tool-n6arc57m.js → instruction-discovery-e51w6w3b.js} +7 -7
  136. package/dist/chunks/{tool-rhjbct0v.js → instruction-discovery-eaj1djv9.js} +8 -8
  137. package/dist/chunks/{tool-hwe7x4em.js → instruction-discovery-edbfpfck.js} +6 -6
  138. package/dist/chunks/{tool-pwk28ted.js → instruction-discovery-eh5zsyp8.js} +13 -13
  139. package/dist/chunks/{tool-3zb9t6gq.js → instruction-discovery-eh92xjb9.js} +36 -36
  140. package/dist/chunks/{tool-s8j6jbjj.js → instruction-discovery-ej2hdnaa.js} +21 -21
  141. package/dist/chunks/{tool-ywhnyrnh.js → instruction-discovery-en74w496.js} +5 -5
  142. package/dist/chunks/{tool-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{tool-p514mdqe.js → instruction-discovery-ev4g7n3e.js} +25 -25
  144. package/dist/chunks/{tool-1kh06mg4.js → instruction-discovery-exjxmebg.js} +5 -5
  145. package/dist/chunks/{tool-sxnp3vqk.js → instruction-discovery-f1bvj3rd.js} +17 -17
  146. package/dist/chunks/{tool-gfqzzqy5.js → instruction-discovery-fjmrr6sh.js} +8 -8
  147. package/dist/chunks/{tool-0xf6t1bc.js → instruction-discovery-frf5pa85.js} +21 -21
  148. package/dist/chunks/{tool-phwjyq2h.js → instruction-discovery-fvt53xkj.js} +21 -21
  149. package/dist/chunks/{tool-fxbjtjnd.js → instruction-discovery-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{tool-7k1k30bt.js → instruction-discovery-g01nxz4d.js} +1 -1
  151. package/dist/chunks/{tool-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{tool-zxhfgthz.js → instruction-discovery-gn781x5c.js} +16 -16
  153. package/dist/chunks/{tool-d8q39vv3.js → instruction-discovery-gped56y4.js} +7 -7
  154. package/dist/chunks/{tool-g5zf0djh.js → instruction-discovery-gt0cxfk7.js} +1 -1
  155. package/dist/chunks/{tool-gv6a8nnw.js → instruction-discovery-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{tool-h03wrkyp.js → instruction-discovery-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{tool-1hgt76pw.js → instruction-discovery-h3e0pdjz.js} +18 -18
  158. package/dist/chunks/{tool-c4ypf6wq.js → instruction-discovery-h57cfva4.js} +20 -20
  159. package/dist/chunks/{tool-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{tool-ysd4x4y5.js → instruction-discovery-haffsr0x.js} +26 -26
  161. package/dist/chunks/{tool-0z93v4jy.js → instruction-discovery-hb72rahq.js} +14 -14
  162. package/dist/chunks/{tool-jwcaj6se.js → instruction-discovery-hbsxx67k.js} +22 -22
  163. package/dist/chunks/{tool-z03197zf.js → instruction-discovery-hdfkmsb1.js} +38 -38
  164. package/dist/chunks/{tool-hdnk95c8.js → instruction-discovery-hdnk95c8.js} +2 -2
  165. package/dist/chunks/{tool-6ppc03cv.js → instruction-discovery-hhfebk12.js} +6 -6
  166. package/dist/chunks/{tool-ezs43bsy.js → instruction-discovery-hhndk190.js} +17 -17
  167. package/dist/chunks/{tool-hjt4xg1x.js → instruction-discovery-hjt4xg1x.js} +1 -1
  168. package/dist/chunks/{tool-rda0t9vq.js → instruction-discovery-hne3qtyj.js} +5 -5
  169. package/dist/chunks/{tool-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
  170. package/dist/chunks/{tool-89h3bp38.js → instruction-discovery-jcdkcw30.js} +20 -20
  171. package/dist/chunks/{tool-9aqmr64f.js → instruction-discovery-jg0vs890.js} +5 -5
  172. package/dist/chunks/{tool-gj7hk09m.js → instruction-discovery-jrdjmdbf.js} +23 -23
  173. package/dist/chunks/{tool-sq27dbnb.js → instruction-discovery-jwm8j6jh.js} +9 -9
  174. package/dist/chunks/{tool-632pkhjb.js → instruction-discovery-jwqwxd9a.js} +36 -36
  175. package/dist/chunks/{tool-49hrpkdk.js → instruction-discovery-jygyrd66.js} +4 -4
  176. package/dist/chunks/{tool-d38rwssd.js → instruction-discovery-jymdtt95.js} +4 -4
  177. package/dist/chunks/{tool-6m8y77r5.js → instruction-discovery-ka2k270b.js} +4 -4
  178. package/dist/chunks/{tool-kg06axw8.js → instruction-discovery-kg06axw8.js} +1 -1
  179. package/dist/chunks/{tool-39etbsth.js → instruction-discovery-kh9gj6fg.js} +2 -2
  180. package/dist/chunks/{tool-qaed280k.js → instruction-discovery-kksf6wrm.js} +5 -5
  181. package/dist/chunks/{tool-qyyanj0n.js → instruction-discovery-kne26kkt.js} +27 -27
  182. package/dist/chunks/{tool-gjsj0zqz.js → instruction-discovery-ktg44z5t.js} +163 -163
  183. package/dist/chunks/{tool-m0jqrx5p.js → instruction-discovery-m0jqrx5p.js} +2 -2
  184. package/dist/chunks/{tool-cgfvzygb.js → instruction-discovery-m42hzdpg.js} +19 -19
  185. package/dist/chunks/{tool-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{tool-n17rpw7s.js → instruction-discovery-mfp3ds1s.js} +11 -11
  187. package/dist/chunks/{tool-mkcjrzeh.js → instruction-discovery-mkcjrzeh.js} +1 -1
  188. package/dist/chunks/{tool-r86gmde5.js → instruction-discovery-mndr4ybt.js} +24 -24
  189. package/dist/chunks/{tool-mvfsc1pv.js → instruction-discovery-mvfsc1pv.js} +1 -1
  190. package/dist/chunks/{tool-2a4f6v5q.js → instruction-discovery-mw934p8z.js} +8 -8
  191. package/dist/chunks/{tool-9hv8phah.js → instruction-discovery-n0a61x39.js} +14 -14
  192. package/dist/chunks/{tool-08xgehk5.js → instruction-discovery-n0yakzgj.js} +4 -4
  193. package/dist/chunks/{tool-hvcjdrj2.js → instruction-discovery-n53pthfb.js} +4 -4
  194. package/dist/chunks/{tool-f249p1w2.js → instruction-discovery-n6v4qqax.js} +11 -11
  195. package/dist/chunks/{tool-bnweey00.js → instruction-discovery-n7tqtybm.js} +4 -4
  196. package/dist/chunks/{tool-6fyrr4w1.js → instruction-discovery-na2veqbs.js} +4 -4
  197. package/dist/chunks/{tool-jpchzm8t.js → instruction-discovery-ncfk57aw.js} +16 -16
  198. package/dist/chunks/{tool-tb8rp2yt.js → instruction-discovery-np0e3ae6.js} +27 -27
  199. package/dist/chunks/{tool-h30n9bbs.js → instruction-discovery-nrb4wwn8.js} +17 -17
  200. package/dist/chunks/{tool-7gvwkz6m.js → instruction-discovery-nxhqveyz.js} +5 -5
  201. package/dist/chunks/{tool-1famk9p6.js → instruction-discovery-p14ehj6j.js} +15 -15
  202. package/dist/chunks/{tool-j935v87r.js → instruction-discovery-paphc93g.js} +2 -2
  203. package/dist/chunks/{tool-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{tool-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
  205. package/dist/chunks/{tool-vv3eqyfe.js → instruction-discovery-pmmrp2gy.js} +8 -8
  206. package/dist/chunks/{tool-jp8xd6mf.js → instruction-discovery-pqa1w537.js} +10 -10
  207. package/dist/chunks/{tool-tx1kta8e.js → instruction-discovery-pzgnhxvj.js} +39 -39
  208. package/dist/chunks/{tool-vmshp960.js → instruction-discovery-q0pezbdn.js} +22 -22
  209. package/dist/chunks/{tool-f65fprkq.js → instruction-discovery-q8pd2zjz.js} +15 -15
  210. package/dist/chunks/{tool-myeama09.js → instruction-discovery-qahvmdvb.js} +44 -44
  211. package/dist/chunks/{tool-vycpdhb1.js → instruction-discovery-qhhwejbz.js} +29 -29
  212. package/dist/chunks/{tool-5bnvv0fb.js → instruction-discovery-qp85chj3.js} +13 -13
  213. package/dist/chunks/{tool-dbnvakxz.js → instruction-discovery-qrfkxqda.js} +2 -2
  214. package/dist/chunks/{tool-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
  215. package/dist/chunks/{tool-wpm2rk0p.js → instruction-discovery-r3q6pmcz.js} +6 -6
  216. package/dist/chunks/{tool-dhhdcexn.js → instruction-discovery-r4mhm636.js} +20 -20
  217. package/dist/chunks/{tool-yp2x3t23.js → instruction-discovery-r8xr0va3.js} +4 -4
  218. package/dist/chunks/{tool-01797ny4.js → instruction-discovery-rdf939bf.js} +12 -12
  219. package/dist/chunks/{tool-zcrspsvn.js → instruction-discovery-rpg9c19m.js} +4 -4
  220. package/dist/chunks/{tool-d9sn21bc.js → instruction-discovery-s7731dqm.js} +2 -2
  221. package/dist/chunks/{tool-v0ekqx65.js → instruction-discovery-sa02mddm.js} +35 -35
  222. package/dist/chunks/{tool-50wkfpjr.js → instruction-discovery-sgm9fmvw.js} +24 -24
  223. package/dist/chunks/{tool-4hnvk1d0.js → instruction-discovery-sh9pyrtp.js} +20 -20
  224. package/dist/chunks/{tool-32xz9ffh.js → instruction-discovery-spq00ka2.js} +11 -11
  225. package/dist/chunks/{tool-d6bb4cvp.js → instruction-discovery-ss846j3y.js} +10 -10
  226. package/dist/chunks/{tool-83n1dzne.js → instruction-discovery-t71m7ha1.js} +30 -30
  227. package/dist/chunks/{tool-2zk4ah9y.js → instruction-discovery-t8111hhj.js} +9 -9
  228. package/dist/chunks/{tool-z1pfg6df.js → instruction-discovery-t8mcaem5.js} +1 -1
  229. package/dist/chunks/{tool-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{tool-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{tool-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
  232. package/dist/chunks/{tool-d8nc1xcx.js → instruction-discovery-tm7zr4pr.js} +4 -4
  233. package/dist/chunks/{tool-sj71rkrx.js → instruction-discovery-tnahabn5.js} +11 -11
  234. package/dist/chunks/{tool-3r6vp6xx.js → instruction-discovery-ts721f0v.js} +10 -10
  235. package/dist/chunks/{tool-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
  236. package/dist/chunks/{tool-8xv0fcmg.js → instruction-discovery-txw580h0.js} +33 -33
  237. package/dist/chunks/{tool-2aqbs40b.js → instruction-discovery-v2cnm3g2.js} +11 -11
  238. package/dist/chunks/{tool-xz0aj5bv.js → instruction-discovery-v9hj2zp6.js} +24 -24
  239. package/dist/chunks/{tool-s006vazc.js → instruction-discovery-v9txp1qz.js} +10 -10
  240. package/dist/chunks/{tool-ve4pfa0n.js → instruction-discovery-ve4pfa0n.js} +1 -1
  241. package/dist/chunks/{tool-ws5qfxv9.js → instruction-discovery-ve686vvv.js} +9 -9
  242. package/dist/chunks/{tool-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
  243. package/dist/chunks/{tool-41e240wd.js → instruction-discovery-vgae25ec.js} +11 -11
  244. package/dist/chunks/{tool-wdn3ce2t.js → instruction-discovery-vqxxa0z6.js} +15 -15
  245. package/dist/chunks/{tool-p6604nm9.js → instruction-discovery-vth3sqng.js} +8 -8
  246. package/dist/chunks/{tool-4rggjvr2.js → instruction-discovery-vxrtct5k.js} +9 -9
  247. package/dist/chunks/{tool-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{tool-910hnegs.js → instruction-discovery-w1xac8nv.js} +26 -26
  249. package/dist/chunks/{tool-nnxzqqg8.js → instruction-discovery-w2t9zb6q.js} +15 -15
  250. package/dist/chunks/{tool-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{tool-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
  252. package/dist/chunks/{tool-t7yz8ad7.js → instruction-discovery-weg6n8ch.js} +38 -38
  253. package/dist/chunks/{tool-622ah2gs.js → instruction-discovery-wpk9fyyk.js} +28 -28
  254. package/dist/chunks/{tool-937nxygj.js → instruction-discovery-wqk5yr6e.js} +8 -8
  255. package/dist/chunks/{tool-2ft9rrby.js → instruction-discovery-wv6hz6db.js} +9 -9
  256. package/dist/chunks/{tool-stbptvy9.js → instruction-discovery-x01696tg.js} +23 -23
  257. package/dist/chunks/{tool-qek8dtx8.js → instruction-discovery-x0e6qwje.js} +11 -11
  258. package/dist/chunks/{tool-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{tool-x43y2vfs.js → instruction-discovery-x43y2vfs.js} +2 -2
  260. package/dist/chunks/{tool-ptq11xx0.js → instruction-discovery-xc1crrp1.js} +6 -6
  261. package/dist/chunks/{tool-xnap109e.js → instruction-discovery-xdet2c8p.js} +15 -15
  262. package/dist/chunks/{tool-fsn1dw54.js → instruction-discovery-xggv9zzh.js} +5 -5
  263. package/dist/chunks/{tool-ca9nbgzj.js → instruction-discovery-xj2v2q7r.js} +9 -9
  264. package/dist/chunks/{tool-xdepe7a5.js → instruction-discovery-xq1bh1bq.js} +10 -10
  265. package/dist/chunks/{tool-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{tool-ra3gq1k7.js → instruction-discovery-y4j4htjy.js} +9 -9
  267. package/dist/chunks/{tool-81swgkk7.js → instruction-discovery-y5mrfvw4.js} +9 -9
  268. package/dist/chunks/{tool-q8rarcde.js → instruction-discovery-y719r58y.js} +26 -26
  269. package/dist/chunks/{tool-0996nyz8.js → instruction-discovery-yb94xmg0.js} +9 -9
  270. package/dist/chunks/{tool-y4xwrefb.js → instruction-discovery-yh1xbxjs.js} +33 -33
  271. package/dist/chunks/{tool-px9gxtsw.js → instruction-discovery-yj348szg.js} +30 -30
  272. package/dist/chunks/{tool-pc5wdgkb.js → instruction-discovery-yn2mq5w8.js} +17 -17
  273. package/dist/chunks/{tool-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{tool-s4enseaf.js → instruction-discovery-yrznvahk.js} +2 -2
  275. package/dist/chunks/{tool-1c2q116c.js → instruction-discovery-yt1ptz87.js} +22 -22
  276. package/dist/chunks/{tool-w3k36hrr.js → instruction-discovery-yttr6rv8.js} +3 -3
  277. package/dist/chunks/{tool-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{tool-29x78va6.js → instruction-discovery-z63w68vq.js} +6 -6
  279. package/dist/chunks/{tool-dw8c19qb.js → instruction-discovery-z9pt3sjd.js} +4 -4
  280. package/dist/chunks/{tool-ktazsj8x.js → instruction-discovery-zb37q2qm.js} +11 -11
  281. package/dist/chunks/{tool-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{tool-bv56xrks.js → instruction-discovery-zerdtc7d.js} +6 -6
  283. package/dist/chunks/{tool-f9qak17s.js → instruction-discovery-zjgypzx6.js} +5 -5
  284. package/dist/chunks/{tool-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{tool-3a9e8ct5.js → instruction-discovery-zrntq85h.js} +7 -7
  286. package/dist/chunks/{tool-n6pkm576.js → instruction-discovery-zwb6xfp8.js} +24 -24
  287. package/dist/chunks/{tool-amegs12p.js → instruction-discovery-zwsn0yg2.js} +7 -7
  288. package/dist/chunks/{tool-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{tool-q2027nw7.js → instruction-discovery-zxwpk2nb.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +77 -77
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +115 -115
  298. package/dist/config/plugin/command.js +207 -207
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +113 -113
  305. package/dist/config/plugin/mcp.js +124 -124
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +117 -117
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +83 -83
  322. package/dist/database/database.js +64 -64
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +90 -90
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +68 -68
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +4 -4
  420. package/dist/filesystem/location-watcher.js +216 -216
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +95 -95
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +96 -96
  426. package/dist/form.js +80 -80
  427. package/dist/formatter/builtins.js +2 -2
  428. package/dist/formatter.js +82 -82
  429. package/dist/generate.js +89 -89
  430. package/dist/git.js +7 -7
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +83 -83
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +84 -84
  460. package/dist/job.js +77 -77
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +128 -128
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +81 -81
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +82 -82
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +97 -97
  470. package/dist/mcp/instructions.js +120 -120
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +84 -84
  476. package/dist/model.js +6 -6
  477. package/dist/models-dev.js +86 -86
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +78 -78
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +108 -108
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +84 -84
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +97 -97
  488. package/dist/plugin/command.js +94 -94
  489. package/dist/plugin/hooks.js +3 -3
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +3 -3
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +80 -80
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +115 -115
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +72 -72
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +131 -131
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +343 -343
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +112 -112
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +83 -83
  557. package/dist/provider.js +5 -5
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +94 -94
  562. package/dist/reference/instructions.js +82 -82
  563. package/dist/reference.js +86 -86
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +91 -91
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +127 -127
  572. package/dist/session/context.js +143 -143
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +213 -213
  577. package/dist/session/execution.js +124 -124
  578. package/dist/session/generate.js +146 -146
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +86 -86
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +75 -75
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +122 -122
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +121 -121
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +167 -167
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +83 -83
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +151 -151
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +209 -209
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +207 -207
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +15 -15
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +102 -102
  625. package/dist/skill.js +107 -107
  626. package/dist/snapshot.js +86 -86
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +121 -121
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +109 -109
  637. package/dist/tool/plugin/question.js +98 -98
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +212 -212
  640. package/dist/tool/plugin/skill.js +108 -108
  641. package/dist/tool/plugin/subagent.js +214 -214
  642. package/dist/tool/plugin/webfetch.js +105 -105
  643. package/dist/tool/plugin/websearch.js +109 -109
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +11 -11
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +1 -1
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +1 -1
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +85 -85
  676. package/dist/websearch.js +80 -80
  677. package/dist/wellknown/plugin.js +74 -74
  678. package/dist/wellknown.js +79 -79
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +78 -78
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +5 -5
  684. package/dist/worktree/refresh.js +342 -342
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +89 -89
  687. package/package.json +8 -8
  688. package/dist/chunks/tool-6kdq0pjd.js +0 -4
  689. package/dist/chunks/tool-dr8w6t5k.js +0 -22
  690. package/dist/chunks/tool-ms6fawk6.js +0 -247
  691. package/dist/chunks/tool-n95b3jav.js +0 -18
  692. package/dist/chunks/tool-s73q3448.js +0 -462
  693. /package/dist/chunks/{tool-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{tool-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{tool-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{tool-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{tool-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{tool-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{tool-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{tool-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{tool-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{tool-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
  703. /package/dist/chunks/{tool-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{tool-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{tool-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{tool-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{tool-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{tool-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{tool-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
  710. /package/dist/chunks/{tool-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{tool-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
  712. /package/dist/chunks/{tool-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{tool-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{tool-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
  715. /package/dist/chunks/{tool-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{tool-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{tool-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
  718. /package/dist/chunks/{tool-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{tool-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{tool-a1tpkmh4.js → instruction-discovery-a1tpkmh4.js} +0 -0
  721. /package/dist/chunks/{tool-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{tool-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{tool-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{tool-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{tool-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{tool-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{tool-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{tool-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{tool-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{tool-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{tool-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{tool-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{tool-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{tool-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
  735. /package/dist/chunks/{tool-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{tool-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{tool-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{tool-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{tool-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{tool-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{tool-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{tool-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{tool-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{tool-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{tool-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{tool-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{tool-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
  748. /package/dist/chunks/{tool-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{tool-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
  750. /package/dist/chunks/{tool-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{tool-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
  752. /package/dist/chunks/{tool-hrnqkpcd.js → instruction-discovery-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{tool-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{tool-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{tool-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{tool-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{tool-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{tool-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{tool-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{tool-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{tool-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{tool-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{tool-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{tool-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{tool-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{tool-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{tool-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{tool-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{tool-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{tool-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{tool-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{tool-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{tool-twg0f83k.js → instruction-discovery-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{tool-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{tool-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{tool-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{tool-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{tool-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
  779. /package/dist/chunks/{tool-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{tool-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{tool-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{tool-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{tool-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./tool-hvcjdrj2.js";
4
+ } from "./instruction-discovery-n53pthfb.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./tool-zxhfgthz.js";
6
+ Service75,
7
+ node80
8
+ } from "./instruction-discovery-gn781x5c.js";
9
9
  import {
10
- ID4
11
- } from "./tool-6kdq0pjd.js";
10
+ ID2
11
+ } from "./instruction-discovery-0mesazry.js";
12
12
  import {
13
- Service73,
13
+ Service46,
14
14
  login2,
15
- node77
16
- } from "./tool-0xf6t1bc.js";
15
+ node50
16
+ } from "./instruction-discovery-frf5pa85.js";
17
17
  import {
18
18
  lazy2
19
- } from "./tool-88xbtdfr.js";
19
+ } from "./instruction-discovery-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./tool-9rqn6x4v.js";
22
+ } from "./instruction-discovery-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput3,
28
- Event: () => Event7,
27
+ CreateInput: () => CreateInput2,
28
+ Event: () => Event2,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info5,
31
- NotFoundError: () => NotFoundError3,
30
+ Info: () => Info2,
31
+ NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service25,
33
+ Service: () => Service14,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node29
35
+ node: () => node17
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event7 } from "@opencode/schema/pty";
40
+ import { Event as Event2 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info5 = Pty.Info;
45
- var CreateInput3 = Pty.CreateInput;
44
+ var Info2 = Pty.Info;
45
+ var CreateInput2 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID4
48
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID2
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID4
54
+ ptyID: ID2
55
55
  }) {
56
56
  }
57
57
 
58
- class Service25 extends Context.Service()("@opencode/Pty") {
58
+ class Service14 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service25, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
61
61
  const bus = yield* Service79;
62
- const location = yield* Service76;
63
- const shell = yield* Service73;
62
+ const location = yield* Service75;
63
+ const shell = yield* Service46;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError3({ ptyID: id });
100
+ return yield* new NotFoundError2({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID4.ascending();
126
+ const id = ID2.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service25.of({ list, get, create, update, remove, write, attach });
271
+ return Service14.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node29 = makeLocationNode({
274
- service: Service25,
273
+ var node17 = makeLocationNode({
274
+ service: Service14,
275
275
  layer,
276
- deps: [node84, node81, node77]
276
+ deps: [node84, node80, node50]
277
277
  });
278
278
 
279
- export { Info5, CreateInput3, UpdateInput2, NotFoundError3, ExitedError2, Service25, node29, exports_pty, Event7 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node17, exports_pty, Event2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  packageName2
3
- } from "./tool-jfpzywp2.js";
3
+ } from "./instruction-discovery-c7ecgrk6.js";
4
4
 
5
5
  // src/plugin/provider/cerebras.ts
6
6
  import { Effect } from "effect";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./tool-hvcjdrj2.js";
4
+ } from "./instruction-discovery-n53pthfb.js";
5
5
  import {
6
6
  create3
7
- } from "./tool-kg06axw8.js";
7
+ } from "./instruction-discovery-kg06axw8.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./tool-4faz70f1.js";
10
+ } from "./instruction-discovery-7xbncs63.js";
11
11
  import {
12
12
  __export
13
- } from "./tool-9rqn6x4v.js";
13
+ } from "./instruction-discovery-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event13,
21
- ID: () => ID7,
22
- Info: () => Info12,
20
+ Event: () => Event8,
21
+ ID: () => ID5,
22
+ Info: () => Info7,
23
23
  Name: () => Name2,
24
- Service: () => Service55,
24
+ Service: () => Service40,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node59,
29
+ node: () => node44,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event13 } from "@opencode/schema/skill";
37
+ import { Event as Event8 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source4 = Skill.Source;
42
- var Info12 = Skill.Info;
43
- var ID7 = Skill.ID;
41
+ var Source3 = Skill.Source;
42
+ var Info7 = Skill.Info;
43
+ var ID5 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service55 extends Context.Service()("@opencode/Skill") {
74
+ class Service40 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service55, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
77
77
  const bus = yield* Service79;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID7.make(id)),
83
+ get: (id) => editor.skills.get(ID5.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID7.make(id));
88
+ const current = editor.skills.get(ID5.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID7.make(id);
92
+ current.id = ID5.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID7.make(id));
95
+ editor.skills.delete(ID5.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service55.of({
100
+ return Service40.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node59 = makeLocationNode({
112
- service: Service55,
111
+ var node44 = makeLocationNode({
112
+ service: Service40,
113
113
  layer,
114
114
  deps: [node84]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info12, ID7, Name2, available2, toModelOutput3, prepare3, Service55, node59, exports_skill5, Event13 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available2, toModelOutput3, prepare3, Service40, node44, exports_skill5, Event8 };
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./tool-859kcgs2.js";
4
+ } from "./instruction-discovery-9875sft1.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service79,
8
8
  node84
9
- } from "./tool-hvcjdrj2.js";
9
+ } from "./instruction-discovery-n53pthfb.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./tool-ec1grn59.js";
12
+ } from "./instruction-discovery-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./tool-gftt206x.js";
15
+ } from "./instruction-discovery-gftt206x.js";
16
16
  import {
17
17
  update3
18
- } from "./tool-0hpxrkyb.js";
18
+ } from "./instruction-discovery-0hpxrkyb.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./tool-922hggd3.js";
22
+ } from "./instruction-discovery-922hggd3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./tool-dj2t23y0.js";
25
+ } from "./instruction-discovery-dj2t23y0.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./tool-5c4hm403.js";
30
+ } from "./instruction-discovery-5c4hm403.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./tool-kk8fq19e.js";
36
+ } from "./instruction-discovery-0fm4fvvj.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./tool-fab8hzt3.js";
42
+ } from "./instruction-discovery-2tfmgkzg.js";
43
43
  import {
44
44
  initialize2
45
- } from "./tool-pqkb2z9p.js";
45
+ } from "./instruction-discovery-24gjgxem.js";
46
46
  import {
47
47
  Slug2
48
- } from "./tool-gebd4c9n.js";
48
+ } from "./instruction-discovery-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./tool-9rqn6x4v.js";
51
+ } from "./instruction-discovery-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node41
58
+ node: () => node38
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
455
455
  return publishSessionUsage(db, bus, event.data.sessionID);
456
456
  }), Effect.forkScoped({ startImmediately: true }));
457
457
  }));
458
- var node41 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
458
+ var node38 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
459
459
 
460
- export { SessionAlreadyProjected2, node41, exports_projector };
460
+ export { SessionAlreadyProjected2, node38, exports_projector };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./tool-y8cydn3q.js";
3
+ } from "./instruction-discovery-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./instruction-discovery-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -3,28 +3,28 @@ import {
3
3
  UnsupportedPackageError3,
4
4
  UnresolvedProviderVariablesError3,
5
5
  UnsupportedCompactionError3,
6
- Service50,
7
- node54
8
- } from "./tool-100kzw8g.js";
6
+ Service58,
7
+ node63
8
+ } from "./instruction-discovery-56yety9r.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./tool-j7wq2tw5.js";
11
+ } from "./instruction-discovery-93hpb89x.js";
12
12
  import {
13
13
  __export
14
- } from "./tool-9rqn6x4v.js";
14
+ } from "./instruction-discovery-9rqn6x4v.js";
15
15
 
16
16
  // src/session/runner/model.ts
17
17
  var exports_model = {};
18
18
  __export(exports_model, {
19
19
  ModelNotSelectedError: () => ModelNotSelectedError2,
20
20
  ModelUnavailableError: () => ModelUnavailableError2,
21
- Service: () => Service43,
21
+ Service: () => Service54,
22
22
  SessionRunnerModel: () => exports_model,
23
23
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
24
24
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
25
25
  UnsupportedPackageError: () => UnsupportedPackageError2,
26
26
  VariantUnavailableError: () => VariantUnavailableError2,
27
- node: () => node46,
27
+ node: () => node58,
28
28
  resolved: () => resolved2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var UnsupportedPackageError2 = UnsupportedPackageError3;
51
51
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
52
52
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
53
53
 
54
- class Service43 extends Context.Service()("@opencode/SessionRunnerModel") {
54
+ class Service54 extends Context.Service()("@opencode/SessionRunnerModel") {
55
55
  }
56
56
  var resolved2 = (model, options) => ({
57
57
  model,
@@ -65,9 +65,9 @@ var resolved2 = (model, options) => ({
65
65
  limit: options.limit,
66
66
  compaction: options.compaction
67
67
  });
68
- var layer = Layer.effect(Service43, Effect.gen(function* () {
69
- const resolver = yield* Service50;
70
- return Service43.of({
68
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
69
+ const resolver = yield* Service58;
70
+ return Service54.of({
71
71
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
72
72
  if (!session.model) {
73
73
  const resolved = yield* resolver.resolve();
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
85
85
  })
86
86
  });
87
87
  }));
88
- var node46 = makeLocationNode({ service: Service43, layer, deps: [node54] });
88
+ var node58 = makeLocationNode({ service: Service54, layer, deps: [node63] });
89
89
 
90
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service43, resolved2, node46, exports_model };
90
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service54, resolved2, node58, exports_model };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service35,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service35 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service35.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service35, awaitActivation2, exports_service };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./tool-ym463w8f.js";
3
+ } from "./instruction-discovery-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./tool-eh3zwz77.js";
3
+ } from "./instruction-discovery-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./tool-e73j6tqm.js";
6
+ } from "./instruction-discovery-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./tool-3wcehsnq.js";
9
+ } from "./instruction-discovery-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./tool-dap0rakb.js";
12
+ } from "./instruction-discovery-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./tool-4y7fprxs.js";
15
+ } from "./instruction-discovery-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry4,
11
- Info: () => Info24,
10
+ Entry: () => Entry3,
11
+ Info: () => Info16,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry4 = Schema.Union([
19
+ var Entry3 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info24 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
82
+ var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info24, exports_lsp };
84
+ export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info16, exports_lsp };
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./tool-ca9nbgzj.js";
5
+ } from "./instruction-discovery-xj2v2q7r.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./tool-4faz70f1.js";
8
+ } from "./instruction-discovery-7xbncs63.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./tool-622ah2gs.js";
11
+ } from "./instruction-discovery-wpk9fyyk.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -16,7 +16,7 @@ import {
16
16
  UnsupportedPackageError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./tool-m2krvp2x.js";
19
+ } from "./instruction-discovery-5zem9v7d.js";
20
20
 
21
21
  // src/session/to-session-error.ts
22
22
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./tool-hvcjdrj2.js";
4
+ } from "./instruction-discovery-n53pthfb.js";
5
5
  import {
6
6
  __export
7
- } from "./tool-9rqn6x4v.js";
7
+ } from "./instruction-discovery-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event12,
15
+ Event: () => Event13,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID6,
20
- Info: () => Info11,
19
+ ID: () => ID9,
20
+ Info: () => Info13,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError6,
23
+ NotFoundError: () => NotFoundError7,
24
24
  Reply: () => Reply2,
25
- Service: () => Service53,
25
+ Service: () => Service63,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer22,
29
- node: () => node57,
29
+ node: () => node68,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event12 } from "@opencode/schema/form";
36
+ import { Event as Event13 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID6 = Form.ID;
39
- var Info11 = Form.Info;
38
+ var ID9 = Form.ID;
39
+ var Info13 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply2 = Form.Reply;
46
46
 
47
- class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID6
47
+ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID9
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID6
56
+ id: ID9
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID6
64
+ id: ID9
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID6,
72
+ id: ID9,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service53 extends Context.Service()("@opencode/Form") {
82
+ class Service63 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer22 = Layer.effect(Service53, Effect.gen(function* () {
84
+ var layer22 = Layer.effect(Service63, Effect.gen(function* () {
85
85
  const bus = yield* Service79;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError6({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID6.create();
92
+ const id = input.id ?? ID9.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer22 = Layer.effect(Service53, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service53.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service63.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node57 = makeLocationNode({ service: Service53, layer: layer22, deps: [node84] });
158
+ var node68 = makeLocationNode({ service: Service63, layer: layer22, deps: [node84] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID6, Info11, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError6, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service53, layer22, node57, validateAnswer2, validateFields2, exports_form, Event12 };
310
+ export { ID9, Info13, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service63, layer22, node68, validateAnswer2, validateFields2, exports_form, Event13 };