@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,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/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service65
3
- } from "./reference-f79gec3w.js";
2
+ Service49
3
+ } from "./managed-policy-yj382vm2.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./reference-rhjbct0v.js";
6
+ } from "./managed-policy-wv396vej.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./reference-z5v4ffb3.js";
9
+ } from "./managed-policy-z5v4ffb3.js";
10
10
  import {
11
11
  File2,
12
- Service67
13
- } from "./reference-avw4htaf.js";
12
+ Service42
13
+ } from "./managed-policy-q335xte2.js";
14
14
  import {
15
- Service79
16
- } from "./reference-tbv9z12t.js";
15
+ Service80
16
+ } from "./managed-policy-cc75tkym.js";
17
17
  import {
18
18
  __export
19
- } from "./reference-9rqn6x4v.js";
19
+ } from "./managed-policy-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin8
25
+ Plugin: () => Plugin35
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
30
30
  import { sameDirectory } from "@opencode/util/path";
31
31
  import { dirname, join } from "path";
32
32
  import { Effect, PubSub, Semaphore, Stream } from "effect";
33
- var Plugin8 = define({
33
+ var Plugin35 = define({
34
34
  id: "opencode.config.instruction",
35
35
  effect: Effect.fn(function* () {
36
- const discovery = yield* Service67;
36
+ const discovery = yield* Service42;
37
37
  if (!discovery.project && !discovery.global)
38
38
  return;
39
39
  yield* Effect.gen(function* () {
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
- const location = yield* Service79;
43
- const watcher = yield* Service65;
42
+ const location = yield* Service80;
43
+ const watcher = yield* Service49;
44
44
  const changes = yield* PubSub.sliding(1);
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  const start = yield* fs.resolve(location.directory);
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
115
115
  return [start, ...ancestorDirectories(dirname(start), stop)];
116
116
  }
117
117
 
118
- export { Plugin8, exports_instruction };
118
+ export { Plugin35, exports_instruction };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./managed-policy-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
9
  make: () => make14,
10
- render: () => render2
10
+ render: () => render3
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
30
30
 
31
31
  // src/session/system-prompt.ts
32
32
  function make14(tools) {
33
- return render2(system_default, tools);
33
+ return render3(system_default, tools);
34
34
  }
35
- function render2(prompt, tools) {
35
+ function render3(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render2, exports_system_prompt };
50
+ export { make14, render3, exports_system_prompt };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./reference-z5v4ffb3.js";
3
+ } from "./managed-policy-z5v4ffb3.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./reference-w36x1trb.js";
7
+ } from "./managed-policy-975ebawg.js";
8
+ import {
9
+ Service82,
10
+ node86
11
+ } from "./managed-policy-5dpktnqk.js";
8
12
  import {
9
13
  Service83,
10
14
  node87
11
- } from "./reference-b5hvc6g6.js";
12
- import {
13
- Service81,
14
- node85
15
- } from "./reference-r44petzp.js";
15
+ } from "./managed-policy-qqrjxc2w.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info28,
19
+ Info29,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event21,
22
22
  Vcs3
23
- } from "./reference-fpecnkgp.js";
23
+ } from "./managed-policy-v0es1rhs.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./reference-h2b79v29.js";
27
+ } from "./managed-policy-h2b79v29.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./reference-1dvck2a7.js";
30
+ } from "./managed-policy-1dvck2a7.js";
31
31
  import {
32
32
  __export
33
- } from "./reference-9rqn6x4v.js";
33
+ } from "./managed-policy-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID16,
40
- Info: () => Info27,
41
- NotFoundError: () => NotFoundError10,
39
+ ID: () => ID17,
40
+ Info: () => Info28,
41
+ NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service80,
43
+ Service: () => Service81,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node84,
46
+ node: () => node85,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID16 = ID17;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info27 = Info28;
61
+ var Info28 = Info29;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID16
64
+ class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service80 extends Context.Service()("@opencode/Project") {
75
+ class Service81 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,11 +95,11 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service80, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service81;
100
+ const git = yield* Service83;
101
101
  const proc = yield* AppProcess.Service;
102
- const bus = yield* Service83;
102
+ const bus = yield* Service82;
103
103
  const db = (yield* Service84).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event20.Updated, fromRow(row));
111
+ yield* bus.publish(Event21.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
145
145
  yield* bus.publish(Worktree.Event.Resolved, {
146
146
  projectID: item.projectID,
147
147
  directory: item.directory,
148
- previous: project.previous ?? ID16.global,
148
+ previous: project.previous ?? ID17.global,
149
149
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
150
150
  }, {
151
151
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
168
168
  time_updated: Date.now()
169
169
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
170
170
  if (!row)
171
- return yield* new NotFoundError10({ projectID: input.projectID });
171
+ return yield* new NotFoundError11({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event20.Updated, project);
173
+ yield* bus.publish(Event21.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event20.Updated, fromRow(row));
184
+ yield* bus.publish(Event21.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
187
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
199
199
  });
200
200
  function url(input) {
201
201
  const value = input.trim();
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
220
220
  }
221
221
  const rootCommit = Effect.fnUntraced(function* (repo) {
222
222
  const root = (yield* git.history.rootCommits(repo))[0];
223
- return root ? ID16.make(root) : undefined;
223
+ return root ? ID17.make(root) : undefined;
224
224
  });
225
225
  const hgRoot = Effect.fnUntraced(function* (worktree) {
226
226
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
236
236
  return;
237
237
  const node = result.stdout.toString("utf8").split(`
238
238
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
239
- return node ? ID16.make(node) : undefined;
239
+ return node ? ID17.make(node) : undefined;
240
240
  });
241
241
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
242
242
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID16.global,
248
+ id: id ?? ID17.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
262
262
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
263
263
  return yield* persist({
264
264
  previous,
265
- id: id ?? ID16.global,
265
+ id: id ?? ID17.global,
266
266
  directory: repo.worktree,
267
267
  canonical,
268
268
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID16.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service80.of({ list, update, activate, resolve });
285
+ return Service81.of({ list, update, activate, resolve });
286
286
  }));
287
- var node84 = makeGlobalNode({
288
- service: Service80,
287
+ var node85 = makeGlobalNode({
288
+ service: Service81,
289
289
  layer,
290
- deps: [node87, node88, FSUtil.node, node85, AppProcess.node]
290
+ deps: [node86, node88, FSUtil.node, node87, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError10, root2, Service80, node84, exports_project };
293
+ export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./reference-rdw6cm16.js";
3
+ } from "./managed-policy-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./reference-qaymkmh1.js";
6
+ } from "./managed-policy-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./reference-9rqn6x4v.js";
9
+ } from "./managed-policy-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options5,
15
- Service: () => Service48,
14
+ Options: () => Options10,
15
+ Service: () => Service68,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured5,
18
+ configured: () => configured10,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node50,
24
+ node: () => node71,
25
25
  ps: () => ps2,
26
- resolve: () => resolve2
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options5 = Schema.Struct({
46
+ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service48 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service68 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve2(input, configShell, options, bin) {
167
+ function resolve4(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve2.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service48, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service48, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service48.of({
202
+ return Service68.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured5(options) {
210
- return makeLocationNode({ service: Service48, layer: layer(options), deps: [Global.node] });
209
+ function configured10(options) {
210
+ return makeLocationNode({ service: Service68, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node50 = configured5();
212
+ var node71 = configured10();
213
213
 
214
- export { Options5, Service48, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured5, node50, exports_select };
214
+ export { Options10, Service68, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured10, node71, exports_select };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service79
3
- } from "./reference-tbv9z12t.js";
2
+ Service80
3
+ } from "./managed-policy-cc75tkym.js";
4
4
  import {
5
- Service64
6
- } from "./reference-1tdshpj3.js";
5
+ Service48
6
+ } from "./managed-policy-67gx64xn.js";
7
7
  import {
8
- Service18
9
- } from "./reference-9f35bx3k.js";
8
+ Service20
9
+ } from "./managed-policy-d6qjz85w.js";
10
10
  import {
11
- make4
12
- } from "./reference-mvfsc1pv.js";
11
+ make8
12
+ } from "./managed-policy-eq1pz5kg.js";
13
13
  import {
14
14
  observe2
15
- } from "./reference-qsdy395h.js";
15
+ } from "./managed-policy-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./reference-9rqn6x4v.js";
18
+ } from "./managed-policy-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/formatter.ts
21
21
  var exports_formatter = {};
22
22
  __export(exports_formatter, {
23
23
  ConfigFormatterPlugin: () => exports_formatter,
24
- Plugin: () => Plugin5
24
+ Plugin: () => Plugin37
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { FSUtil } from "@opencode/util/fs-util";
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
29
29
  import { Npm } from "@opencode/util/npm";
30
30
  import { AppProcess } from "@opencode/util/process";
31
31
  import { Effect } from "effect";
32
- var Plugin5 = define({
32
+ var Plugin37 = define({
33
33
  id: "opencode.config.formatter",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const config = yield* Service64;
36
- const formatter = yield* Service18;
35
+ const config = yield* Service48;
36
+ const formatter = yield* Service20;
37
37
  const fs = yield* FSUtil.Service;
38
38
  const global = yield* Global.Service;
39
- const location = yield* Service79;
39
+ const location = yield* Service80;
40
40
  const npm = yield* Npm.Service;
41
41
  const processes = yield* AppProcess.Service;
42
42
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -44,7 +44,7 @@ var Plugin5 = define({
44
44
  const configured = resolve(loaded.entries);
45
45
  if (!configured)
46
46
  return;
47
- const builtIns = make4({
47
+ const builtIns = make8({
48
48
  directory: location.directory,
49
49
  worktree: location.project.directory,
50
50
  fs,
@@ -85,4 +85,4 @@ function resolve(entries) {
85
85
  }, undefined);
86
86
  }
87
87
 
88
- export { Plugin5, exports_formatter };
88
+ export { Plugin37, exports_formatter };
@@ -1,10 +1,10 @@
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
  __export
7
- } from "./reference-9rqn6x4v.js";
7
+ } from "./managed-policy-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event21,
15
+ Event: () => Event16,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID18,
20
- Info: () => Info29,
19
+ ID: () => ID10,
20
+ Info: () => Info20,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError11,
24
- Reply: () => Reply3,
25
- Service: () => Service82,
23
+ NotFoundError: () => NotFoundError7,
24
+ Reply: () => Reply2,
25
+ Service: () => Service66,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node86,
28
+ layer: () => layer23,
29
+ node: () => node69,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event21 } from "@opencode/schema/form";
36
+ import { Event as Event16 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID18 = Form.ID;
39
- var Info29 = Form.Info;
38
+ var ID10 = Form.ID;
39
+ var Info20 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply3 = Form.Reply;
45
+ var Reply2 = Form.Reply;
46
46
 
47
- class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID18
47
+ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID10
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID18
56
+ id: ID10
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID18
64
+ id: ID10
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID18,
72
+ id: ID10,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service82 extends Context.Service()("@opencode/Form") {
82
+ class Service66 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service82, Effect.gen(function* () {
85
- const bus = yield* Service83;
84
+ var layer23 = Layer.effect(Service66, Effect.gen(function* () {
85
+ const bus = yield* Service82;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID18.create();
93
+ const id = input.id ?? ID10.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service82, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service82.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service66.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node86 = makeLocationNode({ service: Service82, layer: layer25, deps: [node87] });
167
+ var node69 = makeLocationNode({ service: Service66, layer: layer23, deps: [node86] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID18, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer25, node86, validateAnswer2, validateFields2, exports_form, Event21 };
319
+ export { ID10, Info20, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service66, layer23, node69, validateAnswer2, validateFields2, exports_form, Event16 };