@opencode/core 0.0.0-dev-20587 → 0.0.0-dev-20594

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{reference-8c1ypbfp.js → managed-policy-02wmet1s.js} +25 -25
  8. package/dist/chunks/{reference-qz5yzqrb.js → managed-policy-06yeazan.js} +1 -1
  9. package/dist/chunks/{reference-m74y07zs.js → managed-policy-0ge1h6kx.js} +5 -5
  10. package/dist/chunks/{reference-0paq2nw3.js → managed-policy-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{reference-0vbcp93d.js → managed-policy-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{reference-crdrr85v.js → managed-policy-145xw1zc.js} +3 -3
  13. package/dist/chunks/{reference-qapy5d55.js → managed-policy-14wx0bkd.js} +13 -13
  14. package/dist/chunks/{reference-hnn8dgg2.js → managed-policy-16z57f9y.js} +29 -29
  15. package/dist/chunks/{reference-1dazxqgg.js → managed-policy-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{reference-1dvck2a7.js → managed-policy-1dvck2a7.js} +2 -2
  17. package/dist/chunks/{reference-906tg66d.js → managed-policy-1epzdntc.js} +11 -11
  18. package/dist/chunks/{reference-xwz313q0.js → managed-policy-1rjc8rx3.js} +20 -20
  19. package/dist/chunks/{reference-2z6nk9rc.js → managed-policy-254rtawq.js} +19 -19
  20. package/dist/chunks/{reference-mzzkv1b5.js → managed-policy-29garr4v.js} +1 -1
  21. package/dist/chunks/{reference-e8mb8cqx.js → managed-policy-29wxfsp2.js} +36 -36
  22. package/dist/chunks/{reference-2a5m3afh.js → managed-policy-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{reference-4dq32q0a.js → managed-policy-2b2w1tdt.js} +8 -8
  24. package/dist/chunks/{reference-0fmqyjny.js → managed-policy-2erjdy5k.js} +22 -22
  25. package/dist/chunks/{reference-z493x013.js → managed-policy-2g7kj2k8.js} +6 -6
  26. package/dist/chunks/{reference-nxpdv9mh.js → managed-policy-2qqgyr6a.js} +22 -22
  27. package/dist/chunks/{reference-1qnvanna.js → managed-policy-2qx31yc6.js} +20 -20
  28. package/dist/chunks/{reference-56gdpj1q.js → managed-policy-33w4ejhs.js} +6 -6
  29. package/dist/chunks/{reference-3fc6dm20.js → managed-policy-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{reference-xkwk6fd6.js → managed-policy-3hanrfct.js} +25 -25
  31. package/dist/chunks/{reference-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{reference-k16ae6jh.js → managed-policy-3mentpw2.js} +24 -24
  33. package/dist/chunks/{reference-3smtnn6g.js → managed-policy-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{reference-3tvqynh2.js → managed-policy-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{reference-1xxd6k95.js → managed-policy-3zbwexce.js} +8 -8
  36. package/dist/chunks/{reference-3zsf4n22.js → managed-policy-3zsf4n22.js} +1 -1
  37. package/dist/chunks/{reference-h9353qrc.js → managed-policy-459mc33k.js} +22 -22
  38. package/dist/chunks/{reference-merhc0f7.js → managed-policy-46v0s1hp.js} +15 -15
  39. package/dist/chunks/{reference-rarzp9d6.js → managed-policy-4bsrnaz3.js} +45 -45
  40. package/dist/chunks/{reference-be7qvw84.js → managed-policy-4c2df9zx.js} +4 -4
  41. package/dist/chunks/{reference-zzrgx2qg.js → managed-policy-4hh2xy14.js} +3 -3
  42. package/dist/chunks/{reference-7mnt2941.js → managed-policy-4q8xb7vk.js} +28 -28
  43. package/dist/chunks/{reference-3yp4znr7.js → managed-policy-4qz2jy35.js} +13 -13
  44. package/dist/chunks/{reference-2ccvkpx1.js → managed-policy-4ts7tf6z.js} +2 -2
  45. package/dist/chunks/{reference-9nxp2j1r.js → managed-policy-59790n6y.js} +12 -12
  46. package/dist/chunks/{reference-5daktx2q.js → managed-policy-5daktx2q.js} +1 -1
  47. package/dist/chunks/{reference-b5hvc6g6.js → managed-policy-5dpktnqk.js} +12 -12
  48. package/dist/chunks/{reference-h26940z0.js → managed-policy-5j1v3jqf.js} +33 -33
  49. package/dist/chunks/{reference-jt8tan63.js → managed-policy-5md23d48.js} +14 -14
  50. package/dist/chunks/{reference-dkr6ry3g.js → managed-policy-5p07r5rm.js} +10 -10
  51. package/dist/chunks/{reference-f5gy8qwh.js → managed-policy-5q13c62c.js} +8 -8
  52. package/dist/chunks/{reference-e3qxr5gk.js → managed-policy-5qd3pb7m.js} +2 -2
  53. package/dist/chunks/{reference-mwwxnxty.js → managed-policy-5qwkxp89.js} +4 -4
  54. package/dist/chunks/{reference-5t3nmthw.js → managed-policy-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{reference-3cd9n481.js → managed-policy-5tcm9639.js} +5 -5
  56. package/dist/chunks/managed-policy-619r8v3y.js +18 -0
  57. package/dist/chunks/{reference-mb14aw74.js → managed-policy-63db42yp.js} +2 -2
  58. package/dist/chunks/{reference-1jy03gaj.js → managed-policy-65245510.js} +9 -9
  59. package/dist/chunks/{reference-h2tzc275.js → managed-policy-65jde4my.js} +24 -24
  60. package/dist/chunks/{reference-669tq793.js → managed-policy-669tq793.js} +1 -1
  61. package/dist/chunks/{reference-1tdshpj3.js → managed-policy-67gx64xn.js} +42 -42
  62. package/dist/chunks/{reference-rvwrtnmj.js → managed-policy-6ba3xpax.js} +36 -36
  63. package/dist/chunks/{reference-a2xqkxgc.js → managed-policy-6jyw55rp.js} +18 -18
  64. package/dist/chunks/{reference-6jw82w3c.js → managed-policy-6m3tp8mj.js} +32 -32
  65. package/dist/chunks/{reference-s489hxh6.js → managed-policy-6mf7zknn.js} +37 -37
  66. package/dist/chunks/{reference-6xb47vfp.js → managed-policy-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{reference-6121h2h6.js → managed-policy-6xn9vhwr.js} +2 -2
  68. package/dist/chunks/{reference-71az546q.js → managed-policy-71az546q.js} +2 -2
  69. package/dist/chunks/{reference-vbdbrvqk.js → managed-policy-721zw7bm.js} +35 -35
  70. package/dist/chunks/{reference-p5wc048m.js → managed-policy-7a12vqq0.js} +24 -24
  71. package/dist/chunks/{reference-2ghygp50.js → managed-policy-7avdme9t.js} +13 -13
  72. package/dist/chunks/{reference-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{reference-gwcpdn4r.js → managed-policy-7sxxghw0.js} +11 -11
  74. package/dist/chunks/{reference-9q26wnhp.js → managed-policy-7teayjnf.js} +20 -20
  75. package/dist/chunks/{reference-75c7h6s3.js → managed-policy-89c57hn9.js} +31 -31
  76. package/dist/chunks/{reference-8d7r5vzw.js → managed-policy-8d7r5vzw.js} +1 -1
  77. package/dist/chunks/{reference-vqkrcv5y.js → managed-policy-8rp5913h.js} +12 -12
  78. package/dist/chunks/{reference-7zy8br1g.js → managed-policy-8xkqg01v.js} +3 -3
  79. package/dist/chunks/{reference-t52a3v9d.js → managed-policy-8yfev5t1.js} +3 -3
  80. package/dist/chunks/{reference-cfypbh6h.js → managed-policy-91wpvk88.js} +28 -28
  81. package/dist/chunks/{reference-r9zdjfxd.js → managed-policy-93hnm8e8.js} +33 -33
  82. package/dist/chunks/{reference-4h0sqrpn.js → managed-policy-93rbxt91.js} +15 -15
  83. package/dist/chunks/{reference-w36x1trb.js → managed-policy-975ebawg.js} +3 -3
  84. package/dist/chunks/{reference-zwc3pnar.js → managed-policy-98pk7vxr.js} +25 -25
  85. package/dist/chunks/{reference-9e5bzkjp.js → managed-policy-9e5bzkjp.js} +3 -3
  86. package/dist/chunks/{reference-wadaxy67.js → managed-policy-9f69r79s.js} +28 -28
  87. package/dist/chunks/{reference-0w7ej8g6.js → managed-policy-9hr53hdz.js} +86 -86
  88. package/dist/chunks/{reference-z6c3x22d.js → managed-policy-9hwaqfsw.js} +5 -5
  89. package/dist/chunks/{reference-5eqgw8nb.js → managed-policy-9jrdkbpa.js} +8 -8
  90. package/dist/chunks/{reference-ydm7tw01.js → managed-policy-9qhqs605.js} +31 -31
  91. package/dist/chunks/{reference-5w2vcsqn.js → managed-policy-9qq8050t.js} +181 -181
  92. package/dist/chunks/{reference-rcz0qr92.js → managed-policy-9web0d32.js} +9 -9
  93. package/dist/chunks/{reference-yn6nbke9.js → managed-policy-9x8tc8sp.js} +14 -14
  94. package/dist/chunks/managed-policy-a1bw3dq9.js +507 -0
  95. package/dist/chunks/{reference-cpna35qm.js → managed-policy-a2gae43d.js} +13 -13
  96. package/dist/chunks/{reference-aaet6srn.js → managed-policy-aaet6srn.js} +2 -2
  97. package/dist/chunks/{reference-c384rd0k.js → managed-policy-ab1k20a6.js} +4 -4
  98. package/dist/chunks/{reference-hasf9nkd.js → managed-policy-abx012e0.js} +50 -50
  99. package/dist/chunks/{reference-td76xh55.js → managed-policy-acnatzrp.js} +4 -4
  100. package/dist/chunks/{reference-1hj56dzs.js → managed-policy-aec1bqve.js} +13 -13
  101. package/dist/chunks/{reference-mzw9gwxy.js → managed-policy-azks30c4.js} +24 -24
  102. package/dist/chunks/{reference-60zx66yq.js → managed-policy-b4d01myw.js} +44 -44
  103. package/dist/chunks/{reference-b6gygkdw.js → managed-policy-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{reference-fzztmtyv.js → managed-policy-bgxarxct.js} +92 -92
  105. package/dist/chunks/{reference-ez6c34s8.js → managed-policy-bkwdfw9d.js} +25 -25
  106. package/dist/chunks/{reference-9707ta7n.js → managed-policy-bqb67z36.js} +23 -23
  107. package/dist/chunks/{reference-jk02jdk9.js → managed-policy-c10q7bwq.js} +26 -26
  108. package/dist/chunks/{reference-c20khjev.js → managed-policy-cavr175a.js} +21 -21
  109. package/dist/chunks/{reference-tbv9z12t.js → managed-policy-cc75tkym.js} +16 -16
  110. package/dist/chunks/{reference-2vs2nh1n.js → managed-policy-ckf8nxjz.js} +4 -4
  111. package/dist/chunks/{reference-gnw3t1dc.js → managed-policy-cqwk4fcq.js} +3 -3
  112. package/dist/chunks/{reference-z6sqrxtq.js → managed-policy-d3y08a9a.js} +6 -6
  113. package/dist/chunks/{reference-89anvpvk.js → managed-policy-d6bttsxy.js} +5 -5
  114. package/dist/chunks/{reference-9f35bx3k.js → managed-policy-d6qjz85w.js} +15 -15
  115. package/dist/chunks/{reference-3dptaw0d.js → managed-policy-d8ck81wr.js} +11 -11
  116. package/dist/chunks/{reference-j02h87v3.js → managed-policy-d8kjn5t6.js} +3 -3
  117. package/dist/chunks/{reference-sfq2mayw.js → managed-policy-d8mxbdrt.js} +19 -19
  118. package/dist/chunks/{reference-1v231d3m.js → managed-policy-d9gc1nmt.js} +35 -35
  119. package/dist/chunks/{reference-8zs2xvcx.js → managed-policy-db0nhp4v.js} +17 -17
  120. package/dist/chunks/{reference-eptmzqw1.js → managed-policy-dbc1qc54.js} +18 -18
  121. package/dist/chunks/{reference-n7szyvye.js → managed-policy-dd07kq7c.js} +18 -18
  122. package/dist/chunks/{reference-ckapse2z.js → managed-policy-dda53qcs.js} +26 -26
  123. package/dist/chunks/{reference-h1wh6nnm.js → managed-policy-df8jaf6d.js} +4 -4
  124. package/dist/chunks/{reference-33vkvr6x.js → managed-policy-dm99yka6.js} +35 -35
  125. package/dist/chunks/{reference-51r1ga28.js → managed-policy-dnge0aqq.js} +35 -35
  126. package/dist/chunks/{reference-5w6ne2rj.js → managed-policy-dnt2jfde.js} +10 -10
  127. package/dist/chunks/{reference-dpkg50ah.js → managed-policy-dpkg50ah.js} +1 -1
  128. package/dist/chunks/{reference-c02d881x.js → managed-policy-dq17f564.js} +15 -15
  129. package/dist/chunks/{reference-57b9ws8p.js → managed-policy-drwq78ky.js} +5 -5
  130. package/dist/chunks/{reference-hryntbm6.js → managed-policy-dw835dm2.js} +44 -44
  131. package/dist/chunks/{reference-5e1anv4t.js → managed-policy-dzh8x6fa.js} +19 -19
  132. package/dist/chunks/{reference-jh2kc7t1.js → managed-policy-e10k1cys.js} +17 -17
  133. package/dist/chunks/{reference-vaws9nke.js → managed-policy-e4vaeb0t.js} +29 -29
  134. package/dist/chunks/{reference-brt5an88.js → managed-policy-e8vwfchq.js} +9 -9
  135. package/dist/chunks/{reference-a7ykahx8.js → managed-policy-e9v0a8nt.js} +24 -24
  136. package/dist/chunks/{reference-ef5x83kb.js → managed-policy-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{reference-1ahxm6sd.js → managed-policy-enpcsfks.js} +31 -31
  138. package/dist/chunks/{reference-mvfsc1pv.js → managed-policy-eq1pz5kg.js} +3 -3
  139. package/dist/chunks/{reference-aen5yss8.js → managed-policy-eq6gwms1.js} +20 -20
  140. package/dist/chunks/{reference-4mwpykj0.js → managed-policy-eqkxs06z.js} +6 -6
  141. package/dist/chunks/{reference-etq0c3wd.js → managed-policy-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{reference-xasgz6m5.js → managed-policy-evg6eabx.js} +7 -7
  143. package/dist/chunks/managed-policy-ewksh3kr.js +26 -0
  144. package/dist/chunks/{reference-2c7hjkzv.js → managed-policy-exstxen9.js} +17 -17
  145. package/dist/chunks/{reference-z91awrxv.js → managed-policy-f6kvqh3r.js} +18 -18
  146. package/dist/chunks/{reference-7r0707g4.js → managed-policy-fnw4p95j.js} +43 -43
  147. package/dist/chunks/{reference-8mbscqky.js → managed-policy-fqtvmpfq.js} +8 -8
  148. package/dist/chunks/{reference-0a424z4m.js → managed-policy-fw3mavjd.js} +24 -24
  149. package/dist/chunks/{reference-e3cpgeff.js → managed-policy-fzka5vhq.js} +11 -11
  150. package/dist/chunks/{reference-br0tr5aq.js → managed-policy-g0445xdp.js} +8 -8
  151. package/dist/chunks/{reference-4ttn132a.js → managed-policy-g17w5wg1.js} +6 -6
  152. package/dist/chunks/{reference-13st69t8.js → managed-policy-g24nezpw.js} +9 -9
  153. package/dist/chunks/{reference-4jrcr0tk.js → managed-policy-g4my6z3y.js} +17 -17
  154. package/dist/chunks/{reference-q9099wq0.js → managed-policy-g8ytx0e6.js} +6 -6
  155. package/dist/chunks/{reference-gd4qta3r.js → managed-policy-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{reference-rx5v959s.js → managed-policy-gear7qnb.js} +48 -48
  157. package/dist/chunks/{reference-addxnjmp.js → managed-policy-gqtdsdt7.js} +4 -4
  158. package/dist/chunks/{reference-0dh5pvxp.js → managed-policy-gs74ya0r.js} +37 -37
  159. package/dist/chunks/{reference-4z58m4b4.js → managed-policy-gw7cjrad.js} +4 -4
  160. package/dist/chunks/{reference-nh77y64w.js → managed-policy-gws45dxs.js} +10 -10
  161. package/dist/chunks/{reference-fedq4t26.js → managed-policy-h07qkwg0.js} +8 -8
  162. package/dist/chunks/{reference-h2b79v29.js → managed-policy-h2b79v29.js} +2 -2
  163. package/dist/chunks/{reference-h6vf3j39.js → managed-policy-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{reference-276fgt7k.js → managed-policy-hmgnztse.js} +18 -18
  165. package/dist/chunks/{reference-0te1aq7m.js → managed-policy-hspec0h6.js} +32 -32
  166. package/dist/chunks/{reference-18pd0k8w.js → managed-policy-j1rkkxtq.js} +11 -11
  167. package/dist/chunks/{reference-j56e64zr.js → managed-policy-j56e64zr.js} +1 -1
  168. package/dist/chunks/{reference-tbmac1c7.js → managed-policy-j5rxtxht.js} +4 -4
  169. package/dist/chunks/{reference-w9z1evgj.js → managed-policy-j74g7mqr.js} +9 -9
  170. package/dist/chunks/{reference-vcyfbsct.js → managed-policy-j7v3c1ew.js} +11 -11
  171. package/dist/chunks/{reference-zcatgnda.js → managed-policy-j9nbzdbc.js} +12 -12
  172. package/dist/chunks/{reference-zn5p4xjj.js → managed-policy-jr8cgfk1.js} +4 -4
  173. package/dist/chunks/{reference-vhtvrbyw.js → managed-policy-jvezg3bv.js} +10 -10
  174. package/dist/chunks/{reference-9sqgpkz6.js → managed-policy-k08ezkqp.js} +11 -11
  175. package/dist/chunks/{reference-g7xeyaj0.js → managed-policy-k7y67xhs.js} +10 -10
  176. package/dist/chunks/{reference-3v047kxf.js → managed-policy-kc20gndt.js} +11 -11
  177. package/dist/chunks/{reference-sexz0h36.js → managed-policy-kqjv8prj.js} +21 -21
  178. package/dist/chunks/{reference-m3fdjcah.js → managed-policy-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{reference-9eh6sf6d.js → managed-policy-m64xvjj1.js} +5 -5
  180. package/dist/chunks/{reference-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{reference-msxdz3am.js → managed-policy-me746yqy.js} +5 -5
  182. package/dist/chunks/{reference-pj1gdqhf.js → managed-policy-mk8h694h.js} +7 -7
  183. package/dist/chunks/{reference-vh4dbhj0.js → managed-policy-mm3pa1p9.js} +44 -44
  184. package/dist/chunks/{reference-ae75as9k.js → managed-policy-n48dmbbt.js} +33 -23
  185. package/dist/chunks/{reference-57e9z27j.js → managed-policy-n9axn9y3.js} +8 -8
  186. package/dist/chunks/{reference-h4pjr44c.js → managed-policy-nbqnkjck.js} +18 -18
  187. package/dist/chunks/{reference-sjcrvc3z.js → managed-policy-nedqmk46.js} +15 -15
  188. package/dist/chunks/{reference-tedbzwbh.js → managed-policy-nepz78e5.js} +9 -9
  189. package/dist/chunks/{reference-s8262drx.js → managed-policy-nhnhrcwq.js} +25 -25
  190. package/dist/chunks/{reference-s48prvxc.js → managed-policy-nrs2fee3.js} +5 -5
  191. package/dist/chunks/{reference-hggj5nbt.js → managed-policy-p3mjp9vn.js} +74 -74
  192. package/dist/chunks/{reference-5cqz128n.js → managed-policy-p4qmxczc.js} +16 -16
  193. package/dist/chunks/{reference-jax8j6c6.js → managed-policy-pczz4718.js} +15 -15
  194. package/dist/chunks/{reference-n90frd9p.js → managed-policy-phtj4jat.js} +5 -5
  195. package/dist/chunks/{reference-pjvnvgmy.js → managed-policy-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{reference-pknna89w.js → managed-policy-pknna89w.js} +1 -1
  197. package/dist/chunks/{reference-as7cf5zz.js → managed-policy-pkqb68ka.js} +4 -4
  198. package/dist/chunks/{reference-0v0fh1f4.js → managed-policy-ppk1gead.js} +45 -45
  199. package/dist/chunks/{reference-4rzegzkw.js → managed-policy-py9kw9tn.js} +23 -23
  200. package/dist/chunks/{reference-vkp904sp.js → managed-policy-pyfrz2yp.js} +16 -16
  201. package/dist/chunks/{reference-0j77ygfz.js → managed-policy-q0xm7vwc.js} +6 -6
  202. package/dist/chunks/{reference-avw4htaf.js → managed-policy-q335xte2.js} +30 -30
  203. package/dist/chunks/{reference-28at9kpj.js → managed-policy-q6w467xr.js} +16 -16
  204. package/dist/chunks/{reference-d5m53j50.js → managed-policy-q8wzdh58.js} +35 -35
  205. package/dist/chunks/{reference-mr4yzd1n.js → managed-policy-qc4vvddf.js} +11 -11
  206. package/dist/chunks/{reference-2k8khapm.js → managed-policy-qgn6gcr1.js} +5 -5
  207. package/dist/chunks/{reference-qmqgtz8f.js → managed-policy-qmqgtz8f.js} +2 -2
  208. package/dist/chunks/{reference-qnc92qwc.js → managed-policy-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{reference-4bevpzhv.js → managed-policy-qqcbs79k.js} +3 -3
  210. package/dist/chunks/{reference-r44petzp.js → managed-policy-qqrjxc2w.js} +12 -12
  211. package/dist/chunks/{reference-qsdy395h.js → managed-policy-qsdy395h.js} +1 -1
  212. package/dist/chunks/{reference-axs6pdy0.js → managed-policy-qvreyy9g.js} +5 -5
  213. package/dist/chunks/{reference-zyk1yjk8.js → managed-policy-qygbw77c.js} +5 -5
  214. package/dist/chunks/{reference-hdrn7jtd.js → managed-policy-r3d0j56v.js} +30 -30
  215. package/dist/chunks/managed-policy-r3w4rbh2.js +253 -0
  216. package/dist/chunks/{reference-54ma36ye.js → managed-policy-r94pvvab.js} +4 -4
  217. package/dist/chunks/{reference-x6xjy9sr.js → managed-policy-r9d9xsbb.js} +32 -32
  218. package/dist/chunks/{reference-bydnjh3t.js → managed-policy-r9w3djhf.js} +9 -9
  219. package/dist/chunks/{reference-rdw6cm16.js → managed-policy-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{reference-y1pgr5ms.js → managed-policy-rent2jd4.js} +13 -13
  221. package/dist/chunks/{reference-yp2x3t23.js → managed-policy-rhraev7y.js} +4 -4
  222. package/dist/chunks/{reference-1p07q0wb.js → managed-policy-rkprpv83.js} +4 -4
  223. package/dist/chunks/{reference-mm5yq9f6.js → managed-policy-s1xp6p9p.js} +6 -6
  224. package/dist/chunks/{reference-40etmpxy.js → managed-policy-shtc3zvy.js} +22 -22
  225. package/dist/chunks/{reference-c2sed5cq.js → managed-policy-ss358qx3.js} +3 -3
  226. package/dist/chunks/{reference-5ga8pmy8.js → managed-policy-sshrb621.js} +32 -32
  227. package/dist/chunks/{reference-as4zy6vm.js → managed-policy-sz0fczdy.js} +6 -6
  228. package/dist/chunks/{reference-6apts7gk.js → managed-policy-t1xnf4e5.js} +5 -5
  229. package/dist/chunks/{reference-qa3qhgw8.js → managed-policy-t2fc4mz5.js} +4 -4
  230. package/dist/chunks/{reference-bgjpcfh1.js → managed-policy-t5h6g2ht.js} +44 -44
  231. package/dist/chunks/{reference-tazgh4e4.js → managed-policy-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{reference-tcezcvh9.js → managed-policy-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{reference-tdstcens.js → managed-policy-tdstcens.js} +1 -1
  234. package/dist/chunks/{reference-62rnp32c.js → managed-policy-tekbgh3x.js} +10 -10
  235. package/dist/chunks/{reference-9bzydxt0.js → managed-policy-thxbv41p.js} +21 -21
  236. package/dist/chunks/{reference-yeezw0cj.js → managed-policy-tpaw23f3.js} +11 -11
  237. package/dist/chunks/{reference-fpecnkgp.js → managed-policy-v0es1rhs.js} +9 -9
  238. package/dist/chunks/{reference-xwjbp7xw.js → managed-policy-v23f9kf7.js} +58 -58
  239. package/dist/chunks/{reference-veqvce7d.js → managed-policy-veqvce7d.js} +1 -1
  240. package/dist/chunks/{reference-k8r11mjf.js → managed-policy-vsbamy9h.js} +13 -13
  241. package/dist/chunks/{reference-da456p6f.js → managed-policy-vvmfhg21.js} +21 -21
  242. package/dist/chunks/{reference-vzcthcp8.js → managed-policy-vzcthcp8.js} +1 -1
  243. package/dist/chunks/{reference-mkh9k1h6.js → managed-policy-vzfpntg8.js} +18 -18
  244. package/dist/chunks/{reference-vzs5sf6e.js → managed-policy-vzs5sf6e.js} +1 -1
  245. package/dist/chunks/{reference-84txncab.js → managed-policy-w1eejvng.js} +5 -5
  246. package/dist/chunks/{reference-yc4mm6dw.js → managed-policy-w2722vtt.js} +36 -36
  247. package/dist/chunks/{reference-w2h15q85.js → managed-policy-w39jehkq.js} +5 -5
  248. package/dist/chunks/{reference-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{reference-rt8ggq5v.js → managed-policy-w677k9fj.js} +19 -19
  250. package/dist/chunks/{reference-6n0c2nxw.js → managed-policy-w6rbpf4e.js} +39 -39
  251. package/dist/chunks/{reference-e51et464.js → managed-policy-w7066q4p.js} +5 -5
  252. package/dist/chunks/{reference-62txs9jh.js → managed-policy-w7a2szgj.js} +11 -11
  253. package/dist/chunks/{reference-bk2zmp9c.js → managed-policy-w973dr2w.js} +13 -13
  254. package/dist/chunks/{reference-wd87259q.js → managed-policy-wd87259q.js} +1 -1
  255. package/dist/chunks/{reference-n21nhzwg.js → managed-policy-weagkh0e.js} +9 -9
  256. package/dist/chunks/{reference-1sx5ttk3.js → managed-policy-wnhksab4.js} +47 -47
  257. package/dist/chunks/{reference-gqpz8759.js → managed-policy-wpkjvcng.js} +11 -11
  258. package/dist/chunks/{reference-rhjbct0v.js → managed-policy-wv396vej.js} +8 -8
  259. package/dist/chunks/{reference-3556dn8t.js → managed-policy-wxyynt4w.js} +1 -1
  260. package/dist/chunks/{reference-axsdja44.js → managed-policy-x2ntk5yv.js} +20 -20
  261. package/dist/chunks/{reference-fmt1hs8y.js → managed-policy-x8v70qwz.js} +15 -15
  262. package/dist/chunks/{reference-tgjyt6x8.js → managed-policy-xjp9ycw1.js} +31 -31
  263. package/dist/chunks/{reference-f65bz2q7.js → managed-policy-xkhn0stb.js} +5 -5
  264. package/dist/chunks/{reference-xkntkrq7.js → managed-policy-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{reference-4n407jcq.js → managed-policy-xs81jx4r.js} +3 -3
  266. package/dist/chunks/{reference-qjy48y5a.js → managed-policy-xsjbfs7s.js} +12 -12
  267. package/dist/chunks/{reference-f0k10bmp.js → managed-policy-xvdg8f15.js} +8 -8
  268. package/dist/chunks/{reference-xyafkbt0.js → managed-policy-xyafkbt0.js} +3 -3
  269. package/dist/chunks/{reference-csmvz898.js → managed-policy-y0mc46pw.js} +9 -9
  270. package/dist/chunks/{reference-y1fvbwt7.js → managed-policy-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{reference-ftyfyfhe.js → managed-policy-y6zxh1t7.js} +12 -12
  272. package/dist/chunks/{reference-f79gec3w.js → managed-policy-yj382vm2.js} +22 -22
  273. package/dist/chunks/{reference-vaaeps5c.js → managed-policy-yj7tpypp.js} +10 -10
  274. package/dist/chunks/{reference-4tbp73he.js → managed-policy-yv9p7m88.js} +11 -11
  275. package/dist/chunks/{reference-z0bkrqjs.js → managed-policy-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{reference-wf5a3he0.js → managed-policy-z2fqwqvv.js} +14 -14
  277. package/dist/chunks/{reference-ek9c5stx.js → managed-policy-zfasm7f5.js} +8 -8
  278. package/dist/chunks/{reference-f9a4pn72.js → managed-policy-zggnq27k.js} +7 -7
  279. package/dist/chunks/{reference-zr2ceqn5.js → managed-policy-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{reference-hneefbm4.js → managed-policy-zs5zztja.js} +6 -6
  281. package/dist/chunks/{reference-g047z55c.js → managed-policy-zvht52jd.js} +17 -17
  282. package/dist/chunks/{reference-zxq2ej10.js → managed-policy-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{reference-q0a6wh5g.js → managed-policy-zxyy8bfe.js} +65 -65
  284. package/dist/chunks/{reference-bp8fbaqn.js → managed-policy-zy43x3f1.js} +4 -4
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +79 -79
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +74 -74
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +2 -2
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +100 -100
  423. package/dist/form.js +86 -86
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +76 -76
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +69 -69
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +87 -87
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +102 -102
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +119 -119
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +88 -88
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +115 -115
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +115 -115
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +345 -345
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +6 -6
  550. package/dist/plugin.js +218 -218
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +90 -90
  554. package/dist/provider.js +101 -101
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +93 -93
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +91 -91
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +95 -95
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +3 -3
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +133 -133
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +3 -3
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +93 -93
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +164 -164
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +105 -105
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +213 -213
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +209 -209
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +321 -346
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +130 -130
  621. package/dist/skill/discovery.js +4 -4
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +112 -112
  624. package/dist/snapshot.js +89 -89
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +128 -128
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +105 -105
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +109 -109
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +110 -110
  642. package/dist/tool/plugin/websearch.js +108 -108
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +5 -5
  647. package/dist/tool.js +12 -12
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  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 +5 -5
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +84 -84
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +77 -77
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +94 -94
  680. package/package.json +8 -8
  681. package/dist/chunks/reference-0yw8jrmx.js +0 -26
  682. package/dist/chunks/reference-8eazr78z.js +0 -253
  683. package/dist/chunks/reference-9sh4wc5j.js +0 -18
  684. package/dist/chunks/reference-smgnyfxh.js +0 -507
  685. /package/dist/chunks/{reference-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{reference-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{reference-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{reference-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{reference-1kg9ymc8.js → managed-policy-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{reference-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{reference-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{reference-2axfhc9x.js → managed-policy-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{reference-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{reference-34c7v6d4.js → managed-policy-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{reference-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{reference-3asan66x.js → managed-policy-3asan66x.js} +0 -0
  697. /package/dist/chunks/{reference-3t0ybcrp.js → managed-policy-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{reference-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{reference-3w5fmr99.js → managed-policy-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{reference-3wcehsnq.js → managed-policy-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{reference-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{reference-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{reference-4vcrnpx2.js → managed-policy-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{reference-4y7fprxs.js → managed-policy-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{reference-53557ph1.js → managed-policy-53557ph1.js} +0 -0
  706. /package/dist/chunks/{reference-550bvhaj.js → managed-policy-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{reference-6prwharc.js → managed-policy-6prwharc.js} +0 -0
  708. /package/dist/chunks/{reference-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{reference-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{reference-822emrt2.js → managed-policy-822emrt2.js} +0 -0
  711. /package/dist/chunks/{reference-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{reference-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{reference-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{reference-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{reference-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{reference-a6k6eb26.js → managed-policy-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{reference-af5trqkr.js → managed-policy-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{reference-afrmfg78.js → managed-policy-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{reference-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{reference-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{reference-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{reference-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{reference-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{reference-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{reference-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{reference-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{reference-dajrwvna.js → managed-policy-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{reference-dap0rakb.js → managed-policy-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{reference-df08tz66.js → managed-policy-df08tz66.js} +0 -0
  730. /package/dist/chunks/{reference-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{reference-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{reference-e73j6tqm.js → managed-policy-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{reference-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{reference-eh3zwz77.js → managed-policy-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{reference-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{reference-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{reference-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{reference-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{reference-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{reference-fxgpk5d8.js → managed-policy-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{reference-g4wezp1m.js → managed-policy-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{reference-g86h250q.js → managed-policy-g86h250q.js} +0 -0
  743. /package/dist/chunks/{reference-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{reference-gftt206x.js → managed-policy-gftt206x.js} +0 -0
  745. /package/dist/chunks/{reference-hjbc5kem.js → managed-policy-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{reference-hk9envan.js → managed-policy-hk9envan.js} +0 -0
  747. /package/dist/chunks/{reference-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{reference-j5zkgpj8.js → managed-policy-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{reference-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{reference-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{reference-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{reference-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{reference-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{reference-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{reference-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{reference-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{reference-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{reference-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{reference-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{reference-qaymkmh1.js → managed-policy-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{reference-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{reference-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{reference-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{reference-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{reference-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{reference-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{reference-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{reference-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{reference-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{reference-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{reference-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{reference-x0ckcb58.js → managed-policy-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{reference-x61499pn.js → managed-policy-x61499pn.js} +0 -0
  774. /package/dist/chunks/{reference-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{reference-y8cydn3q.js → managed-policy-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{reference-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{reference-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{reference-ym463w8f.js → managed-policy-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{reference-z5v4ffb3.js → managed-policy-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{reference-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./reference-b5hvc6g6.js";
2
+ Service82,
3
+ node86
4
+ } from "./managed-policy-5dpktnqk.js";
5
5
  import {
6
6
  create3
7
- } from "./reference-rdw6cm16.js";
7
+ } from "./managed-policy-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./reference-9rqn6x4v.js";
10
+ } from "./managed-policy-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
@@ -16,10 +16,10 @@ __export(exports_command4, {
16
16
  Event: () => Event6,
17
17
  ExecutionError: () => ExecutionError2,
18
18
  Info: () => Info6,
19
- NotFoundError: () => NotFoundError6,
20
- Service: () => Service44,
21
- layer: () => layer17,
22
- node: () => node46
19
+ NotFoundError: () => NotFoundError5,
20
+ Service: () => Service40,
21
+ layer: () => layer15,
22
+ node: () => node43
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -27,7 +27,7 @@ import { Context, Effect, Layer, Schema } from "effect";
27
27
  import { Event as Event6 } from "@opencode/schema/command";
28
28
  var Info6 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service44 extends Context.Service()("@opencode/Command") {
42
+ class Service40 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer17 = Layer.effect(Service44, Effect.gen(function* () {
45
- const bus = yield* Service83;
44
+ var layer15 = Layer.effect(Service40, Effect.gen(function* () {
45
+ const bus = yield* Service82;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -55,7 +55,7 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service44.of({
58
+ return Service40.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node46 = makeLocationNode({
75
- service: Service44,
76
- layer: layer17,
77
- deps: [node87]
74
+ var node43 = makeLocationNode({
75
+ service: Service40,
76
+ layer: layer15,
77
+ deps: [node86]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info6, NotFoundError6, ExecutionError2, Service44, layer17, node46, exports_command4, Event6 };
89
+ export { Info6, NotFoundError5, ExecutionError2, Service40, layer15, node43, exports_command4, Event6 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./reference-3v8g72cx.js";
3
+ } from "./managed-policy-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./reference-9rqn6x4v.js";
6
+ } from "./managed-policy-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp2 = {};
10
- __export(exports_mcp2, {
9
+ var exports_mcp = {};
10
+ __export(exports_mcp, {
11
11
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
- WebSearchMcp: () => exports_mcp2,
12
+ WebSearchMcp: () => exports_mcp,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./managed-policy-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service65
3
- } from "./reference-f79gec3w.js";
2
+ Service49
3
+ } from "./managed-policy-yj382vm2.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./reference-z5v4ffb3.js";
6
+ } from "./managed-policy-z5v4ffb3.js";
7
7
  import {
8
- Service79
9
- } from "./reference-tbv9z12t.js";
8
+ Service80
9
+ } from "./managed-policy-cc75tkym.js";
10
10
  import {
11
- Service64
12
- } from "./reference-1tdshpj3.js";
11
+ Service48
12
+ } from "./managed-policy-67gx64xn.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source3
17
- } from "./reference-7mnt2941.js";
16
+ Source4
17
+ } from "./managed-policy-4q8xb7vk.js";
18
18
  import {
19
19
  Service7
20
- } from "./reference-3cd9n481.js";
20
+ } from "./managed-policy-5tcm9639.js";
21
21
  import {
22
22
  parse2
23
- } from "./reference-z6sqrxtq.js";
23
+ } from "./managed-policy-d3y08a9a.js";
24
24
  import {
25
25
  __export
26
- } from "./reference-9rqn6x4v.js";
26
+ } from "./managed-policy-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill = {};
30
- __export(exports_skill, {
31
- ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin13
29
+ var exports_skill3 = {};
30
+ __export(exports_skill3, {
31
+ ConfigSkillPlugin: () => exports_skill3,
32
+ Plugin: () => Plugin43
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin13 = define({
39
+ var Plugin43 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service64;
42
+ const config = yield* Service48;
43
43
  const discovery = yield* Service7;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service79;
47
- const watcher = yield* Service65;
46
+ const location = yield* Service80;
47
+ const watcher = yield* Service49;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin13 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source3.equals(item, source)))
90
+ if (result.some((item) => Source4.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin13 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source3.key(source),
115
+ source: Source4.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin13 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source3.key(source),
144
+ source: Source4.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin13 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source3.key),
163
+ sources: current.map(Source4.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin13 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin13, exports_skill };
179
+ export { Plugin43, exports_skill3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./reference-qfa1cgps.js";
3
+ } from "./managed-policy-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./reference-z5v4ffb3.js";
5
+ } from "./managed-policy-z5v4ffb3.js";
6
6
  import {
7
- Service79,
8
- node83
9
- } from "./reference-tbv9z12t.js";
7
+ Service80,
8
+ node84
9
+ } from "./managed-policy-cc75tkym.js";
10
10
  import {
11
- Service20,
12
- node22
13
- } from "./reference-hdrn7jtd.js";
11
+ Service16,
12
+ node18
13
+ } from "./managed-policy-r3d0j56v.js";
14
14
  import {
15
15
  __export
16
- } from "./reference-9rqn6x4v.js";
16
+ } from "./managed-policy-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -31,13 +31,13 @@ __export(exports_filesystem, {
31
31
  GrepInput: () => GrepInput2,
32
32
  ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError3,
34
+ NotFoundError: () => NotFoundError2,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service19,
36
+ Service: () => Service15,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node21
40
+ node: () => node17
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -107,12 +107,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
107
107
  }
108
108
  var Event3 = FileSystem.Event;
109
109
 
110
- class Service19 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service15 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service79;
115
- const search = yield* Service20;
114
+ const location = yield* Service80;
115
+ const search = yield* Service16;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
129
129
  return yield* Effect.die(new Error("Path escapes the location"));
130
130
  return { absolute, real, directory: location.directory };
131
131
  });
132
- return Service19.of({
132
+ return Service15.of({
133
133
  find: search.find,
134
134
  read: Effect.fn("FileSystem.read")(function* (input) {
135
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
136
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
135
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
136
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
137
137
  if (info.type !== "File")
138
138
  return yield* Effect.die(new Error("Path is not a file"));
139
139
  return {
140
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
140
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
141
141
  mime: FSUtil.mimeType(target.real)
142
142
  };
143
143
  }),
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
166
166
  })
167
167
  });
168
168
  }));
169
- var node21 = makeLocationNode({
170
- service: Service19,
169
+ var node17 = makeLocationNode({
170
+ service: Service15,
171
171
  layer: baseLayer,
172
- deps: [FSUtil.node, node83, node22]
172
+ deps: [FSUtil.node, node84, node18]
173
173
  });
174
174
 
175
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service19, node21, exports_filesystem, Entry2, Match2, Submatch2 };
175
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./managed-policy-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./managed-policy-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./reference-z5v4ffb3.js";
3
+ } from "./managed-policy-z5v4ffb3.js";
4
4
  import {
5
- Info16
6
- } from "./reference-c20khjev.js";
5
+ Info13
6
+ } from "./managed-policy-cavr175a.js";
7
7
  import {
8
8
  __export
9
- } from "./reference-9rqn6x4v.js";
9
+ } from "./managed-policy-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info13
15
+ Info: () => Info12
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info16)
47
+ permission: Schema.optional(Info13)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info13 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info13, exports_agent3 };
74
+ export { Info12, exports_agent3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./managed-policy-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./reference-3w5fmr99.js";
7
+ } from "./managed-policy-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./reference-xyafkbt0.js";
11
+ } from "./managed-policy-xyafkbt0.js";
12
12
  import {
13
13
  create3
14
- } from "./reference-rdw6cm16.js";
14
+ } from "./managed-policy-rdw6cm16.js";
15
15
  import {
16
- Service68,
17
- node71
18
- } from "./reference-csmvz898.js";
16
+ Service39,
17
+ node42
18
+ } from "./managed-policy-y0mc46pw.js";
19
19
  import {
20
- Service60,
21
- node63
22
- } from "./reference-8mbscqky.js";
20
+ Service76,
21
+ node80
22
+ } from "./managed-policy-fqtvmpfq.js";
23
23
  import {
24
24
  match2
25
- } from "./reference-y1fvbwt7.js";
25
+ } from "./managed-policy-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./reference-9rqn6x4v.js";
28
+ } from "./managed-policy-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service49,
38
+ Service: () => Service38,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node51
41
+ node: () => node41
42
42
  });
43
43
  import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service49 extends Context.Service()("@opencode/Tool") {
54
+ class Service38 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service49, Effect.gen(function* () {
57
- const hooks = yield* Service60;
58
- const image = yield* Service68;
56
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
57
+ const hooks = yield* Service76;
58
+ const image = yield* Service39;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service49.of({
187
+ return Service38.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node51 = makeLocationNode({
277
- service: Service49,
276
+ var node41 = makeLocationNode({
277
+ service: Service38,
278
278
  layer,
279
- deps: [node63, node71]
279
+ deps: [node80, node42]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service49, node51, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service38, node41, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./reference-z5v4ffb3.js";
5
+ } from "./managed-policy-z5v4ffb3.js";
6
6
  import {
7
- Service50,
8
- node52
9
- } from "./reference-0a424z4m.js";
7
+ Service51,
8
+ node54
9
+ } from "./managed-policy-fw3mavjd.js";
10
10
  import {
11
11
  Content2
12
- } from "./reference-k16ae6jh.js";
12
+ } from "./managed-policy-3mentpw2.js";
13
13
  import {
14
14
  detect2
15
- } from "./reference-3smtnn6g.js";
15
+ } from "./managed-policy-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./reference-9rqn6x4v.js";
18
+ } from "./managed-policy-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service8,
36
+ Service: () => Service3,
37
37
  TextPage: () => TextPage2,
38
- node: () => node10,
38
+ node: () => node4,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service3 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service8, Effect.gen(function* () {
334
- const environment = yield* Service50;
335
- return Service8.of({
333
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
334
+ const environment = yield* Service51;
335
+ return Service3.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node10 = makeLocationNode({ service: Service8, layer, deps: [node52] });
340
+ var node4 = makeLocationNode({ service: Service3, layer, deps: [node54] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service3, read2, node4, exports_read_filesystem };