@opencode/core 0.0.0-dev-20538 → 0.0.0-dev-20541

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{git-xyvjgbjk.js → command-01jzyxk2.js} +5 -5
  8. package/dist/chunks/{git-tr58f7gx.js → command-0axee2zp.js} +11 -11
  9. package/dist/chunks/{git-6epn3xv5.js → command-0djpsv8h.js} +14 -14
  10. package/dist/chunks/{git-q0xm7vwc.js → command-0j77ygfz.js} +6 -6
  11. package/dist/chunks/{git-ytxjpgh7.js → command-0jf2y13k.js} +24 -24
  12. package/dist/chunks/{git-6twx9xr3.js → command-0n4qmygn.js} +6 -6
  13. package/dist/chunks/{git-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{git-cew1wkrw.js → command-0qs5s41g.js} +11 -11
  15. package/dist/chunks/{git-0vbcp93d.js → command-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{git-x8f5ayf7.js → command-0wv8zgxx.js} +5 -5
  17. package/dist/chunks/{git-97w5rk9e.js → command-15nepkqg.js} +8 -8
  18. package/dist/chunks/{git-9b00c1fb.js → command-1cfb3ja4.js} +5 -5
  19. package/dist/chunks/{git-1dazxqgg.js → command-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{git-h3b3f6s3.js → command-1dfrqcjm.js} +8 -8
  21. package/dist/chunks/{git-1dvck2a7.js → command-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{git-jy1wdjtb.js → command-1g7wkek7.js} +6 -6
  23. package/dist/chunks/{git-7pa1ctbt.js → command-1k3q76yn.js} +11 -11
  24. package/dist/chunks/{git-pdsp1jvw.js → command-1q3t7fvn.js} +40 -40
  25. package/dist/chunks/{git-m1aepqe8.js → command-1v328y5z.js} +309 -309
  26. package/dist/chunks/{git-56gdpj1q.js → command-1ygqh575.js} +9 -9
  27. package/dist/chunks/{git-9bqe0gpf.js → command-213p2swk.js} +17 -17
  28. package/dist/chunks/{git-hx87qmaz.js → command-21xha1jy.js} +33 -33
  29. package/dist/chunks/{git-0grad2ye.js → command-22t0k3cz.js} +45 -45
  30. package/dist/chunks/{git-gv66gg0x.js → command-2336b01z.js} +8 -8
  31. package/dist/chunks/{git-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{git-4ts7tf6z.js → command-2ccvkpx1.js} +2 -2
  33. package/dist/chunks/{git-v5eb4ppj.js → command-2gef892y.js} +6 -6
  34. package/dist/chunks/{git-b44nc6js.js → command-2pxx49tn.js} +18 -18
  35. package/dist/chunks/{git-e0vtkr8g.js → command-2qx5ewc2.js} +6 -6
  36. package/dist/chunks/{git-wxyynt4w.js → command-3556dn8t.js} +1 -1
  37. package/dist/chunks/{git-e6gk6vkp.js → command-392tpz92.js} +5 -5
  38. package/dist/chunks/{git-1ty6ajzg.js → command-3b9mfnb1.js} +45 -45
  39. package/dist/chunks/{git-v0es1rhs.js → command-3byrw2k0.js} +9 -9
  40. package/dist/chunks/{git-y2ngvk0e.js → command-3cve9wcq.js} +16 -16
  41. package/dist/chunks/{git-3fc6dm20.js → command-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{git-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{git-cfgx7myt.js → command-3ndhv5ev.js} +46 -46
  44. package/dist/chunks/{git-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{git-20gpyykp.js → command-3sqh8pm2.js} +12 -12
  46. package/dist/chunks/{git-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{git-b5hrghh5.js → command-3vn5r7fz.js} +4 -4
  48. package/dist/chunks/{git-db2wf4at.js → command-3y377wv9.js} +4 -4
  49. package/dist/chunks/{git-3zsf4n22.js → command-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{git-d3x0g1ge.js → command-401cxz9d.js} +9 -9
  51. package/dist/chunks/{git-brrvqv00.js → command-45vb5exr.js} +20 -20
  52. package/dist/chunks/{git-d1mtykxg.js → command-4mwpykj0.js} +6 -6
  53. package/dist/chunks/{git-yqxy1077.js → command-4n47a3cw.js} +14 -14
  54. package/dist/chunks/{git-9njgvhef.js → command-4xqwpdwt.js} +22 -22
  55. package/dist/chunks/{git-gw7cjrad.js → command-4z58m4b4.js} +4 -4
  56. package/dist/chunks/{git-54ma36ye.js → command-54ma36ye.js} +1 -1
  57. package/dist/chunks/{git-j7bxsyf2.js → command-578mczcx.js} +7 -7
  58. package/dist/chunks/{git-4169ywwa.js → command-5crddx1s.js} +32 -32
  59. package/dist/chunks/{git-5daktx2q.js → command-5daktx2q.js} +1 -1
  60. package/dist/chunks/{git-t4epz8me.js → command-5n7vjdk6.js} +5 -5
  61. package/dist/chunks/{git-5t3nmthw.js → command-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{git-63db42yp.js → command-5t5wrhde.js} +2 -2
  63. package/dist/chunks/{git-3cd9n481.js → command-5tcm9639.js} +5 -5
  64. package/dist/chunks/{git-vdeatv7n.js → command-5vyb2hja.js} +3 -3
  65. package/dist/chunks/{git-sv2t3cbt.js → command-5zqqr9b4.js} +10 -10
  66. package/dist/chunks/{git-7dbvm11f.js → command-61d0nta3.js} +88 -88
  67. package/dist/chunks/{git-669tq793.js → command-669tq793.js} +1 -1
  68. package/dist/chunks/{git-wphct09r.js → command-6f8r1xek.js} +14 -14
  69. package/dist/chunks/{git-bqy9wzrr.js → command-6fd4dcha.js} +32 -32
  70. package/dist/chunks/{git-vvqdzh1p.js → command-6nx5bmak.js} +11 -11
  71. package/dist/chunks/{git-yw1cvm16.js → command-6rwesznr.js} +15 -15
  72. package/dist/chunks/{git-cavr175a.js → command-6sr3ve8g.js} +21 -21
  73. package/dist/chunks/{git-gttbyh04.js → command-6v2t73g4.js} +25 -25
  74. package/dist/chunks/{git-y49r18cm.js → command-6v33vpya.js} +5 -5
  75. package/dist/chunks/{git-88g8wgjb.js → command-6w9me9g4.js} +25 -25
  76. package/dist/chunks/{git-dw9armfg.js → command-6y03q21h.js} +2 -2
  77. package/dist/chunks/{git-b22ja64b.js → command-6y94d6d5.js} +5 -5
  78. package/dist/chunks/{git-kjdm35cs.js → command-6yz0wx8n.js} +5 -5
  79. package/dist/chunks/{git-t01ewf6t.js → command-6z2jg7m4.js} +11 -11
  80. package/dist/chunks/{git-71az546q.js → command-71az546q.js} +2 -2
  81. package/dist/chunks/{git-xpepwwf9.js → command-722cwwxx.js} +25 -25
  82. package/dist/chunks/{git-7d711qf4.js → command-74wsvbja.js} +6 -6
  83. package/dist/chunks/{git-3ww825z4.js → command-75rpacef.js} +23 -23
  84. package/dist/chunks/{git-h3d536gm.js → command-77acw9m0.js} +3 -3
  85. package/dist/chunks/{git-d4he2qe1.js → command-79qaa2kf.js} +9 -9
  86. package/dist/chunks/{git-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{git-78nqbeyk.js → command-7q5hsd78.js} +26 -26
  88. package/dist/chunks/{git-210vnmq1.js → command-7qdef5aj.js} +20 -20
  89. package/dist/chunks/{git-3zbwexce.js → command-7skj7b3t.js} +11 -11
  90. package/dist/chunks/{git-ddqzt9ar.js → command-7yetp8jc.js} +22 -22
  91. package/dist/chunks/{git-8fn11dnv.js → command-7yfar2g1.js} +8 -8
  92. package/dist/chunks/{git-sq9d127s.js → command-7zk0wn2x.js} +25 -25
  93. package/dist/chunks/{git-84txncab.js → command-84txncab.js} +1 -1
  94. package/dist/chunks/{git-f390vyfh.js → command-8b107kjv.js} +18 -18
  95. package/dist/chunks/{git-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{git-2fyaf7dq.js → command-8gdnnedh.js} +11 -11
  97. package/dist/chunks/{git-3pxcpp1y.js → command-8gt91z3r.js} +44 -44
  98. package/dist/chunks/{git-yc1swxyv.js → command-8sqk77t7.js} +3 -3
  99. package/dist/chunks/{git-hfjgv5mq.js → command-8t624zf9.js} +9 -9
  100. package/dist/chunks/{git-x3gqap9d.js → command-8wbxkt1z.js} +4 -4
  101. package/dist/chunks/{git-2bawy6dk.js → command-8wwws4s2.js} +30 -30
  102. package/dist/chunks/{git-a4e8tx48.js → command-9aqw140n.js} +30 -30
  103. package/dist/chunks/{git-vq6rpskq.js → command-9basgg3g.js} +3 -3
  104. package/dist/chunks/{git-9e5bzkjp.js → command-9e5bzkjp.js} +3 -3
  105. package/dist/chunks/{git-cmwkp3r5.js → command-9hn6k4tm.js} +8 -8
  106. package/dist/chunks/{git-snc8g6rh.js → command-9qbdnxkb.js} +20 -20
  107. package/dist/chunks/{git-wv396vej.js → command-9t7a50xb.js} +6 -6
  108. package/dist/chunks/{git-dzw83ac5.js → command-a881zpfh.js} +9 -9
  109. package/dist/chunks/{git-aaet6srn.js → command-aaet6srn.js} +2 -2
  110. package/dist/chunks/{git-r4f11j1b.js → command-achynwnm.js} +21 -21
  111. package/dist/chunks/{git-85p13xjx.js → command-ag82fysq.js} +9 -9
  112. package/dist/chunks/{git-zs3esqyg.js → command-as8e1r60.js} +20 -20
  113. package/dist/chunks/{git-9sgmbgh8.js → command-awttz7et.js} +30 -30
  114. package/dist/chunks/{git-vf8se440.js → command-axm04d2k.js} +13 -13
  115. package/dist/chunks/{git-hdkng2sj.js → command-b3f8fkhc.js} +5 -5
  116. package/dist/chunks/{git-01j90eaj.js → command-b4gp33hv.js} +11 -11
  117. package/dist/chunks/{git-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  118. package/dist/chunks/{git-2znbyf30.js → command-b7mjc4a6.js} +3 -3
  119. package/dist/chunks/{git-seb74ce9.js → command-bnymekt2.js} +15 -15
  120. package/dist/chunks/{git-3vd7z3ap.js → command-bpfb0a3w.js} +13 -13
  121. package/dist/chunks/{git-rwp39ykb.js → command-bq7b46md.js} +11 -11
  122. package/dist/chunks/command-by5v678g.js +18 -0
  123. package/dist/chunks/{git-refgdna9.js → command-c33q63qa.js} +15 -15
  124. package/dist/chunks/{git-v4m0f3qj.js → command-c55dey07.js} +22 -22
  125. package/dist/chunks/{git-3jr3e4dz.js → command-c61jsrw6.js} +11 -11
  126. package/dist/chunks/{git-s9e4qx1q.js → command-c67sz4xq.js} +46 -46
  127. package/dist/chunks/{git-h5b4kcx3.js → command-c9k10dz7.js} +4 -4
  128. package/dist/chunks/{git-b4twkq7r.js → command-cfsekr6v.js} +6 -6
  129. package/dist/chunks/{git-cqvdfskm.js → command-cfy01m6q.js} +4 -4
  130. package/dist/chunks/{git-dkcp985t.js → command-cs216amt.js} +9 -9
  131. package/dist/chunks/{git-pe6r5a00.js → command-cstxe3ar.js} +20 -20
  132. package/dist/chunks/{git-47zznw5q.js → command-ct4faptp.js} +10 -10
  133. package/dist/chunks/{git-pn72jkdj.js → command-cwbq0mfh.js} +32 -32
  134. package/dist/chunks/{git-2tmscd36.js → command-d0cgwrbg.js} +13 -13
  135. package/dist/chunks/{git-3mmqt9t6.js → command-d392bjy5.js} +13 -13
  136. package/dist/chunks/{git-n2da8v4r.js → command-d46e2cta.js} +11 -11
  137. package/dist/chunks/{git-dmqcgk4z.js → command-dmqcgk4z.js} +2 -2
  138. package/dist/chunks/{git-j2t1dfhz.js → command-dympa6h6.js} +1 -1
  139. package/dist/chunks/{git-q1299vf9.js → command-dywq9pkt.js} +32 -32
  140. package/dist/chunks/{git-gzq6x9xy.js → command-dzty4xcq.js} +67 -67
  141. package/dist/chunks/{git-p25ycqbr.js → command-dzv118g2.js} +10 -10
  142. package/dist/chunks/{git-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
  143. package/dist/chunks/{git-e957davs.js → command-ea26v2e4.js} +16 -16
  144. package/dist/chunks/{git-jq1shjfk.js → command-eaf5gakt.js} +11 -11
  145. package/dist/chunks/{git-dpq9k9e5.js → command-eda73v46.js} +7 -7
  146. package/dist/chunks/{git-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  147. package/dist/chunks/{git-210w33g8.js → command-emvq8ywb.js} +3 -3
  148. package/dist/chunks/command-epwxyjh7.js +253 -0
  149. package/dist/chunks/{git-r5x6zcsm.js → command-eq1pz5kg.js} +3 -3
  150. package/dist/chunks/{git-etq0c3wd.js → command-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{git-22a0r9hw.js → command-ezyde299.js} +22 -22
  152. package/dist/chunks/{git-pvxwxdrj.js → command-f3k65vz0.js} +27 -27
  153. package/dist/chunks/{git-6ysrkrkr.js → command-f5gy8qwh.js} +8 -8
  154. package/dist/chunks/{git-smw6fj03.js → command-f7p9evzq.js} +32 -32
  155. package/dist/chunks/{git-febwp2sd.js → command-f9hcp00g.js} +10 -10
  156. package/dist/chunks/{git-7dqw4kz8.js → command-fcrkznn8.js} +5 -5
  157. package/dist/chunks/{git-tx9w5tca.js → command-fgktf29t.js} +8 -8
  158. package/dist/chunks/{git-08170sc1.js → command-fgvgk3nc.js} +30 -30
  159. package/dist/chunks/{git-qa3qhgw8.js → command-fm2qvscf.js} +4 -4
  160. package/dist/chunks/{git-3t71cqd0.js → command-g3xnrmzn.js} +28 -28
  161. package/dist/chunks/{git-g5w8qwbj.js → command-g5w8qwbj.js} +1 -1
  162. package/dist/chunks/{git-g150e6dx.js → command-g7xb4ge4.js} +3 -3
  163. package/dist/chunks/{git-16w0rwvz.js → command-g8n6k2e8.js} +10 -10
  164. package/dist/chunks/{git-dgx763c4.js → command-g90rxwkd.js} +15 -15
  165. package/dist/chunks/{git-911p1247.js → command-g9v33ymf.js} +4 -4
  166. package/dist/chunks/{git-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  167. package/dist/chunks/{git-yedjap2b.js → command-gqepmfk7.js} +29 -29
  168. package/dist/chunks/{git-m4vns8b1.js → command-h1ff3r7d.js} +13 -13
  169. package/dist/chunks/{git-h2b79v29.js → command-h2b79v29.js} +2 -2
  170. package/dist/chunks/{git-e8vwfchq.js → command-h6m8mpqk.js} +9 -9
  171. package/dist/chunks/{git-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  172. package/dist/chunks/{git-acx86tm7.js → command-h9431wzg.js} +48 -48
  173. package/dist/chunks/{git-nz569jqt.js → command-hbyhqfhs.js} +5 -5
  174. package/dist/chunks/{git-ae77pzvn.js → command-hhdeq4zt.js} +16 -16
  175. package/dist/chunks/{git-jy6g3cvf.js → command-hvaebh52.js} +21 -21
  176. package/dist/chunks/{git-cygp66gj.js → command-hyssag4y.js} +11 -11
  177. package/dist/chunks/{git-p3hj61df.js → command-j1a331kd.js} +17 -17
  178. package/dist/chunks/{git-9nz5wsp3.js → command-j1tnjqr2.js} +11 -11
  179. package/dist/chunks/{git-j56e64zr.js → command-j56e64zr.js} +1 -1
  180. package/dist/chunks/{git-15mcze8b.js → command-jhk6nqbr.js} +30 -30
  181. package/dist/chunks/{git-ae9f6qbf.js → command-jpesrvwe.js} +22 -22
  182. package/dist/chunks/{git-txfefrdm.js → command-jpzv3ykh.js} +13 -13
  183. package/dist/chunks/{git-twrrw8k0.js → command-js7ztaqx.js} +19 -19
  184. package/dist/chunks/{git-cs8c5722.js → command-k6yxz2kp.js} +26 -26
  185. package/dist/chunks/{git-xyh59nvn.js → command-kdtk6ytk.js} +13 -13
  186. package/dist/chunks/{git-0ef06a4x.js → command-kgf2vxaw.js} +4 -4
  187. package/dist/chunks/{git-w61tzg5h.js → command-kgffmydg.js} +47 -47
  188. package/dist/chunks/command-kgw2tax4.js +26 -0
  189. package/dist/chunks/{git-rh1t848z.js → command-ksk3n4cg.js} +5 -5
  190. package/dist/chunks/{git-pgt7xm7w.js → command-kykbznp4.js} +15 -15
  191. package/dist/chunks/{git-0kas960g.js → command-kzrjs8je.js} +13 -13
  192. package/dist/chunks/{git-m3fdjcah.js → command-m3fdjcah.js} +1 -1
  193. package/dist/chunks/{git-e81kfs0g.js → command-m6eqcf37.js} +56 -56
  194. package/dist/chunks/{git-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{git-md9k8f9h.js → command-mdcbxeg1.js} +4 -4
  196. package/dist/chunks/{git-jgrh7b0f.js → command-mmq4tvzh.js} +18 -18
  197. package/dist/chunks/{git-ryy9z3kr.js → command-mv87szkv.js} +7 -7
  198. package/dist/chunks/{git-2qnzzqpz.js → command-mxmsd58h.js} +20 -20
  199. package/dist/chunks/{git-3ebxps4s.js → command-n2rmdmjc.js} +24 -24
  200. package/dist/chunks/{git-90drn4jp.js → command-n2zgnq50.js} +36 -36
  201. package/dist/chunks/{git-1j155mbj.js → command-nj45zehw.js} +8 -8
  202. package/dist/chunks/{git-stt0t63v.js → command-nmdr856g.js} +5 -5
  203. package/dist/chunks/{git-h2zqm4z5.js → command-nqzan4bx.js} +9 -9
  204. package/dist/chunks/{git-jbah23ew.js → command-ntxrry2n.js} +19 -19
  205. package/dist/chunks/{git-nxm207yx.js → command-nxm207yx.js} +1 -1
  206. package/dist/chunks/{git-7bywvmr6.js → command-p1et7349.js} +36 -36
  207. package/dist/chunks/{git-9r05nzm2.js → command-pacph0q8.js} +11 -11
  208. package/dist/chunks/{git-ss358qx3.js → command-pds74t41.js} +3 -3
  209. package/dist/chunks/{git-vbcyc6ey.js → command-pee00n06.js} +27 -27
  210. package/dist/chunks/{git-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{git-pknna89w.js → command-pknna89w.js} +1 -1
  212. package/dist/chunks/{git-m9jxvmh1.js → command-q7s4p2ws.js} +11 -11
  213. package/dist/chunks/{git-qnc92qwc.js → command-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{git-qsdy395h.js → command-qsdy395h.js} +1 -1
  215. package/dist/chunks/{git-qxjc9qry.js → command-qxjc9qry.js} +3 -3
  216. package/dist/chunks/{git-e6b9ksp3.js → command-qy9s2ye0.js} +5 -5
  217. package/dist/chunks/{git-x5vrdyjm.js → command-qygccx2c.js} +27 -27
  218. package/dist/chunks/{git-v03f7qed.js → command-r897vr76.js} +5 -5
  219. package/dist/chunks/{git-r8xr0va3.js → command-r8xr0va3.js} +1 -1
  220. package/dist/chunks/{git-t81ffg6r.js → command-r9ggpxfb.js} +60 -60
  221. package/dist/chunks/{git-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{git-xhs1vb56.js → command-re5v1f1h.js} +9 -9
  223. package/dist/chunks/{git-x6wfrhet.js → command-rpms11rw.js} +17 -17
  224. package/dist/chunks/{git-txjb7dab.js → command-rrkmkyg6.js} +6 -6
  225. package/dist/chunks/{git-11rnz3bb.js → command-rvn3tqg0.js} +32 -32
  226. package/dist/chunks/{git-108frcsk.js → command-s2q9yd17.js} +22 -22
  227. package/dist/chunks/{git-kx004b36.js → command-s4jagjf8.js} +9 -9
  228. package/dist/chunks/{git-84dd9hjg.js → command-sfzn7zth.js} +13 -13
  229. package/dist/chunks/{git-x7tg71sf.js → command-sqdwm1my.js} +33 -33
  230. package/dist/chunks/{git-bjm3qyqr.js → command-sr0pxs2g.js} +23 -23
  231. package/dist/chunks/{git-8mntwk3z.js → command-stff7yw3.js} +38 -38
  232. package/dist/chunks/{git-cya9m9ka.js → command-t1ams5g6.js} +19 -19
  233. package/dist/chunks/{git-y7rc46sv.js → command-t1s0jw3q.js} +24 -24
  234. package/dist/chunks/{git-kjmv31m7.js → command-t2c2p23z.js} +20 -20
  235. package/dist/chunks/{git-rwhx2wjr.js → command-t38tm3cf.js} +36 -36
  236. package/dist/chunks/{git-e8n3k0rs.js → command-tag3ynyp.js} +14 -14
  237. package/dist/chunks/{git-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{git-sjd902kt.js → command-tc2wd370.js} +10 -10
  239. package/dist/chunks/{git-tcezcvh9.js → command-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{git-tdstcens.js → command-tdstcens.js} +1 -1
  241. package/dist/chunks/{git-9w4wk5c7.js → command-thnqqb5h.js} +17 -17
  242. package/dist/chunks/{git-s5x0zaxv.js → command-tj682e1p.js} +8 -8
  243. package/dist/chunks/{git-89ta7775.js → command-trazswah.js} +17 -17
  244. package/dist/chunks/{git-4x93wmvz.js → command-tvpc0ybq.js} +34 -34
  245. package/dist/chunks/{git-t3k16jnr.js → command-v66k9e3r.js} +29 -29
  246. package/dist/chunks/{git-4bm5ja14.js → command-vbfgae2j.js} +4 -4
  247. package/dist/chunks/{git-veqvce7d.js → command-veqvce7d.js} +1 -1
  248. package/dist/chunks/{git-yjx32v1s.js → command-vn72gsba.js} +4 -4
  249. package/dist/chunks/{git-mdj7bahr.js → command-vv95jtq1.js} +11 -11
  250. package/dist/chunks/{git-tx92n959.js → command-vxzh5eqq.js} +4 -4
  251. package/dist/chunks/{git-vzcthcp8.js → command-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{git-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{git-wjxjzxnj.js → command-w243dze7.js} +15 -15
  254. package/dist/chunks/{git-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{git-5f34ja4g.js → command-w67z85jj.js} +8 -8
  256. package/dist/chunks/{git-a91jd8rx.js → command-way54g3t.js} +33 -33
  257. package/dist/chunks/{git-n8vdnqrc.js → command-wbgabvvj.js} +5 -5
  258. package/dist/chunks/{git-wd87259q.js → command-wd87259q.js} +1 -1
  259. package/dist/chunks/{git-t5dvqmgx.js → command-wgkw1say.js} +3 -3
  260. package/dist/chunks/{git-vjpv4151.js → command-x1bgc40t.js} +15 -15
  261. package/dist/chunks/{git-nd0efaxq.js → command-x1cxff1x.js} +14 -14
  262. package/dist/chunks/{git-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{git-p63yn2ba.js → command-x691ctxc.js} +1 -1
  264. package/dist/chunks/{git-01pnphy2.js → command-xqjr5z5q.js} +34 -34
  265. package/dist/chunks/{git-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{git-zpymr5yc.js → command-y5hk5168.js} +17 -17
  267. package/dist/chunks/{git-d6htshpr.js → command-y9bry2a2.js} +11 -11
  268. package/dist/chunks/{git-s6wsy4b1.js → command-yb7z5tge.js} +175 -175
  269. package/dist/chunks/{git-6djkznxj.js → command-yke0wfjf.js} +32 -32
  270. package/dist/chunks/{git-sy4k6c8e.js → command-ypkf29hv.js} +42 -42
  271. package/dist/chunks/{git-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{git-4t19cdft.js → command-ytfp8a9c.js} +12 -12
  273. package/dist/chunks/{git-ep44p4pe.js → command-ywpe0k31.js} +12 -12
  274. package/dist/chunks/{git-yss3t4pw.js → command-yyc39645.js} +16 -16
  275. package/dist/chunks/{git-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{git-bczdhfev.js → command-z5anw93z.js} +83 -83
  277. package/dist/chunks/{git-hqbydggd.js → command-z7s65jz9.js} +4 -4
  278. package/dist/chunks/{git-ptdsxnqe.js → command-z96ftasq.js} +14 -14
  279. package/dist/chunks/{git-g6nq8pzr.js → command-zckshxme.js} +16 -16
  280. package/dist/chunks/{git-gst7axd9.js → command-zcrspsvn.js} +4 -4
  281. package/dist/chunks/{git-42vq69am.js → command-zeb7mf4e.js} +9 -9
  282. package/dist/chunks/{git-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{git-2ag1df4y.js → command-ztxh1f3e.js} +18 -18
  284. package/dist/chunks/{git-n5tgpa49.js → command-zwas51cn.js} +10 -10
  285. package/dist/chunks/{git-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +83 -83
  291. package/dist/config/discovery.js +82 -82
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +99 -99
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +154 -154
  297. package/dist/config/plugin/compatibility.js +134 -134
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +90 -90
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +102 -102
  309. package/dist/config/plugin/skill.js +135 -135
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +117 -117
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +117 -117
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +85 -85
  320. package/dist/database/database.js +66 -66
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration.gen.js +49 -49
  386. package/dist/database/migration.js +51 -51
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +76 -76
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -364
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +93 -93
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +70 -70
  410. package/dist/file-access.js +104 -104
  411. package/dist/file-mutation.js +94 -94
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +218 -218
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +103 -103
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +106 -106
  424. package/dist/form.js +84 -84
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +87 -87
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +91 -91
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +85 -85
  453. package/dist/instructions/builtins.js +87 -87
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +76 -76
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +73 -73
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-lifecycle.js +107 -107
  462. package/dist/location-service-map.js +86 -86
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +89 -89
  465. package/dist/managed-policy.js +5 -5
  466. package/dist/mcp/client.js +91 -91
  467. package/dist/mcp/index.js +105 -105
  468. package/dist/mcp/instructions.js +125 -125
  469. package/dist/mcp/oauth.js +78 -78
  470. package/dist/mcp/stdio.js +90 -90
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +91 -91
  473. package/dist/model-resolver.js +98 -98
  474. package/dist/model.js +100 -100
  475. package/dist/models-dev.js +107 -107
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +80 -80
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +117 -117
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +90 -90
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +75 -75
  485. package/dist/plugin/agent.js +104 -104
  486. package/dist/plugin/command.js +102 -102
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +211 -211
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +96 -96
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +102 -102
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  499. package/dist/plugin/provider/azure.js +117 -117
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +93 -93
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +112 -112
  506. package/dist/plugin/provider/digitalocean.js +93 -93
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +95 -95
  511. package/dist/plugin/provider/gitlab.js +93 -93
  512. package/dist/plugin/provider/google-vertex.js +90 -90
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +78 -78
  515. package/dist/plugin/provider/lmstudio.js +115 -115
  516. package/dist/plugin/provider/modal.js +92 -92
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +115 -115
  519. package/dist/plugin/provider/openai.js +95 -95
  520. package/dist/plugin/provider/opencode.js +96 -96
  521. package/dist/plugin/provider/openrouter.js +91 -91
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +79 -79
  524. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  525. package/dist/plugin/provider/sap-ai-core.js +91 -91
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +90 -90
  530. package/dist/plugin/provider/vllm.js +115 -115
  531. package/dist/plugin/provider/xai.js +91 -91
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +76 -76
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +346 -346
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +86 -86
  542. package/dist/plugin/vcs/hg.js +86 -86
  543. package/dist/plugin/verbosity.js +93 -93
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +6 -6
  552. package/dist/plugin.js +216 -216
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +90 -90
  556. package/dist/provider.js +101 -101
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +91 -91
  560. package/dist/reference/instructions.js +89 -89
  561. package/dist/reference.js +91 -91
  562. package/dist/repository-cache.js +77 -77
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +91 -91
  566. package/dist/rpc.js +86 -86
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +74 -74
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +153 -153
  572. package/dist/session/diff.js +88 -88
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +214 -214
  577. package/dist/session/execution.js +123 -123
  578. package/dist/session/generate.js +154 -154
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +82 -82
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +77 -77
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +97 -97
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +120 -120
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +86 -86
  591. package/dist/session/prompt.js +105 -105
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +90 -90
  594. package/dist/session/run-coordinator.js +1 -1
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +224 -224
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +98 -98
  599. package/dist/session/runner/publish-llm-event.js +113 -113
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +164 -164
  605. package/dist/session/shell.js +130 -130
  606. package/dist/session/skill.js +103 -103
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +73 -73
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +203 -203
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +157 -157
  614. package/dist/session/to-session-error.js +111 -111
  615. package/dist/session/transfer.js +209 -209
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +11 -11
  622. package/dist/shell.js +132 -132
  623. package/dist/skill/discovery.js +4 -4
  624. package/dist/skill/instructions.js +107 -107
  625. package/dist/skill.js +110 -110
  626. package/dist/snapshot.js +91 -91
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +128 -128
  631. package/dist/tool/plugin/edit.js +120 -120
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +124 -124
  634. package/dist/tool/plugin/grep.js +124 -124
  635. package/dist/tool/plugin/mcp-resource.js +117 -117
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +122 -122
  638. package/dist/tool/plugin/question.js +103 -103
  639. package/dist/tool/plugin/read.js +125 -125
  640. package/dist/tool/plugin/shell.js +210 -210
  641. package/dist/tool/plugin/skill.js +107 -107
  642. package/dist/tool/plugin/subagent.js +212 -212
  643. package/dist/tool/plugin/webfetch.js +112 -112
  644. package/dist/tool/plugin/websearch.js +114 -114
  645. package/dist/tool/plugin/write.js +122 -122
  646. package/dist/tool/read-filesystem.js +100 -100
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +16 -16
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +7 -7
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +92 -92
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/variant.js +93 -93
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +85 -85
  671. package/dist/websearch.js +80 -80
  672. package/dist/wellknown/plugin.js +74 -74
  673. package/dist/wellknown.js +77 -77
  674. package/dist/workspace/driver.js +3 -3
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +80 -80
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +8 -8
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +89 -89
  681. package/dist/worktree.js +96 -96
  682. package/package.json +8 -8
  683. package/dist/chunks/git-619r8v3y.js +0 -18
  684. package/dist/chunks/git-q9bz2q6x.js +0 -26
  685. package/dist/chunks/git-xtvh7eda.js +0 -253
  686. /package/dist/chunks/{git-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{git-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{git-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{git-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{git-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{git-24dcb14g.js → command-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{git-2710q6r3.js → command-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{git-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{git-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{git-34c7v6d4.js → command-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{git-359p4xyc.js → command-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{git-3asan66x.js → command-3asan66x.js} +0 -0
  698. /package/dist/chunks/{git-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{git-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{git-3w5fmr99.js → command-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{git-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{git-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{git-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{git-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{git-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{git-53557ph1.js → command-53557ph1.js} +0 -0
  707. /package/dist/chunks/{git-550bvhaj.js → command-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{git-6prwharc.js → command-6prwharc.js} +0 -0
  709. /package/dist/chunks/{git-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{git-7m9af43g.js → command-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{git-822emrt2.js → command-822emrt2.js} +0 -0
  712. /package/dist/chunks/{git-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{git-8n3pysct.js → command-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{git-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{git-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{git-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{git-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{git-af5trqkr.js → command-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{git-afrmfg78.js → command-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{git-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{git-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{git-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{git-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{git-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{git-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{git-d9fn303g.js → command-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{git-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{git-dajrwvna.js → command-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{git-dap0rakb.js → command-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{git-df08tz66.js → command-df08tz66.js} +0 -0
  731. /package/dist/chunks/{git-dy18nga0.js → command-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{git-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{git-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{git-ec1grn59.js → command-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{git-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{git-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{git-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{git-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{git-faypxj3z.js → command-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{git-fd410y7t.js → command-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{git-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{git-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{git-g86h250q.js → command-g86h250q.js} +0 -0
  744. /package/dist/chunks/{git-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{git-gftt206x.js → command-gftt206x.js} +0 -0
  746. /package/dist/chunks/{git-hjbc5kem.js → command-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{git-hk9envan.js → command-hk9envan.js} +0 -0
  748. /package/dist/chunks/{git-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{git-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{git-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{git-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{git-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{git-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{git-mp448xyj.js → command-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{git-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{git-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{git-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{git-njntx4h6.js → command-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{git-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{git-q74kybfr.js → command-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{git-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{git-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{git-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{git-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{git-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{git-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{git-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{git-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{git-w803qqfp.js → command-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{git-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{git-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{git-wtztk69x.js → command-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{git-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{git-x61499pn.js → command-x61499pn.js} +0 -0
  775. /package/dist/chunks/{git-y44na4kk.js → command-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{git-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{git-y8f7s663.js → command-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{git-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{git-ym463w8f.js → command-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{git-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{git-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./git-gd4qta3r.js";
3
+ } from "./command-gd4qta3r.js";
4
4
  import {
5
5
  create3
6
- } from "./git-rdw6cm16.js";
6
+ } from "./command-rdw6cm16.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./command-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service58,
18
+ Service: () => Service56,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node60
21
+ node: () => node58
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service58 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service56 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service58, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service58.of({
119
+ return Service56.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node60 = makeLocationNode({
137
- service: Service58,
136
+ var node58 = makeLocationNode({
137
+ service: Service56,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service58, node60, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service56, node58, exports_tool_output2 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./command-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service34,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service34 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service34.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service34, awaitActivation2, exports_service };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./git-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
5
  Info9,
6
- ID6,
6
+ ID5,
7
7
  Name2
8
- } from "./git-ae9f6qbf.js";
8
+ } from "./command-jpesrvwe.js";
9
9
  import {
10
- Service65
11
- } from "./git-7bywvmr6.js";
10
+ Service69
11
+ } from "./command-p1et7349.js";
12
12
  import {
13
13
  __export
14
- } from "./git-9rqn6x4v.js";
14
+ } from "./command-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill3 = {};
18
- __export(exports_skill3, {
17
+ var exports_skill = {};
18
+ __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin44,
21
+ Plugin: () => Plugin9,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill3
23
+ SkillPlugin: () => exports_skill
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin44 = define({
428
+ var Plugin9 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
433
  editor.add(Info9.make({
434
- id: ID6.make("opencode"),
434
+ id: ID5.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
440
  editor.add(Info9.make({
441
- id: ID6.make("report"),
441
+ id: ID5.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service65;
469
+ const config = yield* Service69;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin44, exports_skill3 };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin9, exports_skill };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./git-88xbtdfr.js";
3
+ } from "./command-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./git-5qd3pb7m.js";
5
+ load5
6
+ } from "./command-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./command-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event12,
14
+ Event: () => Event14,
15
15
  Native: () => Native3,
16
- Options: () => Options10,
17
- Service: () => Service66,
16
+ Options: () => Options9,
17
+ Service: () => Service70,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
20
  configured: () => configured11,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer24,
22
+ layer: () => layer23,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node70,
25
+ node: () => node74,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event12 = { Updated: FileSystem.Event.Changed };
36
+ var Event14 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load4());
39
+ return createWrapper(load5());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options10 = Schema.Struct({
56
+ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service66 extends Context.Service()("@opencode/Watcher") {
60
+ class Service70 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer24 = (options) => Layer.effect(Service66, Effect.gen(function* () {
65
+ var layer23 = (options) => Layer.effect(Service70, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service66.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service70.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service66, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service66.of({ subscribe });
108
+ return Service70.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service66).subscribe,
134
+ subscribe: Context.get(context, Service70).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service66, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service70, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
167
  function configured11(options) {
168
- return makeGlobalNode({ service: Service66, layer: layer24(options), deps: [nativeNode2] });
168
+ return makeGlobalNode({ service: Service70, layer: layer23(options), deps: [nativeNode2] });
169
169
  }
170
- var node70 = configured11();
170
+ var node74 = configured11();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event12, hasNativeBinding2, Native3, Options10, Service66, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured11, node70, exports_watcher };
190
+ export { Event14, hasNativeBinding2, Native3, Options9, Service70, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured11, node74, exports_watcher };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service49
3
- } from "./git-6epn3xv5.js";
2
+ Service45
3
+ } from "./command-0djpsv8h.js";
4
4
  import {
5
- Service23
6
- } from "./git-7dbvm11f.js";
5
+ Service25
6
+ } from "./command-61d0nta3.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./git-x1ezjp6w.js";
10
+ } from "./command-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./git-9rqn6x4v.js";
13
+ } from "./command-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make7
19
+ make: () => make11
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make7 = Effect.gen(function* () {
23
- const sessions = yield* Service23;
24
- const jobs = yield* Service49;
22
+ var make11 = Effect.gen(function* () {
23
+ const sessions = yield* Service25;
24
+ const jobs = yield* Service45;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make7 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make7, exports_subagent_job };
61
+ export { make11, exports_subagent_job };
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./git-nxm207yx.js";
3
+ } from "./command-nxm207yx.js";
4
4
  import {
5
5
  Service83,
6
6
  node87
7
- } from "./git-hqbydggd.js";
7
+ } from "./command-z7s65jz9.js";
8
8
  import {
9
- Event16,
10
- Service70,
11
- node74
12
- } from "./git-2bawy6dk.js";
9
+ Event21,
10
+ Service82,
11
+ node86
12
+ } from "./command-8wwws4s2.js";
13
13
  import {
14
- Service80,
15
- node84
16
- } from "./git-9bqe0gpf.js";
14
+ Service75,
15
+ node79
16
+ } from "./command-213p2swk.js";
17
17
  import {
18
- Service63,
19
- node66
20
- } from "./git-ytxjpgh7.js";
18
+ Service62,
19
+ node65
20
+ } from "./command-0jf2y13k.js";
21
21
  import {
22
- ID12,
23
- Service71,
24
- node75
25
- } from "./git-gttbyh04.js";
22
+ ID17,
23
+ Service81,
24
+ node85
25
+ } from "./command-6v2t73g4.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./git-rdw6cm16.js";
29
+ } from "./command-rdw6cm16.js";
30
30
  import {
31
- ID10,
31
+ ID16,
32
32
  MethodID2,
33
- Service69,
34
- node73
35
- } from "./git-pn72jkdj.js";
33
+ Service80,
34
+ node84
35
+ } from "./command-cwbq0mfh.js";
36
36
  import {
37
37
  __export
38
- } from "./git-9rqn6x4v.js";
38
+ } from "./command-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
44
  NotFoundError: () => NotFoundError4,
45
- Options: () => Options4,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service34,
52
+ Service: () => Service37,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured4,
55
+ configured: () => configured3,
56
56
  layer: () => layer14,
57
- node: () => node38
57
+ node: () => node40
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service34 extends Context.Service()("@opencode/MCP") {
106
+ class Service37 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options4 = Schema.Struct({
108
+ var Options3 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
115
- const location = yield* Service80;
116
- const environment = yield* Service63;
114
+ var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
115
+ const location = yield* Service75;
116
+ const environment = yield* Service62;
117
117
  const bus = yield* Service83;
118
- const forms = yield* Service71;
119
- const integration = yield* Service69;
120
- const credentials = yield* Service70;
118
+ const forms = yield* Service81;
119
+ const integration = yield* Service80;
120
+ const credentials = yield* Service82;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID10.make(suffix);
132
+ const integrationID = ID16.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service70, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service82, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -161,12 +161,12 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service70, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service82, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID12.create();
169
+ const formID = ID17.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service62, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service34.of({
423
+ return Service37.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured4(options) {
533
+ function configured3(options) {
534
534
  return makeLocationNode({
535
- service: Service34,
535
+ service: Service37,
536
536
  layer: layer14(options),
537
- deps: [node84, node66, node87, node75, node73, node74]
537
+ deps: [node79, node65, node87, node85, node84, node86]
538
538
  });
539
539
  }
540
- var node38 = configured4();
540
+ var node40 = configured3();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service34, Options4, layer14, configured4, node38, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service37, Options3, layer14, configured3, node40, exports_mcp4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -11,7 +11,7 @@ __export(exports_driver, {
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
13
  make: () => make21,
14
- node: () => node68,
14
+ node: () => node67,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node68 = registryNode2({});
47
+ var node67 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node68, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node67, exports_driver };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./git-g5w8qwbj.js";
3
+ } from "./command-g5w8qwbj.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin2,
16
+ OpenAIPlugin: () => OpenAIPlugin3,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID9
3
- } from "./git-q1299vf9.js";
2
+ ID13
3
+ } from "./command-dywq9pkt.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./git-jy1wdjtb.js";
6
+ } from "./command-1g7wkek7.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
10
10
  import { isArrayNonEmpty } from "effect/Array";
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Form } from "@opencode/schema/form";
13
- var providerID = ID9.make("cloudflare-ai-gateway");
13
+ var providerID = ID13.make("cloudflare-ai-gateway");
14
14
  var accountIdField = Form.StringField.make({
15
15
  type: "string",
16
16
  key: "accountId",