@opencode/core 0.0.0-dev-19996 → 0.0.0-dev-20000

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{instruction-discovery-s59wxs1e.js → model-resolver-05szsj41.js} +14 -14
  8. package/dist/chunks/{instruction-discovery-1fp4wcab.js → model-resolver-0m8zc7zn.js} +12 -12
  9. package/dist/chunks/{instruction-discovery-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{instruction-discovery-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
  11. package/dist/chunks/{instruction-discovery-madhy2we.js → model-resolver-0tc3z27w.js} +20 -20
  12. package/dist/chunks/{instruction-discovery-xekc3gqk.js → model-resolver-0x74s4t4.js} +24 -24
  13. package/dist/chunks/{instruction-discovery-bkskqsty.js → model-resolver-174jbkxj.js} +11 -11
  14. package/dist/chunks/{instruction-discovery-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{instruction-discovery-2gkn9qbw.js → model-resolver-1jqe3dpm.js} +7 -7
  16. package/dist/chunks/{instruction-discovery-e6hd9jay.js → model-resolver-1s3p39g4.js} +6 -6
  17. package/dist/chunks/{instruction-discovery-ca8qvqpq.js → model-resolver-1vpcg86p.js} +11 -11
  18. package/dist/chunks/{instruction-discovery-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  19. package/dist/chunks/{instruction-discovery-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
  20. package/dist/chunks/{instruction-discovery-pnv527nz.js → model-resolver-24dd53tp.js} +9 -9
  21. package/dist/chunks/{instruction-discovery-fyrnwbxv.js → model-resolver-28hv8daj.js} +13 -13
  22. package/dist/chunks/{instruction-discovery-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{instruction-discovery-aamtrqep.js → model-resolver-2fgn2we9.js} +9 -9
  24. package/dist/chunks/{instruction-discovery-80az21bw.js → model-resolver-2k6pk5vr.js} +2 -2
  25. package/dist/chunks/{instruction-discovery-vamaa9zs.js → model-resolver-2ky1fxdg.js} +11 -11
  26. package/dist/chunks/{instruction-discovery-hgxtd65q.js → model-resolver-2wkarfxb.js} +17 -17
  27. package/dist/chunks/{instruction-discovery-nkcf2gs9.js → model-resolver-38xyry6s.js} +23 -23
  28. package/dist/chunks/{instruction-discovery-j0a35shb.js → model-resolver-3agcf731.js} +42 -42
  29. package/dist/chunks/{instruction-discovery-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{instruction-discovery-ap1tgj32.js → model-resolver-3fm5zfbn.js} +18 -18
  31. package/dist/chunks/{instruction-discovery-43kbj8b8.js → model-resolver-3fpk5dv0.js} +29 -29
  32. package/dist/chunks/{instruction-discovery-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{instruction-discovery-m2tc1n0a.js → model-resolver-3ksyz8es.js} +28 -28
  34. package/dist/chunks/{instruction-discovery-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{instruction-discovery-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{instruction-discovery-44h5tttr.js → model-resolver-44h5tttr.js} +1 -1
  37. package/dist/chunks/{instruction-discovery-44ke2mar.js → model-resolver-44ke2mar.js} +2 -2
  38. package/dist/chunks/{instruction-discovery-hz0q9sdq.js → model-resolver-4arb9zza.js} +8 -8
  39. package/dist/chunks/{instruction-discovery-473ftn0x.js → model-resolver-4b6qd0e2.js} +3 -3
  40. package/dist/chunks/{instruction-discovery-cr59q9qa.js → model-resolver-4fbyhaeh.js} +4 -4
  41. package/dist/chunks/{instruction-discovery-ja7gyv8y.js → model-resolver-4hndnerf.js} +3 -3
  42. package/dist/chunks/{instruction-discovery-tmd7t4g3.js → model-resolver-4j9e7cf8.js} +11 -11
  43. package/dist/chunks/{instruction-discovery-bnvayccf.js → model-resolver-4k3f784t.js} +9 -9
  44. package/dist/chunks/{instruction-discovery-2kxk86ay.js → model-resolver-4perdbh7.js} +16 -16
  45. package/dist/chunks/{instruction-discovery-vqj9jm8c.js → model-resolver-4wv1b6rs.js} +4 -4
  46. package/dist/chunks/{instruction-discovery-gqawmzqm.js → model-resolver-4xhhjths.js} +8 -8
  47. package/dist/chunks/{instruction-discovery-mw0271ay.js → model-resolver-4z2468ba.js} +9 -9
  48. package/dist/chunks/{instruction-discovery-wr9vyhw1.js → model-resolver-58jf3t5q.js} +48 -48
  49. package/dist/chunks/{instruction-discovery-5x7tnjhw.js → model-resolver-5a56x6pe.js} +3 -3
  50. package/dist/chunks/{instruction-discovery-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  51. package/dist/chunks/{instruction-discovery-5ekn9679.js → model-resolver-5ekn9679.js} +1 -1
  52. package/dist/chunks/{instruction-discovery-d6g71415.js → model-resolver-5hn0anhr.js} +19 -19
  53. package/dist/chunks/{instruction-discovery-4gycnsfp.js → model-resolver-5qkxfyep.js} +6 -6
  54. package/dist/chunks/{instruction-discovery-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{instruction-discovery-5cd0sxeq.js → model-resolver-5t68c6r6.js} +20 -20
  56. package/dist/chunks/{instruction-discovery-g6jcgrmn.js → model-resolver-6219dr34.js} +4 -4
  57. package/dist/chunks/{instruction-discovery-669tq793.js → model-resolver-669tq793.js} +1 -1
  58. package/dist/chunks/{instruction-discovery-dgt1m6jj.js → model-resolver-6a9wqxav.js} +21 -21
  59. package/dist/chunks/{instruction-discovery-jppyavat.js → model-resolver-6jd6xyvr.js} +23 -23
  60. package/dist/chunks/{instruction-discovery-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{instruction-discovery-fqzyqcjh.js → model-resolver-6wjgjjys.js} +20 -20
  62. package/dist/chunks/{instruction-discovery-epkzn4tn.js → model-resolver-71n90aqe.js} +44 -44
  63. package/dist/chunks/{instruction-discovery-qz0c158j.js → model-resolver-76h15cea.js} +15 -15
  64. package/dist/chunks/{instruction-discovery-cwa6csj7.js → model-resolver-79qaa2kf.js} +9 -9
  65. package/dist/chunks/{instruction-discovery-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{instruction-discovery-b4nfcdv5.js → model-resolver-7c2qk6yp.js} +14 -14
  67. package/dist/chunks/{instruction-discovery-py17fkfh.js → model-resolver-7edpsxsq.js} +24 -24
  68. package/dist/chunks/{instruction-discovery-zwnr1j62.js → model-resolver-7entrr9d.js} +26 -26
  69. package/dist/chunks/{instruction-discovery-sp1y3784.js → model-resolver-7jasy514.js} +6 -4
  70. package/dist/chunks/{instruction-discovery-7q27d8ak.js → model-resolver-7kpff7kp.js} +10 -10
  71. package/dist/chunks/{instruction-discovery-nbzsj80d.js → model-resolver-818pfwc9.js} +8 -8
  72. package/dist/chunks/{instruction-discovery-3bc8czyk.js → model-resolver-84zcxbc9.js} +5 -5
  73. package/dist/chunks/{instruction-discovery-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{instruction-discovery-8p4f9s12.js → model-resolver-8p4f9s12.js} +2 -2
  75. package/dist/chunks/{instruction-discovery-srp1awq4.js → model-resolver-8pccpkv9.js} +12 -12
  76. package/dist/chunks/{instruction-discovery-bn0g70r0.js → model-resolver-8v5x5jkq.js} +25 -25
  77. package/dist/chunks/{instruction-discovery-spq00ka2.js → model-resolver-9a7hdk7d.js} +6 -6
  78. package/dist/chunks/{instruction-discovery-d89ah0rb.js → model-resolver-9ax1p4ye.js} +42 -36
  79. package/dist/chunks/{instruction-discovery-74y2pqnj.js → model-resolver-9erfw3e9.js} +10 -10
  80. package/dist/chunks/{instruction-discovery-vfykb72z.js → model-resolver-9f502qc3.js} +18 -18
  81. package/dist/chunks/{instruction-discovery-371kvkjf.js → model-resolver-9h82tyv8.js} +23 -23
  82. package/dist/chunks/{instruction-discovery-k9mx7t5w.js → model-resolver-9mxycm4n.js} +15 -15
  83. package/dist/chunks/{instruction-discovery-680db922.js → model-resolver-9n0wq1sz.js} +10 -10
  84. package/dist/chunks/model-resolver-9sh4wc5j.js +18 -0
  85. package/dist/chunks/{instruction-discovery-a1bz86dw.js → model-resolver-a1bz86dw.js} +3 -3
  86. package/dist/chunks/{instruction-discovery-asznntn8.js → model-resolver-a233dc7h.js} +26 -26
  87. package/dist/chunks/{instruction-discovery-wgg9hn2t.js → model-resolver-a7k9f908.js} +17 -17
  88. package/dist/chunks/{instruction-discovery-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  89. package/dist/chunks/{instruction-discovery-tdmmsys1.js → model-resolver-aczm2rxs.js} +36 -36
  90. package/dist/chunks/model-resolver-appk1rsm.js +252 -0
  91. package/dist/chunks/{instruction-discovery-4hkj21w9.js → model-resolver-aqe8m42w.js} +24 -24
  92. package/dist/chunks/{instruction-discovery-cbany252.js → model-resolver-ashh1ge4.js} +11 -11
  93. package/dist/chunks/{instruction-discovery-9hs7fs45.js → model-resolver-atazjj4k.js} +1 -1
  94. package/dist/chunks/{instruction-discovery-pjcxmf6n.js → model-resolver-awxzdy28.js} +13 -13
  95. package/dist/chunks/{instruction-discovery-g0w0m6c8.js → model-resolver-ax3ghaez.js} +14 -14
  96. package/dist/chunks/{instruction-discovery-160eg20p.js → model-resolver-b66nv89x.js} +28 -28
  97. package/dist/chunks/{instruction-discovery-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{instruction-discovery-x647g243.js → model-resolver-begh0jjd.js} +15 -15
  99. package/dist/chunks/{instruction-discovery-bvx85a4w.js → model-resolver-bgpjdstn.js} +1 -1
  100. package/dist/chunks/{instruction-discovery-hfdr1yjj.js → model-resolver-bha4atvq.js} +4 -4
  101. package/dist/chunks/{instruction-discovery-zhs5mbww.js → model-resolver-bjgp5qsh.js} +6 -6
  102. package/dist/chunks/{instruction-discovery-1h03kfwc.js → model-resolver-bktrs35w.js} +30 -30
  103. package/dist/chunks/{instruction-discovery-6h1myzs3.js → model-resolver-bx0s8vkw.js} +20 -20
  104. package/dist/chunks/{instruction-discovery-depwzj9d.js → model-resolver-bzgcn0jp.js} +9 -9
  105. package/dist/chunks/{instruction-discovery-vc6yd4eg.js → model-resolver-bzpr344t.js} +32 -32
  106. package/dist/chunks/{instruction-discovery-5nxd8dws.js → model-resolver-c2fgwm5w.js} +35 -35
  107. package/dist/chunks/{instruction-discovery-sjf3tctt.js → model-resolver-c488s98d.js} +12 -12
  108. package/dist/chunks/{instruction-discovery-ff6mr1mq.js → model-resolver-c6wsyg9f.js} +9 -9
  109. package/dist/chunks/{instruction-discovery-vc32h82s.js → model-resolver-c9fwgwbn.js} +15 -15
  110. package/dist/chunks/{instruction-discovery-gsae7mzx.js → model-resolver-cb3fxghj.js} +1 -1
  111. package/dist/chunks/{instruction-discovery-vvwd60y4.js → model-resolver-cdfabfzn.js} +43 -43
  112. package/dist/chunks/{instruction-discovery-cfpkc3c9.js → model-resolver-cfpkc3c9.js} +2 -2
  113. package/dist/chunks/{instruction-discovery-3f0yr7fv.js → model-resolver-cggswk6d.js} +17 -17
  114. package/dist/chunks/{instruction-discovery-pw383ktz.js → model-resolver-ck7nwdye.js} +8 -8
  115. package/dist/chunks/{instruction-discovery-pg3xm6en.js → model-resolver-ckd8zaaf.js} +24 -24
  116. package/dist/chunks/{instruction-discovery-5w0cxjq0.js → model-resolver-cynj0k86.js} +3 -3
  117. package/dist/chunks/{instruction-discovery-dbgp4r1w.js → model-resolver-cz7kh7dr.js} +31 -31
  118. package/dist/chunks/{instruction-discovery-z08gb817.js → model-resolver-d14vprx8.js} +10 -10
  119. package/dist/chunks/{instruction-discovery-ajzsbz6h.js → model-resolver-d5fw341f.js} +12 -12
  120. package/dist/chunks/{instruction-discovery-n1fe3aty.js → model-resolver-dm8zbqys.js} +14 -14
  121. package/dist/chunks/{instruction-discovery-zh8g02qs.js → model-resolver-dngkxtp1.js} +3 -3
  122. package/dist/chunks/{instruction-discovery-fyjp43ss.js → model-resolver-dtqg9ce1.js} +5 -5
  123. package/dist/chunks/{instruction-discovery-xp7ms4x7.js → model-resolver-e4s55qb8.js} +10 -10
  124. package/dist/chunks/{instruction-discovery-s8d7rejh.js → model-resolver-eaj1djv9.js} +6 -6
  125. package/dist/chunks/{instruction-discovery-sy6tmz81.js → model-resolver-ed6vg7gg.js} +17 -17
  126. package/dist/chunks/{instruction-discovery-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{instruction-discovery-n0mnd67y.js → model-resolver-eg6f78tx.js} +9 -9
  128. package/dist/chunks/{instruction-discovery-erw5rpbs.js → model-resolver-erw5rpbs.js} +2 -2
  129. package/dist/chunks/{instruction-discovery-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{instruction-discovery-dd9zjddp.js → model-resolver-ez8b3w29.js} +13 -13
  131. package/dist/chunks/{instruction-discovery-4fp7zs02.js → model-resolver-f2f4fq37.js} +12 -12
  132. package/dist/chunks/{instruction-discovery-ckf8nxjz.js → model-resolver-f73rjn58.js} +4 -4
  133. package/dist/chunks/{instruction-discovery-f828m53h.js → model-resolver-f828m53h.js} +2 -2
  134. package/dist/chunks/{instruction-discovery-tada9jhx.js → model-resolver-fb5x04t9.js} +4 -4
  135. package/dist/chunks/{instruction-discovery-wc2t8fx2.js → model-resolver-fbfs1p3d.js} +31 -31
  136. package/dist/chunks/{instruction-discovery-7dqw4kz8.js → model-resolver-fcrkznn8.js} +5 -5
  137. package/dist/chunks/{instruction-discovery-ratrq7cm.js → model-resolver-fdv30zvt.js} +7 -7
  138. package/dist/chunks/{instruction-discovery-4ernrsx0.js → model-resolver-fj17ffs4.js} +83 -83
  139. package/dist/chunks/{instruction-discovery-q1enjrf6.js → model-resolver-fj98xnxf.js} +11 -11
  140. package/dist/chunks/{instruction-discovery-eqkxs06z.js → model-resolver-fpq9acqp.js} +6 -6
  141. package/dist/chunks/{instruction-discovery-mw65zyef.js → model-resolver-frznjamf.js} +18 -18
  142. package/dist/chunks/{instruction-discovery-5xtgfte3.js → model-resolver-g0445xdp.js} +6 -6
  143. package/dist/chunks/{instruction-discovery-q9dc04tf.js → model-resolver-g0jvtwam.js} +30 -30
  144. package/dist/chunks/{instruction-discovery-1zckm8jh.js → model-resolver-g0kbvjej.js} +24 -24
  145. package/dist/chunks/{instruction-discovery-50mzsvk4.js → model-resolver-g190xswt.js} +4 -4
  146. package/dist/chunks/{instruction-discovery-361b9f49.js → model-resolver-g36s099n.js} +11 -11
  147. package/dist/chunks/{instruction-discovery-b8bvc04a.js → model-resolver-g83zqadm.js} +1 -1
  148. package/dist/chunks/{instruction-discovery-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{instruction-discovery-s38x4d8v.js → model-resolver-gmjjhz4f.js} +3 -3
  150. package/dist/chunks/{instruction-discovery-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{instruction-discovery-sw51tshd.js → model-resolver-gyrg5twe.js} +43 -43
  152. package/dist/chunks/{instruction-discovery-b1ek0wtw.js → model-resolver-h01nhy7h.js} +4 -4
  153. package/dist/chunks/{instruction-discovery-5sp2y267.js → model-resolver-h6awx5kd.js} +28 -22
  154. package/dist/chunks/{instruction-discovery-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{instruction-discovery-rnym2nbx.js → model-resolver-h8h70yyk.js} +2 -2
  156. package/dist/chunks/{instruction-discovery-j5rxtxht.js → model-resolver-h90v2x9d.js} +4 -4
  157. package/dist/chunks/{instruction-discovery-a2jb2751.js → model-resolver-hj6m6sww.js} +30 -30
  158. package/dist/chunks/{instruction-discovery-y5588qvg.js → model-resolver-hw06r73w.js} +3 -3
  159. package/dist/chunks/{instruction-discovery-mhkvc446.js → model-resolver-j028xdjb.js} +3 -3
  160. package/dist/chunks/{instruction-discovery-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  161. package/dist/chunks/{instruction-discovery-g84cjvn9.js → model-resolver-jca4demv.js} +2 -2
  162. package/dist/chunks/{instruction-discovery-ya8gxsn0.js → model-resolver-jkh9wndb.js} +9 -9
  163. package/dist/chunks/{instruction-discovery-h35wg768.js → model-resolver-jmjny7z7.js} +37 -37
  164. package/dist/chunks/{instruction-discovery-35vbf9tc.js → model-resolver-k0t2epba.js} +11 -11
  165. package/dist/chunks/{instruction-discovery-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
  166. package/dist/chunks/{instruction-discovery-r5yv3mt8.js → model-resolver-k64bnwpa.js} +6 -6
  167. package/dist/chunks/{instruction-discovery-zs220xh7.js → model-resolver-k922v2jb.js} +35 -35
  168. package/dist/chunks/{instruction-discovery-vj81g6vn.js → model-resolver-k9d40v1y.js} +5 -8
  169. package/dist/chunks/model-resolver-kdqm869a.js +503 -0
  170. package/dist/chunks/{instruction-discovery-np6jcka8.js → model-resolver-kh9zez9n.js} +15 -15
  171. package/dist/chunks/{instruction-discovery-2dt7wr4s.js → model-resolver-krbbkavy.js} +16 -16
  172. package/dist/chunks/{instruction-discovery-7fns08e8.js → model-resolver-kstfjgce.js} +26 -26
  173. package/dist/chunks/{instruction-discovery-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{instruction-discovery-8s5eshva.js → model-resolver-m7t37vek.js} +2 -2
  175. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{instruction-discovery-0xrqra36.js → model-resolver-mdjvh782.js} +11 -11
  177. package/dist/chunks/{instruction-discovery-eesx3r1b.js → model-resolver-mdm19ygt.js} +20 -20
  178. package/dist/chunks/{instruction-discovery-33w4ejhs.js → model-resolver-mfqp6xfm.js} +9 -9
  179. package/dist/chunks/{instruction-discovery-4tc1hqha.js → model-resolver-mty6m7w9.js} +12 -12
  180. package/dist/chunks/{instruction-discovery-j2z2bynw.js → model-resolver-mv0cq2z8.js} +8 -8
  181. package/dist/chunks/{instruction-discovery-ctq3xf59.js → model-resolver-my074bcz.js} +47 -47
  182. package/dist/chunks/{instruction-discovery-pvv2cx45.js → model-resolver-n71jfxt4.js} +77 -77
  183. package/dist/chunks/{instruction-discovery-dj5cbr0h.js → model-resolver-n7xx8kr6.js} +28 -28
  184. package/dist/chunks/{instruction-discovery-t2schhr1.js → model-resolver-n96ncz0a.js} +36 -36
  185. package/dist/chunks/{instruction-discovery-qe92z5eg.js → model-resolver-nb8wcjkv.js} +27 -27
  186. package/dist/chunks/{instruction-discovery-gzybrnwp.js → model-resolver-nhjaecst.js} +25 -25
  187. package/dist/chunks/{instruction-discovery-t9msbx01.js → model-resolver-nx8b8w69.js} +5 -5
  188. package/dist/chunks/{instruction-discovery-r991r44t.js → model-resolver-nz2zjb46.js} +20 -20
  189. package/dist/chunks/{instruction-discovery-gd8x6j3n.js → model-resolver-nzrwgsp4.js} +10 -10
  190. package/dist/chunks/{instruction-discovery-terz056s.js → model-resolver-p13zq1q5.js} +20 -20
  191. package/dist/chunks/{instruction-discovery-bd8btjtc.js → model-resolver-pdwdsh5k.js} +11 -11
  192. package/dist/chunks/{instruction-discovery-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{instruction-discovery-h7e5g0tn.js → model-resolver-pk8w8bk6.js} +6 -6
  194. package/dist/chunks/{instruction-discovery-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  195. package/dist/chunks/{instruction-discovery-bct739vz.js → model-resolver-pmr4s4kc.js} +4 -4
  196. package/dist/chunks/{instruction-discovery-gegj32p6.js → model-resolver-pmt63s4b.js} +20 -20
  197. package/dist/chunks/{instruction-discovery-w0ymwcrh.js → model-resolver-pnc3prtr.js} +27 -27
  198. package/dist/chunks/{instruction-discovery-4f2w252g.js → model-resolver-pqfrnb1v.js} +9 -9
  199. package/dist/chunks/{instruction-discovery-dm1py9b3.js → model-resolver-q3t37ft6.js} +3 -3
  200. package/dist/chunks/{instruction-discovery-r910kxjq.js → model-resolver-qa42b0qm.js} +17 -17
  201. package/dist/chunks/{instruction-discovery-8hvkh9qd.js → model-resolver-qh2rvgcy.js} +26 -26
  202. package/dist/chunks/{instruction-discovery-fxbvhs05.js → model-resolver-qhmmrrfr.js} +22 -22
  203. package/dist/chunks/model-resolver-qpq35ba3.js +26 -0
  204. package/dist/chunks/{instruction-discovery-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  205. package/dist/chunks/{instruction-discovery-jkypvzfq.js → model-resolver-qtv9ncch.js} +11 -11
  206. package/dist/chunks/{instruction-discovery-7j2qha59.js → model-resolver-qvb3nf84.js} +8 -8
  207. package/dist/chunks/{instruction-discovery-ctak4ngs.js → model-resolver-qyb91t3f.js} +6 -6
  208. package/dist/chunks/{instruction-discovery-jth2zfp5.js → model-resolver-qyyztgt2.js} +3 -3
  209. package/dist/chunks/{instruction-discovery-87ryhpkm.js → model-resolver-r6k8j3qp.js} +42 -42
  210. package/dist/chunks/{instruction-discovery-1acjjqhc.js → model-resolver-r8xr0va3.js} +4 -4
  211. package/dist/chunks/{instruction-discovery-80vnhx64.js → model-resolver-ra9qb9xd.js} +28 -28
  212. package/dist/chunks/{instruction-discovery-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{instruction-discovery-bq1752a3.js → model-resolver-rfh2gm6b.js} +20 -20
  214. package/dist/chunks/{instruction-discovery-eth0681n.js → model-resolver-rweywjj1.js} +12 -12
  215. package/dist/chunks/{instruction-discovery-keat3kjn.js → model-resolver-s0hza5ac.js} +4 -4
  216. package/dist/chunks/{instruction-discovery-hesh0yqh.js → model-resolver-s4waqpsd.js} +15 -15
  217. package/dist/chunks/{instruction-discovery-bbxr6jw3.js → model-resolver-s96k9d5p.js} +38 -38
  218. package/dist/chunks/{instruction-discovery-yhwbjxcp.js → model-resolver-sd9tm8pe.js} +19 -19
  219. package/dist/chunks/{instruction-discovery-pfk7g78r.js → model-resolver-sk1h1qsj.js} +3 -3
  220. package/dist/chunks/{instruction-discovery-zat6j6wm.js → model-resolver-snvbvate.js} +9 -9
  221. package/dist/chunks/{instruction-discovery-wbx60fzd.js → model-resolver-spf3as2g.js} +8 -8
  222. package/dist/chunks/{instruction-discovery-hqmr0w3b.js → model-resolver-sqy4ahhk.js} +3 -3
  223. package/dist/chunks/{instruction-discovery-psx79z8s.js → model-resolver-srfprz60.js} +19 -19
  224. package/dist/chunks/{instruction-discovery-qkb3xxtm.js → model-resolver-str9ee35.js} +5 -5
  225. package/dist/chunks/{instruction-discovery-ex0ne5y8.js → model-resolver-t44e5ekz.js} +5 -5
  226. package/dist/chunks/{instruction-discovery-vgn79txg.js → model-resolver-t9w9gn5n.js} +15 -15
  227. package/dist/chunks/{instruction-discovery-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{instruction-discovery-qz1pxh76.js → model-resolver-tbjske3a.js} +15 -15
  229. package/dist/chunks/{instruction-discovery-p28j5sbe.js → model-resolver-tbz0fdvh.js} +5 -5
  230. package/dist/chunks/{instruction-discovery-0a6azg2e.js → model-resolver-tc4pcybw.js} +36 -36
  231. package/dist/chunks/{instruction-discovery-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{instruction-discovery-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  233. package/dist/chunks/{instruction-discovery-0hagtbv7.js → model-resolver-thj49w3f.js} +7 -7
  234. package/dist/chunks/{instruction-discovery-vgajfqke.js → model-resolver-tk3x1716.js} +15 -15
  235. package/dist/chunks/{instruction-discovery-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  236. package/dist/chunks/{instruction-discovery-fqtvmpfq.js → model-resolver-tx9w5tca.js} +8 -8
  237. package/dist/chunks/{instruction-discovery-3w2b2yj4.js → model-resolver-tz2bjj40.js} +5 -5
  238. package/dist/chunks/{instruction-discovery-enwy0czq.js → model-resolver-v17cfwww.js} +32 -32
  239. package/dist/chunks/{instruction-discovery-h3egcphf.js → model-resolver-v1n7f3bv.js} +41 -41
  240. package/dist/chunks/{instruction-discovery-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  241. package/dist/chunks/{instruction-discovery-dhst5bzj.js → model-resolver-vhh0q4nc.js} +20 -20
  242. package/dist/chunks/{instruction-discovery-fck4aavc.js → model-resolver-vj84vw6v.js} +14 -14
  243. package/dist/chunks/{instruction-discovery-skt6pyyf.js → model-resolver-vm3q9gwz.js} +9 -9
  244. package/dist/chunks/{instruction-discovery-2aq7ecr3.js → model-resolver-vqpavwsp.js} +7 -7
  245. package/dist/chunks/{instruction-discovery-c49f7yek.js → model-resolver-vtr3qy6y.js} +9 -9
  246. package/dist/chunks/{instruction-discovery-8t3r44sf.js → model-resolver-vvge8z52.js} +5 -5
  247. package/dist/chunks/{instruction-discovery-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{instruction-discovery-fy1gvxag.js → model-resolver-w35rqvbd.js} +53 -53
  249. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{instruction-discovery-3daw6e4n.js → model-resolver-wa5fn18k.js} +9 -9
  251. package/dist/chunks/{instruction-discovery-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  252. package/dist/chunks/{instruction-discovery-59d1t1kc.js → model-resolver-whxapjwv.js} +11 -11
  253. package/dist/chunks/{instruction-discovery-jq7r7x4m.js → model-resolver-wwxnzhtj.js} +13 -13
  254. package/dist/chunks/{instruction-discovery-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{instruction-discovery-n74rpst0.js → model-resolver-x9hfrad7.js} +13 -13
  256. package/dist/chunks/{instruction-discovery-nqyhrfcc.js → model-resolver-x9mtwtp0.js} +4 -4
  257. package/dist/chunks/{instruction-discovery-8jx8k6qg.js → model-resolver-xbtb5td3.js} +7 -7
  258. package/dist/chunks/{instruction-discovery-nanpb4nb.js → model-resolver-xec6pqx5.js} +168 -168
  259. package/dist/chunks/{instruction-discovery-xfkkasph.js → model-resolver-xfkkasph.js} +1 -1
  260. package/dist/chunks/{instruction-discovery-kgpwsj74.js → model-resolver-xfv3pavf.js} +20 -20
  261. package/dist/chunks/{instruction-discovery-d5b773r5.js → model-resolver-xj9c03pw.js} +67 -67
  262. package/dist/chunks/{instruction-discovery-g7mym6m5.js → model-resolver-y0vc2xyv.js} +15 -15
  263. package/dist/chunks/{instruction-discovery-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{instruction-discovery-y71avatq.js → model-resolver-y71avatq.js} +1 -1
  265. package/dist/chunks/{instruction-discovery-j7zkqwjr.js → model-resolver-ycwdbjxs.js} +1 -1
  266. package/dist/chunks/{instruction-discovery-510m7gjw.js → model-resolver-yjptyezs.js} +5 -5
  267. package/dist/chunks/{instruction-discovery-yntgqbj8.js → model-resolver-yp71q2zj.js} +31 -31
  268. package/dist/chunks/{instruction-discovery-hrcn0nnf.js → model-resolver-yr3ev74z.js} +14 -14
  269. package/dist/chunks/{instruction-discovery-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{instruction-discovery-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
  271. package/dist/chunks/{instruction-discovery-d2aac7k2.js → model-resolver-yt0fqk68.js} +5 -5
  272. package/dist/chunks/{instruction-discovery-35a9k02a.js → model-resolver-yvp2mdaf.js} +20 -20
  273. package/dist/chunks/{instruction-discovery-1yv1a62b.js → model-resolver-yx9ma9ke.js} +12 -12
  274. package/dist/chunks/{instruction-discovery-h25pynb9.js → model-resolver-yyafvb72.js} +7 -6
  275. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{instruction-discovery-7h64qcjn.js → model-resolver-z4068eyq.js} +11 -11
  277. package/dist/chunks/{instruction-discovery-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
  278. package/dist/chunks/{instruction-discovery-z429czhs.js → model-resolver-z9mxambq.js} +6 -6
  279. package/dist/chunks/{instruction-discovery-bm1prq2q.js → model-resolver-zdewk29h.js} +5 -5
  280. package/dist/chunks/{instruction-discovery-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{instruction-discovery-yazjenkk.js → model-resolver-zga4qn8p.js} +13 -13
  282. package/dist/chunks/model-resolver-zmf7epqt.js +65 -0
  283. package/dist/chunks/{instruction-discovery-09mc3296.js → model-resolver-zp6gb285.js} +6 -6
  284. package/dist/chunks/{instruction-discovery-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{instruction-discovery-0w62qmxp.js → model-resolver-zst1va42.js} +8 -8
  286. package/dist/chunks/{instruction-discovery-d737nyfv.js → model-resolver-zvwz45r0.js} +9 -9
  287. package/dist/chunks/{instruction-discovery-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{instruction-discovery-fyx1rh07.js → model-resolver-zz841dsp.js} +13 -13
  289. package/dist/chunks/{instruction-discovery-9v27psqe.js → model-resolver-zz8q6pd3.js} +18 -18
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +80 -80
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +123 -123
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +125 -125
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +101 -101
  429. package/dist/form.js +79 -79
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +98 -98
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +90 -90
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +360 -360
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +84 -84
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +87 -87
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +70 -70
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +357 -357
  471. package/dist/location.js +88 -88
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +105 -105
  475. package/dist/mcp/instructions.js +123 -123
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +90 -90
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +99 -99
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +81 -81
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +106 -106
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +77 -77
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +103 -103
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/compaction.js +132 -132
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +3 -3
  499. package/dist/plugin/internal.js +331 -331
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +119 -119
  526. package/dist/plugin/provider/openai.js +91 -91
  527. package/dist/plugin/provider/opencode.js +93 -93
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +119 -119
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +159 -159
  541. package/dist/plugin/sdk.js +73 -73
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +138 -138
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +350 -350
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +220 -220
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +87 -87
  562. package/dist/provider.js +92 -92
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +93 -93
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +86 -86
  569. package/dist/repository-cache.js +78 -78
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +94 -94
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +133 -133
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +87 -87
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +169 -169
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +216 -216
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +215 -215
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +137 -137
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +107 -107
  632. package/dist/snapshot.js +90 -90
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +122 -122
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +117 -117
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +104 -104
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +216 -216
  646. package/dist/tool/plugin/skill.js +112 -112
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +109 -109
  649. package/dist/tool/plugin/websearch.js +113 -113
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/types/mime.d.ts +1 -1
  656. package/dist/types/session/provider-context.d.ts +2 -2
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/formatter.js +5 -5
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +91 -91
  676. package/dist/v1/config/permission.js +3 -3
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +90 -90
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +88 -88
  686. package/dist/websearch.js +83 -83
  687. package/dist/wellknown/plugin.js +75 -75
  688. package/dist/wellknown.js +78 -78
  689. package/dist/workspace/driver.js +7 -7
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +77 -77
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +8 -8
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +88 -88
  696. package/dist/worktree.js +93 -93
  697. package/package.json +8 -8
  698. package/dist/chunks/instruction-discovery-04hxy07f.js +0 -503
  699. package/dist/chunks/instruction-discovery-8cfmw7g8.js +0 -26
  700. package/dist/chunks/instruction-discovery-jqh9b0xq.js +0 -18
  701. package/dist/chunks/instruction-discovery-r6ma33hb.js +0 -65
  702. package/dist/chunks/instruction-discovery-t37sa7x6.js +0 -252
  703. /package/dist/chunks/{instruction-discovery-0mesazry.js → model-resolver-0mesazry.js} +0 -0
  704. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{instruction-discovery-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{instruction-discovery-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{instruction-discovery-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{instruction-discovery-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{instruction-discovery-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  715. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{instruction-discovery-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{instruction-discovery-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{instruction-discovery-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
  788. /package/dist/chunks/{instruction-discovery-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{instruction-discovery-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{instruction-discovery-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  794. /package/dist/chunks/{instruction-discovery-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{instruction-discovery-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{instruction-discovery-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{instruction-discovery-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{instruction-discovery-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./instruction-discovery-tada9jhx.js";
4
+ } from "./model-resolver-fb5x04t9.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./instruction-discovery-922hggd3.js";
8
+ } from "./model-resolver-922hggd3.js";
9
9
  import {
10
- Ref3,
11
- Service77,
12
- node81
13
- } from "./instruction-discovery-3f0yr7fv.js";
10
+ Ref4,
11
+ Service79,
12
+ node83
13
+ } from "./model-resolver-cggswk6d.js";
14
14
  import {
15
15
  __export
16
- } from "./instruction-discovery-9rqn6x4v.js";
16
+ } from "./model-resolver-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service25,
22
+ Service: () => Service73,
23
23
  define: () => define2,
24
- node: () => node28
24
+ node: () => node77
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service25 extends Context.Service()("@opencode/Rpc") {
30
+ class Service73 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service25, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
43
43
  const bus = yield* Service83;
44
- const location = yield* Service77;
45
- const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
44
+ const location = yield* Service79;
45
+ const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
48
48
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
82
82
  const event = registered.event;
83
83
  const data = yield* encode(event.schema, args[1]);
84
84
  return yield* bus.publish(registered.definition, data, {
85
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
85
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
86
86
  }).pipe(Effect.asVoid);
87
87
  })
88
88
  }
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service77, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service25.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service73.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node28 = makeLocationNode({ service: Service25, layer, deps: [node87, node81] });
128
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [node87, node83] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
132
132
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
133
- location: optional2(Ref3)
133
+ location: optional2(Ref4)
134
134
  };
135
135
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
136
136
  var jsonSchemas = new WeakMap;
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
206
206
  ...payload,
207
207
  type: eventType(definition, name),
208
208
  data,
209
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
209
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
210
210
  };
211
211
  });
212
212
 
213
- export { Service25, node28, exports_rpc, define2 };
213
+ export { Service73, node77, exports_rpc, define2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service68
3
- } from "./instruction-discovery-pg3xm6en.js";
2
+ Service52
3
+ } from "./model-resolver-ckd8zaaf.js";
4
4
  import {
5
5
  __export
6
- } from "./instruction-discovery-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service68;
22
+ const environment = yield* Service52;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./instruction-discovery-ym463w8f.js";
3
+ } from "./model-resolver-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./instruction-discovery-tada9jhx.js";
4
+ } from "./model-resolver-fb5x04t9.js";
5
5
  import {
6
6
  create3
7
- } from "./instruction-discovery-rdw6cm16.js";
7
+ } from "./model-resolver-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./instruction-discovery-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event17,
18
- ID: () => ID12,
19
- Info: () => Info27,
17
+ Event: () => Event19,
18
+ ID: () => ID14,
19
+ Info: () => Info29,
20
20
  Name: () => Name3,
21
- Service: () => Service75,
21
+ Service: () => Service77,
22
22
  defaultID: () => defaultID2,
23
- node: () => node79
23
+ node: () => node81
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event17 } from "@opencode/schema/agent";
30
+ import { Event as Event19 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID12 = Agent.ID;
33
+ var ID14 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID12.make("build");
35
+ var defaultID2 = ID14.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info27 = Agent.Info;
37
+ var Info29 = Agent.Info;
38
38
 
39
- class Service75 extends Context.Service()("@opencode/Agent") {
39
+ class Service77 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service75, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
42
42
  const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info27.default(id);
60
+ const defaults = Info29.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID12.make("build")));
82
+ const build = selectable(data.agents.get(ID14.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service75.of({
91
+ return Service77.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID12.make(id));
99
+ return state.get().agents.get(ID14.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID12.make(id);
104
+ const selected = ID14.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, Global.node] });
119
+ var node81 = makeLocationNode({ service: Service77, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID12, Name3, defaultID2, Color2, Info27, Service75, node79, exports_agent4, Event17 };
121
+ export { ID14, Name3, defaultID2, Color2, Info29, Service77, node81, exports_agent4, Event19 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./instruction-discovery-tada9jhx.js";
4
+ } from "./model-resolver-fb5x04t9.js";
5
5
  import {
6
6
  Service63,
7
- node66
8
- } from "./instruction-discovery-z429czhs.js";
7
+ node67
8
+ } from "./model-resolver-z9mxambq.js";
9
9
  import {
10
10
  create3
11
- } from "./instruction-discovery-rdw6cm16.js";
11
+ } from "./model-resolver-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./instruction-discovery-9rqn6x4v.js";
14
+ } from "./model-resolver-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event6,
21
- ID: () => ID4,
22
- Input: () => Input13,
20
+ Event: () => Event13,
21
+ ID: () => ID5,
22
+ Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service23,
31
+ Service: () => Service51,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node26
33
+ node: () => node55
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event6 } from "@opencode/schema/websearch";
41
- var ID4 = WebSearch.ID;
40
+ import { Event as Event13 } from "@opencode/schema/websearch";
41
+ var ID5 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input13 = WebSearch.Input;
43
+ var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID4
53
+ providerID: ID5
54
54
  }) {
55
55
  }
56
56
 
@@ -58,14 +58,14 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID4,
61
+ providerID: ID5,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service23 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service51 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service23, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
69
69
  const bus = yield* Service83;
70
70
  const kv = yield* Service63;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service23.of({
127
+ return Service51.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node26 = makeLocationNode({
188
- service: Service23,
187
+ var node55 = makeLocationNode({
188
+ service: Service51,
189
189
  layer,
190
- deps: [node87, node66]
190
+ deps: [node87, node67]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service23, node26, exports_websearch3, Event6 };
193
+ export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service51, node55, exports_websearch3, Event13 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./instruction-discovery-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./instruction-discovery-88xbtdfr.js";
3
+ } from "./model-resolver-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./instruction-discovery-5qd3pb7m.js";
6
+ } from "./model-resolver-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./instruction-discovery-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event11,
14
+ Event: () => Event10,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
17
- Service: () => Service52,
16
+ Options: () => Options9,
17
+ Service: () => Service47,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured9,
20
+ configured: () => configured10,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
22
  layer: () => layer20,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node56,
25
+ node: () => node51,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event11 = { Updated: FileSystem.Event.Changed };
36
+ var Event10 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options8 = Schema.Struct({
56
+ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service52 extends Context.Service()("@opencode/Watcher") {
60
+ class Service47 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
65
+ var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service52.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service47.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service52.of({ subscribe });
108
+ return Service47.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
131
131
  });
132
132
  const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service52).subscribe,
134
+ subscribe: Context.get(context, Service47).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service52, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service47, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured9(options) {
168
- return makeGlobalNode({ service: Service52, layer: layer20(options), deps: [nativeNode2] });
167
+ function configured10(options) {
168
+ return makeGlobalNode({ service: Service47, layer: layer20(options), deps: [nativeNode2] });
169
169
  }
170
- var node56 = configured9();
170
+ var node51 = configured10();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event11, hasNativeBinding2, Native3, Options8, Service52, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured9, node56, exports_watcher };
190
+ export { Event10, hasNativeBinding2, Native3, Options9, Service47, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured10, node51, exports_watcher };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./instruction-discovery-tada9jhx.js";
4
+ } from "./model-resolver-fb5x04t9.js";
5
5
  import {
6
+ Service79,
7
+ node83
8
+ } from "./model-resolver-cggswk6d.js";
9
+ import {
10
+ ID14,
6
11
  Service77,
7
12
  node81
8
- } from "./instruction-discovery-3f0yr7fv.js";
9
- import {
10
- ID12,
11
- Service75,
12
- node79
13
- } from "./instruction-discovery-dgt1m6jj.js";
13
+ } from "./model-resolver-6a9wqxav.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./instruction-discovery-s38x4d8v.js";
16
+ } from "./model-resolver-gmjjhz4f.js";
17
17
  import {
18
- Service73,
19
- node77
20
- } from "./instruction-discovery-b4nfcdv5.js";
18
+ Service76,
19
+ node80
20
+ } from "./model-resolver-7c2qk6yp.js";
21
21
  import {
22
22
  match2
23
- } from "./instruction-discovery-y1fvbwt7.js";
23
+ } from "./model-resolver-y1fvbwt7.js";
24
24
  import {
25
- Service74,
26
- node78
27
- } from "./instruction-discovery-hgxtd65q.js";
25
+ Service75,
26
+ node79
27
+ } from "./model-resolver-2wkarfxb.js";
28
28
  import {
29
- Service76,
30
- node80
31
- } from "./instruction-discovery-fqtvmpfq.js";
29
+ Service78,
30
+ node82
31
+ } from "./model-resolver-tx9w5tca.js";
32
32
  import {
33
33
  __export
34
- } from "./instruction-discovery-9rqn6x4v.js";
34
+ } from "./model-resolver-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,8 +42,8 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event16,
46
- ID: () => ID10,
45
+ Event: () => Event18,
46
+ ID: () => ID12,
47
47
  NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
@@ -51,20 +51,20 @@ __export(exports_permission2, {
51
51
  Request: () => Request3,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service72,
54
+ Service: () => Service74,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node76
58
+ node: () => node78
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event16 } from "@opencode/schema/permission";
64
+ import { Event as Event18 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID10 = Permission.ID;
67
+ var ID12 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request3 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID10.pipe(Schema.optional),
80
+ id: ID12.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID12.pipe(Schema.optional)
82
+ agent: ID14.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID10,
85
+ requestID: ID12,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID10,
90
+ id: ID12,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID10
114
+ requestID: ID12
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service72 extends Context.Service()("@opencode/Permission") {
128
+ class Service74 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service72, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
- const location = yield* Service77;
133
- const agents = yield* Service75;
134
- const sessions = yield* Service73;
135
- const saved = yield* Service74;
136
- const hooks = yield* Service76;
132
+ const location = yield* Service79;
133
+ const agents = yield* Service77;
134
+ const sessions = yield* Service76;
135
+ const saved = yield* Service75;
136
+ const hooks = yield* Service78;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID10.create(),
189
+ id: input.id ?? ID12.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID10.create(), effect: "deny" };
214
+ return { id: input.id ?? ID12.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service72.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service74.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node76 = makeLocationNode({
303
- service: Service72,
302
+ var node78 = makeLocationNode({
303
+ service: Service74,
304
304
  layer,
305
- deps: [node87, node81, node79, node77, node78, node80]
305
+ deps: [node87, node83, node81, node80, node79, node82]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID10, Source5, Request3, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service72, node76, exports_permission2, Rule3, Ruleset2, Event16 };
308
+ export { PermissionEffect, ID12, Source5, Request3, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service74, node78, exports_permission2, Rule3, Ruleset2, Event18 };