@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,17 +1,17 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./permission-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./permission-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event20,
12
+ Event: () => Event21,
13
13
  ID: () => ID18,
14
- Info: () => Info28,
14
+ Info: () => Info29,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
@@ -20,12 +20,12 @@ import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
21
  var ID18 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info28 = Project.Info;
23
+ var Info29 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
- var Event20 = Project.Event;
25
+ var Event21 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID18, Current3, Info28, UpdateInput4, Event20, Vcs3, exports_schema };
31
+ export { ID18, Current3, Info29, UpdateInput4, Event21, Vcs3, exports_schema };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-retention-vczt2j2e.js";
4
+ } from "./permission-q13qta0d.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./file-retention-7jc2cdj1.js";
6
+ Service83,
7
+ node87
8
+ } from "./permission-62p5vnps.js";
9
9
  import {
10
- Service43,
11
- node46
12
- } from "./file-retention-ve6nm2s5.js";
10
+ Service34,
11
+ node36
12
+ } from "./permission-9ae44cfy.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./file-retention-z5v4ffb3.js";
16
+ } from "./permission-z5v4ffb3.js";
17
17
  import {
18
- Service79,
19
- node83
20
- } from "./file-retention-ey8ksrh3.js";
18
+ Service81,
19
+ node85
20
+ } from "./permission-ktbyy5ev.js";
21
21
  import {
22
22
  Ref4
23
- } from "./file-retention-fa9q739j.js";
23
+ } from "./permission-kp71p0cs.js";
24
24
  import {
25
- Service46,
26
- node49
27
- } from "./file-retention-kd48n5vs.js";
25
+ Service44,
26
+ node46
27
+ } from "./permission-b8z51b6b.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./file-retention-gftt206x.js";
30
+ } from "./permission-gftt206x.js";
31
31
  import {
32
32
  NotFoundError7
33
- } from "./file-retention-1n632r5x.js";
33
+ } from "./permission-2xnzgjvn.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./file-retention-ec1grn59.js";
36
+ } from "./permission-ec1grn59.js";
37
37
  import {
38
- Service42
39
- } from "./file-retention-jvf3yq6v.js";
38
+ Service32
39
+ } from "./permission-t2az9yje.js";
40
40
  import {
41
- Service65,
42
- node68
43
- } from "./file-retention-5bvv5wt0.js";
41
+ Service60,
42
+ node64
43
+ } from "./permission-fzv62hvw.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service44,
48
- node47,
47
+ Service33,
48
+ node35,
49
49
  moveIDs2
50
- } from "./file-retention-5ryzkr0h.js";
50
+ } from "./permission-t7k4jxvs.js";
51
51
  import {
52
- Service41,
53
- node45
54
- } from "./file-retention-5a9zanfr.js";
52
+ Service31,
53
+ node34
54
+ } from "./permission-5qevsstt.js";
55
55
  import {
56
- node26
57
- } from "./file-retention-bcb25nnb.js";
56
+ node20
57
+ } from "./permission-xt6xxsa8.js";
58
58
  import {
59
59
  __export
60
- } from "./file-retention-9rqn6x4v.js";
60
+ } from "./permission-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service20,
68
+ Service: () => Service16,
69
69
  SessionMove: () => exports_move,
70
- node: () => node23
70
+ node: () => node19
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,19 +83,19 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service20 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service16 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service20, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service79;
92
- const locations = yield* Service46;
93
- const store = yield* Service65;
94
- const execution = yield* Service41;
95
- const instances = yield* Service43;
96
- const admission = yield* Service44;
91
+ const projects = yield* Service81;
92
+ const locations = yield* Service44;
93
+ const store = yield* Service60;
94
+ const execution = yield* Service31;
95
+ const instances = yield* Service34;
96
+ const admission = yield* Service33;
97
97
  const database = yield* Service84;
98
- const bus = yield* Service82;
98
+ const bus = yield* Service83;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service42.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service32.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service20.of({
136
+ return Service16.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node23 = makeGlobalNode({
167
- service: Service20,
166
+ var node19 = makeGlobalNode({
167
+ service: Service16,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node83,
173
- node49,
174
- node68,
175
- node45,
172
+ node85,
176
173
  node46,
177
- node47,
174
+ node64,
175
+ node34,
176
+ node36,
177
+ node35,
178
178
  node88,
179
- node86,
180
- node26
179
+ node87,
180
+ node20
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service20, node23, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service16, node19, exports_move };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID13,
3
- Service69,
4
- node72
5
- } from "./file-retention-ygrct2xs.js";
2
+ ID14,
3
+ Service77,
4
+ node81
5
+ } from "./permission-b9dn5hn6.js";
6
6
  import {
7
- ID12,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -14,24 +14,24 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service68,
18
- node71
19
- } from "./file-retention-a8skskqr.js";
17
+ Service76,
18
+ node80
19
+ } from "./permission-spe59mq4.js";
20
20
  import {
21
- Service51,
22
- node54
23
- } from "./file-retention-f9nevmwk.js";
21
+ Service74,
22
+ node78
23
+ } from "./permission-4j24z8gn.js";
24
24
  import {
25
- ID7,
25
+ ID12,
26
26
  VariantID2,
27
27
  Ref2,
28
- Service58,
29
- node61,
28
+ Service75,
29
+ node79,
30
30
  supportsText2
31
- } from "./file-retention-rjk8fnxb.js";
31
+ } from "./permission-1y7qakgj.js";
32
32
  import {
33
33
  __export
34
- } from "./file-retention-9rqn6x4v.js";
34
+ } from "./permission-9rqn6x4v.js";
35
35
 
36
36
  // src/model-resolver.ts
37
37
  var exports_model_resolver = {};
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
40
40
  ModelConfigurationError: () => ModelConfigurationError2,
41
41
  ModelInitializationError: () => ModelInitializationError2,
42
42
  ModelResolver: () => exports_model_resolver,
43
- Service: () => Service50,
43
+ Service: () => Service73,
44
44
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
45
45
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
46
46
  UnsupportedPackageError: () => UnsupportedPackageError2,
47
47
  VariantUnavailableError: () => VariantUnavailableError2,
48
48
  fromCatalogModel: () => fromCatalogModel2,
49
49
  hasPackage: () => hasPackage2,
50
- layer: () => layer19,
51
- node: () => node53,
50
+ layer: () => layer24,
51
+ node: () => node77,
52
52
  resolveModel: () => resolveModel2,
53
53
  withVariant: () => withVariant2
54
54
  });
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
58
58
  import { Context, Effect, Layer, Schema, Struct } from "effect";
59
59
  import { Npm } from "@opencode/util/npm";
60
60
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
61
- providerID: ID12,
62
- modelID: ID7,
61
+ providerID: ID13,
62
+ modelID: ID12,
63
63
  variant: VariantID2
64
64
  }) {
65
65
  get message() {
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
68
68
  }
69
69
 
70
70
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
71
- providerID: ID12,
72
- modelID: ID7,
71
+ providerID: ID13,
72
+ modelID: ID12,
73
73
  package: Schema.String
74
74
  }) {
75
75
  get message() {
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
79
79
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
80
80
 
81
81
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
82
- providerID: ID12,
83
- modelID: ID7,
82
+ providerID: ID13,
83
+ modelID: ID12,
84
84
  package: Schema.String,
85
85
  detail: Schema.String
86
86
  }) {
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
90
90
  }
91
91
 
92
92
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
93
- providerID: ID12,
94
- modelID: ID7,
93
+ providerID: ID13,
94
+ modelID: ID12,
95
95
  package: Schema.String,
96
96
  phase: InitializationPhase2,
97
97
  detail: Schema.String
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
102
102
  }
103
103
 
104
104
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
105
- providerID: ID12,
106
- modelID: ID7,
105
+ providerID: ID13,
106
+ modelID: ID12,
107
107
  variables: Schema.Array(Schema.String)
108
108
  }) {
109
109
  get message() {
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
112
112
  }
113
113
 
114
114
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
115
- providerID: ID12,
116
- modelID: ID7,
115
+ providerID: ID13,
116
+ modelID: ID12,
117
117
  route: Schema.String
118
118
  }) {
119
119
  get message() {
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
121
121
  }
122
122
  }
123
123
 
124
- class Service50 extends Context.Service()("@opencode/ModelResolver") {
124
+ class Service73 extends Context.Service()("@opencode/ModelResolver") {
125
125
  }
126
126
  var withVariant2 = (model, variantID) => {
127
127
  const id = variantID === "default" ? undefined : variantID;
@@ -261,15 +261,15 @@ var causeMessage = (cause) => {
261
261
  };
262
262
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
263
263
  var hasPackage2 = (model) => Boolean(model.package);
264
- var layer19 = Layer.effect(Service50, Effect.gen(function* () {
265
- const providers = yield* Service68;
266
- const models = yield* Service58;
267
- const integrations = yield* Service69;
264
+ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
265
+ const providers = yield* Service76;
266
+ const models = yield* Service75;
267
+ const integrations = yield* Service77;
268
268
  const npm = yield* Npm.Service;
269
- const aisdk = yield* Service51;
269
+ const aisdk = yield* Service74;
270
270
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
271
271
  const provider = yield* providers.get(selected.providerID);
272
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
272
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
273
273
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
274
274
  const selectedVariant = yield* withVariant2(selected, variant);
275
275
  const runtimeInfo = {
@@ -296,7 +296,7 @@ var layer19 = Layer.effect(Service50, Effect.gen(function* () {
296
296
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
297
297
  };
298
298
  });
299
- return Service50.of({
299
+ return Service73.of({
300
300
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
301
301
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
302
302
  if (!selected)
@@ -313,10 +313,10 @@ function usesAPIKeyAuth(packageName) {
313
313
  const name = packageName2(packageName);
314
314
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
315
315
  }
316
- var node53 = makeLocationNode({
317
- service: Service50,
318
- layer: layer19,
319
- deps: [node71, node61, node72, Npm.node, node54]
316
+ var node77 = makeLocationNode({
317
+ service: Service73,
318
+ layer: layer24,
319
+ deps: [node80, node79, node81, Npm.node, node78]
320
320
  });
321
321
 
322
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service50, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node53, exports_model_resolver };
322
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service73, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node77, exports_model_resolver };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./file-retention-ym463w8f.js";
3
+ } from "./permission-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./file-retention-5t3nmthw.js";
3
+ } from "./permission-5t3nmthw.js";
4
4
  import {
5
- Service50,
6
- node53
7
- } from "./file-retention-1ph8kh9q.js";
5
+ Service73,
6
+ node77
7
+ } from "./permission-vdaa9jq8.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./permission-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service49,
18
- UnavailableError: () => UnavailableError2,
19
- layer: () => layer18,
20
- node: () => node52
17
+ Service: () => Service72,
18
+ UnavailableError: () => UnavailableError3,
19
+ layer: () => layer23,
20
+ node: () => node76
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { SessionID } from "@opencode/schema/session-id";
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
28
28
  }) {
29
29
  }
30
30
 
31
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
32
32
  message: Schema.String,
33
33
  service: Schema.optional(Schema.String)
34
34
  }) {
35
35
  }
36
36
 
37
- class Service49 extends Context.Service()("@opencode/Generate") {
37
+ class Service72 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer18 = Layer.effect(Service49, Effect.gen(function* () {
39
+ var layer23 = Layer.effect(Service72, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service50;
41
+ const resolver = yield* Service73;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
43
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
44
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -48,7 +48,7 @@ var layer18 = Layer.effect(Service49, Effect.gen(function* () {
48
48
  "SessionRunnerModel.UnresolvedProviderVariablesError",
49
49
  "SessionRunnerModel.UnsupportedCompactionError"
50
50
  ], (error) => {
51
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
51
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
52
52
  return Effect.fail(mapped);
53
53
  }));
54
54
  if (!resolved)
@@ -59,21 +59,21 @@ var layer18 = Layer.effect(Service49, Effect.gen(function* () {
59
59
  model: resolved.model,
60
60
  prompt: input.prompt,
61
61
  http: { headers: { "x-opencode-session": SessionID.create() } }
62
- })).pipe(Effect.mapError((error) => new UnavailableError2({
62
+ })).pipe(Effect.mapError((error) => new UnavailableError3({
63
63
  message: error.message,
64
64
  service: resolved.ref.providerID
65
65
  })));
66
66
  return response.text;
67
67
  });
68
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
68
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service49.of({ text });
71
+ return Service72.of({ text });
72
72
  }));
73
- var node52 = makeLocationNode({
74
- service: Service49,
75
- layer: layer18,
76
- deps: [node53, llmClient2]
73
+ var node76 = makeLocationNode({
74
+ service: Service72,
75
+ layer: layer23,
76
+ deps: [node77, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError2, Service49, layer18, node52, exports_generate2 };
79
+ export { ModelSelectionError2, UnavailableError3, Service72, layer23, node76, exports_generate2 };
@@ -1,56 +1,56 @@
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
- parse5,
6
+ parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./file-retention-w1eejvng.js";
11
+ } from "./permission-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./file-retention-z5v4ffb3.js";
14
+ } from "./permission-z5v4ffb3.js";
15
15
  import {
16
- Service72,
17
- node75
18
- } from "./file-retention-be4ddzaj.js";
16
+ Service30,
17
+ node33
18
+ } from "./permission-er1qgfv5.js";
19
19
  import {
20
20
  create3
21
- } from "./file-retention-rdw6cm16.js";
21
+ } from "./permission-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./file-retention-9rqn6x4v.js";
24
+ } from "./permission-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event6,
29
+ Event: () => Event4,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info5,
31
+ Info: () => Info4,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service36,
34
+ Service: () => Service28,
35
35
  Source: () => Source3,
36
- node: () => node39
36
+ node: () => node31
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event6 } from "@opencode/schema/reference";
42
+ import { Event as Event4 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info5 = Reference.Info;
46
+ var Info4 = Reference.Info;
47
47
 
48
- class Service36 extends Context.Service()("@opencode/Reference") {
48
+ class Service28 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service36, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service82;
53
- const cache = yield* Service72;
52
+ const bus = yield* Service83;
53
+ const cache = yield* Service30;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info5.make({ ...info, path: source.path })];
64
- const repository = parse5(source.repository);
63
+ return [Info4.make({ ...info, path: source.path })];
64
+ const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info5.make({
75
+ Info4.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service36.of({
107
+ return Service28.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node39 = makeLocationNode({
116
- service: Service36,
115
+ var node31 = makeLocationNode({
116
+ service: Service28,
117
117
  layer,
118
- deps: [Global.node, node86, node75]
118
+ deps: [Global.node, node87, node33]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info5, Service36, node39, exports_reference2, Event6 };
121
+ export { LocalSource2, GitSource2, Source3, Info4, Service28, node31, exports_reference2, Event4 };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./file-retention-s8d7rejh.js";
8
+ } from "./permission-9t7a50xb.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./file-retention-ec1grn59.js";
11
+ } from "./permission-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./file-retention-9e5bzkjp.js";
15
+ } from "./permission-9e5bzkjp.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-9rqn6x4v.js";
18
+ } from "./permission-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};