@opencode/core 0.0.0-dev-20686 → 0.0.0-dev-20688

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 +79 -79
  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/{file-retention-dhxjrn4z.js → permission-0e0fe8yx.js} +9 -9
  8. package/dist/chunks/{file-retention-8qyxgmca.js → permission-0escwrsj.js} +11 -11
  9. package/dist/chunks/{file-retention-0paq2nw3.js → permission-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{file-retention-0vbcp93d.js → permission-0vbcp93d.js} +2 -2
  11. package/dist/chunks/{file-retention-30846h32.js → permission-0xezjjjn.js} +8 -8
  12. package/dist/chunks/{file-retention-04b42xsk.js → permission-10dv2xfs.js} +43 -43
  13. package/dist/chunks/{file-retention-0q5g7n77.js → permission-194t0rba.js} +22 -22
  14. package/dist/chunks/{file-retention-1dazxqgg.js → permission-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{file-retention-1dvck2a7.js → permission-1dvck2a7.js} +2 -2
  16. package/dist/chunks/{file-retention-d9wzmzc3.js → permission-1nwxscpy.js} +5 -5
  17. package/dist/chunks/{file-retention-33kqnb84.js → permission-1q5xzxex.js} +17 -17
  18. package/dist/chunks/{file-retention-mbt5cw93.js → permission-1t5dys3y.js} +13 -13
  19. package/dist/chunks/{file-retention-j7ektg2c.js → permission-1vasm310.js} +46 -46
  20. package/dist/chunks/{file-retention-rjk8fnxb.js → permission-1y7qakgj.js} +35 -35
  21. package/dist/chunks/{file-retention-rf6cmkn1.js → permission-1y9xp183.js} +11 -11
  22. package/dist/chunks/{file-retention-a1ekkk6g.js → permission-1yqzzd83.js} +10 -10
  23. package/dist/chunks/{file-retention-j57qcdj3.js → permission-1ywvxz94.js} +17 -17
  24. package/dist/chunks/{file-retention-2a5m3afh.js → permission-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{file-retention-w14eggg5.js → permission-2ebsrpgv.js} +17 -17
  26. package/dist/chunks/{file-retention-gj10t9en.js → permission-2fhksyd5.js} +30 -30
  27. package/dist/chunks/{file-retention-f5gy8qwh.js → permission-2k64ycz1.js} +8 -8
  28. package/dist/chunks/{file-retention-x9qn77dj.js → permission-2t17veph.js} +35 -35
  29. package/dist/chunks/{file-retention-1n632r5x.js → permission-2xnzgjvn.js} +3 -3
  30. package/dist/chunks/{file-retention-kqx66hb9.js → permission-36nz8rj0.js} +26 -26
  31. package/dist/chunks/{file-retention-3fc6dm20.js → permission-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{file-retention-3hepkmqq.js → permission-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{file-retention-9jwk2z16.js → permission-3p7z255n.js} +28 -28
  34. package/dist/chunks/{file-retention-n1n192bv.js → permission-3sj8yt8v.js} +4 -4
  35. package/dist/chunks/{file-retention-3smtnn6g.js → permission-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{file-retention-3tvqynh2.js → permission-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{file-retention-3zsf4n22.js → permission-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{file-retention-zcs7pzqw.js → permission-41mbax9f.js} +26 -26
  39. package/dist/chunks/{file-retention-arz7hw7x.js → permission-4a7gy6vj.js} +2 -2
  40. package/dist/chunks/{file-retention-cpqeyayh.js → permission-4ad028th.js} +6 -6
  41. package/dist/chunks/{file-retention-na6tqg4t.js → permission-4cay6e5n.js} +21 -21
  42. package/dist/chunks/{file-retention-ae3ekk0y.js → permission-4hjzyf7t.js} +21 -21
  43. package/dist/chunks/{file-retention-f9nevmwk.js → permission-4j24z8gn.js} +11 -11
  44. package/dist/chunks/{file-retention-n37c4crj.js → permission-4nj4bn9q.js} +8 -8
  45. package/dist/chunks/{file-retention-4ts7tf6z.js → permission-4ts7tf6z.js} +2 -2
  46. package/dist/chunks/{file-retention-820kspmq.js → permission-4x0gkadg.js} +22 -22
  47. package/dist/chunks/{file-retention-ptx056q3.js → permission-4za9axf7.js} +20 -20
  48. package/dist/chunks/{file-retention-54ma36ye.js → permission-54ma36ye.js} +1 -1
  49. package/dist/chunks/{file-retention-vbpjx0bg.js → permission-55p2ap5f.js} +5 -5
  50. package/dist/chunks/{file-retention-qykya8vg.js → permission-5bdqp5q2.js} +30 -30
  51. package/dist/chunks/{file-retention-5daktx2q.js → permission-5daktx2q.js} +1 -1
  52. package/dist/chunks/{file-retention-5m9w47nd.js → permission-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{file-retention-5a9zanfr.js → permission-5qevsstt.js} +39 -39
  54. package/dist/chunks/{file-retention-5t3nmthw.js → permission-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{file-retention-gh5z95q3.js → permission-5tcm9639.js} +9 -9
  56. package/dist/chunks/{file-retention-s6d08xqn.js → permission-5v0382rn.js} +8 -8
  57. package/dist/chunks/{file-retention-ey888tbp.js → permission-5vevbavy.js} +15 -15
  58. package/dist/chunks/{file-retention-3g8j9he4.js → permission-5w9yjztw.js} +1 -1
  59. package/dist/chunks/{file-retention-ytkq3k3g.js → permission-60h8n1mb.js} +9 -9
  60. package/dist/chunks/{file-retention-7jc2cdj1.js → permission-62p5vnps.js} +12 -12
  61. package/dist/chunks/{file-retention-2ma8f05f.js → permission-64ft88kd.js} +27 -27
  62. package/dist/chunks/{file-retention-jbtmhr82.js → permission-6bax3wfe.js} +11 -11
  63. package/dist/chunks/permission-6h37vygj.js +18 -0
  64. package/dist/chunks/{file-retention-wtdswasp.js → permission-6h72t1h6.js} +10 -10
  65. package/dist/chunks/{file-retention-x0r517r6.js → permission-6jyk02px.js} +14 -14
  66. package/dist/chunks/{file-retention-9ye852qw.js → permission-6m32jaa6.js} +10 -10
  67. package/dist/chunks/{file-retention-4ffr5ypj.js → permission-6p20k3wd.js} +28 -28
  68. package/dist/chunks/{file-retention-6cj95z3h.js → permission-6sgfaakk.js} +23 -23
  69. package/dist/chunks/{file-retention-at46jfrx.js → permission-6tnrh5ya.js} +22 -22
  70. package/dist/chunks/{file-retention-6xb47vfp.js → permission-6xb47vfp.js} +1 -1
  71. package/dist/chunks/{file-retention-71az546q.js → permission-71az546q.js} +2 -2
  72. package/dist/chunks/{file-retention-0f5x9ggt.js → permission-71ct72cd.js} +4 -4
  73. package/dist/chunks/{file-retention-23kkzav6.js → permission-72n81e5t.js} +15 -15
  74. package/dist/chunks/{file-retention-kjwsf0xt.js → permission-7332sqjz.js} +15 -15
  75. package/dist/chunks/{file-retention-70he5k1a.js → permission-77jgmqn4.js} +18 -18
  76. package/dist/chunks/{file-retention-cwa6csj7.js → permission-79qaa2kf.js} +9 -9
  77. package/dist/chunks/{file-retention-fda9q8n1.js → permission-7a87wzr4.js} +27 -27
  78. package/dist/chunks/{file-retention-7bmhse3q.js → permission-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{file-retention-pmzay1jn.js → permission-7dhnq9pm.js} +37 -37
  80. package/dist/chunks/{file-retention-83wsadg5.js → permission-7jpwzvts.js} +12 -12
  81. package/dist/chunks/{file-retention-vr81r1wp.js → permission-7jtnznqz.js} +8 -8
  82. package/dist/chunks/{file-retention-3rndcht0.js → permission-7kdajcy6.js} +86 -86
  83. package/dist/chunks/{file-retention-w9c6j00y.js → permission-7m6c6kjp.js} +29 -29
  84. package/dist/chunks/{file-retention-938z0aze.js → permission-7t7dp16p.js} +23 -23
  85. package/dist/chunks/{file-retention-hkw265ex.js → permission-7xqm7vez.js} +82 -82
  86. package/dist/chunks/{file-retention-w1eejvng.js → permission-84txncab.js} +5 -5
  87. package/dist/chunks/{file-retention-8d7r5vzw.js → permission-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{file-retention-j8d73t99.js → permission-8vs0yxbt.js} +42 -42
  89. package/dist/chunks/{file-retention-4jvpaqy4.js → permission-8x7y6wyf.js} +32 -32
  90. package/dist/chunks/{file-retention-094k6nq6.js → permission-8y4537ag.js} +16 -16
  91. package/dist/chunks/{file-retention-bfzhmb2g.js → permission-8yan9qxg.js} +23 -23
  92. package/dist/chunks/{file-retention-ve6nm2s5.js → permission-9ae44cfy.js} +6 -6
  93. package/dist/chunks/{file-retention-9e5bzkjp.js → permission-9e5bzkjp.js} +3 -3
  94. package/dist/chunks/permission-9ekewq9g.js +253 -0
  95. package/dist/chunks/{file-retention-64dv7wa4.js → permission-9mjxwsxw.js} +13 -13
  96. package/dist/chunks/{file-retention-s8d7rejh.js → permission-9t7a50xb.js} +4 -4
  97. package/dist/chunks/{file-retention-9qrc8kph.js → permission-a41s0txc.js} +5 -5
  98. package/dist/chunks/{file-retention-2c25w9p0.js → permission-a8nwbtm7.js} +4 -4
  99. package/dist/chunks/{file-retention-aaet6srn.js → permission-aaet6srn.js} +2 -2
  100. package/dist/chunks/{file-retention-edexehs9.js → permission-abgm0z3p.js} +28 -28
  101. package/dist/chunks/{file-retention-mxvxcxwy.js → permission-addxnjmp.js} +4 -4
  102. package/dist/chunks/{file-retention-zzmbjfh5.js → permission-aeqh8ayv.js} +3 -3
  103. package/dist/chunks/{file-retention-mdyte87w.js → permission-b209fthr.js} +4 -4
  104. package/dist/chunks/{file-retention-b3f8fkhc.js → permission-b3f8fkhc.js} +2 -2
  105. package/dist/chunks/{file-retention-9fyy27dk.js → permission-b4n2fnz4.js} +32 -32
  106. package/dist/chunks/{file-retention-b6gygkdw.js → permission-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{file-retention-kd48n5vs.js → permission-b8z51b6b.js} +9 -9
  108. package/dist/chunks/{file-retention-4y79czg2.js → permission-b92n5frd.js} +16 -16
  109. package/dist/chunks/{file-retention-ygrct2xs.js → permission-b9dn5hn6.js} +29 -29
  110. package/dist/chunks/{file-retention-srq67sk8.js → permission-bcnrsvht.js} +5 -5
  111. package/dist/chunks/{file-retention-nxb06eb5.js → permission-bddzygnv.js} +11 -11
  112. package/dist/chunks/{file-retention-hwgkyev7.js → permission-bfdd4cb4.js} +10 -10
  113. package/dist/chunks/{file-retention-w49382pb.js → permission-bh0zzf2s.js} +8 -8
  114. package/dist/chunks/{file-retention-50fv3yjs.js → permission-by8n9qt3.js} +22 -22
  115. package/dist/chunks/{file-retention-zm4ck3vc.js → permission-c2dh82xc.js} +15 -15
  116. package/dist/chunks/{file-retention-zafm009k.js → permission-c44f928x.js} +4 -4
  117. package/dist/chunks/{file-retention-904an80t.js → permission-c9q7qt0j.js} +18 -18
  118. package/dist/chunks/{file-retention-s609sw4r.js → permission-cac7ewr5.js} +13 -13
  119. package/dist/chunks/{file-retention-2pbjjxkv.js → permission-cfsjj92n.js} +10 -10
  120. package/dist/chunks/{file-retention-dktpvhqt.js → permission-cgfw62c1.js} +36 -36
  121. package/dist/chunks/{file-retention-4j03jpg8.js → permission-d381vkkz.js} +3 -3
  122. package/dist/chunks/{file-retention-g0wmaxy9.js → permission-d602qkab.js} +25 -25
  123. package/dist/chunks/{file-retention-d3r92nc5.js → permission-dcsqhe5p.js} +16 -16
  124. package/dist/chunks/{file-retention-gd9q1fb3.js → permission-dcxc4avz.js} +11 -11
  125. package/dist/chunks/{file-retention-yvgnd6da.js → permission-dgb6jywt.js} +5 -5
  126. package/dist/chunks/{file-retention-750g53k3.js → permission-dka3w8mh.js} +32 -32
  127. package/dist/chunks/{file-retention-1ffbm2jk.js → permission-dp98172p.js} +11 -11
  128. package/dist/chunks/{file-retention-dpkg50ah.js → permission-dpkg50ah.js} +1 -1
  129. package/dist/chunks/{file-retention-yb1jef8c.js → permission-dv3pa25w.js} +11 -11
  130. package/dist/chunks/{file-retention-jrpn6x2x.js → permission-e0qhp09y.js} +15 -15
  131. package/dist/chunks/{file-retention-krp44vcd.js → permission-e1my5csp.js} +42 -42
  132. package/dist/chunks/{file-retention-y5nh7e22.js → permission-e6bjgdpg.js} +11 -11
  133. package/dist/chunks/{file-retention-03xyy9gs.js → permission-ec3traks.js} +6 -6
  134. package/dist/chunks/{file-retention-ef5x83kb.js → permission-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{file-retention-64yxt7jn.js → permission-ept765rp.js} +15 -15
  136. package/dist/chunks/{file-retention-3ss2yntf.js → permission-eq1hrfg7.js} +13 -13
  137. package/dist/chunks/{file-retention-be4ddzaj.js → permission-er1qgfv5.js} +23 -23
  138. package/dist/chunks/{file-retention-etq0c3wd.js → permission-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{file-retention-znqtm8yx.js → permission-ev8h0xdf.js} +13 -13
  140. package/dist/chunks/permission-evmw8smx.js +26 -0
  141. package/dist/chunks/{file-retention-r6qhg5cx.js → permission-f08ext3y.js} +18 -18
  142. package/dist/chunks/{file-retention-7c5mdn1c.js → permission-fcwad6q9.js} +9 -9
  143. package/dist/chunks/{file-retention-n7m69k8w.js → permission-fgpjp61f.js} +12 -12
  144. package/dist/chunks/{file-retention-g8pw0xsb.js → permission-fh55fhvv.js} +18 -18
  145. package/dist/chunks/{file-retention-2e6ycnq2.js → permission-fp7za5pf.js} +4 -4
  146. package/dist/chunks/{file-retention-0aneshm7.js → permission-fv6ke7h7.js} +17 -17
  147. package/dist/chunks/{file-retention-bgapsv9a.js → permission-fvqrnts2.js} +72 -72
  148. package/dist/chunks/{file-retention-5bvv5wt0.js → permission-fzv62hvw.js} +12 -12
  149. package/dist/chunks/{file-retention-gq1kxapj.js → permission-g49y9ve0.js} +22 -22
  150. package/dist/chunks/permission-g769z57k.js +507 -0
  151. package/dist/chunks/{file-retention-3yef2cta.js → permission-g98wbq2x.js} +8 -8
  152. package/dist/chunks/{file-retention-gd4qta3r.js → permission-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{file-retention-b674v2dg.js → permission-gj71zhbs.js} +5 -5
  154. package/dist/chunks/{file-retention-kr41r1s2.js → permission-gp7q2fb6.js} +37 -37
  155. package/dist/chunks/{file-retention-dagpcw60.js → permission-grrb6rgh.js} +11 -11
  156. package/dist/chunks/{file-retention-09hj56x9.js → permission-gwvgyx32.js} +35 -35
  157. package/dist/chunks/{file-retention-h2b79v29.js → permission-h2b79v29.js} +2 -2
  158. package/dist/chunks/{file-retention-q0n3fxgm.js → permission-h2nd8448.js} +3 -3
  159. package/dist/chunks/{file-retention-srm8s2qm.js → permission-h5xe2w86.js} +11 -11
  160. package/dist/chunks/{file-retention-h6vf3j39.js → permission-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{file-retention-acw72k0x.js → permission-h8k3cc2z.js} +9 -9
  162. package/dist/chunks/{file-retention-pasrzgnm.js → permission-hnfjkn81.js} +11 -11
  163. package/dist/chunks/{file-retention-d1wgwwpz.js → permission-hqy46avb.js} +31 -31
  164. package/dist/chunks/{file-retention-cstv7mkv.js → permission-hs1x7rht.js} +12 -12
  165. package/dist/chunks/{file-retention-b929sp55.js → permission-htpvgqrd.js} +8 -8
  166. package/dist/chunks/{file-retention-crgh4fce.js → permission-hvcytzw6.js} +3 -3
  167. package/dist/chunks/{file-retention-jantjze8.js → permission-hwqmtcgc.js} +175 -175
  168. package/dist/chunks/{file-retention-mhkvc446.js → permission-j028xdjb.js} +3 -3
  169. package/dist/chunks/{file-retention-pvr6cp49.js → permission-j1wcwcqm.js} +1 -1
  170. package/dist/chunks/{file-retention-ybqw3e3v.js → permission-j4jzm50g.js} +3 -3
  171. package/dist/chunks/{file-retention-j56e64zr.js → permission-j56e64zr.js} +1 -1
  172. package/dist/chunks/{file-retention-2x9pw9ke.js → permission-j7g61wp1.js} +11 -11
  173. package/dist/chunks/{file-retention-zwrdb9pw.js → permission-j8n9y25r.js} +18 -18
  174. package/dist/chunks/{file-retention-hm31tfx1.js → permission-jasp3a05.js} +1 -1
  175. package/dist/chunks/{file-retention-17sdckqj.js → permission-jbgk0j3b.js} +37 -37
  176. package/dist/chunks/{file-retention-8h3wwz5z.js → permission-jct8zyk7.js} +8 -8
  177. package/dist/chunks/{file-retention-473qxj02.js → permission-jf6zwwv4.js} +12 -12
  178. package/dist/chunks/{file-retention-wknvrshc.js → permission-k1ez0b74.js} +15 -15
  179. package/dist/chunks/{file-retention-0eb38e45.js → permission-k6dq1brx.js} +24 -24
  180. package/dist/chunks/{file-retention-dzbjpkzp.js → permission-kd4hf263.js} +6 -6
  181. package/dist/chunks/{file-retention-fqy13z6k.js → permission-kegfba9d.js} +7 -7
  182. package/dist/chunks/{file-retention-wmns5nf0.js → permission-keykcebr.js} +4 -4
  183. package/dist/chunks/{file-retention-xe9nhgdy.js → permission-kk8nc0y1.js} +32 -32
  184. package/dist/chunks/{file-retention-fa9q739j.js → permission-kp71p0cs.js} +16 -16
  185. package/dist/chunks/{file-retention-205pr9zd.js → permission-kpgf9q78.js} +48 -48
  186. package/dist/chunks/{file-retention-ey8ksrh3.js → permission-ktbyy5ev.js} +32 -32
  187. package/dist/chunks/{file-retention-dpw5yek7.js → permission-kx5fe73z.js} +5 -5
  188. package/dist/chunks/{file-retention-he1kwnjy.js → permission-kxq2p9qz.js} +18 -18
  189. package/dist/chunks/{file-retention-g7bg1e3j.js → permission-kzb338hs.js} +1 -1
  190. package/dist/chunks/{file-retention-m3fdjcah.js → permission-m3fdjcah.js} +1 -1
  191. package/dist/chunks/{file-retention-hwm35mvz.js → permission-m7ddwx6z.js} +5 -5
  192. package/dist/chunks/{file-retention-m9w0rfyh.js → permission-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{file-retention-33w4ejhs.js → permission-mfqp6xfm.js} +9 -9
  194. package/dist/chunks/{file-retention-mjymc32g.js → permission-mjymc32g.js} +1 -1
  195. package/dist/chunks/{file-retention-0pgs73yf.js → permission-mrdraj1e.js} +45 -45
  196. package/dist/chunks/{file-retention-v71jy9y0.js → permission-n16w7qmw.js} +11 -11
  197. package/dist/chunks/{file-retention-wtqemd4y.js → permission-ngvvcwvc.js} +9 -9
  198. package/dist/chunks/{file-retention-3bc8czyk.js → permission-nyqx1cb3.js} +5 -5
  199. package/dist/chunks/{file-retention-1f0b6d85.js → permission-p1ebg76v.js} +21 -21
  200. package/dist/chunks/{file-retention-g2arkee0.js → permission-p1mtf012.js} +1 -1
  201. package/dist/chunks/{file-retention-1ajx6rf5.js → permission-p37cw4rj.js} +8 -8
  202. package/dist/chunks/{file-retention-mv92nc0c.js → permission-p9bmne11.js} +33 -33
  203. package/dist/chunks/{file-retention-hh66qvd1.js → permission-pdtchp93.js} +39 -39
  204. package/dist/chunks/{file-retention-xsgjgyxe.js → permission-pgdq0m2s.js} +8 -8
  205. package/dist/chunks/{file-retention-pgp1nwjn.js → permission-pgp1nwjn.js} +1 -1
  206. package/dist/chunks/{file-retention-f76zd4y3.js → permission-pgr4yc5g.js} +25 -25
  207. package/dist/chunks/{file-retention-pjvnvgmy.js → permission-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{file-retention-pknna89w.js → permission-pknna89w.js} +1 -1
  209. package/dist/chunks/{file-retention-7qnnmmsd.js → permission-pq1y2hcf.js} +3 -3
  210. package/dist/chunks/{file-retention-8sze2n9a.js → permission-py3kkmfq.js} +6 -6
  211. package/dist/chunks/{file-retention-q0xm7vwc.js → permission-q0xm7vwc.js} +2 -2
  212. package/dist/chunks/{file-retention-vczt2j2e.js → permission-q13qta0d.js} +3 -3
  213. package/dist/chunks/{file-retention-myekv2e1.js → permission-q1c6gfm2.js} +15 -15
  214. package/dist/chunks/{file-retention-3qhw393j.js → permission-qekf5hrq.js} +24 -24
  215. package/dist/chunks/{file-retention-qgn6gcr1.js → permission-qgn6gcr1.js} +1 -1
  216. package/dist/chunks/{file-retention-h41w6thw.js → permission-qn2n7y4a.js} +22 -22
  217. package/dist/chunks/{file-retention-qnc92qwc.js → permission-qnc92qwc.js} +1 -1
  218. package/dist/chunks/{file-retention-qsdy395h.js → permission-qsdy395h.js} +1 -1
  219. package/dist/chunks/{file-retention-xyafkbt0.js → permission-qxjc9qry.js} +3 -3
  220. package/dist/chunks/{file-retention-6r09hpxq.js → permission-r4911mqy.js} +32 -32
  221. package/dist/chunks/{file-retention-xnj07x5h.js → permission-rant3mzz.js} +19 -19
  222. package/dist/chunks/{file-retention-jvm6vmtm.js → permission-rbajd19e.js} +8 -8
  223. package/dist/chunks/{file-retention-34x5nqhx.js → permission-rcn26dve.js} +7 -7
  224. package/dist/chunks/{file-retention-rdw6cm16.js → permission-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{file-retention-a2x2qtap.js → permission-rjvz70e4.js} +35 -35
  226. package/dist/chunks/{file-retention-6ykcajx2.js → permission-s1aw5bev.js} +32 -32
  227. package/dist/chunks/{file-retention-gdgxkkph.js → permission-s6zybq5r.js} +16 -16
  228. package/dist/chunks/{file-retention-mna3rst0.js → permission-sbgmbffx.js} +11 -11
  229. package/dist/chunks/{file-retention-k0v1pxzb.js → permission-sgehztvb.js} +24 -24
  230. package/dist/chunks/{file-retention-a8skskqr.js → permission-spe59mq4.js} +33 -33
  231. package/dist/chunks/{file-retention-jvf3yq6v.js → permission-t2az9yje.js} +4 -4
  232. package/dist/chunks/{file-retention-13e7bc6k.js → permission-t6x88b6v.js} +8 -8
  233. package/dist/chunks/{file-retention-5ryzkr0h.js → permission-t7k4jxvs.js} +23 -23
  234. package/dist/chunks/{file-retention-wsb67xeh.js → permission-t9ew0xaf.js} +9 -9
  235. package/dist/chunks/{file-retention-tazgh4e4.js → permission-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{file-retention-89znhe33.js → permission-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{file-retention-tdstcens.js → permission-tdstcens.js} +1 -1
  238. package/dist/chunks/{file-retention-sxz6gkc3.js → permission-tkmwgdpd.js} +4 -4
  239. package/dist/chunks/{file-retention-5dxg2j8v.js → permission-tvrc96b9.js} +9 -9
  240. package/dist/chunks/{file-retention-rzwhqm3a.js → permission-tzd3vmzq.js} +3 -3
  241. package/dist/chunks/{file-retention-tg7bkhef.js → permission-v0es1rhs.js} +7 -7
  242. package/dist/chunks/{file-retention-46gkjvds.js → permission-v8t3y0s4.js} +55 -55
  243. package/dist/chunks/{file-retention-1ph8kh9q.js → permission-vdaa9jq8.js} +44 -44
  244. package/dist/chunks/{file-retention-veqvce7d.js → permission-veqvce7d.js} +1 -1
  245. package/dist/chunks/{file-retention-03ewy0w1.js → permission-vk0x6560.js} +22 -22
  246. package/dist/chunks/{file-retention-y5chagx8.js → permission-vmjkjp9j.js} +29 -29
  247. package/dist/chunks/{file-retention-8rg5szvb.js → permission-vn72gsba.js} +4 -4
  248. package/dist/chunks/{file-retention-fa14k2vq.js → permission-vn9jm4n9.js} +6 -6
  249. package/dist/chunks/{file-retention-vzs5sf6e.js → permission-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{file-retention-nqxj0yn4.js → permission-w0tfgnf2.js} +2 -2
  251. package/dist/chunks/{file-retention-a1dq5efv.js → permission-w2a3dqpw.js} +7 -7
  252. package/dist/chunks/{file-retention-57myy5jh.js → permission-w39jehkq.js} +5 -5
  253. package/dist/chunks/{file-retention-w3wsvvr9.js → permission-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{file-retention-2ymj8j9z.js → permission-w6yct1ma.js} +8 -8
  255. package/dist/chunks/{file-retention-yq3jnmtb.js → permission-wchyddks.js} +5 -5
  256. package/dist/chunks/{file-retention-wd87259q.js → permission-wd87259q.js} +1 -1
  257. package/dist/chunks/{file-retention-mbf8d5kt.js → permission-wdzwwd6b.js} +12 -12
  258. package/dist/chunks/{file-retention-5kw0n2ma.js → permission-wh3mwy9y.js} +8 -8
  259. package/dist/chunks/{file-retention-09fyqd88.js → permission-wqkxk58t.js} +11 -11
  260. package/dist/chunks/{file-retention-6ny0zgt8.js → permission-wy8aqc21.js} +17 -17
  261. package/dist/chunks/{file-retention-y072d9hw.js → permission-wya7aw3d.js} +3 -3
  262. package/dist/chunks/{file-retention-x9hm1kyg.js → permission-wysk03ww.js} +25 -25
  263. package/dist/chunks/{file-retention-r6pqrcmr.js → permission-x10hayvc.js} +27 -27
  264. package/dist/chunks/{file-retention-37p191wt.js → permission-x28x78cy.js} +2 -2
  265. package/dist/chunks/{file-retention-m7g7tjth.js → permission-x4v5kfsj.js} +26 -26
  266. package/dist/chunks/{file-retention-xfkkasph.js → permission-xfkkasph.js} +1 -1
  267. package/dist/chunks/{file-retention-1m3hxyx8.js → permission-xhj2809n.js} +50 -50
  268. package/dist/chunks/{file-retention-xkntkrq7.js → permission-xkntkrq7.js} +2 -2
  269. package/dist/chunks/{file-retention-bcb25nnb.js → permission-xt6xxsa8.js} +19 -19
  270. package/dist/chunks/{file-retention-tx92n959.js → permission-xxndcd6m.js} +4 -4
  271. package/dist/chunks/{file-retention-y1fvbwt7.js → permission-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{file-retention-cd4hwype.js → permission-y1ha0vpq.js} +38 -38
  273. package/dist/chunks/{file-retention-n2srvep7.js → permission-y6mhz57t.js} +4 -4
  274. package/dist/chunks/{file-retention-rhraev7y.js → permission-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{file-retention-8sy4spaq.js → permission-ytd2x2sg.js} +41 -41
  276. package/dist/chunks/{file-retention-z0bkrqjs.js → permission-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{file-retention-5xrkpdm9.js → permission-z1apv2nw.js} +27 -27
  278. package/dist/chunks/{file-retention-vnn4j5gh.js → permission-z5vtzp1p.js} +9 -9
  279. package/dist/chunks/{file-retention-jahc66mj.js → permission-zd8pcyp5.js} +12 -12
  280. package/dist/chunks/{file-retention-zz29563v.js → permission-zmeaqj18.js} +24 -24
  281. package/dist/chunks/{file-retention-zr2ceqn5.js → permission-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{file-retention-hes1j7ga.js → permission-zvwz45r0.js} +9 -9
  283. package/dist/chunks/{file-retention-zxq2ej10.js → permission-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +117 -117
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +81 -81
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +3 -3
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +11 -11
  421. package/dist/filesystem.js +106 -106
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +103 -103
  466. package/dist/mcp/instructions.js +127 -127
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +102 -102
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +78 -78
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +105 -105
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +86 -86
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +76 -76
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +115 -115
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +114 -114
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +114 -114
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +72 -72
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +4 -4
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +99 -99
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +99 -99
  557. package/dist/reference/instructions.js +87 -87
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +2 -2
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +3 -3
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +201 -201
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +211 -211
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +105 -105
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +89 -89
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +206 -206
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +16 -16
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +1 -1
  662. package/dist/v1/config/plugin.js +1 -1
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +79 -79
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/file-retention-q4txbv8h.js +0 -507
  681. package/dist/chunks/file-retention-q509s3k3.js +0 -18
  682. package/dist/chunks/file-retention-qssvdjk7.js +0 -26
  683. package/dist/chunks/file-retention-r199w3eq.js +0 -253
  684. /package/dist/chunks/{file-retention-0qkdqm5v.js → permission-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{file-retention-0zkw76rk.js → permission-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{file-retention-17cy0kzp.js → permission-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{file-retention-1cnp2v09.js → permission-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{file-retention-1kg9ymc8.js → permission-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{file-retention-24dcb14g.js → permission-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{file-retention-2710q6r3.js → permission-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{file-retention-2axfhc9x.js → permission-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{file-retention-2c3vjs8z.js → permission-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{file-retention-34c7v6d4.js → permission-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{file-retention-359p4xyc.js → permission-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{file-retention-3asan66x.js → permission-3asan66x.js} +0 -0
  696. /package/dist/chunks/{file-retention-3t0ybcrp.js → permission-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{file-retention-3v8g72cx.js → permission-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{file-retention-3w5fmr99.js → permission-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{file-retention-3wcehsnq.js → permission-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{file-retention-43n2bw4t.js → permission-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{file-retention-4knz6hnm.js → permission-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{file-retention-4vcrnpx2.js → permission-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{file-retention-4y7fprxs.js → permission-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{file-retention-53557ph1.js → permission-53557ph1.js} +0 -0
  705. /package/dist/chunks/{file-retention-550bvhaj.js → permission-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{file-retention-5qd3pb7m.js → permission-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{file-retention-6prwharc.js → permission-6prwharc.js} +0 -0
  708. /package/dist/chunks/{file-retention-6q2bdcd1.js → permission-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{file-retention-7akdwqpd.js → permission-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{file-retention-7m9af43g.js → permission-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{file-retention-822emrt2.js → permission-822emrt2.js} +0 -0
  712. /package/dist/chunks/{file-retention-88xbtdfr.js → permission-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{file-retention-8n3pysct.js → permission-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{file-retention-8wj87zfr.js → permission-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{file-retention-9a4afbnw.js → permission-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{file-retention-9rqn6x4v.js → permission-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{file-retention-a6k6eb26.js → permission-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{file-retention-af5trqkr.js → permission-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{file-retention-afrmfg78.js → permission-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{file-retention-aqzs7mqg.js → permission-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{file-retention-atq7p7m5.js → permission-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{file-retention-bkyjaxrp.js → permission-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{file-retention-bmr6ed5q.js → permission-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{file-retention-cf4snx6d.js → permission-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{file-retention-cvy3z8tj.js → permission-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{file-retention-d9fn303g.js → permission-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{file-retention-d9jj8t3e.js → permission-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{file-retention-dajrwvna.js → permission-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{file-retention-dap0rakb.js → permission-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{file-retention-df08tz66.js → permission-df08tz66.js} +0 -0
  731. /package/dist/chunks/{file-retention-dy18nga0.js → permission-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{file-retention-e5kj55wp.js → permission-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{file-retention-e73j6tqm.js → permission-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{file-retention-ec1grn59.js → permission-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{file-retention-eh3zwz77.js → permission-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{file-retention-emrn6kk6.js → permission-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{file-retention-f0mxakyp.js → permission-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{file-retention-f6n9ztr4.js → permission-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{file-retention-faypxj3z.js → permission-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{file-retention-fd410y7t.js → permission-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{file-retention-fxgpk5d8.js → permission-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{file-retention-g4wezp1m.js → permission-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{file-retention-g86h250q.js → permission-g86h250q.js} +0 -0
  744. /package/dist/chunks/{file-retention-gebd4c9n.js → permission-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{file-retention-gftt206x.js → permission-gftt206x.js} +0 -0
  746. /package/dist/chunks/{file-retention-hk9envan.js → permission-hk9envan.js} +0 -0
  747. /package/dist/chunks/{file-retention-j2ntwpah.js → permission-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{file-retention-j5zkgpj8.js → permission-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{file-retention-jjkms2e6.js → permission-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{file-retention-jr7sbwjy.js → permission-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{file-retention-jwfs4k6c.js → permission-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{file-retention-jzg6c2d5.js → permission-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{file-retention-mp448xyj.js → permission-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{file-retention-msx8hqn2.js → permission-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{file-retention-n05xt0ee.js → permission-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{file-retention-n3j8tn72.js → permission-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{file-retention-njntx4h6.js → permission-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{file-retention-q3sfg36h.js → permission-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{file-retention-q74kybfr.js → permission-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{file-retention-qaymkmh1.js → permission-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{file-retention-qb87gjwd.js → permission-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{file-retention-qfa1cgps.js → permission-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{file-retention-qg3g05ea.js → permission-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{file-retention-qrg20bc0.js → permission-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{file-retention-rcb2kzg1.js → permission-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{file-retention-sdp7kfr6.js → permission-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{file-retention-ssg3fenm.js → permission-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{file-retention-w803qqfp.js → permission-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{file-retention-wc3fc9cn.js → permission-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{file-retention-wer8tq1h.js → permission-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{file-retention-wtztk69x.js → permission-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{file-retention-x0ckcb58.js → permission-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{file-retention-x61499pn.js → permission-x61499pn.js} +0 -0
  774. /package/dist/chunks/{file-retention-y44na4kk.js → permission-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{file-retention-y8cydn3q.js → permission-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{file-retention-y8f7s663.js → permission-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{file-retention-ygaqb7jw.js → permission-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{file-retention-ym463w8f.js → permission-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{file-retention-z5v4ffb3.js → permission-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{file-retention-z9919s4g.js → permission-z9919s4g.js} +0 -0
@@ -1,53 +1,53 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./file-retention-7jc2cdj1.js";
2
+ Service83,
3
+ node87
4
+ } from "./permission-62p5vnps.js";
5
5
  import {
6
- node59
7
- } from "./file-retention-70he5k1a.js";
6
+ node55
7
+ } from "./permission-77jgmqn4.js";
8
8
  import {
9
- Service9,
10
- node11
11
- } from "./file-retention-5xrkpdm9.js";
9
+ Service3,
10
+ node4
11
+ } from "./permission-z1apv2nw.js";
12
12
  import {
13
- Service25
14
- } from "./file-retention-q509s3k3.js";
13
+ Service17
14
+ } from "./permission-6h37vygj.js";
15
15
  import {
16
- node21,
17
- ID3
18
- } from "./file-retention-0q5g7n77.js";
16
+ node17,
17
+ ID2
18
+ } from "./permission-194t0rba.js";
19
19
  import {
20
- Service8,
21
- node10
22
- } from "./file-retention-1ajx6rf5.js";
20
+ Service4,
21
+ node5
22
+ } from "./permission-p37cw4rj.js";
23
23
  import {
24
24
  requirements2,
25
25
  guarded2,
26
26
  list2
27
- } from "./file-retention-q4txbv8h.js";
27
+ } from "./permission-g769z57k.js";
28
28
  import {
29
- make4,
29
+ make8,
30
30
  LoadError2
31
- } from "./file-retention-2ymj8j9z.js";
31
+ } from "./permission-w6yct1ma.js";
32
32
  import {
33
33
  Updated2,
34
- Service7,
34
+ Service8,
35
35
  node9
36
- } from "./file-retention-2x9pw9ke.js";
36
+ } from "./permission-j7g61wp1.js";
37
37
  import {
38
- Service4,
38
+ Service5,
39
39
  node6
40
- } from "./file-retention-n37c4crj.js";
40
+ } from "./permission-4nj4bn9q.js";
41
41
  import {
42
42
  __export
43
- } from "./file-retention-9rqn6x4v.js";
43
+ } from "./permission-9rqn6x4v.js";
44
44
 
45
45
  // src/plugin/supervisor.ts
46
46
  var exports_supervisor = {};
47
47
  __export(exports_supervisor, {
48
48
  PluginSupervisor: () => exports_supervisor,
49
- layer: () => layer4,
50
- node: () => node5
49
+ layer: () => layer3,
50
+ node: () => node3
51
51
  });
52
52
  import { Event } from "@opencode/schema/config";
53
53
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
116
116
  failures: [
117
117
  ...failures.values(),
118
118
  ...ordered.filter(duplicate).map((plugin) => ({
119
- id: ID3.make(plugin.id),
119
+ id: ID2.make(plugin.id),
120
120
  source: plugin.source ?? { type: "builtin" },
121
121
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
122
122
  features: { server: true, ...plugin.features }
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  pending: [...pending]
126
126
  };
127
127
  });
128
- var layer4 = Layer.effectDiscard(Effect.gen(function* () {
129
- const registry = yield* Service25;
130
- const sdk = yield* Service7;
131
- const instance = yield* Service8;
132
- const sources = yield* Service9;
133
- const modules = yield* make4();
134
- const bus = yield* Service82;
135
- const updates = yield* Service4;
128
+ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
129
+ const registry = yield* Service17;
130
+ const sdk = yield* Service8;
131
+ const instance = yield* Service4;
132
+ const sources = yield* Service3;
133
+ const modules = yield* make8();
134
+ const bus = yield* Service83;
135
+ const updates = yield* Service5;
136
136
  const internal = yield* list2();
137
137
  let release = yield* registry.hold();
138
138
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -207,14 +207,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
207
207
  })), Effect.forkScoped({ startImmediately: true }));
208
208
  }));
209
209
  var nodeDeps = [
210
- node21,
210
+ node17,
211
211
  node9,
212
- node10,
213
- node11,
212
+ node5,
213
+ node4,
214
214
  node6,
215
- node86,
215
+ node87,
216
216
  Npm.node,
217
- node59,
217
+ node55,
218
218
  requirements2
219
219
  ];
220
220
  function pluginSource(target) {
@@ -222,6 +222,6 @@ function pluginSource(target) {
222
222
  return { type: "local", path: target };
223
223
  return { type: "package", target };
224
224
  }
225
- var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
225
+ var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
226
226
 
227
- export { layer4, node5, exports_supervisor };
227
+ export { layer3, node3, exports_supervisor };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service55
3
- } from "./file-retention-0pgs73yf.js";
2
+ Service51
3
+ } from "./permission-mrdraj1e.js";
4
4
  import {
5
- Service35
6
- } from "./file-retention-hes1j7ga.js";
5
+ Service68
6
+ } from "./permission-zvwz45r0.js";
7
7
  import {
8
8
  observe2
9
- } from "./file-retention-qsdy395h.js";
9
+ } from "./permission-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./permission-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin38
18
+ Plugin: () => Plugin7
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin38 = define({
22
+ var Plugin7 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service55;
26
- const image = yield* Service35;
25
+ const config = yield* Service51;
26
+ const image = yield* Service68;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin38 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin38, exports_image };
46
+ export { Plugin7, exports_image };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./permission-z5v4ffb3.js";
4
4
  import {
5
5
  Info11
6
- } from "./file-retention-mjymc32g.js";
6
+ } from "./permission-mjymc32g.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./permission-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: () => Info10
15
+ Info: () => Info8
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -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 Info10 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info8 = 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 { Info10, exports_agent3 };
74
+ export { Info8, exports_agent3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./file-retention-qaymkmh1.js";
3
+ } from "./permission-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-retention-vczt2j2e.js";
4
+ } from "./permission-q13qta0d.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make21,
8
+ make22,
9
9
  combine2
10
- } from "./file-retention-s8d7rejh.js";
10
+ } from "./permission-9t7a50xb.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./file-retention-9e5bzkjp.js";
13
+ } from "./permission-9e5bzkjp.js";
14
14
  import {
15
15
  __export
16
- } from "./file-retention-9rqn6x4v.js";
16
+ } from "./permission-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info4,
21
+ Info: () => Info3,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service23,
25
+ Service: () => Service25,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node27,
29
+ node: () => node28,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info4 = InstructionEntry.Info;
37
+ var Info3 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service23 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service25 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make21({
64
+ var source = (entry) => make22({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service23, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service23.of({ list, put, remove, load });
111
+ return Service25.of({ list, put, remove, load });
112
112
  }));
113
- var node27 = makeLocationNode({ service: Service23, layer, deps: [node88] });
113
+ var node28 = makeLocationNode({ service: Service25, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service23, node27, exports_instruction_entry };
115
+ export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service25, node28, exports_instruction_entry };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service46,
3
- node49,
2
+ Service44,
3
+ node46,
4
4
  canonical3
5
- } from "./file-retention-kd48n5vs.js";
5
+ } from "./permission-b8z51b6b.js";
6
6
  import {
7
- Service43,
8
- node46
9
- } from "./file-retention-ve6nm2s5.js";
7
+ Service34,
8
+ node36
9
+ } from "./permission-9ae44cfy.js";
10
10
  import {
11
- Service18
12
- } from "./file-retention-a2x2qtap.js";
11
+ Service38
12
+ } from "./permission-rjvz70e4.js";
13
13
  import {
14
14
  layer2
15
- } from "./file-retention-r199w3eq.js";
15
+ } from "./permission-9ekewq9g.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service46, Effect.gen(function* () {
20
+ return Layer.effect(Service44, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service18);
30
+ const lifecycle = Context.get(exit.value, Service38);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node46.replace(Layer.succeed(Service43, {
57
+ node36.replace(Layer.succeed(Service34, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node49.replace(Layer.succeed(Service46, map))
61
+ node46.replace(Layer.succeed(Service44, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./permission-z5v4ffb3.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./file-retention-cstv7mkv.js";
5
+ Service82,
6
+ node86
7
+ } from "./permission-hs1x7rht.js";
8
8
  import {
9
- parse5,
9
+ parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./file-retention-w1eejvng.js";
13
+ } from "./permission-84txncab.js";
14
14
  import {
15
- Service83,
16
- node87
17
- } from "./file-retention-2pbjjxkv.js";
15
+ Service65,
16
+ node69
17
+ } from "./permission-cfsjj92n.js";
18
18
  import {
19
19
  __export
20
- } from "./file-retention-9rqn6x4v.js";
20
+ } from "./permission-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service72,
33
+ Service: () => Service30,
34
34
  isError: () => isError2,
35
- node: () => node75,
35
+ node: () => node33,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service72 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service30 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service72, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service80;
106
+ const git = yield* Service82;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service83;
110
- return Service72.of({
109
+ const kv = yield* Service65;
110
+ return Service30.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse5(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse4(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse5(origin) : undefined;
122
+ const originReference = origin ? parse4(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node75 = makeGlobalNode({
171
- service: Service72,
170
+ var node33 = makeGlobalNode({
171
+ service: Service30,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node87]
173
+ deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node69]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service72, isError2, validateBranch2, node75, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service30, isError2, validateBranch2, node33, exports_repository_cache };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./permission-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service50,
3
- node53
4
- } from "./file-retention-1ph8kh9q.js";
2
+ Service73,
3
+ node77
4
+ } from "./permission-vdaa9jq8.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./file-retention-arz7hw7x.js";
7
+ } from "./permission-4a7gy6vj.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./permission-9rqn6x4v.js";
11
11
 
12
12
  // src/session/runner/model.ts
13
13
  var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service45,
17
+ Service: () => Service35,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node48,
19
+ node: () => node37,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service45 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service35 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service45, Effect.gen(function* () {
58
- const resolver = yield* Service50;
59
- return Service45.of({
57
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
58
+ const resolver = yield* Service73;
59
+ return Service35.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node48 = makeLocationNode({ service: Service45, layer, deps: [node53] });
77
+ var node37 = makeLocationNode({ service: Service35, layer, deps: [node77] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service45, resolved2, node48, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service35, resolved2, node37, exports_model };
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin25
3
+ } from "./permission-wh3mwy9y.js";
4
+ import {
5
+ Plugin27
6
+ } from "./permission-tvrc96b9.js";
7
+ import {
8
+ Plugin26
9
+ } from "./permission-60h8n1mb.js";
10
+ import {
11
+ Plugin23
12
+ } from "./permission-jct8zyk7.js";
13
+ import {
14
+ Plugin24
15
+ } from "./permission-h8k3cc2z.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin25,
20
+ Plugin27,
21
+ Plugin26,
22
+ Plugin23,
23
+ Plugin24
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./permission-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./file-retention-mjymc32g.js";
6
+ } from "./permission-mjymc32g.js";
7
7
  import {
8
- Info10
9
- } from "./file-retention-03xyy9gs.js";
8
+ Info8
9
+ } from "./permission-ec3traks.js";
10
10
  import {
11
- Info13
12
- } from "./file-retention-sxz6gkc3.js";
11
+ Info12
12
+ } from "./permission-tkmwgdpd.js";
13
13
  import {
14
- Info14
15
- } from "./file-retention-57myy5jh.js";
14
+ Info9
15
+ } from "./permission-w39jehkq.js";
16
16
  import {
17
17
  Spec2
18
- } from "./file-retention-qgn6gcr1.js";
18
+ } from "./permission-qgn6gcr1.js";
19
19
  import {
20
- Info12
21
- } from "./file-retention-b674v2dg.js";
20
+ Info10
21
+ } from "./permission-gj71zhbs.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -27,10 +27,10 @@ import {
27
27
  migrateMcp2,
28
28
  migrateProvider2,
29
29
  providerID2
30
- } from "./file-retention-2c25w9p0.js";
30
+ } from "./permission-a8nwbtm7.js";
31
31
  import {
32
32
  __export
33
- } from "./file-retention-9rqn6x4v.js";
33
+ } from "./permission-9rqn6x4v.js";
34
34
 
35
35
  // src/config/normalize.ts
36
36
  var exports_normalize = {};
@@ -97,12 +97,12 @@ function normalize2(input) {
97
97
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
98
98
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
99
99
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
100
- const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
100
+ const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
101
101
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
102
102
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
103
103
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
104
104
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
105
- const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
105
+ const legacyAgents = mapValues(decodeMap(input.agent, Info8, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
106
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
107
107
  const migratedSmallModel = modelSelection2(legacySmallModel);
108
108
  if (legacySmallModel && !migratedSmallModel)
@@ -116,7 +116,7 @@ function normalize2(input) {
116
116
  model: migratedSmallModel,
117
117
  ...legacyAgents.title
118
118
  };
119
- const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
119
+ const modeAgents = mapValues(decodeMap(input.mode, Info8, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
120
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
121
121
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
122
122
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
217
217
  normalizeMcpTimeout(value, timeout, path, diagnostics);
218
218
  return;
219
219
  }
220
- const server = decodeValue(Info14, value, path, diagnostics);
220
+ const server = decodeValue(Info9, value, path, diagnostics);
221
221
  if (server !== undefined)
222
222
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
223
223
  });
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
413
413
  diagnoseProviderUnsupported(raw, path, diagnostics);
414
414
  if (invalidProviderOverlays(raw, path, diagnostics))
415
415
  return [];
416
- const provider = decodeValue(Info12, raw, path, diagnostics);
416
+ const provider = decodeValue(Info10, raw, path, diagnostics);
417
417
  if (provider === undefined)
418
418
  return [];
419
419
  const destination = providerID2(name);