@opencode/core 0.0.0-dev-20810 → 0.0.0-dev-20816

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -82
  3. package/dist/aisdk-native.js +91 -90
  4. package/dist/aisdk.js +96 -95
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +77 -76
  7. package/dist/chunks/{schema-s8d7rejh.js → wellknown-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{schema-zy4v1d78.js → wellknown-033ejm38.js} +35 -35
  9. package/dist/chunks/{schema-m1vt9403.js → wellknown-07wb5q77.js} +11 -11
  10. package/dist/chunks/{schema-hrvqnyz4.js → wellknown-0kaeeq0n.js} +17 -17
  11. package/dist/chunks/{schema-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{schema-0vbcp93d.js → wellknown-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{schema-r8xr0va3.js → wellknown-1acjjqhc.js} +4 -4
  14. package/dist/chunks/{schema-yy8c48ah.js → wellknown-1bh5qdrr.js} +24 -24
  15. package/dist/chunks/{schema-751h4z3b.js → wellknown-1w6spx5t.js} +7 -7
  16. package/dist/chunks/{schema-b9fnkeff.js → wellknown-2651n5qm.js} +13 -13
  17. package/dist/chunks/{schema-ghyrxap0.js → wellknown-2gjkaaq8.js} +30 -30
  18. package/dist/chunks/{schema-d7tt0p63.js → wellknown-2jbkakjc.js} +4 -4
  19. package/dist/chunks/{schema-vhjvf1ns.js → wellknown-2tcrkhyx.js} +24 -24
  20. package/dist/chunks/{schema-2vvh33eb.js → wellknown-2vvh33eb.js} +2 -2
  21. package/dist/chunks/{schema-fmcjp1ve.js → wellknown-2x0031av.js} +22 -22
  22. package/dist/chunks/{schema-5x6dv44x.js → wellknown-2z8jxnq9.js} +11 -11
  23. package/dist/chunks/{schema-bj3d59b5.js → wellknown-31hyatr7.js} +23 -23
  24. package/dist/chunks/{schema-npz2prbw.js → wellknown-39zvv5e0.js} +35 -35
  25. package/dist/chunks/{schema-g441sed7.js → wellknown-3b8mf0t5.js} +13 -13
  26. package/dist/chunks/{schema-etmbekfa.js → wellknown-3ec4gz2d.js} +3 -3
  27. package/dist/chunks/{schema-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
  28. package/dist/chunks/{schema-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{schema-3hwn7j4h.js → wellknown-3hwn7j4h.js} +2 -2
  30. package/dist/chunks/{schema-12ve6aey.js → wellknown-3jrph8t9.js} +30 -30
  31. package/dist/chunks/{schema-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
  32. package/dist/chunks/{schema-g3gkqvbz.js → wellknown-3t6mzywy.js} +22 -22
  33. package/dist/chunks/{schema-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
  34. package/dist/chunks/{schema-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
  35. package/dist/chunks/{schema-kecqjjhm.js → wellknown-461nxmbv.js} +5 -5
  36. package/dist/chunks/{schema-my4zabxr.js → wellknown-48kw51zw.js} +3 -3
  37. package/dist/chunks/{schema-enmwmtrr.js → wellknown-49twh206.js} +15 -15
  38. package/dist/chunks/{schema-b5763n3s.js → wellknown-4fcfrxzd.js} +11 -11
  39. package/dist/chunks/{schema-n1n192bv.js → wellknown-4j4tgtq5.js} +4 -4
  40. package/dist/chunks/{schema-4ts7tf6z.js → wellknown-4ts7tf6z.js} +2 -2
  41. package/dist/chunks/{schema-j0gzcsx3.js → wellknown-4x9y9hm8.js} +11 -11
  42. package/dist/chunks/{schema-mgn9s9vj.js → wellknown-4yt2xgtx.js} +58 -58
  43. package/dist/chunks/{schema-r4e3mj9w.js → wellknown-54d04jeh.js} +18 -18
  44. package/dist/chunks/{schema-54ma36ye.js → wellknown-54ma36ye.js} +1 -1
  45. package/dist/chunks/{schema-8paj7kd6.js → wellknown-5cg9bzem.js} +20 -20
  46. package/dist/chunks/{schema-e2vgrz0c.js → wellknown-5gxnaa09.js} +320 -320
  47. package/dist/chunks/{schema-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
  48. package/dist/chunks/{schema-even8thr.js → wellknown-5n3qansz.js} +28 -28
  49. package/dist/chunks/{schema-6wrgwmsx.js → wellknown-5p6277ma.js} +8 -8
  50. package/dist/chunks/{schema-1z7pb0k6.js → wellknown-5q0vxz4x.js} +5 -5
  51. package/dist/chunks/{schema-31b2zrgz.js → wellknown-5rb9c7eh.js} +11 -11
  52. package/dist/chunks/{schema-9eq4r153.js → wellknown-5rtw7paw.js} +19 -19
  53. package/dist/chunks/{schema-91efdwy5.js → wellknown-5w5g9s8y.js} +3 -3
  54. package/dist/chunks/{schema-4p5m0t87.js → wellknown-6117hfr5.js} +62 -62
  55. package/dist/chunks/{schema-re5apsaa.js → wellknown-650sss64.js} +11 -11
  56. package/dist/chunks/{schema-0hsd46jk.js → wellknown-699sdptp.js} +39 -39
  57. package/dist/chunks/{schema-v0es1rhs.js → wellknown-6g7e4dd5.js} +7 -7
  58. package/dist/chunks/{schema-41j8cbkr.js → wellknown-6v31mxde.js} +23 -23
  59. package/dist/chunks/{schema-6xb47vfp.js → wellknown-6xb47vfp.js} +1 -1
  60. package/dist/chunks/{schema-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  61. package/dist/chunks/{schema-x8181hqt.js → wellknown-7feea0h6.js} +11 -11
  62. package/dist/chunks/{schema-mf82c6q7.js → wellknown-7hmww9pq.js} +15 -15
  63. package/dist/chunks/{schema-5gbr5t7g.js → wellknown-7t92r6sm.js} +8 -8
  64. package/dist/chunks/{schema-q84ymcsc.js → wellknown-7vfyda9f.js} +54 -50
  65. package/dist/chunks/{schema-82v73sw7.js → wellknown-82v73sw7.js} +3 -3
  66. package/dist/chunks/{schema-xxg2cwm3.js → wellknown-8777xd2t.js} +22 -22
  67. package/dist/chunks/{schema-pe5zqv13.js → wellknown-8bqq47bs.js} +4 -4
  68. package/dist/chunks/{schema-ppm6d4hz.js → wellknown-8gzx46z2.js} +5 -5
  69. package/dist/chunks/{schema-8m6m0r52.js → wellknown-8m6m0r52.js} +1 -1
  70. package/dist/chunks/{schema-8sze2n9a.js → wellknown-8sze2n9a.js} +2 -2
  71. package/dist/chunks/{schema-842tzcmm.js → wellknown-8vc8vna7.js} +10 -10
  72. package/dist/chunks/{schema-7d29djek.js → wellknown-9rmh4mmg.js} +10 -10
  73. package/dist/chunks/{schema-fj06szgc.js → wellknown-9s7snf6s.js} +18 -18
  74. package/dist/chunks/{schema-ajdwry64.js → wellknown-9xvx6y0g.js} +11 -11
  75. package/dist/chunks/{schema-pgp1nwjn.js → wellknown-a3c7ahw6.js} +4 -4
  76. package/dist/chunks/{schema-mh4sfpe3.js → wellknown-a8168aqs.js} +36 -36
  77. package/dist/chunks/{schema-dsaykm6h.js → wellknown-af8ff1ta.js} +11 -11
  78. package/dist/chunks/{schema-scgrse2b.js → wellknown-b3f8fkhc.js} +5 -5
  79. package/dist/chunks/{schema-avae2qkj.js → wellknown-b87x4eyv.js} +13 -13
  80. package/dist/chunks/{schema-sjvzs7k3.js → wellknown-bgqb1w0a.js} +33 -33
  81. package/dist/chunks/{schema-1ffvrpkg.js → wellknown-bjx1sjef.js} +6 -6
  82. package/dist/chunks/{schema-c23p4ys2.js → wellknown-bqbhqn5q.js} +23 -23
  83. package/dist/chunks/{schema-0cpa7f6c.js → wellknown-bv7xce55.js} +11 -11
  84. package/dist/chunks/{schema-s9z3c30a.js → wellknown-bwk95141.js} +14 -14
  85. package/dist/chunks/{schema-tjy0w605.js → wellknown-bws1wkeb.js} +35 -35
  86. package/dist/chunks/wellknown-by5v678g.js +18 -0
  87. package/dist/chunks/{schema-gw62fr37.js → wellknown-bzmhfkwa.js} +25 -25
  88. package/dist/chunks/{schema-kb9j3d72.js → wellknown-c1fqxshp.js} +3 -3
  89. package/dist/chunks/{schema-p7jqzqxf.js → wellknown-c3g4ehaa.js} +11 -11
  90. package/dist/chunks/{schema-kjap7t58.js → wellknown-c8z7re0j.js} +86 -86
  91. package/dist/chunks/{schema-rx9ava5n.js → wellknown-c9wbyant.js} +4 -4
  92. package/dist/chunks/{schema-asbbxgy3.js → wellknown-cda9vesx.js} +9 -9
  93. package/dist/chunks/wellknown-cenr143b.js +26 -0
  94. package/dist/chunks/{schema-djszqvmq.js → wellknown-cwa6csj7.js} +9 -9
  95. package/dist/chunks/{schema-y1346aqr.js → wellknown-d5xsqdzh.js} +22 -22
  96. package/dist/chunks/{schema-m0r31qfn.js → wellknown-d858xzj7.js} +4 -4
  97. package/dist/chunks/{schema-5mw5s2rh.js → wellknown-d8thadm4.js} +12 -12
  98. package/dist/chunks/{schema-k0r7s5gk.js → wellknown-ddttwbez.js} +22 -22
  99. package/dist/chunks/{schema-fz27cwe3.js → wellknown-des6zn2w.js} +28 -28
  100. package/dist/chunks/{schema-avk0gjvb.js → wellknown-dngrbxse.js} +23 -23
  101. package/dist/chunks/{schema-dpkg50ah.js → wellknown-dpkg50ah.js} +1 -1
  102. package/dist/chunks/{schema-0h1mm7qe.js → wellknown-dv1s2jsq.js} +5 -5
  103. package/dist/chunks/{schema-zq01xz8r.js → wellknown-dys7k0s0.js} +8 -8
  104. package/dist/chunks/{schema-0yttm9vb.js → wellknown-dzcs8qsg.js} +18 -18
  105. package/dist/chunks/{schema-mdjyr85s.js → wellknown-e213czqs.js} +30 -30
  106. package/dist/chunks/{schema-yt1db69f.js → wellknown-e6qa6x8z.js} +20 -20
  107. package/dist/chunks/{schema-kc6mcnvt.js → wellknown-e7y8yey8.js} +12 -12
  108. package/dist/chunks/{schema-2jbq5rvd.js → wellknown-e825dkyw.js} +22 -22
  109. package/dist/chunks/{schema-eej6y6fw.js → wellknown-eej6y6fw.js} +2 -2
  110. package/dist/chunks/{schema-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
  111. package/dist/chunks/{schema-n4r3xatb.js → wellknown-embw8kgh.js} +4 -4
  112. package/dist/chunks/{schema-qqqyvqxz.js → wellknown-emqnk1nq.js} +22 -22
  113. package/dist/chunks/{schema-b476brms.js → wellknown-ervpwnrb.js} +26 -26
  114. package/dist/chunks/{schema-5sbkfk9m.js → wellknown-f7xzt4zk.js} +33 -33
  115. package/dist/chunks/{schema-qgn6gcr1.js → wellknown-fcrkznn8.js} +5 -5
  116. package/dist/chunks/{schema-f1t98d39.js → wellknown-fcx8emg5.js} +10 -10
  117. package/dist/chunks/{schema-5t3z26v9.js → wellknown-fg5waqyz.js} +27 -27
  118. package/dist/chunks/{schema-1te6z1br.js → wellknown-fqehm6pw.js} +8 -8
  119. package/dist/chunks/{schema-9wjarjqh.js → wellknown-fv9sp7w9.js} +24 -24
  120. package/dist/chunks/{schema-5s0vrszx.js → wellknown-fvqz3thv.js} +32 -32
  121. package/dist/chunks/{schema-fxaymqdw.js → wellknown-fxaymqdw.js} +1 -1
  122. package/dist/chunks/{schema-616sprd3.js → wellknown-g06b32k9.js} +8 -8
  123. package/dist/chunks/{schema-2c3mwd6h.js → wellknown-g36xdyny.js} +28 -28
  124. package/dist/chunks/{schema-g686f6pq.js → wellknown-g686f6pq.js} +2 -2
  125. package/dist/chunks/{schema-1pxz8ven.js → wellknown-g6yfr6ja.js} +5 -5
  126. package/dist/chunks/{schema-63gxtxwv.js → wellknown-g8ke25hn.js} +31 -31
  127. package/dist/chunks/{schema-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
  128. package/dist/chunks/{schema-scrwg3hs.js → wellknown-ggb5v3eb.js} +16 -16
  129. package/dist/chunks/{schema-0r3c1bmw.js → wellknown-gj71zhbs.js} +5 -5
  130. package/dist/chunks/{schema-gk8qb678.js → wellknown-gk8qb678.js} +1 -1
  131. package/dist/chunks/{schema-j9jte45y.js → wellknown-gt0hx33a.js} +176 -176
  132. package/dist/chunks/{schema-bc1esb7h.js → wellknown-gyxgzcr0.js} +41 -41
  133. package/dist/chunks/{schema-zp79rdht.js → wellknown-h5g2zqv6.js} +12 -12
  134. package/dist/chunks/{schema-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
  135. package/dist/chunks/{schema-wx6xjdmh.js → wellknown-h72cndf1.js} +3 -3
  136. package/dist/chunks/{schema-31xfzrxg.js → wellknown-h7s7r6s9.js} +5 -5
  137. package/dist/chunks/{schema-ycjb11n5.js → wellknown-h896pcm5.js} +6 -6
  138. package/dist/chunks/{schema-pkb9436j.js → wellknown-hagkn1v7.js} +39 -39
  139. package/dist/chunks/{schema-hgz4x7wa.js → wellknown-hgz4x7wa.js} +1 -1
  140. package/dist/chunks/{schema-m95zc4xf.js → wellknown-hmpz6cpb.js} +15 -15
  141. package/dist/chunks/{schema-xcmk6yw7.js → wellknown-hy1va3t8.js} +11 -11
  142. package/dist/chunks/{schema-fxrw3q79.js → wellknown-j010gwk9.js} +21 -21
  143. package/dist/chunks/{schema-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
  144. package/dist/chunks/{schema-84045amf.js → wellknown-j5k95y2k.js} +5 -5
  145. package/dist/chunks/{schema-6y44ky4y.js → wellknown-j63xtz0z.js} +13 -13
  146. package/dist/chunks/{schema-2s1tt141.js → wellknown-jeg10dch.js} +24 -24
  147. package/dist/chunks/{schema-hnbkedn6.js → wellknown-jet6rn8q.js} +10 -10
  148. package/dist/chunks/{schema-24kngg5a.js → wellknown-jjx5emw5.js} +11 -11
  149. package/dist/chunks/{schema-qmmh0qgx.js → wellknown-jm1sn942.js} +5 -5
  150. package/dist/chunks/{schema-bbnjbm8a.js → wellknown-kbeh51ej.js} +11 -11
  151. package/dist/chunks/{schema-3n0nfbrk.js → wellknown-kcv830pc.js} +17 -17
  152. package/dist/chunks/{schema-qmdebz4g.js → wellknown-kvqsqfzs.js} +3 -3
  153. package/dist/chunks/wellknown-m18g726c.js +13 -0
  154. package/dist/chunks/{schema-16dqk34s.js → wellknown-m1nxwksc.js} +4 -4
  155. package/dist/chunks/{schema-spj5hr4x.js → wellknown-m20webqj.js} +8 -8
  156. package/dist/chunks/{schema-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
  157. package/dist/chunks/{schema-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  158. package/dist/chunks/{schema-0p1vh52y.js → wellknown-mdshk6p7.js} +2 -2
  159. package/dist/chunks/{schema-cbwad64w.js → wellknown-mh6jxx1t.js} +33 -33
  160. package/dist/chunks/{schema-dhr2qr8g.js → wellknown-mjcera77.js} +48 -48
  161. package/dist/chunks/{schema-b5kphdjs.js → wellknown-mkfp2fax.js} +15 -15
  162. package/dist/chunks/{schema-w3x9v1nk.js → wellknown-mp6d0dty.js} +8 -8
  163. package/dist/chunks/{schema-bydnjh3t.js → wellknown-n37c4crj.js} +9 -9
  164. package/dist/chunks/{schema-b7bdwx76.js → wellknown-n43vcqp0.js} +3 -3
  165. package/dist/chunks/{schema-mz7kcatz.js → wellknown-n5anvv2t.js} +45 -45
  166. package/dist/chunks/{schema-bcw02e1j.js → wellknown-n63bcv8m.js} +51 -51
  167. package/dist/chunks/{schema-we4ydj7w.js → wellknown-n8e3aqkt.js} +28 -28
  168. package/dist/chunks/{schema-y2seww6j.js → wellknown-n8jq096e.js} +15 -15
  169. package/dist/chunks/{schema-7wy9ttat.js → wellknown-nawz2sjj.js} +33 -33
  170. package/dist/chunks/{schema-52jn4qxr.js → wellknown-nc8hxgt4.js} +22 -22
  171. package/dist/chunks/{schema-skv1cymz.js → wellknown-nd104sgw.js} +19 -19
  172. package/dist/chunks/{schema-m4crda45.js → wellknown-nwp476d8.js} +9 -9
  173. package/dist/chunks/{schema-kzqm322s.js → wellknown-p0rks7xq.js} +23 -23
  174. package/dist/chunks/{schema-hmb281w1.js → wellknown-p6qeq9yv.js} +5 -5
  175. package/dist/chunks/{schema-52vty0jw.js → wellknown-p9s0wwbg.js} +6 -6
  176. package/dist/chunks/{schema-tpw6cwsb.js → wellknown-pa8pe2x7.js} +8 -8
  177. package/dist/chunks/{schema-29bfqbba.js → wellknown-pg6d2h9f.js} +9 -9
  178. package/dist/chunks/{schema-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
  179. package/dist/chunks/{schema-pknna89w.js → wellknown-pknna89w.js} +1 -1
  180. package/dist/chunks/{schema-34c7v6d4.js → wellknown-pkyv6v7h.js} +1 -0
  181. package/dist/chunks/{schema-7951xmcm.js → wellknown-prh39f15.js} +35 -35
  182. package/dist/chunks/{schema-gbgdjg8y.js → wellknown-pzhxcmzb.js} +41 -41
  183. package/dist/chunks/{schema-q0xm7vwc.js → wellknown-q0xm7vwc.js} +2 -2
  184. package/dist/chunks/{schema-ymg8axns.js → wellknown-q13p92wb.js} +3 -3
  185. package/dist/chunks/{schema-jab3hz16.js → wellknown-q5mamftn.js} +49 -49
  186. package/dist/chunks/{schema-70p67exa.js → wellknown-q865ebtv.js} +58 -58
  187. package/dist/chunks/{schema-j92nemg4.js → wellknown-q8vbveqf.js} +23 -23
  188. package/dist/chunks/{schema-qnc92qwc.js → wellknown-qnc92qwc.js} +1 -1
  189. package/dist/chunks/{schema-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
  190. package/dist/chunks/{schema-gh19h2nq.js → wellknown-qwkjaerk.js} +1 -1
  191. package/dist/chunks/{schema-3xessxdn.js → wellknown-qynbg7fa.js} +24 -24
  192. package/dist/chunks/{schema-h3kn1xt9.js → wellknown-r269mye5.js} +4 -4
  193. package/dist/chunks/{schema-e80seqcp.js → wellknown-r2z489rp.js} +3 -3
  194. package/dist/chunks/{schema-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
  195. package/dist/chunks/{schema-3g5be3ey.js → wellknown-re4n8afa.js} +13 -13
  196. package/dist/chunks/{schema-f75zav2x.js → wellknown-rert0e01.js} +2 -2
  197. package/dist/chunks/{schema-8rt53k6z.js → wellknown-rf6hexmr.js} +3 -3
  198. package/dist/chunks/{schema-6ehx317m.js → wellknown-rf8f0yt3.js} +5 -5
  199. package/dist/chunks/{schema-vr8megq1.js → wellknown-rhw9mqe3.js} +23 -23
  200. package/dist/chunks/{schema-3cegwx68.js → wellknown-rj3eygr5.js} +3 -2
  201. package/dist/chunks/{schema-b0agzzj4.js → wellknown-rkv1q4w6.js} +17 -17
  202. package/dist/chunks/{schema-4vf6p7z8.js → wellknown-rmadhj2k.js} +19 -19
  203. package/dist/chunks/{schema-drnf6xwf.js → wellknown-rqa1jxse.js} +2 -2
  204. package/dist/chunks/{schema-24f8gbsn.js → wellknown-rtpc87ef.js} +24 -24
  205. package/dist/chunks/{schema-hweb1ns6.js → wellknown-rw22skhx.js} +9 -9
  206. package/dist/chunks/{schema-b6nnf8m3.js → wellknown-rwcqpfzb.js} +6 -6
  207. package/dist/chunks/{schema-fqq9xsk7.js → wellknown-rz6dkkgy.js} +19 -19
  208. package/dist/chunks/{schema-8w4cj8nh.js → wellknown-s6tav21f.js} +7 -7
  209. package/dist/chunks/{schema-94kgfjtq.js → wellknown-s6tfy31a.js} +45 -45
  210. package/dist/chunks/{schema-9n19sj5j.js → wellknown-s790q102.js} +21 -21
  211. package/dist/chunks/{schema-84h8c373.js → wellknown-sa8ekw3f.js} +2 -2
  212. package/dist/chunks/{schema-p253t8me.js → wellknown-sg3zez9q.js} +11 -11
  213. package/dist/chunks/{schema-xptvtjnp.js → wellknown-ssd9x6fw.js} +8 -8
  214. package/dist/chunks/{schema-ttmwvqbw.js → wellknown-sxdhggs7.js} +9 -9
  215. package/dist/chunks/{schema-f2kjzyx7.js → wellknown-sy1z26mt.js} +19 -19
  216. package/dist/chunks/{schema-r6d930kt.js → wellknown-sz492jsj.js} +11 -11
  217. package/dist/chunks/{schema-1ajmp50w.js → wellknown-t4fbsvde.js} +23 -23
  218. package/dist/chunks/{schema-zczs6yb2.js → wellknown-t95ytspt.js} +20 -20
  219. package/dist/chunks/{schema-3xw42s60.js → wellknown-t9bkwnkz.js} +21 -21
  220. package/dist/chunks/{schema-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{schema-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
  222. package/dist/chunks/{schema-x651es2g.js → wellknown-tcqbkk77.js} +4 -4
  223. package/dist/chunks/{schema-5en7z6zr.js → wellknown-tdaccg2z.js} +9 -9
  224. package/dist/chunks/{schema-k5qw4hft.js → wellknown-tdbmj82j.js} +8 -8
  225. package/dist/chunks/{schema-tdstcens.js → wellknown-tdstcens.js} +1 -1
  226. package/dist/chunks/{schema-fnkxn25c.js → wellknown-tgj70b2r.js} +5 -5
  227. package/dist/chunks/{schema-8hh8rms7.js → wellknown-tpd1z469.js} +6 -6
  228. package/dist/chunks/{schema-pthxb9ry.js → wellknown-tsx9151n.js} +19 -19
  229. package/dist/chunks/{schema-7dy85ahw.js → wellknown-twwzjqdf.js} +6 -6
  230. package/dist/chunks/{schema-tyytaxap.js → wellknown-tyytaxap.js} +1 -1
  231. package/dist/chunks/{schema-0r1cr89s.js → wellknown-v3shqdas.js} +12 -12
  232. package/dist/chunks/{schema-ryr25ayn.js → wellknown-v5dkyp31.js} +4 -4
  233. package/dist/chunks/{schema-v7p4zvkq.js → wellknown-v7p4zvkq.js} +2 -2
  234. package/dist/chunks/{schema-6nd16mgq.js → wellknown-v895vwvw.js} +1 -1
  235. package/dist/chunks/{schema-c3pxc7te.js → wellknown-vb74559e.js} +22 -22
  236. package/dist/chunks/{schema-b07tzjw9.js → wellknown-vcjvn6yt.js} +8 -8
  237. package/dist/chunks/{schema-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
  238. package/dist/chunks/{schema-1zf0w0mf.js → wellknown-vh4msy83.js} +3 -3
  239. package/dist/chunks/{schema-1gqdmt0p.js → wellknown-vqmmygk9.js} +17 -17
  240. package/dist/chunks/{schema-page4y1m.js → wellknown-vyjsqzsp.js} +25 -25
  241. package/dist/chunks/{schema-vzs5sf6e.js → wellknown-vzs5sf6e.js} +1 -1
  242. package/dist/chunks/{schema-dnk41676.js → wellknown-w0r29c61.js} +46 -46
  243. package/dist/chunks/{schema-84txncab.js → wellknown-w1eejvng.js} +5 -5
  244. package/dist/chunks/{schema-f0q60j9h.js → wellknown-w30xpdgm.js} +14 -14
  245. package/dist/chunks/{schema-y54hr7f3.js → wellknown-w3nq1sqw.js} +9 -9
  246. package/dist/chunks/{schema-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{schema-txm3e8qz.js → wellknown-waskdk5r.js} +4 -4
  248. package/dist/chunks/{schema-wd87259q.js → wellknown-wd87259q.js} +1 -1
  249. package/dist/chunks/{schema-7fbbp2qf.js → wellknown-wh6pa4pr.js} +10 -10
  250. package/dist/chunks/{schema-gcavn3wx.js → wellknown-wr7ps67x.js} +5 -5
  251. package/dist/chunks/{schema-bqxzme6r.js → wellknown-wt1nksa6.js} +12 -12
  252. package/dist/chunks/{schema-kxx577b5.js → wellknown-wt4vhc6y.js} +9 -9
  253. package/dist/chunks/{schema-gzpc0ern.js → wellknown-wv1h3qq2.js} +33 -33
  254. package/dist/chunks/{schema-g4njwx0b.js → wellknown-wwzdatwd.js} +16 -16
  255. package/dist/chunks/wellknown-wzxzhr7t.js +253 -0
  256. package/dist/chunks/{schema-txfbykqs.js → wellknown-x5gff5v6.js} +27 -27
  257. package/dist/chunks/{schema-b5111p8f.js → wellknown-x7vezkgw.js} +5 -5
  258. package/dist/chunks/{schema-8hk55ja4.js → wellknown-xa1s2aen.js} +29 -29
  259. package/dist/chunks/{schema-xfkkasph.js → wellknown-xfkkasph.js} +1 -1
  260. package/dist/chunks/{schema-ye6fgm33.js → wellknown-xh6qfzz1.js} +90 -90
  261. package/dist/chunks/{schema-25tm57nk.js → wellknown-xk1n9kaj.js} +14 -14
  262. package/dist/chunks/{schema-jy9tvk3y.js → wellknown-xnh7pp4h.js} +22 -22
  263. package/dist/chunks/{schema-exvgxj6x.js → wellknown-xnnpmnef.js} +9 -9
  264. package/dist/chunks/{schema-hdta74m5.js → wellknown-xrnpkz2z.js} +16 -16
  265. package/dist/chunks/{schema-ykk7pmdn.js → wellknown-xt49yzba.js} +4 -4
  266. package/dist/chunks/{schema-3g8j9he4.js → wellknown-xt4njr3s.js} +1 -1
  267. package/dist/chunks/{schema-qjbhc1am.js → wellknown-y14ra9sp.js} +78 -48
  268. package/dist/chunks/{schema-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{schema-tpje4fnv.js → wellknown-y1n9ww1g.js} +17 -17
  270. package/dist/chunks/{schema-vmecfj1a.js → wellknown-y1xqe3xy.js} +38 -38
  271. package/dist/chunks/{schema-hc5b8hrn.js → wellknown-yajxfkjf.js} +9 -9
  272. package/dist/chunks/{schema-g0ktjft2.js → wellknown-yeg8efr2.js} +19 -19
  273. package/dist/chunks/{schema-yekg5bww.js → wellknown-ysa2vprg.js} +9 -9
  274. package/dist/chunks/{schema-b8k8fdv1.js → wellknown-ysyc45db.js} +21 -21
  275. package/dist/chunks/{schema-htjw9qza.js → wellknown-yx0rmv9r.js} +6 -6
  276. package/dist/chunks/{schema-9z48nynt.js → wellknown-yywvx7pt.js} +23 -23
  277. package/dist/chunks/{schema-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{schema-kn9hkvj3.js → wellknown-z2wpmfzv.js} +4 -4
  279. package/dist/chunks/{schema-ygbc3xn1.js → wellknown-z4vnkb91.js} +19 -19
  280. package/dist/chunks/{schema-01tebjt2.js → wellknown-z4yse633.js} +4 -4
  281. package/dist/chunks/{schema-dsm6mk11.js → wellknown-zc0d9hvr.js} +14 -14
  282. package/dist/chunks/{schema-pnaxc6j9.js → wellknown-ze75yzft.js} +8 -8
  283. package/dist/chunks/{schema-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{schema-rfrb0sty.js → wellknown-zr9bnb5b.js} +22 -22
  285. package/dist/chunks/{schema-addxnjmp.js → wellknown-zw2hpfmh.js} +4 -4
  286. package/dist/chunks/{schema-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +83 -82
  292. package/dist/config/discovery.js +84 -83
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -100
  295. package/dist/config/plugin/agent.js +118 -117
  296. package/dist/config/plugin/command.js +207 -206
  297. package/dist/config/plugin/compaction.js +156 -155
  298. package/dist/config/plugin/compatibility.js +136 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +119 -118
  301. package/dist/config/plugin/image.js +118 -117
  302. package/dist/config/plugin/instruction.js +92 -91
  303. package/dist/config/plugin/location-watcher.js +118 -117
  304. package/dist/config/plugin/mcp.js +125 -124
  305. package/dist/config/plugin/policy.js +117 -116
  306. package/dist/config/plugin/provider.js +118 -117
  307. package/dist/config/plugin/reference.js +120 -119
  308. package/dist/config/plugin/shell.js +118 -117
  309. package/dist/config/plugin/skill-file.js +104 -103
  310. package/dist/config/plugin/skill.js +137 -136
  311. package/dist/config/plugin/snapshot.js +118 -117
  312. package/dist/config/plugin/source.js +121 -120
  313. package/dist/config/plugin/tool-output.js +119 -118
  314. package/dist/config/plugin/websearch.js +117 -116
  315. package/dist/config/plugin/worktree.js +120 -119
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +123 -122
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +87 -86
  321. package/dist/database/database.js +68 -67
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +6 -0
  388. package/dist/database/migration.gen.js +51 -50
  389. package/dist/database/migration.js +53 -52
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -77
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -367
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -94
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +97 -96
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +76 -75
  413. package/dist/file-access.js +102 -101
  414. package/dist/file-mutation.js +96 -95
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +216 -215
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +101 -100
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +102 -101
  427. package/dist/form.js +86 -85
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +89 -88
  430. package/dist/generate.js +105 -104
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +101 -100
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +359 -358
  455. package/dist/instruction-discovery.js +87 -86
  456. package/dist/instructions/builtins.js +89 -88
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +89 -88
  460. package/dist/job.js +80 -79
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -74
  463. package/dist/location-activity.js +136 -135
  464. package/dist/location-lifecycle.js +109 -108
  465. package/dist/location-service-map.js +88 -87
  466. package/dist/location-services.js +356 -355
  467. package/dist/location.js +89 -88
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -92
  470. package/dist/mcp/index.js +107 -106
  471. package/dist/mcp/instructions.js +131 -130
  472. package/dist/mcp/oauth.js +80 -79
  473. package/dist/mcp/stdio.js +92 -91
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +101 -100
  476. package/dist/model-resolver.js +100 -99
  477. package/dist/model.js +104 -103
  478. package/dist/models-dev.js +105 -104
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +82 -81
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +115 -114
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +92 -91
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +77 -76
  488. package/dist/plugin/agent.js +76 -75
  489. package/dist/plugin/command.js +102 -101
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +213 -212
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +331 -330
  495. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  496. package/dist/plugin/models-dev.js +98 -97
  497. package/dist/plugin/module.js +119 -118
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +104 -103
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +92 -91
  502. package/dist/plugin/provider/azure.js +119 -118
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/chatgpt.js +96 -95
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -114
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -115
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +114 -113
  509. package/dist/plugin/provider/databricks.js +1 -1
  510. package/dist/plugin/provider/digitalocean.js +95 -94
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/github-copilot.js +97 -96
  514. package/dist/plugin/provider/gitlab.js +95 -94
  515. package/dist/plugin/provider/google-vertex.js +115 -114
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +80 -79
  518. package/dist/plugin/provider/lmstudio.js +127 -126
  519. package/dist/plugin/provider/local.js +124 -123
  520. package/dist/plugin/provider/modal.js +94 -93
  521. package/dist/plugin/provider/neon.js +1 -1
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +127 -126
  524. package/dist/plugin/provider/openai.js +95 -94
  525. package/dist/plugin/provider/opencode.js +99 -98
  526. package/dist/plugin/provider/openrouter.js +93 -92
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +81 -80
  529. package/dist/plugin/provider/prompt-cache-key.js +92 -91
  530. package/dist/plugin/provider/sap-ai-core.js +93 -92
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +117 -116
  533. package/dist/plugin/provider/vercel.js +92 -91
  534. package/dist/plugin/provider/vllm.js +127 -126
  535. package/dist/plugin/provider/xai.js +93 -92
  536. package/dist/plugin/provider/zenmux.js +1 -1
  537. package/dist/plugin/provider.js +169 -168
  538. package/dist/plugin/sdk.js +76 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +136 -135
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +346 -345
  543. package/dist/plugin/tool-input-repair.js +4 -4
  544. package/dist/plugin/update.js +6 -6
  545. package/dist/plugin/vcs/git.js +88 -87
  546. package/dist/plugin/vcs/hg.js +88 -87
  547. package/dist/plugin/verbosity.js +95 -94
  548. package/dist/plugin/warming.js +116 -115
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +4 -4
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +220 -219
  557. package/dist/project/schema.js +6 -6
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +93 -90
  560. package/dist/provider.js +103 -102
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +91 -90
  564. package/dist/reference/instructions.js +91 -90
  565. package/dist/reference.js +93 -92
  566. package/dist/repository-cache.js +83 -82
  567. package/dist/repository.js +3 -3
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +97 -96
  570. package/dist/rpc.js +88 -87
  571. package/dist/schema.js +1 -1
  572. package/dist/session/affinity.js +1 -1
  573. package/dist/session/command.js +76 -75
  574. package/dist/session/compaction.js +133 -132
  575. package/dist/session/context.js +155 -154
  576. package/dist/session/diff.js +90 -89
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +5 -5
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +219 -218
  581. package/dist/session/execution.js +127 -126
  582. package/dist/session/generate.js +154 -153
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +90 -89
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +81 -80
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +99 -98
  589. package/dist/session/message-updater.js +4 -4
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +122 -121
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +131 -130
  594. package/dist/session/projector.js +88 -87
  595. package/dist/session/prompt.js +107 -106
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +92 -91
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +224 -223
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +100 -99
  603. package/dist/session/runner/publish-llm-event.js +115 -114
  604. package/dist/session/runner/retry.js +4 -4
  605. package/dist/session/runner/step.js +125 -124
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +166 -165
  609. package/dist/session/shell.js +132 -131
  610. package/dist/session/skill.js +105 -104
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +75 -74
  613. package/dist/session/store.js +87 -86
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +207 -206
  616. package/dist/session/system-prompt.js +1 -1
  617. package/dist/session/title.js +153 -152
  618. package/dist/session/to-session-error.js +113 -112
  619. package/dist/session/transfer.js +214 -213
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +211 -210
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +13 -13
  626. package/dist/shell.js +134 -133
  627. package/dist/skill/discovery.js +2 -2
  628. package/dist/skill/instructions.js +107 -106
  629. package/dist/skill.js +116 -115
  630. package/dist/snapshot.js +91 -90
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +130 -129
  635. package/dist/tool/plugin/edit.js +122 -121
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +120 -119
  638. package/dist/tool/plugin/grep.js +126 -125
  639. package/dist/tool/plugin/mcp-resource.js +119 -118
  640. package/dist/tool/plugin/opencode.js +111 -110
  641. package/dist/tool/plugin/patch.js +118 -117
  642. package/dist/tool/plugin/question.js +105 -104
  643. package/dist/tool/plugin/read.js +125 -124
  644. package/dist/tool/plugin/shell.js +210 -209
  645. package/dist/tool/plugin/skill.js +115 -114
  646. package/dist/tool/plugin/subagent.js +214 -213
  647. package/dist/tool/plugin/webfetch.js +114 -113
  648. package/dist/tool/plugin/websearch.js +114 -113
  649. package/dist/tool/plugin/write.js +122 -121
  650. package/dist/tool/read-filesystem.js +102 -101
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +7 -7
  653. package/dist/tool.js +12 -12
  654. package/dist/types/database/migration/20261010180456_project_time_archived.d.ts +3 -0
  655. package/dist/types/project/schema.d.ts +5 -0
  656. package/dist/types/project/sql.d.ts +16 -0
  657. package/dist/types/project.d.ts +9 -1
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -93
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +93 -92
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -90
  679. package/dist/websearch.js +82 -81
  680. package/dist/wellknown/plugin.js +76 -75
  681. package/dist/wellknown.js +83 -82
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -83
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -90
  689. package/dist/worktree.js +96 -95
  690. package/package.json +8 -8
  691. package/dist/chunks/schema-619r8v3y.js +0 -18
  692. package/dist/chunks/schema-anxvsj3j.js +0 -26
  693. package/dist/chunks/schema-s0y99pez.js +0 -253
  694. /package/dist/chunks/{schema-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{schema-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{schema-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{schema-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{schema-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{schema-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{schema-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{schema-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{schema-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{schema-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{schema-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{schema-3asan66x.js → wellknown-3asan66x.js} +0 -0
  706. /package/dist/chunks/{schema-3t0ybcrp.js → wellknown-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{schema-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{schema-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{schema-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{schema-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{schema-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{schema-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{schema-53557ph1.js → wellknown-53557ph1.js} +0 -0
  714. /package/dist/chunks/{schema-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{schema-5qd3pb7m.js → wellknown-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{schema-6prwharc.js → wellknown-6prwharc.js} +0 -0
  717. /package/dist/chunks/{schema-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{schema-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{schema-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{schema-822emrt2.js → wellknown-822emrt2.js} +0 -0
  721. /package/dist/chunks/{schema-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{schema-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{schema-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{schema-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{schema-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{schema-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{schema-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{schema-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{schema-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{schema-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{schema-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{schema-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{schema-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{schema-bw78ga2c.js → wellknown-bw78ga2c.js} +0 -0
  735. /package/dist/chunks/{schema-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{schema-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{schema-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{schema-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{schema-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{schema-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{schema-df08tz66.js → wellknown-df08tz66.js} +0 -0
  742. /package/dist/chunks/{schema-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{schema-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{schema-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{schema-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{schema-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{schema-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{schema-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{schema-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{schema-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{schema-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{schema-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{schema-g86h250q.js → wellknown-g86h250q.js} +0 -0
  754. /package/dist/chunks/{schema-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{schema-gftt206x.js → wellknown-gftt206x.js} +0 -0
  756. /package/dist/chunks/{schema-hk9envan.js → wellknown-hk9envan.js} +0 -0
  757. /package/dist/chunks/{schema-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{schema-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{schema-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{schema-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{schema-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{schema-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{schema-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{schema-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{schema-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{schema-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{schema-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{schema-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{schema-pyv0edze.js → wellknown-pyv0edze.js} +0 -0
  770. /package/dist/chunks/{schema-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{schema-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{schema-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{schema-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{schema-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{schema-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{schema-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{schema-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{schema-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{schema-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{schema-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{schema-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{schema-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{schema-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{schema-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{schema-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{schema-x61499pn.js → wellknown-x61499pn.js} +0 -0
  787. /package/dist/chunks/{schema-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{schema-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{schema-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{schema-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{schema-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
  792. /package/dist/chunks/{schema-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID11,
3
- Service68
4
- } from "./schema-yy8c48ah.js";
2
+ ID14,
3
+ Service76
4
+ } from "./wellknown-1bh5qdrr.js";
5
5
  import {
6
6
  Ref2,
7
- Service76
8
- } from "./schema-zy4v1d78.js";
7
+ Service67
8
+ } from "./wellknown-033ejm38.js";
9
9
  import {
10
10
  latest2,
11
- Service47
12
- } from "./schema-dnk41676.js";
11
+ Service60
12
+ } from "./wellknown-w0r29c61.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./schema-my4zabxr.js";
15
+ } from "./wellknown-48kw51zw.js";
16
16
  import {
17
- Service63
18
- } from "./schema-hdta74m5.js";
17
+ Service51
18
+ } from "./wellknown-xrnpkz2z.js";
19
19
  import {
20
20
  evaluate2,
21
- Service65
22
- } from "./schema-mgn9s9vj.js";
21
+ Service73
22
+ } from "./wellknown-4yt2xgtx.js";
23
23
  import {
24
- Service29
25
- } from "./schema-ye6fgm33.js";
24
+ Service30
25
+ } from "./wellknown-xh6qfzz1.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./schema-6xb47vfp.js";
28
+ } from "./wellknown-6xb47vfp.js";
29
29
  import {
30
- Service9
31
- } from "./schema-9eq4r153.js";
30
+ Service10
31
+ } from "./wellknown-5rtw7paw.js";
32
32
  import {
33
33
  __export
34
- } from "./schema-9rqn6x4v.js";
34
+ } from "./wellknown-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input10,
40
- Output: () => Output6,
41
- Plugin: () => Plugin11,
39
+ Input: () => Input7,
40
+ Output: () => Output5,
41
+ Plugin: () => Plugin24,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
44
- name: () => name10
43
+ description: () => description3,
44
+ name: () => name7
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name10 = "subagent";
48
+ var name7 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input10 = Schema.Struct({
59
+ var Input7 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output6 = Schema.Struct({
75
+ var Output5 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description5 = [
80
+ var description3 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin11 = {
89
+ var Plugin24 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service29;
93
- const jobs = yield* Service63;
94
- const agents = yield* Service68;
95
- const config = yield* Service47;
96
- const permission = yield* Service65;
97
- const models = yield* Service76;
98
- const subagents = yield* Service9;
92
+ const sessions = yield* Service30;
93
+ const jobs = yield* Service51;
94
+ const agents = yield* Service76;
95
+ const config = yield* Service60;
96
+ const permission = yield* Service73;
97
+ const models = yield* Service67;
98
+ const subagents = yield* Service10;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin11 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name10,
118
+ name: name7,
119
119
  options: { codemode: false },
120
- description: description5,
121
- input: Input10,
122
- output: Output6,
120
+ description: description3,
121
+ input: Input7,
122
+ output: Output5,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin11 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name10,
142
+ action: name7,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin11 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID11.make(input.agent),
171
+ agent: ID14.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name10 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name7 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name10];
233
+ const tool = event.tools[name7];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name10, Input10, Output6, description5, Plugin11, exports_subagent };
256
+ export { name7, Input7, Output5, description3, Plugin24, exports_subagent };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./schema-25tm57nk.js";
2
+ Service80,
3
+ node83
4
+ } from "./wellknown-xk1n9kaj.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./schema-g4njwx0b.js";
6
+ Service78,
7
+ node81
8
+ } from "./wellknown-wwzdatwd.js";
9
9
  import {
10
- Service54,
11
- node58
12
- } from "./schema-24f8gbsn.js";
10
+ Service63,
11
+ node66
12
+ } from "./wellknown-rtpc87ef.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./schema-gd4qta3r.js";
15
+ } from "./wellknown-gd4qta3r.js";
16
16
  import {
17
- Service74,
17
+ Service58,
18
18
  args2,
19
- node78
20
- } from "./schema-fqq9xsk7.js";
19
+ node61
20
+ } from "./wellknown-rz6dkkgy.js";
21
21
  import {
22
- Service70,
23
- node74
24
- } from "./schema-pnaxc6j9.js";
22
+ Service77,
23
+ node80
24
+ } from "./wellknown-ze75yzft.js";
25
25
  import {
26
- Service44,
27
- node47
28
- } from "./schema-w3x9v1nk.js";
26
+ Service57,
27
+ node60
28
+ } from "./wellknown-mp6d0dty.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./schema-my4zabxr.js";
31
+ } from "./wellknown-48kw51zw.js";
32
32
  import {
33
33
  latest2,
34
- Service47,
35
- node50
36
- } from "./schema-dnk41676.js";
34
+ Service60,
35
+ node63
36
+ } from "./wellknown-w0r29c61.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./schema-xcmk6yw7.js";
40
+ } from "./wellknown-hy1va3t8.js";
41
41
  import {
42
42
  __export
43
- } from "./schema-9rqn6x4v.js";
43
+ } from "./wellknown-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError6,
49
+ NotFoundError: () => NotFoundError7,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service43,
51
+ Service: () => Service56,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node46
54
+ node: () => node59
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service43 extends Context.Service()("@opencode/Shell") {
74
+ class Service56 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service43, Effect.gen(function* () {
91
- const bus = yield* Service84;
92
- const location = yield* Service81;
90
+ var layer = () => Layer.effect(Service56, Effect.gen(function* () {
91
+ const bus = yield* Service80;
92
+ const location = yield* Service78;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service74;
95
- const environment = yield* Service54;
96
- const hooks = yield* Service70;
97
- const environments = yield* Service44;
98
- const config = yield* Service47;
94
+ const shell = yield* Service58;
95
+ const environment = yield* Service63;
96
+ const hooks = yield* Service77;
97
+ const environments = yield* Service57;
98
+ const config = yield* Service60;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError6({ id });
119
+ return yield* new NotFoundError7({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError6({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError7({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service43.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service56.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node46 = makeLocationNode({
329
- service: Service43,
328
+ var node59 = makeLocationNode({
329
+ service: Service56,
330
330
  layer: layer(),
331
331
  deps: [
332
- node88,
333
- node85,
332
+ node83,
333
+ node81,
334
334
  Global.node,
335
- node78,
336
- node58,
337
- node74,
338
- node47,
339
- node50,
335
+ node61,
336
+ node66,
337
+ node80,
338
+ node60,
339
+ node63,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError6, RETENTION2, DIRECTORY2, Service43, cleanup2, node46, exports_shell4 };
344
+ export { NotFoundError7, RETENTION2, DIRECTORY2, Service56, cleanup2, node59, exports_shell4 };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service65
3
- } from "./schema-mgn9s9vj.js";
2
+ Service73
3
+ } from "./wellknown-4yt2xgtx.js";
4
4
  import {
5
- ID5,
5
+ ID11,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service45
10
- } from "./schema-12ve6aey.js";
9
+ Service72
10
+ } from "./wellknown-3jrph8t9.js";
11
11
  import {
12
12
  __export
13
- } from "./schema-9rqn6x4v.js";
13
+ } from "./wellknown-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill = {};
17
- __export(exports_skill, {
18
- Input: () => Input3,
19
- Output: () => Output2,
20
- Plugin: () => Plugin3,
21
- SkillTool: () => exports_skill,
22
- description: () => description2,
23
- name: () => name3,
16
+ var exports_skill2 = {};
17
+ __export(exports_skill2, {
18
+ Input: () => Input12,
19
+ Output: () => Output8,
20
+ Plugin: () => Plugin29,
21
+ SkillTool: () => exports_skill2,
22
+ description: () => description5,
23
+ name: () => name12,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name3 = "skill";
30
- var Input3 = Schema.Struct({
31
- id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name12 = "skill";
30
+ var Input12 = Schema.Struct({
31
+ id: ID11.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output2 = Schema.Struct({
33
+ var Output8 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description2 = [
38
+ var description5 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description2 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin3 = {
46
+ var Plugin29 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service45;
51
- const permission = yield* Service65;
50
+ const skills = yield* Service72;
51
+ const permission = yield* Service73;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name3,
53
+ name: name12,
54
54
  options: { codemode: false },
55
- description: description2,
56
- input: Input3,
57
- output: Output2,
55
+ description: description5,
56
+ input: Input12,
57
+ output: Output8,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name3,
64
+ action: name12,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin3 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name3, Input3, Output2, description2, toModelOutput2, Plugin3, exports_skill };
82
+ export { name12, Input12, Output8, description5, toModelOutput2, Plugin29, exports_skill2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service48
3
- } from "./schema-2jbq5rvd.js";
2
+ Service61
3
+ } from "./wellknown-e825dkyw.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./schema-s8d7rejh.js";
6
+ } from "./wellknown-02nrjc1r.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./schema-z5v4ffb3.js";
9
+ } from "./wellknown-z5v4ffb3.js";
10
10
  import {
11
11
  File2,
12
- Service53
13
- } from "./schema-ghyrxap0.js";
12
+ Service55
13
+ } from "./wellknown-2gjkaaq8.js";
14
14
  import {
15
- Service81
16
- } from "./schema-g4njwx0b.js";
15
+ Service78
16
+ } from "./wellknown-wwzdatwd.js";
17
17
  import {
18
18
  __export
19
- } from "./schema-9rqn6x4v.js";
19
+ } from "./wellknown-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin39
25
+ Plugin: () => Plugin41
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
30
30
  import { sameDirectory } from "@opencode/util/path";
31
31
  import { dirname, join } from "path";
32
32
  import { Effect, PubSub, Semaphore, Stream } from "effect";
33
- var Plugin39 = define({
33
+ var Plugin41 = define({
34
34
  id: "opencode.config.instruction",
35
35
  effect: Effect.fn(function* () {
36
- const discovery = yield* Service53;
36
+ const discovery = yield* Service55;
37
37
  if (!discovery.project && !discovery.global)
38
38
  return;
39
39
  yield* Effect.gen(function* () {
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
- const location = yield* Service81;
43
- const watcher = yield* Service48;
42
+ const location = yield* Service78;
43
+ const watcher = yield* Service61;
44
44
  const changes = yield* PubSub.sliding(1);
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  const start = yield* fs.resolve(location.directory);
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
115
115
  return [start, ...ancestorDirectories(dirname(start), stop)];
116
116
  }
117
117
 
118
- export { Plugin39, exports_instruction };
118
+ export { Plugin41, exports_instruction };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./schema-hgz4x7wa.js";
3
+ } from "./wellknown-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./schema-z5v4ffb3.js";
6
+ } from "./wellknown-z5v4ffb3.js";
7
7
  import {
8
- Service81
9
- } from "./schema-g4njwx0b.js";
8
+ Service78
9
+ } from "./wellknown-wwzdatwd.js";
10
10
  import {
11
- Service54
12
- } from "./schema-24f8gbsn.js";
11
+ Service63
12
+ } from "./wellknown-rtpc87ef.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service28
16
- } from "./schema-f0q60j9h.js";
15
+ Service23
16
+ } from "./wellknown-w30xpdgm.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./schema-b8k8fdv1.js";
23
+ } from "./wellknown-ysyc45db.js";
24
24
  import {
25
- Service65
26
- } from "./schema-mgn9s9vj.js";
25
+ Service73
26
+ } from "./wellknown-4yt2xgtx.js";
27
27
  import {
28
28
  Service15
29
- } from "./schema-0r1cr89s.js";
29
+ } from "./wellknown-v3shqdas.js";
30
30
  import {
31
31
  __export
32
- } from "./schema-9rqn6x4v.js";
32
+ } from "./wellknown-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input8,
39
- Output: () => Output5,
40
- Plugin: () => Plugin9,
41
- name: () => name8,
42
- toModelContent: () => toModelContent4
38
+ Input: () => Input3,
39
+ Output: () => Output2,
40
+ Plugin: () => Plugin18,
41
+ name: () => name3,
42
+ toModelContent: () => toModelContent2
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name8 = "grep";
48
- var Input8 = Schema.Struct({
47
+ var name3 = "grep";
48
+ var Input3 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input8 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output5 = Schema.Array(Match2);
69
- var toModelContent4 = (matches, truncated = false) => {
68
+ var Output2 = Schema.Array(Match2);
69
+ var toModelContent2 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin9 = {
86
+ var Plugin18 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service54;
90
- const ripgrep = yield* Service28;
91
- const location = yield* Service81;
89
+ const environment = yield* Service63;
90
+ const ripgrep = yield* Service23;
91
+ const location = yield* Service78;
92
92
  const access = yield* Service15;
93
- const permission = yield* Service65;
93
+ const permission = yield* Service73;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name8,
95
+ name: name3,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input8,
99
- output: Output5,
98
+ input: Input3,
99
+ output: Output2,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name8,
105
+ action: name3,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin9 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent4(result.matches.map((match) => ({
147
+ content: toModelContent2(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin9 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name8, Input8, Output5, toModelContent4, Plugin9, exports_grep };
157
+ export { name3, Input3, Output2, toModelContent2, Plugin18, exports_grep };