@opencode/core 0.0.0-dev-19869 → 0.0.0-dev-19872

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 (482) hide show
  1. package/dist/agent.js +68 -68
  2. package/dist/aisdk-native.js +67 -67
  3. package/dist/aisdk.js +72 -72
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +55 -55
  6. package/dist/chunks/{worktree-b512ytgh.js → worktree-0029brse.js} +2 -2
  7. package/dist/chunks/{worktree-w9y6772s.js → worktree-01xkgkan.js} +2 -2
  8. package/dist/chunks/{worktree-yrmashwv.js → worktree-050bv84r.js} +85 -85
  9. package/dist/chunks/{worktree-bccb6npm.js → worktree-06dxphr1.js} +3 -3
  10. package/dist/chunks/{worktree-bmpcrrg0.js → worktree-0c5gn5bj.js} +14 -14
  11. package/dist/chunks/{worktree-51f5btjf.js → worktree-0jkw1j53.js} +5 -5
  12. package/dist/chunks/{worktree-xp1ejmsr.js → worktree-0z8c9324.js} +10 -10
  13. package/dist/chunks/{worktree-wk5z6jzv.js → worktree-11dqjexa.js} +8 -8
  14. package/dist/chunks/{worktree-mgn7rzyp.js → worktree-12egnza5.js} +7 -7
  15. package/dist/chunks/{worktree-wbgjk9hv.js → worktree-18j04j79.js} +18 -18
  16. package/dist/chunks/{worktree-yp2x3t23.js → worktree-1acjjqhc.js} +3 -3
  17. package/dist/chunks/{worktree-gqyhxdpp.js → worktree-1ay3g9r2.js} +20 -20
  18. package/dist/chunks/{worktree-y3eyw53f.js → worktree-1d5d9h0t.js} +4 -4
  19. package/dist/chunks/{worktree-49asqp28.js → worktree-1ddefpyr.js} +17 -17
  20. package/dist/chunks/{worktree-3bpj6ceb.js → worktree-1gjr3geq.js} +12 -12
  21. package/dist/chunks/{worktree-jjm18tvm.js → worktree-1gvkbw2g.js} +62 -62
  22. package/dist/chunks/{worktree-70eyy827.js → worktree-1rpj62d2.js} +15 -15
  23. package/dist/chunks/{worktree-90wr37ay.js → worktree-1rqq8hq9.js} +4 -4
  24. package/dist/chunks/{worktree-qqtwvk4z.js → worktree-23pqda6t.js} +3 -3
  25. package/dist/chunks/{worktree-0k4c1wrr.js → worktree-24jxm842.js} +14 -14
  26. package/dist/chunks/{worktree-45fhr245.js → worktree-28zap5n3.js} +20 -20
  27. package/dist/chunks/{worktree-bjb9b4mn.js → worktree-2a2ncbm6.js} +14 -14
  28. package/dist/chunks/{worktree-m1njnqbf.js → worktree-2k4q641w.js} +4 -4
  29. package/dist/chunks/{worktree-vcxwaaxe.js → worktree-2sz976k1.js} +42 -42
  30. package/dist/chunks/{worktree-efkf1zjd.js → worktree-2tk7wazy.js} +12 -12
  31. package/dist/chunks/{worktree-3a83a0n4.js → worktree-30846h32.js} +7 -7
  32. package/dist/chunks/{worktree-6d4vre1e.js → worktree-35dwm1he.js} +29 -29
  33. package/dist/chunks/{worktree-7zsm68gg.js → worktree-37zv03r8.js} +9 -9
  34. package/dist/chunks/{worktree-kcyks54t.js → worktree-3bapk1gs.js} +9 -9
  35. package/dist/chunks/{worktree-1mrwszqa.js → worktree-3bvwqdfr.js} +4 -4
  36. package/dist/chunks/{worktree-b6rq28qr.js → worktree-3ckfe0gn.js} +4 -4
  37. package/dist/chunks/{worktree-8dz1vcbc.js → worktree-3dfzya26.js} +19 -19
  38. package/dist/chunks/{worktree-g8hymqtc.js → worktree-3eeqg3ch.js} +28 -28
  39. package/dist/chunks/{worktree-sxnvhwv1.js → worktree-3n1pthd2.js} +7 -7
  40. package/dist/chunks/{worktree-3w2b2yj4.js → worktree-3w0fmcng.js} +3 -3
  41. package/dist/chunks/{worktree-zqx8wcya.js → worktree-44ke2mar.js} +3 -3
  42. package/dist/chunks/{worktree-wxkrd8sq.js → worktree-47rg4hp1.js} +11 -11
  43. package/dist/chunks/{worktree-dkgmj00c.js → worktree-49efg6hh.js} +13 -13
  44. package/dist/chunks/{worktree-n8c291r7.js → worktree-4jv7e9dq.js} +6 -6
  45. package/dist/chunks/{worktree-tvfyrrh0.js → worktree-530x511h.js} +13 -22
  46. package/dist/chunks/{worktree-f9yrz0nb.js → worktree-56400ha2.js} +9 -9
  47. package/dist/chunks/{worktree-s197j8aa.js → worktree-5j6r72e5.js} +1 -1
  48. package/dist/chunks/{worktree-qxds82wp.js → worktree-5pj5yv8y.js} +12 -12
  49. package/dist/chunks/{worktree-e3qxr5gk.js → worktree-5qd3pb7m.js} +2 -2
  50. package/dist/chunks/{worktree-s0agc963.js → worktree-5we7r0eg.js} +6 -6
  51. package/dist/chunks/{worktree-tnp1bzfj.js → worktree-5xzwezzv.js} +35 -35
  52. package/dist/chunks/worktree-6a3y69ev.js +26 -0
  53. package/dist/chunks/{worktree-zxj82hcj.js → worktree-6dpcvaj3.js} +29 -29
  54. package/dist/chunks/{worktree-z8j5hfwf.js → worktree-6e4g0mmd.js} +6 -6
  55. package/dist/chunks/{worktree-at5d07az.js → worktree-6hh8tjw2.js} +3 -3
  56. package/dist/chunks/{worktree-qmwxv1vq.js → worktree-6j2syc76.js} +1 -1
  57. package/dist/chunks/worktree-6kdq0pjd.js +4 -0
  58. package/dist/chunks/{worktree-6tm94hss.js → worktree-6pbgrpz1.js} +3 -3
  59. package/dist/chunks/{worktree-59km82at.js → worktree-6skacn9s.js} +30 -30
  60. package/dist/chunks/{worktree-agnb6b4y.js → worktree-6snte3jf.js} +1 -1
  61. package/dist/chunks/{worktree-eq1pz5kg.js → worktree-73tb2d7t.js} +2 -2
  62. package/dist/chunks/{worktree-1sqm6k0j.js → worktree-75wt9k9g.js} +3 -3
  63. package/dist/chunks/{worktree-fcrkznn8.js → worktree-7dqw4kz8.js} +4 -4
  64. package/dist/chunks/{worktree-19x32724.js → worktree-7h6v3mqz.js} +83 -83
  65. package/dist/chunks/{worktree-q60qjx67.js → worktree-81pca9ss.js} +14 -14
  66. package/dist/chunks/{worktree-g3mn8s68.js → worktree-83xp5e3e.js} +1 -1
  67. package/dist/chunks/{worktree-mkccyhb3.js → worktree-8c185vwj.js} +7 -7
  68. package/dist/chunks/{worktree-pjgmd77a.js → worktree-8hcfs6jd.js} +20 -20
  69. package/dist/chunks/{worktree-gr3j20z5.js → worktree-8jgc84wx.js} +9 -9
  70. package/dist/chunks/{worktree-71a6hfp5.js → worktree-8kzgg7jc.js} +18 -18
  71. package/dist/chunks/{worktree-7kdkzndg.js → worktree-8mqynssf.js} +22 -22
  72. package/dist/chunks/{worktree-q5ampng9.js → worktree-8wgc21mb.js} +42 -42
  73. package/dist/chunks/{worktree-jyetza0x.js → worktree-90j31e8f.js} +43 -43
  74. package/dist/chunks/{worktree-7kxej2em.js → worktree-92frf9bc.js} +17 -17
  75. package/dist/chunks/{worktree-xp0zd8np.js → worktree-9724qm49.js} +19 -19
  76. package/dist/chunks/{worktree-w4sgba9p.js → worktree-9d5hdd7t.js} +29 -29
  77. package/dist/chunks/{worktree-5xtgfte3.js → worktree-9hn6k4tm.js} +7 -7
  78. package/dist/chunks/{worktree-6stnv1c0.js → worktree-a68v6zx7.js} +9 -9
  79. package/dist/chunks/{worktree-yfaww8xg.js → worktree-ackyxpj1.js} +9 -9
  80. package/dist/chunks/{worktree-de7zd4tj.js → worktree-adpqb9ts.js} +11 -11
  81. package/dist/chunks/{worktree-t0fn9gk0.js → worktree-af4q118x.js} +16 -16
  82. package/dist/chunks/{worktree-ank7hx1v.js → worktree-an1ythzp.js} +17 -17
  83. package/dist/chunks/{worktree-4jk0qxj4.js → worktree-ax36eyar.js} +7 -7
  84. package/dist/chunks/{worktree-b1wsctr3.js → worktree-b8gtgm9a.js} +13 -13
  85. package/dist/chunks/{worktree-pvrysvhk.js → worktree-ba2a1zxc.js} +45 -45
  86. package/dist/chunks/{worktree-jvf3yq6v.js → worktree-baaqp4zd.js} +3 -3
  87. package/dist/chunks/{worktree-ve4pfa0n.js → worktree-bct739vz.js} +3 -3
  88. package/dist/chunks/{worktree-29xxxnfh.js → worktree-bd4e439d.js} +14 -14
  89. package/dist/chunks/{worktree-am5t4rbj.js → worktree-bggj1spx.js} +42 -42
  90. package/dist/chunks/{worktree-0w85qfcj.js → worktree-bk3tsm7g.js} +6 -6
  91. package/dist/chunks/{worktree-7k0xwvvh.js → worktree-bnq6mr9x.js} +6 -6
  92. package/dist/chunks/{worktree-mwwsh29t.js → worktree-bxy5ajfv.js} +5 -5
  93. package/dist/chunks/{worktree-ryt7pzqc.js → worktree-bz85s9hh.js} +1 -1
  94. package/dist/chunks/{worktree-dtfx1akz.js → worktree-c8a4jtjn.js} +9 -9
  95. package/dist/chunks/{worktree-ky8bwrva.js → worktree-cd7c4bdb.js} +11 -11
  96. package/dist/chunks/{worktree-3j8s7hm7.js → worktree-cejdfrv6.js} +16 -16
  97. package/dist/chunks/{worktree-8d55p9gd.js → worktree-cem17g90.js} +39 -39
  98. package/dist/chunks/{worktree-bajakh74.js → worktree-cq37gk0t.js} +1 -1
  99. package/dist/chunks/{worktree-hb7v7ywc.js → worktree-cs064az4.js} +6 -6
  100. package/dist/chunks/{worktree-n9ktaep2.js → worktree-cscxcgsg.js} +10 -10
  101. package/dist/chunks/{worktree-p3xeg7xc.js → worktree-d0mt1vja.js} +8 -8
  102. package/dist/chunks/{worktree-nm76w6gv.js → worktree-d2ax4fej.js} +9 -9
  103. package/dist/chunks/{worktree-9racvqph.js → worktree-d4q36r9n.js} +19 -19
  104. package/dist/chunks/{worktree-a881zpfh.js → worktree-d737nyfv.js} +7 -7
  105. package/dist/chunks/{worktree-tj6nafm8.js → worktree-d7m6g9v6.js} +1 -1
  106. package/dist/chunks/{worktree-mpmcaacv.js → worktree-d8c3ffv1.js} +7 -7
  107. package/dist/chunks/{worktree-2w6fc0zt.js → worktree-dc6tzc5b.js} +5 -5
  108. package/dist/chunks/{worktree-24ddpwsm.js → worktree-dgrza9ek.js} +10 -10
  109. package/dist/chunks/{worktree-9pj1d4f4.js → worktree-dh787sn1.js} +22 -22
  110. package/dist/chunks/{worktree-1218kfkx.js → worktree-dje2ev5t.js} +3 -3
  111. package/dist/chunks/{worktree-c765mh8b.js → worktree-djszqvmq.js} +7 -7
  112. package/dist/chunks/{worktree-p3d2pjj7.js → worktree-dk764wf3.js} +19 -19
  113. package/dist/chunks/{worktree-mtqf31pt.js → worktree-dmabgk2v.js} +10 -10
  114. package/dist/chunks/{worktree-y71avatq.js → worktree-dpkg50ah.js} +3 -3
  115. package/dist/chunks/{worktree-h21m3h6n.js → worktree-dsymck0a.js} +13 -6
  116. package/dist/chunks/{worktree-baasw9zs.js → worktree-dz8x4rxg.js} +3 -3
  117. package/dist/chunks/{worktree-bkcnheq0.js → worktree-e63kay3b.js} +30 -30
  118. package/dist/chunks/{worktree-yasnnz0a.js → worktree-ef1sz92s.js} +16 -16
  119. package/dist/chunks/{worktree-8emwh38k.js → worktree-ep7dn8jk.js} +11 -11
  120. package/dist/chunks/{worktree-e5fd240w.js → worktree-f06r0vcj.js} +7 -7
  121. package/dist/chunks/{worktree-6zwr9q5m.js → worktree-f0svag7k.js} +49 -49
  122. package/dist/chunks/{worktree-4xkxc3t4.js → worktree-f2da3tzf.js} +16 -16
  123. package/dist/chunks/{worktree-3801kdgp.js → worktree-f62qkzqr.js} +3 -3
  124. package/dist/chunks/{worktree-1rc4386p.js → worktree-fbf3se4r.js} +20 -20
  125. package/dist/chunks/{worktree-gjnhxr8h.js → worktree-frr8ma5g.js} +13 -13
  126. package/dist/chunks/{worktree-exg3tbdv.js → worktree-gg184eje.js} +16 -16
  127. package/dist/chunks/{worktree-k8zyetr0.js → worktree-gn0qs0ez.js} +31 -31
  128. package/dist/chunks/worktree-gqqsgceb.js +252 -0
  129. package/dist/chunks/{worktree-b0twfynp.js → worktree-gzhks085.js} +13 -13
  130. package/dist/chunks/{worktree-sra9araw.js → worktree-hkfg6fzm.js} +3 -3
  131. package/dist/chunks/{worktree-218c6ez9.js → worktree-hmkf95c9.js} +8 -8
  132. package/dist/chunks/{worktree-g0t6d1hq.js → worktree-j93fbyzs.js} +13 -13
  133. package/dist/chunks/{worktree-75ah400z.js → worktree-jaek9wet.js} +25 -25
  134. package/dist/chunks/{worktree-h36ryfv7.js → worktree-jhyw6xje.js} +17 -17
  135. package/dist/chunks/{worktree-ht5y0zrb.js → worktree-jqh9b0xq.js} +4 -4
  136. package/dist/chunks/{worktree-28cf9raz.js → worktree-jtz05rza.js} +40 -40
  137. package/dist/chunks/{worktree-pd15fgp8.js → worktree-jvdmeb00.js} +19 -19
  138. package/dist/chunks/{worktree-xgpk3fc4.js → worktree-jyaxjask.js} +21 -21
  139. package/dist/chunks/{worktree-wfsp5hpn.js → worktree-k03db8z3.js} +15 -15
  140. package/dist/chunks/{worktree-h51w75cp.js → worktree-k03y7cqw.js} +41 -41
  141. package/dist/chunks/{worktree-e6r8tc5b.js → worktree-k39q4sf2.js} +22 -22
  142. package/dist/chunks/{worktree-d34gzn5d.js → worktree-k78r674t.js} +31 -31
  143. package/dist/chunks/{worktree-28544jz8.js → worktree-k7zs4xcs.js} +4 -4
  144. package/dist/chunks/{worktree-gmkwjvek.js → worktree-kaagn64m.js} +24 -24
  145. package/dist/chunks/{worktree-287pmr97.js → worktree-kccwy87p.js} +12 -12
  146. package/dist/chunks/{worktree-czys4tjs.js → worktree-knhmpdmt.js} +10 -10
  147. package/dist/chunks/{worktree-5nb2d01r.js → worktree-ky3seynh.js} +1 -1
  148. package/dist/chunks/{worktree-9w5k7bqz.js → worktree-m183j3hp.js} +5 -5
  149. package/dist/chunks/{worktree-tnk6yr9e.js → worktree-m2g4r6ez.js} +8 -8
  150. package/dist/chunks/{worktree-sjf3tctt.js → worktree-m2zz6rv6.js} +8 -8
  151. package/dist/chunks/{worktree-nvkemvkp.js → worktree-m81pe42t.js} +17 -17
  152. package/dist/chunks/{worktree-t192gekf.js → worktree-mc5yagq3.js} +16 -16
  153. package/dist/chunks/{worktree-6a90knky.js → worktree-mdpcq19b.js} +10 -10
  154. package/dist/chunks/{worktree-t9v9zp6z.js → worktree-mhyqqp67.js} +22 -22
  155. package/dist/chunks/{worktree-s1pqek41.js → worktree-mn14093j.js} +10 -10
  156. package/dist/chunks/{worktree-246ka326.js → worktree-mnzq238h.js} +12 -12
  157. package/dist/chunks/{worktree-6h7j3cy3.js → worktree-mtthj00s.js} +55 -55
  158. package/dist/chunks/{worktree-5gczjwyk.js → worktree-myvehfjc.js} +27 -27
  159. package/dist/chunks/{worktree-t3jywk8f.js → worktree-n48a3wtd.js} +6 -6
  160. package/dist/chunks/{worktree-gxgynv4w.js → worktree-n4efq2p3.js} +14 -14
  161. package/dist/chunks/{worktree-kt1vcyar.js → worktree-ncv4r2bp.js} +15 -15
  162. package/dist/chunks/{worktree-y23sf9zr.js → worktree-ng12e52f.js} +4 -4
  163. package/dist/chunks/{worktree-vay95fzq.js → worktree-nmb2jxzm.js} +14 -14
  164. package/dist/chunks/{worktree-k5xfnnfv.js → worktree-nnc51gs2.js} +10 -10
  165. package/dist/chunks/{worktree-fs0skkb3.js → worktree-nq9nxgcr.js} +22 -22
  166. package/dist/chunks/{worktree-t51qk8jz.js → worktree-nrdmrqsx.js} +20 -20
  167. package/dist/chunks/{worktree-cy5zkmv9.js → worktree-ntn63d0h.js} +20 -20
  168. package/dist/chunks/{worktree-aw0v1j7y.js → worktree-nwwa308c.js} +6 -6
  169. package/dist/chunks/{worktree-gna9rzrz.js → worktree-nye5f74f.js} +9 -9
  170. package/dist/chunks/{worktree-w9wca7t8.js → worktree-p8d83q2f.js} +13 -13
  171. package/dist/chunks/{worktree-axxg5j10.js → worktree-pd8tqg4h.js} +25 -25
  172. package/dist/chunks/{worktree-has2vgfm.js → worktree-pnd0g9pf.js} +4 -4
  173. package/dist/chunks/{worktree-fhs97t90.js → worktree-pnv527nz.js} +7 -7
  174. package/dist/chunks/{worktree-x7vm5fej.js → worktree-pvr04t1x.js} +16 -16
  175. package/dist/chunks/{worktree-g5x507wm.js → worktree-pydpba5n.js} +173 -173
  176. package/dist/chunks/{worktree-57a2pt8j.js → worktree-q17qcqnk.js} +9 -9
  177. package/dist/chunks/{worktree-bs95t40t.js → worktree-q7hnyx62.js} +8 -8
  178. package/dist/chunks/{worktree-xsny6hxq.js → worktree-qd60702v.js} +13 -13
  179. package/dist/chunks/{worktree-jthyzkpc.js → worktree-qp8jc7h3.js} +7 -7
  180. package/dist/chunks/{worktree-c4gmtxpm.js → worktree-qpx06cdk.js} +26 -26
  181. package/dist/chunks/{worktree-zjp9qjhq.js → worktree-qrq3k7hv.js} +30 -30
  182. package/dist/chunks/{worktree-70x5mss4.js → worktree-qvb4r7jj.js} +24 -24
  183. package/dist/chunks/{worktree-9ymcqn9e.js → worktree-r4v7sw5j.js} +1 -1
  184. package/dist/chunks/{worktree-e982br48.js → worktree-r5ec8tk0.js} +2 -2
  185. package/dist/chunks/{worktree-34g626t1.js → worktree-rc43q7gj.js} +24 -24
  186. package/dist/chunks/{worktree-sbd1zx3a.js → worktree-rd8gh7p5.js} +3 -3
  187. package/dist/chunks/{worktree-t550f9t1.js → worktree-rhjbct0v.js} +3 -3
  188. package/dist/chunks/{worktree-6srgc5f7.js → worktree-rr217x4v.js} +22 -22
  189. package/dist/chunks/{worktree-czf046f0.js → worktree-rvemz3qf.js} +7 -7
  190. package/dist/chunks/{worktree-tjhrsaf7.js → worktree-s3nqtxxj.js} +25 -25
  191. package/dist/chunks/{worktree-3ythc6yv.js → worktree-shh6fz4q.js} +3 -3
  192. package/dist/chunks/{worktree-cye10yf4.js → worktree-sjwxqtfk.js} +12 -12
  193. package/dist/chunks/{worktree-jzrbce6w.js → worktree-smyb6yf6.js} +17 -17
  194. package/dist/chunks/{worktree-ht4gnk1k.js → worktree-smzykshb.js} +5 -5
  195. package/dist/chunks/{worktree-fc1cvdk9.js → worktree-srq7twvs.js} +20 -20
  196. package/dist/chunks/{worktree-11s59a84.js → worktree-t4ke9ew4.js} +8 -8
  197. package/dist/chunks/{worktree-ph842b28.js → worktree-tjedn1bk.js} +3 -3
  198. package/dist/chunks/{worktree-kvshrfkj.js → worktree-tnx6ann6.js} +1 -1
  199. package/dist/chunks/{worktree-c7t7ttxe.js → worktree-v3n2aj7f.js} +30 -30
  200. package/dist/chunks/{worktree-sm965ndy.js → worktree-w3x9v1nk.js} +7 -7
  201. package/dist/chunks/{worktree-0787dcsh.js → worktree-w4ppdpd0.js} +8 -8
  202. package/dist/chunks/{worktree-3t8frjm5.js → worktree-w5npym6y.js} +3 -3
  203. package/dist/chunks/{worktree-2dwhn3my.js → worktree-w5xsrbnb.js} +28 -28
  204. package/dist/chunks/{worktree-xbgsghrj.js → worktree-wder9crj.js} +13 -13
  205. package/dist/chunks/{worktree-ccmdabta.js → worktree-wkt0yqpq.js} +3 -3
  206. package/dist/chunks/{worktree-ckdz0ad0.js → worktree-wv5sfath.js} +8 -8
  207. package/dist/chunks/{worktree-y6a4cmqh.js → worktree-wxffcvth.js} +7 -7
  208. package/dist/chunks/{worktree-yy256scs.js → worktree-x2eykcsk.js} +32 -32
  209. package/dist/chunks/{worktree-wxqxrmdn.js → worktree-x96eb595.js} +23 -23
  210. package/dist/chunks/{worktree-ns90ddce.js → worktree-x9w52knk.js} +19 -19
  211. package/dist/chunks/{worktree-z1y70ee3.js → worktree-x9wq683r.js} +1 -1
  212. package/dist/chunks/{worktree-qqeeq2t9.js → worktree-xfkkasph.js} +6 -6
  213. package/dist/chunks/{worktree-wt5y36s4.js → worktree-xk8j9t28.js} +19 -19
  214. package/dist/chunks/{worktree-2463j9pj.js → worktree-xrm9dfb1.js} +14 -14
  215. package/dist/chunks/{worktree-rj6d5p5e.js → worktree-xxynqx5z.js} +3 -3
  216. package/dist/chunks/{worktree-w16pgjcx.js → worktree-xzbq4t52.js} +32 -32
  217. package/dist/chunks/{worktree-nrkjg2yg.js → worktree-y1ygrsmg.js} +2 -2
  218. package/dist/chunks/{worktree-1rk9t83t.js → worktree-y7abhsg2.js} +9 -9
  219. package/dist/chunks/{worktree-bmpepz07.js → worktree-y9854d0h.js} +5 -5
  220. package/dist/chunks/{worktree-6hqwt1nw.js → worktree-ydg01c3p.js} +12 -12
  221. package/dist/chunks/{worktree-54ptgeb2.js → worktree-yjmcsphm.js} +22 -22
  222. package/dist/chunks/{worktree-fvsyg6qk.js → worktree-yjptyezs.js} +3 -3
  223. package/dist/chunks/{worktree-cwn9cw75.js → worktree-ykze60hc.js} +15 -15
  224. package/dist/chunks/{worktree-s4enseaf.js → worktree-yrznvahk.js} +1 -1
  225. package/dist/chunks/{worktree-xbp7gjm9.js → worktree-z2cyrkj5.js} +11 -11
  226. package/dist/chunks/{worktree-8b4cgdt8.js → worktree-z5z5sd66.js} +24 -24
  227. package/dist/chunks/{worktree-29x78va6.js → worktree-z63w68vq.js} +4 -4
  228. package/dist/chunks/{worktree-bnw2aka3.js → worktree-z9yzr4jj.js} +21 -21
  229. package/dist/chunks/{worktree-vtmgncrs.js → worktree-zdfdg6f3.js} +309 -309
  230. package/dist/chunks/{worktree-ttca00zt.js → worktree-zh8xk7my.js} +14 -14
  231. package/dist/codemode/instructions.js +8 -8
  232. package/dist/codemode/tool.js +2 -2
  233. package/dist/command.js +68 -68
  234. package/dist/config/discovery.js +62 -62
  235. package/dist/config/normalize.js +82 -82
  236. package/dist/config/plugin/agent.js +95 -95
  237. package/dist/config/plugin/command.js +175 -175
  238. package/dist/config/plugin/compaction.js +128 -128
  239. package/dist/config/plugin/compatibility.js +112 -112
  240. package/dist/config/plugin/formatter.js +96 -96
  241. package/dist/config/plugin/image.js +95 -95
  242. package/dist/config/plugin/instruction.js +68 -68
  243. package/dist/config/plugin/location-watcher.js +95 -95
  244. package/dist/config/plugin/mcp.js +102 -102
  245. package/dist/config/plugin/policy.js +95 -95
  246. package/dist/config/plugin/provider.js +95 -95
  247. package/dist/config/plugin/reference.js +97 -97
  248. package/dist/config/plugin/shell.js +97 -97
  249. package/dist/config/plugin/skill-file.js +75 -75
  250. package/dist/config/plugin/skill.js +115 -115
  251. package/dist/config/plugin/snapshot.js +95 -95
  252. package/dist/config/plugin/source.js +98 -98
  253. package/dist/config/plugin/tool-output.js +97 -97
  254. package/dist/config/plugin/websearch.js +96 -96
  255. package/dist/config/plugin/worktree.js +96 -96
  256. package/dist/config/variable.js +2 -2
  257. package/dist/config.js +101 -101
  258. package/dist/credential.js +67 -67
  259. package/dist/database/database.js +53 -53
  260. package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
  261. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  262. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  263. package/dist/database/drizzle/index.js +11 -11
  264. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  265. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  266. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  267. package/dist/database/drizzle.js +11 -11
  268. package/dist/database/migration.gen.js +37 -37
  269. package/dist/database/migration.js +38 -38
  270. package/dist/database/v1-migration.bun.js +9 -9
  271. package/dist/effect/app-node-builder.js +237 -237
  272. package/dist/effect/keyed-mutex.js +3 -3
  273. package/dist/environment/environment.js +69 -69
  274. package/dist/environment/index.js +71 -71
  275. package/dist/event-logger.js +10 -10
  276. package/dist/file-access.js +78 -78
  277. package/dist/file-mutation.js +70 -70
  278. package/dist/filesystem/location-watcher-policy.js +5 -5
  279. package/dist/filesystem/location-watcher.js +187 -187
  280. package/dist/filesystem/search.js +77 -77
  281. package/dist/filesystem/watcher-binding.js +3 -3
  282. package/dist/filesystem/watcher.js +14 -14
  283. package/dist/filesystem.js +74 -74
  284. package/dist/form.js +66 -66
  285. package/dist/formatter/builtins.js +3 -3
  286. package/dist/formatter.js +68 -68
  287. package/dist/generate.js +79 -79
  288. package/dist/git.js +8 -8
  289. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
  290. package/dist/github-copilot/copilot-provider.js +3 -3
  291. package/dist/github-copilot/models.js +77 -77
  292. package/dist/github-copilot/responses/openai-responses-language-model.js +4 -4
  293. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +2 -2
  294. package/dist/image/photon.js +1 -1
  295. package/dist/image.js +5 -5
  296. package/dist/instance/service.js +5 -5
  297. package/dist/instance.js +311 -311
  298. package/dist/instruction-discovery.js +65 -65
  299. package/dist/instructions/builtins.js +67 -67
  300. package/dist/instructions/index.js +3 -3
  301. package/dist/integration.js +68 -68
  302. package/dist/job.js +62 -62
  303. package/dist/kv.js +54 -54
  304. package/dist/location-activity.js +53 -53
  305. package/dist/location-lifecycle.js +80 -80
  306. package/dist/location-mutation.js +31 -31
  307. package/dist/location-service-map.js +66 -66
  308. package/dist/location-services.js +308 -308
  309. package/dist/location.js +67 -67
  310. package/dist/mcp/client.js +18 -18
  311. package/dist/mcp/index.js +77 -77
  312. package/dist/mcp/instructions.js +95 -95
  313. package/dist/mcp/oauth.js +14 -14
  314. package/dist/mcp/stdio.js +66 -66
  315. package/dist/modal/models.js +77 -77
  316. package/dist/model-resolver.js +76 -76
  317. package/dist/model.js +76 -76
  318. package/dist/models-dev.js +84 -84
  319. package/dist/permission/saved.js +62 -62
  320. package/dist/permission.js +89 -89
  321. package/dist/persistent-pty/index.js +63 -63
  322. package/dist/persistent-pty.js +57 -57
  323. package/dist/plugin/agent.js +76 -76
  324. package/dist/plugin/command.js +74 -74
  325. package/dist/plugin/compaction.js +100 -100
  326. package/dist/plugin/hooks.js +5 -5
  327. package/dist/plugin/host.js +180 -180
  328. package/dist/plugin/identity.js +3 -3
  329. package/dist/plugin/instance.js +5 -5
  330. package/dist/plugin/internal.js +283 -283
  331. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  332. package/dist/plugin/models-dev.js +73 -73
  333. package/dist/plugin/module.js +5 -5
  334. package/dist/plugin/optimize.js +2 -2
  335. package/dist/plugin/plan.js +76 -76
  336. package/dist/plugin/provider/amazon-bedrock.js +68 -68
  337. package/dist/plugin/provider/azure.js +94 -94
  338. package/dist/plugin/provider/cloudflare-ai-gateway.js +93 -93
  339. package/dist/plugin/provider/cloudflare-workers-ai.js +93 -93
  340. package/dist/plugin/provider/configured.js +92 -92
  341. package/dist/plugin/provider/digitalocean.js +70 -70
  342. package/dist/plugin/provider/github-copilot.js +71 -71
  343. package/dist/plugin/provider/gitlab.js +69 -69
  344. package/dist/plugin/provider/google-vertex.js +68 -68
  345. package/dist/plugin/provider/llmgateway.js +61 -61
  346. package/dist/plugin/provider/lmstudio.js +95 -95
  347. package/dist/plugin/provider/modal.js +70 -70
  348. package/dist/plugin/provider/ollama.js +95 -95
  349. package/dist/plugin/provider/openai.js +69 -69
  350. package/dist/plugin/provider/opencode.js +70 -70
  351. package/dist/plugin/provider/openrouter.js +69 -69
  352. package/dist/plugin/provider/poe.js +61 -61
  353. package/dist/plugin/provider/prompt-cache-key.js +68 -68
  354. package/dist/plugin/provider/sap-ai-core.js +68 -68
  355. package/dist/plugin/provider/snowflake-cortex.js +94 -94
  356. package/dist/plugin/provider/vercel.js +68 -68
  357. package/dist/plugin/provider/vllm.js +95 -95
  358. package/dist/plugin/provider/xai.js +69 -69
  359. package/dist/plugin/provider.js +125 -125
  360. package/dist/plugin/sdk.js +62 -62
  361. package/dist/plugin/service.js +3 -3
  362. package/dist/plugin/skill.js +111 -111
  363. package/dist/plugin/supervisor.js +300 -300
  364. package/dist/plugin/tool-input-repair.js +3 -3
  365. package/dist/plugin/update.js +6 -6
  366. package/dist/plugin/vcs/git.js +65 -65
  367. package/dist/plugin/vcs/hg.js +65 -65
  368. package/dist/plugin/warming.js +94 -94
  369. package/dist/plugin/websearch/exa.js +5 -5
  370. package/dist/plugin/websearch/firecrawl.js +6 -6
  371. package/dist/plugin/websearch/index.js +7 -7
  372. package/dist/plugin/websearch/parallel.js +6 -6
  373. package/dist/plugin/websearch/tavily.js +6 -6
  374. package/dist/plugin/websearch/tinyfish.js +4 -4
  375. package/dist/plugin.js +192 -192
  376. package/dist/project/schema.js +5 -5
  377. package/dist/project.js +66 -66
  378. package/dist/provider.js +75 -75
  379. package/dist/pty/schema.js +3 -3
  380. package/dist/pty.js +74 -74
  381. package/dist/reference/instructions.js +69 -69
  382. package/dist/reference.js +71 -71
  383. package/dist/repository-cache.js +63 -63
  384. package/dist/ripgrep.js +70 -70
  385. package/dist/rpc.js +66 -66
  386. package/dist/session/command.js +59 -59
  387. package/dist/session/compaction.js +103 -103
  388. package/dist/session/context.js +119 -119
  389. package/dist/session/diff.js +65 -65
  390. package/dist/session/environment.js +5 -5
  391. package/dist/session/error.js +6 -6
  392. package/dist/session/execution/restart.js +119 -119
  393. package/dist/session/execution.js +97 -97
  394. package/dist/session/generate.js +118 -118
  395. package/dist/session/history.js +8 -8
  396. package/dist/session/inbox.js +67 -67
  397. package/dist/session/info.js +2 -2
  398. package/dist/session/instruction-entry.js +61 -61
  399. package/dist/session/instruction-state.js +2 -2
  400. package/dist/session/instructions.js +74 -74
  401. package/dist/session/model-request.js +91 -91
  402. package/dist/session/model-transport.js +7 -7
  403. package/dist/session/move.js +99 -99
  404. package/dist/session/projector.js +63 -63
  405. package/dist/session/prompt.js +79 -79
  406. package/dist/session/provider-context.js +3 -3
  407. package/dist/session/revert.js +66 -66
  408. package/dist/session/run-coordinator.js +3 -3
  409. package/dist/session/runner/index.js +3 -3
  410. package/dist/session/runner/llm.js +190 -190
  411. package/dist/session/runner/model.js +76 -76
  412. package/dist/session/runner/retry.js +85 -85
  413. package/dist/session/runner/step.js +95 -95
  414. package/dist/session/runner/to-llm-message.js +2 -2
  415. package/dist/session/schema.js +5 -5
  416. package/dist/session/session.js +138 -138
  417. package/dist/session/shell.js +107 -107
  418. package/dist/session/skill.js +77 -77
  419. package/dist/session/stats.js +8 -8
  420. package/dist/session/store.js +65 -65
  421. package/dist/session/subagent-job.js +173 -173
  422. package/dist/session/system-prompt.js +5 -5
  423. package/dist/session/title.js +122 -122
  424. package/dist/session/to-session-error.js +84 -84
  425. package/dist/session/transfer.js +116 -116
  426. package/dist/session.js +181 -181
  427. package/dist/shell/parse.js +3 -3
  428. package/dist/shell/select.js +9 -9
  429. package/dist/shell.js +110 -110
  430. package/dist/skill/discovery.js +5 -5
  431. package/dist/skill/instructions.js +81 -81
  432. package/dist/skill.js +84 -84
  433. package/dist/snapshot.js +68 -68
  434. package/dist/tool/mcp.js +98 -98
  435. package/dist/tool/plugin/edit.js +90 -90
  436. package/dist/tool/plugin/glob.js +93 -93
  437. package/dist/tool/plugin/grep.js +93 -93
  438. package/dist/tool/plugin/opencode.js +3 -3
  439. package/dist/tool/plugin/patch.js +86 -86
  440. package/dist/tool/plugin/question.js +79 -79
  441. package/dist/tool/plugin/read.js +94 -94
  442. package/dist/tool/plugin/shell.js +181 -181
  443. package/dist/tool/plugin/skill.js +79 -79
  444. package/dist/tool/plugin/subagent.js +182 -182
  445. package/dist/tool/plugin/webfetch.js +80 -80
  446. package/dist/tool/plugin/websearch.js +87 -87
  447. package/dist/tool/plugin/write.js +92 -92
  448. package/dist/tool/read-filesystem.js +74 -74
  449. package/dist/tool-output.js +5 -5
  450. package/dist/tool.js +11 -11
  451. package/dist/v1/config/agent.js +6 -6
  452. package/dist/v1/config/attachment.js +3 -3
  453. package/dist/v1/config/command.js +3 -3
  454. package/dist/v1/config/config.js +13 -13
  455. package/dist/v1/config/error.js +3 -3
  456. package/dist/v1/config/formatter.js +5 -5
  457. package/dist/v1/config/lsp.js +3 -3
  458. package/dist/v1/config/mcp.js +3 -3
  459. package/dist/v1/config/migrate.js +69 -69
  460. package/dist/v1/config/permission.js +7 -7
  461. package/dist/v1/config/plugin.js +3 -3
  462. package/dist/v1/config/provider.js +3 -3
  463. package/dist/v1/config/skills.js +3 -3
  464. package/dist/variant.js +69 -69
  465. package/dist/vcs.js +68 -68
  466. package/dist/websearch.js +67 -67
  467. package/dist/wellknown/plugin.js +60 -60
  468. package/dist/wellknown.js +63 -63
  469. package/dist/workspace/driver.js +7 -7
  470. package/dist/workspace.js +66 -66
  471. package/dist/worktree/git.js +7 -7
  472. package/dist/worktree/strategies.js +67 -67
  473. package/dist/worktree.js +73 -73
  474. package/package.json +8 -8
  475. package/dist/chunks/worktree-0mesazry.js +0 -4
  476. package/dist/chunks/worktree-6zs4aaxp.js +0 -252
  477. package/dist/chunks/worktree-bdmzhav8.js +0 -26
  478. /package/dist/chunks/{worktree-zvffvgzw.js → worktree-f40tx9v5.js} +0 -0
  479. /package/dist/chunks/{worktree-vm7xxkph.js → worktree-ja2xmr49.js} +0 -0
  480. /package/dist/chunks/{worktree-nzks3jc8.js → worktree-k3c624dm.js} +0 -0
  481. /package/dist/chunks/{worktree-j34dxvpb.js → worktree-ma48de29.js} +0 -0
  482. /package/dist/chunks/{worktree-64mbz47k.js → worktree-wgz7hchk.js} +0 -0
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./worktree-y71avatq.js";
3
+ } from "./worktree-dpkg50ah.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./worktree-e982br48.js";
7
+ } from "./worktree-r5ec8tk0.js";
8
8
  import {
9
- Event18,
10
- Service74,
11
- node78
12
- } from "./worktree-tjhrsaf7.js";
9
+ Event20,
10
+ Service79,
11
+ node82
12
+ } from "./worktree-s3nqtxxj.js";
13
13
  import {
14
- Service77,
15
- node81
16
- } from "./worktree-kt1vcyar.js";
14
+ Service76,
15
+ node79
16
+ } from "./worktree-ncv4r2bp.js";
17
17
  import {
18
- Service51,
19
- node53
20
- } from "./worktree-p3d2pjj7.js";
18
+ Service48,
19
+ node51
20
+ } from "./worktree-dk764wf3.js";
21
21
  import {
22
- ID14,
23
- Service73,
24
- node77
25
- } from "./worktree-71a6hfp5.js";
22
+ ID15,
23
+ Service75,
24
+ node78
25
+ } from "./worktree-8kzgg7jc.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
29
  } from "./worktree-rdw6cm16.js";
30
30
  import {
31
- ID13,
31
+ ID14,
32
32
  MethodID2,
33
- Service72,
34
- node76
35
- } from "./worktree-1rc4386p.js";
33
+ Service74,
34
+ node77
35
+ } from "./worktree-fbf3se4r.js";
36
36
  import {
37
37
  __export
38
38
  } from "./worktree-9rqn6x4v.js";
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service35,
53
+ Service: () => Service38,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
56
  configured: () => configured5,
57
- layer: () => layer16,
58
- node: () => node38
57
+ layer: () => layer14,
58
+ node: () => node41
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -93,7 +93,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service35 extends Context.Service()("@opencode/MCP") {
96
+ class Service38 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
98
  var Options5 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
@@ -101,13 +101,13 @@ var Options5 = Schema.Struct({
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
105
- const location = yield* Service77;
106
- const environment = yield* Service51;
104
+ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
105
+ const location = yield* Service76;
106
+ const environment = yield* Service48;
107
107
  const bus = yield* Service82;
108
- const forms = yield* Service73;
109
- const integration = yield* Service72;
110
- const credentials = yield* Service74;
108
+ const forms = yield* Service75;
109
+ const integration = yield* Service74;
110
+ const credentials = yield* Service79;
111
111
  const root = yield* Effect.scope;
112
112
  const fork = yield* FiberSet.makeRuntime();
113
113
  const entries = new Map;
@@ -119,7 +119,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
119
119
  return;
120
120
  const remote = entry.config;
121
121
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
122
- const integrationID = ID13.make(suffix);
122
+ const integrationID = ID14.make(suffix);
123
123
  entry.integrationID = integrationID;
124
124
  owned.add(integrationID);
125
125
  const methodID = MethodID2.make(suffix);
@@ -135,7 +135,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
135
135
  method: { id: methodID, type: "oauth", label: name },
136
136
  authorize: () => Effect.gen(function* () {
137
137
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
138
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service74, credentials));
138
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
139
139
  })
140
140
  });
141
141
  }).pipe(Scope.provide(scope));
@@ -151,12 +151,12 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
151
151
  if (entry.config.type !== "remote" || !entry.integrationID)
152
152
  return;
153
153
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
154
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service74, credentials));
154
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
155
155
  });
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
158
158
  if (input.params.mode === "url") {
159
- const formID = ID14.create();
159
+ const formID = ID15.create();
160
160
  const elicitationID = input.params.elicitationId;
161
161
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
162
162
  if (key)
@@ -240,7 +240,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
240
240
  entry.scope = scope;
241
241
  const authProvider = yield* connectProvider(entry);
242
242
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
243
- 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(Service51, environment), Scope.provide(scope));
243
+ 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(Service48, environment), Scope.provide(scope));
244
244
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
245
245
  if (Exit.isSuccess(result)) {
246
246
  entry.client = result.value.connection;
@@ -365,7 +365,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
365
365
  yield* startServer(name, entry);
366
366
  }).pipe(locks.withLock(name));
367
367
  });
368
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
368
+ fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
369
369
  const state = create3({
370
370
  name: "mcp",
371
371
  initial: () => ({
@@ -391,7 +391,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
391
391
  }),
392
392
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
393
393
  });
394
- return Service35.of({
394
+ return Service38.of({
395
395
  transform: state.transform,
396
396
  reload: state.reload,
397
397
  servers: Effect.fn("MCP.servers")(function* () {
@@ -512,12 +512,12 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
512
512
  }));
513
513
  function configured5(options) {
514
514
  return makeLocationNode({
515
- service: Service35,
516
- layer: layer16(options),
517
- deps: [node81, node53, node86, node77, node76, node78]
515
+ service: Service38,
516
+ layer: layer14(options),
517
+ deps: [node79, node51, node86, node78, node77, node82]
518
518
  });
519
519
  }
520
- var node38 = configured5();
520
+ var node41 = configured5();
521
521
  function toElicitationField(key, property, required) {
522
522
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
523
523
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
568
568
  }
569
569
  }
570
570
 
571
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service35, Options5, layer16, configured5, node38, exports_mcp4 };
571
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options5, layer14, configured5, node41, exports_mcp4 };
@@ -2,8 +2,8 @@ import {
2
2
  fromPromise2
3
3
  } from "./worktree-zr2ceqn5.js";
4
4
  import {
5
- Service69
6
- } from "./worktree-fs0skkb3.js";
5
+ Service47
6
+ } from "./worktree-nq9nxgcr.js";
7
7
  import {
8
8
  __export
9
9
  } from "./worktree-9rqn6x4v.js";
@@ -13,7 +13,7 @@ var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make4
16
+ make: () => make3
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make4 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service69;
25
+ var make3 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service47;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make4, LoadError2, exports_module };
105
+ export { make3, LoadError2, exports_module };
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service79
3
- } from "./worktree-sjf3tctt.js";
2
+ Service78
3
+ } from "./worktree-m2zz6rv6.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
@@ -13,14 +13,14 @@ import {
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make21
16
+ make: () => make12
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make21 = Effect.gen(function* () {
21
+ var make12 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service79;
23
+ const git = yield* Service78;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make21 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make21, exports_git2 };
49
+ export { make12, exports_git2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-xp1ejmsr.js";
3
+ } from "./worktree-0z8c9324.js";
4
4
  import {
5
5
  call2
6
6
  } from "./worktree-1ygqh575.js";
@@ -13,12 +13,12 @@ var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
14
  Plugin: () => Plugin5,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint2
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint2 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint4 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -55,7 +55,7 @@ var Plugin5 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin5 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint2, Plugin5, exports_tinyfish };
76
+ export { endpoint4, Plugin5, exports_tinyfish };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./worktree-bccb6npm.js";
4
+ } from "./worktree-06dxphr1.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  latest2,
3
- Service68
4
- } from "./worktree-28cf9raz.js";
3
+ Service46
4
+ } from "./worktree-jtz05rza.js";
5
5
  import {
6
- Service39
7
- } from "./worktree-bnw2aka3.js";
6
+ Service42
7
+ } from "./worktree-z9yzr4jj.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./worktree-qsdy395h.js";
@@ -16,15 +16,15 @@ import {
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin25
19
+ Plugin: () => Plugin37
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin25 = define({
23
+ var Plugin37 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service68;
27
- const snapshot = yield* Service39;
26
+ const config = yield* Service46;
27
+ const snapshot = yield* Service42;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin25 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin25, exports_snapshot };
38
+ export { Plugin37, exports_snapshot };
@@ -1,11 +1,11 @@
1
1
  import {
2
- ID9,
2
+ ID10,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./worktree-e6r8tc5b.js";
5
+ } from "./worktree-k39q4sf2.js";
6
6
  import {
7
7
  merge2
8
- } from "./worktree-6h7j3cy3.js";
8
+ } from "./worktree-mtthj00s.js";
9
9
  import {
10
10
  __export
11
11
  } from "./worktree-9rqn6x4v.js";
@@ -14,7 +14,7 @@ import {
14
14
  var exports_agent = {};
15
15
  __export(exports_agent, {
16
16
  AgentPlugin: () => exports_agent,
17
- Plugin: () => Plugin11
17
+ Plugin: () => Plugin13
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin11 = define({
93
+ var Plugin13 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin11 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID9.make("general"), (item) => {
103
+ editor.update(ID10.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID9.make("explore"), (item) => {
109
+ editor.update(ID10.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin11 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID9.make("compaction"), (item) => {
128
+ editor.update(ID10.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID9.make("title"), (item) => {
133
+ editor.update(ID10.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID9.make("summary"), (item) => {
140
+ editor.update(ID10.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin11 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin11, exports_agent };
151
+ export { Plugin13, exports_agent };
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service77,
3
- node81
4
- } from "./worktree-kt1vcyar.js";
2
+ Service76,
3
+ node79
4
+ } from "./worktree-ncv4r2bp.js";
5
5
  import {
6
6
  create3
7
7
  } from "./worktree-rdw6cm16.js";
@@ -10,21 +10,21 @@ import {
10
10
  } from "./worktree-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
- var exports_formatter2 = {};
14
- __export(exports_formatter2, {
15
- Formatter: () => exports_formatter2,
16
- Service: () => Service19,
17
- node: () => node21
13
+ var exports_formatter3 = {};
14
+ __export(exports_formatter3, {
15
+ Formatter: () => exports_formatter3,
16
+ Service: () => Service71,
17
+ node: () => node74
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service19 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service71 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service19, Effect.gen(function* () {
27
- const location = yield* Service77;
26
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
27
+ const location = yield* Service76;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service19.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service71.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node21 = makeLocationNode({
91
- service: Service19,
90
+ var node74 = makeLocationNode({
91
+ service: Service71,
92
92
  layer,
93
- deps: [node81, AppProcess.node]
93
+ deps: [node79, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service19, node21, exports_formatter2 };
96
+ export { Service71, node74, exports_formatter3 };
@@ -3,41 +3,41 @@ import {
3
3
  PositiveInt2
4
4
  } from "./worktree-922hggd3.js";
5
5
  import {
6
- Info23
7
- } from "./worktree-t51qk8jz.js";
6
+ Info10
7
+ } from "./worktree-nrdmrqsx.js";
8
8
  import {
9
- Info17
10
- } from "./worktree-6stnv1c0.js";
9
+ Info9
10
+ } from "./worktree-a68v6zx7.js";
11
11
  import {
12
- Info19
13
- } from "./worktree-3w2b2yj4.js";
12
+ Info15
13
+ } from "./worktree-3w0fmcng.js";
14
14
  import {
15
- Info24
16
- } from "./worktree-at5d07az.js";
15
+ Info13
16
+ } from "./worktree-6hh8tjw2.js";
17
17
  import {
18
- Info22
19
- } from "./worktree-n8c291r7.js";
18
+ Info17
19
+ } from "./worktree-4jv7e9dq.js";
20
20
  import {
21
21
  Layout2
22
22
  } from "./worktree-21r38tys.js";
23
23
  import {
24
- Info20
25
- } from "./worktree-qqtwvk4z.js";
24
+ Info14
25
+ } from "./worktree-23pqda6t.js";
26
26
  import {
27
- Info21
28
- } from "./worktree-sra9araw.js";
27
+ Info12
28
+ } from "./worktree-hkfg6fzm.js";
29
29
  import {
30
30
  Spec2
31
- } from "./worktree-fcrkznn8.js";
31
+ } from "./worktree-7dqw4kz8.js";
32
32
  import {
33
- Info25
34
- } from "./worktree-fvsyg6qk.js";
33
+ Info11
34
+ } from "./worktree-yjptyezs.js";
35
35
  import {
36
36
  Server2
37
37
  } from "./worktree-zeh9ct20.js";
38
38
  import {
39
- Info18
40
- } from "./worktree-ve4pfa0n.js";
39
+ Info16
40
+ } from "./worktree-bct739vz.js";
41
41
  import {
42
42
  __export
43
43
  } from "./worktree-9rqn6x4v.js";
@@ -46,7 +46,7 @@ import {
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info16,
49
+ Info: () => Info8,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info16 = Schema.Struct({
62
+ var Info8 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,10 +68,10 @@ var Info16 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info24)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info13)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
- skills: Schema.optional(Info18).annotate({ description: "Additional skill folder paths" }),
74
+ skills: Schema.optional(Info16).annotate({ description: "Additional skill folder paths" }),
75
75
  references: Schema.optional(ConfigReference.Info).annotate({
76
76
  description: "Named git or local directory references"
77
77
  }),
@@ -113,33 +113,33 @@ var Info16 = Schema.Struct({
113
113
  username: Schema.optional(Schema.String).annotate({
114
114
  description: "Custom username to display in conversations instead of system username"
115
115
  }),
116
- mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info17), plan: Schema.optional(Info17) }), [Schema.Record(Schema.String, Info17)])).annotate({ description: "@deprecated Use `agent` field instead." }),
116
+ mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info9), plan: Schema.optional(Info9) }), [Schema.Record(Schema.String, Info9)])).annotate({ description: "@deprecated Use `agent` field instead." }),
117
117
  agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
118
- plan: Schema.optional(Info17),
119
- build: Schema.optional(Info17),
120
- general: Schema.optional(Info17),
121
- explore: Schema.optional(Info17),
122
- title: Schema.optional(Info17),
123
- summary: Schema.optional(Info17),
124
- compaction: Schema.optional(Info17)
125
- }), [Schema.Record(Schema.String, Info17)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info25)).annotate({
118
+ plan: Schema.optional(Info9),
119
+ build: Schema.optional(Info9),
120
+ general: Schema.optional(Info9),
121
+ explore: Schema.optional(Info9),
122
+ title: Schema.optional(Info9),
123
+ summary: Schema.optional(Info9),
124
+ compaction: Schema.optional(Info9)
125
+ }), [Schema.Record(Schema.String, Info9)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info11)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
- mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info21, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
- formatter: Schema.optional(Info22).annotate({
129
+ mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info12, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
+ formatter: Schema.optional(Info17).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
- lsp: Schema.optional(Info20).annotate({
133
+ lsp: Schema.optional(Info14).annotate({
134
134
  description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
135
135
  }),
136
136
  instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
137
137
  description: "Additional instruction files or patterns to include"
138
138
  }),
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
- permission: Schema.optional(Info23),
140
+ permission: Schema.optional(Info10),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
- attachment: Schema.optional(Info19).annotate({
142
+ attachment: Schema.optional(Info15).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
144
144
  }),
145
145
  enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
@@ -191,4 +191,4 @@ var Info16 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info16, exports_config2 };
194
+ export { WellKnown2, Info8, exports_config2 };
@@ -5,7 +5,7 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./worktree-t550f9t1.js";
8
+ } from "./worktree-rhjbct0v.js";
9
9
  import {
10
10
  SessionEvent2
11
11
  } from "./worktree-ec1grn59.js";