@opencode/core 0.0.0-dev-21090 → 0.0.0-dev-21091

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{vcs-4krvf5ba.js → image-04z6nezy.js} +15 -15
  8. package/dist/chunks/{vcs-7v1gzfyf.js → image-081djepm.js} +11 -11
  9. package/dist/chunks/{vcs-d75q966c.js → image-0eb84y8j.js} +1 -1
  10. package/dist/chunks/{vcs-d7d9ad3n.js → image-0k0s692t.js} +25 -25
  11. package/dist/chunks/{vcs-7bsx1ry9.js → image-0rwxa9ey.js} +86 -86
  12. package/dist/chunks/{vcs-0vbcp93d.js → image-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{vcs-2eegacq4.js → image-0xezjjjn.js} +8 -8
  14. package/dist/chunks/{vcs-h9pnpq88.js → image-0xqyf95c.js} +4 -4
  15. package/dist/chunks/{vcs-s7nn2292.js → image-1046cdpg.js} +8 -8
  16. package/dist/chunks/{vcs-gvve46pf.js → image-16wh86dq.js} +33 -33
  17. package/dist/chunks/{vcs-h8dz2c4h.js → image-19qccr11.js} +19 -19
  18. package/dist/chunks/{vcs-arhwhgqd.js → image-19y54p6j.js} +45 -45
  19. package/dist/chunks/{vcs-5rj3mv0t.js → image-1jyvck4s.js} +26 -26
  20. package/dist/chunks/image-1ypxswfj.js +26 -0
  21. package/dist/chunks/{vcs-t0dx2bc9.js → image-279wehye.js} +9 -9
  22. package/dist/chunks/{vcs-fm1m477c.js → image-2fa5xe54.js} +9 -9
  23. package/dist/chunks/{vcs-tg194zmv.js → image-2gw59dk5.js} +29 -29
  24. package/dist/chunks/{vcs-bg27ae0c.js → image-2q498whs.js} +27 -27
  25. package/dist/chunks/{vcs-mkx2ttns.js → image-2xr2vtfc.js} +3 -3
  26. package/dist/chunks/{vcs-v3gykj2b.js → image-2y09pkms.js} +27 -27
  27. package/dist/chunks/{vcs-t0rz6gdy.js → image-2zx826rp.js} +9 -9
  28. package/dist/chunks/{vcs-z6wjd818.js → image-3ev9jan1.js} +15 -15
  29. package/dist/chunks/{vcs-3fc6dm20.js → image-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{vcs-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{vcs-3hwn7j4h.js → image-3hwn7j4h.js} +2 -2
  32. package/dist/chunks/{vcs-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  33. package/dist/chunks/{vcs-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  34. package/dist/chunks/{vcs-8g3qgpf1.js → image-3wy9q2ff.js} +14 -14
  35. package/dist/chunks/{vcs-1j3bjd53.js → image-3xyjyf4x.js} +13 -13
  36. package/dist/chunks/{vcs-3zsf4n22.js → image-3zsf4n22.js} +1 -1
  37. package/dist/chunks/{vcs-1vwtzdj4.js → image-4r1pyas3.js} +25 -25
  38. package/dist/chunks/{vcs-m9hn89qh.js → image-4y8khg4w.js} +8 -8
  39. package/dist/chunks/{vcs-hhyv66vq.js → image-518cpg7m.js} +5 -5
  40. package/dist/chunks/{vcs-0q18bxrk.js → image-540gcx95.js} +20 -20
  41. package/dist/chunks/{vcs-54ma36ye.js → image-54ma36ye.js} +1 -1
  42. package/dist/chunks/{vcs-j7730hrj.js → image-574rbgy6.js} +194 -194
  43. package/dist/chunks/{vcs-5m9w47nd.js → image-5m9w47nd.js} +1 -1
  44. package/dist/chunks/{vcs-e80seqcp.js → image-5rzwp8tz.js} +3 -3
  45. package/dist/chunks/{vcs-pjmxkyqt.js → image-5syfpggs.js} +13 -13
  46. package/dist/chunks/{vcs-zfaw4smh.js → image-62c33b3b.js} +33 -33
  47. package/dist/chunks/{vcs-k7emraq6.js → image-67dvq108.js} +19 -19
  48. package/dist/chunks/{vcs-t1798742.js → image-6a51wk2t.js} +11 -11
  49. package/dist/chunks/{vcs-rn966cgg.js → image-6bgs5b73.js} +1 -1
  50. package/dist/chunks/{vcs-1qdqkxpq.js → image-6nmzk97v.js} +9 -9
  51. package/dist/chunks/{vcs-ch4j2txv.js → image-6nzsaszg.js} +48 -48
  52. package/dist/chunks/{vcs-0jzxgpre.js → image-6rqh4v4r.js} +5 -5
  53. package/dist/chunks/{vcs-5ae1r4gq.js → image-6w7mw3fn.js} +18 -18
  54. package/dist/chunks/{vcs-6xb47vfp.js → image-6xb47vfp.js} +1 -1
  55. package/dist/chunks/{vcs-wh6zw745.js → image-6yz0wx8n.js} +5 -5
  56. package/dist/chunks/{vcs-y2cmk695.js → image-72cp5kz5.js} +16 -16
  57. package/dist/chunks/{vcs-7bn1501h.js → image-745k84g0.js} +18 -18
  58. package/dist/chunks/{vcs-775gj3j1.js → image-775gj3j1.js} +2 -2
  59. package/dist/chunks/{vcs-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  60. package/dist/chunks/{vcs-sz15zhhw.js → image-7cx595n2.js} +9 -9
  61. package/dist/chunks/{vcs-4c8bw516.js → image-7s2tn799.js} +8 -8
  62. package/dist/chunks/{vcs-dhtde4h3.js → image-7v1ahg2p.js} +11 -11
  63. package/dist/chunks/{vcs-18z0v07s.js → image-7x6t7wg7.js} +16 -16
  64. package/dist/chunks/{vcs-nq4re8e2.js → image-7xv9akm7.js} +6 -6
  65. package/dist/chunks/{vcs-m7gnmmyh.js → image-835agder.js} +38 -38
  66. package/dist/chunks/{vcs-19s2fqfj.js → image-83q71n9j.js} +46 -46
  67. package/dist/chunks/{vcs-43rt8h4d.js → image-84erndqx.js} +27 -27
  68. package/dist/chunks/{vcs-127b9nq3.js → image-85xxa1xb.js} +2 -2
  69. package/dist/chunks/{vcs-wb385ffg.js → image-89j27xq7.js} +19 -19
  70. package/dist/chunks/{vcs-by3gdc7v.js → image-8a65477g.js} +20 -20
  71. package/dist/chunks/{vcs-f4f3a5as.js → image-8atjvr0x.js} +5 -5
  72. package/dist/chunks/{vcs-5habnm2g.js → image-8jrxbtg6.js} +11 -11
  73. package/dist/chunks/{vcs-8m6m0r52.js → image-8m6m0r52.js} +1 -1
  74. package/dist/chunks/{vcs-g7xyvbka.js → image-8p15vr8a.js} +14 -14
  75. package/dist/chunks/{vcs-csp53sav.js → image-8x8j0yap.js} +7 -7
  76. package/dist/chunks/{vcs-f29mbr7f.js → image-8zp79j7j.js} +4 -4
  77. package/dist/chunks/{vcs-jkp0d30b.js → image-909p1r3q.js} +6 -6
  78. package/dist/chunks/{vcs-fhfy5s6e.js → image-94rzz9dj.js} +20 -20
  79. package/dist/chunks/{vcs-pq222b1b.js → image-95ey77n3.js} +5 -5
  80. package/dist/chunks/{vcs-ptqwx5rb.js → image-966xcppd.js} +11 -11
  81. package/dist/chunks/{vcs-1w6gf0cw.js → image-9aj7p764.js} +13 -13
  82. package/dist/chunks/{vcs-fb9m6ydh.js → image-9dzfwx4y.js} +26 -26
  83. package/dist/chunks/{vcs-d5gsdn35.js → image-9mxketag.js} +15 -15
  84. package/dist/chunks/{vcs-s3wk3r14.js → image-9r18qga4.js} +19 -19
  85. package/dist/chunks/image-9sh4wc5j.js +18 -0
  86. package/dist/chunks/{vcs-pqj3ybk7.js → image-9xpdrvzd.js} +24 -24
  87. package/dist/chunks/{vcs-heyh6jzr.js → image-a10jyz28.js} +17 -17
  88. package/dist/chunks/{vcs-v3xvvxpg.js → image-a46cv4z3.js} +4 -4
  89. package/dist/chunks/{vcs-t2fc4mz5.js → image-a46v4e4v.js} +4 -4
  90. package/dist/chunks/{vcs-db2wf4at.js → image-addxnjmp.js} +4 -4
  91. package/dist/chunks/{vcs-823ayy9s.js → image-ar9nxm8h.js} +3 -3
  92. package/dist/chunks/{vcs-5yn6r0n4.js → image-b4ytdsdb.js} +11 -11
  93. package/dist/chunks/{vcs-dq6909bw.js → image-b85ppfpz.js} +29 -29
  94. package/dist/chunks/{vcs-mhq9k3ye.js → image-b8grsam5.js} +12 -12
  95. package/dist/chunks/{vcs-mtpeagzc.js → image-ba07h9gm.js} +3 -3
  96. package/dist/chunks/{vcs-art2axj3.js → image-bg5qxte4.js} +22 -22
  97. package/dist/chunks/{vcs-q45sm6sg.js → image-c3bsqtn4.js} +6 -6
  98. package/dist/chunks/{vcs-c41wscbt.js → image-c41wscbt.js} +2 -2
  99. package/dist/chunks/{vcs-d7e9n652.js → image-c51m09sf.js} +10 -10
  100. package/dist/chunks/{vcs-az3wfet9.js → image-c5dk9r45.js} +17 -17
  101. package/dist/chunks/{vcs-c8ax2afj.js → image-c8ax2afj.js} +2 -2
  102. package/dist/chunks/{vcs-v2c9qtsr.js → image-c9q3vnb9.js} +3 -3
  103. package/dist/chunks/{vcs-fkf6zyfw.js → image-cbbskyw7.js} +16 -16
  104. package/dist/chunks/{vcs-h3eq3wxh.js → image-ccv531x6.js} +29 -29
  105. package/dist/chunks/{vcs-q8da793h.js → image-cejh8q6x.js} +5 -5
  106. package/dist/chunks/{vcs-gnhcdg60.js → image-cgehhed8.js} +11 -11
  107. package/dist/chunks/{vcs-ds2mmwsg.js → image-ck0ahkdp.js} +8 -8
  108. package/dist/chunks/{vcs-p37cw4rj.js → image-cmwkp3r5.js} +8 -8
  109. package/dist/chunks/{vcs-58vvbsjc.js → image-cpaezgg9.js} +14 -14
  110. package/dist/chunks/{vcs-av8ggcpn.js → image-cr6jv0zw.js} +9 -9
  111. package/dist/chunks/{vcs-bxqk5pf5.js → image-d7x0sh0y.js} +9 -9
  112. package/dist/chunks/{vcs-apvpgmhb.js → image-dkn0tc5a.js} +15 -15
  113. package/dist/chunks/{vcs-dpkg50ah.js → image-dpkg50ah.js} +1 -1
  114. package/dist/chunks/{vcs-dqxsqydv.js → image-dqxsqydv.js} +1 -1
  115. package/dist/chunks/{vcs-2n1evyaw.js → image-dvjnpnmr.js} +4 -4
  116. package/dist/chunks/{vcs-je7vdbxa.js → image-dvp6q8nc.js} +4 -4
  117. package/dist/chunks/{vcs-y8wcetdn.js → image-dx0ahrbs.js} +11 -11
  118. package/dist/chunks/{vcs-4d5g7m08.js → image-dzv6z3nv.js} +23 -23
  119. package/dist/chunks/{vcs-d4d95nja.js → image-e2g53q4x.js} +31 -31
  120. package/dist/chunks/{vcs-5qd3pb7m.js → image-e3qxr5gk.js} +2 -2
  121. package/dist/chunks/{vcs-92y88g0e.js → image-e5cz6503.js} +28 -28
  122. package/dist/chunks/{vcs-9k44apjz.js → image-eaezvagx.js} +6 -6
  123. package/dist/chunks/{vcs-31zt7qyg.js → image-edde5z9g.js} +4 -4
  124. package/dist/chunks/{vcs-eej6y6fw.js → image-eej6y6fw.js} +2 -2
  125. package/dist/chunks/{vcs-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{vcs-2k71kv7p.js → image-ermxvwhp.js} +4 -4
  127. package/dist/chunks/{vcs-3nztywv0.js → image-ert554c2.js} +3 -3
  128. package/dist/chunks/{vcs-es1vcfrp.js → image-es1vcfrp.js} +3 -3
  129. package/dist/chunks/{vcs-yp2x3t23.js → image-f2n192rq.js} +4 -4
  130. package/dist/chunks/{vcs-k0hf9h70.js → image-f2xmdf3m.js} +33 -33
  131. package/dist/chunks/{vcs-y9pm85ea.js → image-f2xrkry4.js} +5 -5
  132. package/dist/chunks/{vcs-enxqk933.js → image-fbxcfbhw.js} +12 -12
  133. package/dist/chunks/{vcs-4ydbyere.js → image-fcg8e6zw.js} +27 -27
  134. package/dist/chunks/{vcs-qgn6gcr1.js → image-fcrkznn8.js} +5 -5
  135. package/dist/chunks/{vcs-0dxda6wm.js → image-fdfberf4.js} +17 -17
  136. package/dist/chunks/{vcs-t1mrp0f6.js → image-ffmwyp5t.js} +24 -24
  137. package/dist/chunks/{vcs-s9y49c2a.js → image-ffrjfzxj.js} +27 -27
  138. package/dist/chunks/{vcs-q6jv56dm.js → image-fftfc9n3.js} +11 -11
  139. package/dist/chunks/{vcs-g7h2bfk9.js → image-fge41av7.js} +39 -39
  140. package/dist/chunks/{vcs-5da754zx.js → image-fgvexpd5.js} +16 -16
  141. package/dist/chunks/{vcs-tnk7t7t2.js → image-fhk40at7.js} +8 -8
  142. package/dist/chunks/{vcs-svd0csbg.js → image-fjrwj4dh.js} +11 -11
  143. package/dist/chunks/{vcs-v0es1rhs.js → image-fpecnkgp.js} +9 -9
  144. package/dist/chunks/{vcs-7216kww2.js → image-ftags092.js} +8 -8
  145. package/dist/chunks/{vcs-hy2k72j3.js → image-fzhznhar.js} +17 -17
  146. package/dist/chunks/{vcs-d1bq990r.js → image-g13qewtb.js} +6 -6
  147. package/dist/chunks/{vcs-6nk55t52.js → image-g2t3205b.js} +11 -11
  148. package/dist/chunks/{vcs-wtcpwh1v.js → image-g7smqvkv.js} +13 -13
  149. package/dist/chunks/{vcs-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{vcs-rmm45jmv.js → image-gebtr55s.js} +5 -5
  151. package/dist/chunks/{vcs-fsmrx7wj.js → image-gkhwkypf.js} +3 -3
  152. package/dist/chunks/{vcs-5q1ts2r2.js → image-gm1yg2fx.js} +32 -32
  153. package/dist/chunks/{vcs-jmvbxkqa.js → image-gmzh79z0.js} +33 -33
  154. package/dist/chunks/{vcs-6y363cnc.js → image-gsd91cb6.js} +18 -18
  155. package/dist/chunks/{vcs-nkwsh8ra.js → image-h05dbkvd.js} +24 -24
  156. package/dist/chunks/{vcs-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{vcs-h7s7r6s9.js → image-h7s7r6s9.js} +2 -2
  158. package/dist/chunks/{vcs-3bz6jbep.js → image-heaaqgh2.js} +19 -19
  159. package/dist/chunks/{vcs-hgz4x7wa.js → image-hgz4x7wa.js} +1 -1
  160. package/dist/chunks/{vcs-1tzcq8vg.js → image-hny6mp3r.js} +12 -12
  161. package/dist/chunks/{vcs-pyg4v0b6.js → image-hqhp0zxs.js} +4 -4
  162. package/dist/chunks/{vcs-2be3phb8.js → image-hr3293e7.js} +50 -50
  163. package/dist/chunks/{vcs-j09zfasm.js → image-j09zfasm.js} +3 -3
  164. package/dist/chunks/{vcs-319vnc98.js → image-j1a93cmz.js} +10 -10
  165. package/dist/chunks/{vcs-v4bdyehr.js → image-j3yq8fpf.js} +3 -3
  166. package/dist/chunks/{vcs-prq7hedt.js → image-j58c5xyq.js} +9 -9
  167. package/dist/chunks/{vcs-bt13wqvf.js → image-jfdmtmg6.js} +13 -13
  168. package/dist/chunks/{vcs-ch0pqn08.js → image-jtj1926r.js} +30 -30
  169. package/dist/chunks/{vcs-v6vn5ath.js → image-jvarv5bd.js} +5 -5
  170. package/dist/chunks/{vcs-6pc27hjz.js → image-jws6fkes.js} +4 -4
  171. package/dist/chunks/{vcs-akqk8sab.js → image-jyjec5pm.js} +14 -14
  172. package/dist/chunks/{vcs-hq3c8me3.js → image-khmqacep.js} +4 -4
  173. package/dist/chunks/{vcs-1a8ktyjq.js → image-kkn7ws9g.js} +23 -23
  174. package/dist/chunks/{vcs-t7n9q6bq.js → image-kne8f3cn.js} +4 -4
  175. package/dist/chunks/{vcs-38cyd7xn.js → image-krs90jtp.js} +42 -42
  176. package/dist/chunks/{vcs-2yj5gmrs.js → image-ksy27m6e.js} +16 -16
  177. package/dist/chunks/{vcs-w0ssh3pt.js → image-ktha64xk.js} +30 -30
  178. package/dist/chunks/{vcs-kwb1v3vj.js → image-kwb1v3vj.js} +1 -1
  179. package/dist/chunks/{vcs-0qwr82av.js → image-m1j82gc8.js} +9 -9
  180. package/dist/chunks/{vcs-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{vcs-maspj1v3.js → image-maspj1v3.js} +1 -1
  182. package/dist/chunks/{vcs-q81e6e52.js → image-mrk6y76n.js} +47 -47
  183. package/dist/chunks/{vcs-g6c119kf.js → image-mw2qnv88.js} +14 -14
  184. package/dist/chunks/{vcs-3pvdjm5j.js → image-n25s19e1.js} +28 -28
  185. package/dist/chunks/{vcs-yjqtt1cv.js → image-ncmskqm9.js} +28 -28
  186. package/dist/chunks/{vcs-q5e7cmwt.js → image-nffbc6ps.js} +1 -1
  187. package/dist/chunks/{vcs-0srdfgy4.js → image-nh4vn03t.js} +17 -17
  188. package/dist/chunks/{vcs-cadbg4sy.js → image-nv1b5k1c.js} +27 -27
  189. package/dist/chunks/{vcs-t8jsa4ak.js → image-p2wwr8p8.js} +10 -10
  190. package/dist/chunks/{vcs-b56v87ry.js → image-p576d4qv.js} +21 -21
  191. package/dist/chunks/{vcs-gfbk7smj.js → image-p5bmeykx.js} +15 -15
  192. package/dist/chunks/{vcs-z3nay82g.js → image-patgj9rf.js} +9 -9
  193. package/dist/chunks/{vcs-170vahvn.js → image-pd34x519.js} +27 -27
  194. package/dist/chunks/{vcs-h0qchysd.js → image-pfj67fg4.js} +4 -4
  195. package/dist/chunks/{vcs-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{vcs-pknna89w.js → image-pknna89w.js} +1 -1
  197. package/dist/chunks/{vcs-pqmz6dky.js → image-q79vsnwe.js} +61 -61
  198. package/dist/chunks/{vcs-yqszpe78.js → image-qee9mpvn.js} +8 -8
  199. package/dist/chunks/{vcs-m8w6th39.js → image-qmqgtz8f.js} +9 -9
  200. package/dist/chunks/{vcs-qnc92qwc.js → image-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{vcs-9hwaqfsw.js → image-qne3fa44.js} +5 -5
  202. package/dist/chunks/{vcs-drwq78ky.js → image-qqeeq2t9.js} +7 -7
  203. package/dist/chunks/{vcs-qsdy395h.js → image-qsdy395h.js} +1 -1
  204. package/dist/chunks/{vcs-1yev72pe.js → image-qv6830gq.js} +4 -4
  205. package/dist/chunks/{vcs-mtvcw9es.js → image-r0few3ax.js} +30 -30
  206. package/dist/chunks/{vcs-rbktzctt.js → image-r16x646x.js} +11 -11
  207. package/dist/chunks/{vcs-k27xt7ry.js → image-r7k25w34.js} +7 -7
  208. package/dist/chunks/{vcs-ckwspcdn.js → image-rb6mvra4.js} +11 -11
  209. package/dist/chunks/{vcs-fm3teyf1.js → image-rb92wex5.js} +35 -35
  210. package/dist/chunks/{vcs-18we5d9c.js → image-rbymen3s.js} +12 -12
  211. package/dist/chunks/{vcs-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{vcs-kg3ax5tf.js → image-rjv0vddj.js} +23 -23
  213. package/dist/chunks/{vcs-jd79yvzz.js → image-rprrnsfw.js} +14 -14
  214. package/dist/chunks/{vcs-wphn742c.js → image-s5svvxfm.js} +15 -15
  215. package/dist/chunks/{vcs-1b7p55fh.js → image-sf1dt84k.js} +22 -22
  216. package/dist/chunks/{vcs-d5a9s76z.js → image-shzt3z96.js} +43 -43
  217. package/dist/chunks/{vcs-ma0s28yw.js → image-snnw5c4p.js} +23 -23
  218. package/dist/chunks/{vcs-0v0pyw62.js → image-sp12pjmn.js} +18 -18
  219. package/dist/chunks/{vcs-skks9s4z.js → image-syr192rg.js} +32 -32
  220. package/dist/chunks/{vcs-syv4x271.js → image-syv4x271.js} +1 -1
  221. package/dist/chunks/{vcs-5gf219r9.js → image-syxkbb8f.js} +9 -9
  222. package/dist/chunks/{vcs-afmm5gaa.js → image-t1p086vr.js} +47 -47
  223. package/dist/chunks/{vcs-eaj1djv9.js → image-t550f9t1.js} +8 -8
  224. package/dist/chunks/{vcs-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{vcs-tcezcvh9.js → image-tcezcvh9.js} +1 -1
  226. package/dist/chunks/{vcs-tdstcens.js → image-tdstcens.js} +1 -1
  227. package/dist/chunks/{vcs-s08hmh2a.js → image-tfzq26g2.js} +5 -5
  228. package/dist/chunks/image-tgxfzkrj.js +257 -0
  229. package/dist/chunks/{vcs-062mzbat.js → image-thxr1frd.js} +28 -28
  230. package/dist/chunks/{vcs-r1dr75fd.js → image-tjpa9jgn.js} +34 -34
  231. package/dist/chunks/{vcs-srcgm7xk.js → image-tjx5t8cc.js} +25 -25
  232. package/dist/chunks/{vcs-tkb22qbm.js → image-tkb22qbm.js} +2 -2
  233. package/dist/chunks/{vcs-zqhrtt0r.js → image-tkr6ya0q.js} +47 -47
  234. package/dist/chunks/{vcs-tm0kqsz3.js → image-tm0kqsz3.js} +1 -1
  235. package/dist/chunks/{vcs-7wt7n4c2.js → image-tncq06mt.js} +34 -34
  236. package/dist/chunks/{vcs-gd8zcssc.js → image-tpdvj8mx.js} +20 -20
  237. package/dist/chunks/{vcs-anwpkc7v.js → image-tqs9ssh0.js} +35 -35
  238. package/dist/chunks/{vcs-j14sx99p.js → image-tymxjf8w.js} +33 -33
  239. package/dist/chunks/{vcs-tyytaxap.js → image-tyytaxap.js} +1 -1
  240. package/dist/chunks/{vcs-qtj63ewy.js → image-v04qmwtc.js} +22 -22
  241. package/dist/chunks/{vcs-kfq0fmcg.js → image-v6vgdbff.js} +4 -4
  242. package/dist/chunks/{vcs-v7p4zvkq.js → image-v7p4zvkq.js} +2 -2
  243. package/dist/chunks/{vcs-3rnq2hvc.js → image-v7sppjwq.js} +34 -34
  244. package/dist/chunks/{vcs-gmkrnerc.js → image-v80w40ac.js} +2 -2
  245. package/dist/chunks/{vcs-c10etmdf.js → image-v8g91bp1.js} +73 -73
  246. package/dist/chunks/{vcs-kkzyx7d0.js → image-v8jp7vks.js} +3 -3
  247. package/dist/chunks/{vcs-y1m3tgzf.js → image-va9g07yc.js} +11 -11
  248. package/dist/chunks/{vcs-685yht8q.js → image-vbqydmka.js} +5 -5
  249. package/dist/chunks/{vcs-b12fh71z.js → image-vc7fmfhz.js} +12 -12
  250. package/dist/chunks/{vcs-7n1j9gnc.js → image-vd28783h.js} +49 -49
  251. package/dist/chunks/{vcs-veqvce7d.js → image-veqvce7d.js} +1 -1
  252. package/dist/chunks/{vcs-r5px93g5.js → image-vk246djg.js} +44 -44
  253. package/dist/chunks/{vcs-d7qmz1za.js → image-vmdfjjwf.js} +335 -335
  254. package/dist/chunks/{vcs-ppypx2rj.js → image-vrnsnrnj.js} +1 -1
  255. package/dist/chunks/{vcs-vzs5sf6e.js → image-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{vcs-m00zf5ta.js → image-w18pp0kz.js} +40 -40
  257. package/dist/chunks/{vcs-w1eejvng.js → image-w1eejvng.js} +1 -1
  258. package/dist/chunks/{vcs-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{vcs-3s66nbf6.js → image-w5ycgj4a.js} +9 -9
  260. package/dist/chunks/{vcs-wd87259q.js → image-wd87259q.js} +1 -1
  261. package/dist/chunks/{vcs-bjx1sjef.js → image-wjr9rjd7.js} +6 -6
  262. package/dist/chunks/{vcs-fxghr99k.js → image-wy01p12j.js} +14 -14
  263. package/dist/chunks/{vcs-rsy79zvm.js → image-wy9rnf8k.js} +19 -19
  264. package/dist/chunks/{vcs-cra9xn29.js → image-x0xndzx5.js} +15 -15
  265. package/dist/chunks/{vcs-qtwrkahe.js → image-x8nxgcfe.js} +85 -85
  266. package/dist/chunks/{vcs-g4cqakph.js → image-x9e7cbzg.js} +28 -28
  267. package/dist/chunks/{vcs-xqj022zq.js → image-xz2a68b8.js} +19 -19
  268. package/dist/chunks/{vcs-d5wj306p.js → image-y075rgnc.js} +15 -15
  269. package/dist/chunks/{vcs-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{vcs-qhaw4ccy.js → image-y325ckfn.js} +48 -48
  271. package/dist/chunks/{vcs-tr4247da.js → image-ymxzm9aj.js} +11 -11
  272. package/dist/chunks/{vcs-hz0wbvxf.js → image-yzzz00s0.js} +34 -34
  273. package/dist/chunks/{vcs-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{vcs-ejbm6scf.js → image-z333y2sp.js} +13 -13
  275. package/dist/chunks/{vcs-aa567zw8.js → image-z44d18ne.js} +11 -11
  276. package/dist/chunks/{vcs-qp8d43x6.js → image-zebe4ma2.js} +14 -14
  277. package/dist/chunks/{vcs-hjv75zfy.js → image-zhe2v8hw.js} +24 -24
  278. package/dist/chunks/{vcs-76rvckpe.js → image-zjtrsxny.js} +5 -5
  279. package/dist/chunks/{vcs-nhsyhwak.js → image-zq4ac87r.js} +19 -19
  280. package/dist/chunks/{vcs-ddsvs477.js → image-zq8ezvkj.js} +7 -7
  281. package/dist/chunks/{vcs-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{vcs-zxq2ej10.js → image-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{vcs-scgrse2b.js → image-zyk1yjk8.js} +5 -5
  284. package/dist/chunks/{vcs-96d9snmg.js → image-zztsqn7y.js} +5 -5
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +116 -116
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +1 -1
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +87 -87
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +367 -367
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +92 -92
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +104 -104
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +107 -107
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +358 -358
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +89 -89
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +355 -355
  465. package/dist/location.js +89 -89
  466. package/dist/managed-policy.js +6 -6
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +105 -105
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +98 -98
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +82 -82
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +119 -119
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +90 -90
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +78 -78
  487. package/dist/plugin/command.js +104 -104
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +211 -211
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +329 -329
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +117 -117
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +116 -116
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +116 -116
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +112 -112
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +113 -113
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +125 -125
  517. package/dist/plugin/provider/local.js +122 -122
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +125 -125
  522. package/dist/plugin/provider/openai.js +116 -116
  523. package/dist/plugin/provider/opencode.js +100 -100
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +123 -123
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +168 -168
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +348 -348
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +114 -114
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +214 -214
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +92 -92
  558. package/dist/provider.js +103 -103
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +95 -95
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +93 -93
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +217 -217
  579. package/dist/session/execution.js +129 -129
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +90 -90
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +95 -95
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +127 -127
  592. package/dist/session/projector.js +86 -86
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +224 -224
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +162 -162
  607. package/dist/session/shell.js +130 -130
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +205 -205
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +213 -213
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +209 -209
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +132 -132
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +107 -107
  627. package/dist/skill.js +114 -114
  628. package/dist/snapshot.js +91 -91
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +128 -128
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +115 -115
  644. package/dist/tool/plugin/subagent.js +210 -210
  645. package/dist/tool/plugin/webfetch.js +110 -110
  646. package/dist/tool/plugin/websearch.js +116 -116
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/voice.js +88 -88
  674. package/dist/websearch.js +86 -86
  675. package/dist/wellknown/plugin.js +78 -78
  676. package/dist/wellknown.js +83 -83
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +82 -82
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +8 -8
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +98 -98
  685. package/package.json +8 -8
  686. package/dist/chunks/vcs-4v7qdvcn.js +0 -18
  687. package/dist/chunks/vcs-cek0m7h8.js +0 -257
  688. package/dist/chunks/vcs-p81xz5ag.js +0 -26
  689. /package/dist/chunks/{vcs-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{vcs-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{vcs-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{vcs-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{vcs-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{vcs-24dcb14g.js → image-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{vcs-2710q6r3.js → image-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{vcs-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{vcs-2bv980vf.js → image-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{vcs-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{vcs-359p4xyc.js → image-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{vcs-3asan66x.js → image-3asan66x.js} +0 -0
  701. /package/dist/chunks/{vcs-3t0ybcrp.js → image-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{vcs-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{vcs-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{vcs-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{vcs-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{vcs-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{vcs-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{vcs-53557ph1.js → image-53557ph1.js} +0 -0
  709. /package/dist/chunks/{vcs-550bvhaj.js → image-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{vcs-6prwharc.js → image-6prwharc.js} +0 -0
  711. /package/dist/chunks/{vcs-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{vcs-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{vcs-7m9af43g.js → image-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{vcs-822emrt2.js → image-822emrt2.js} +0 -0
  715. /package/dist/chunks/{vcs-84wd9syh.js → image-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{vcs-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{vcs-8n3pysct.js → image-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{vcs-8wj87zfr.js → image-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{vcs-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{vcs-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{vcs-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{vcs-af5trqkr.js → image-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{vcs-afrmfg78.js → image-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{vcs-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{vcs-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{vcs-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{vcs-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{vcs-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{vcs-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{vcs-d9fn303g.js → image-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{vcs-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{vcs-dajrwvna.js → image-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{vcs-dap0rakb.js → image-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{vcs-df08tz66.js → image-df08tz66.js} +0 -0
  735. /package/dist/chunks/{vcs-dy18nga0.js → image-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{vcs-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{vcs-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{vcs-ec1grn59.js → image-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{vcs-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{vcs-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{vcs-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{vcs-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{vcs-faypxj3z.js → image-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{vcs-fd410y7t.js → image-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{vcs-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{vcs-g86h250q.js → image-g86h250q.js} +0 -0
  747. /package/dist/chunks/{vcs-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{vcs-gftt206x.js → image-gftt206x.js} +0 -0
  749. /package/dist/chunks/{vcs-hcxmzztb.js → image-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{vcs-hk9envan.js → image-hk9envan.js} +0 -0
  751. /package/dist/chunks/{vcs-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{vcs-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{vcs-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{vcs-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{vcs-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{vcs-jze0r7bz.js → image-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{vcs-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{vcs-m18g726c.js → image-m18g726c.js} +0 -0
  759. /package/dist/chunks/{vcs-mp448xyj.js → image-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{vcs-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{vcs-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{vcs-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{vcs-njntx4h6.js → image-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{vcs-pkyv6v7h.js → image-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{vcs-pyv0edze.js → image-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{vcs-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{vcs-q74kybfr.js → image-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{vcs-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{vcs-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{vcs-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{vcs-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{vcs-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{vcs-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{vcs-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{vcs-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{vcs-ve7vex1e.js → image-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{vcs-w803qqfp.js → image-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{vcs-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{vcs-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{vcs-wjj7prxr.js → image-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{vcs-wtztk69x.js → image-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{vcs-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{vcs-x61499pn.js → image-x61499pn.js} +0 -0
  784. /package/dist/chunks/{vcs-y44na4kk.js → image-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{vcs-y8f7s663.js → image-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{vcs-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{vcs-ym463w8f.js → image-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{vcs-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{vcs-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID15,
3
- Service78
4
- } from "./vcs-v3gykj2b.js";
2
+ ID11,
3
+ Service71
4
+ } from "./image-2y09pkms.js";
5
5
  import {
6
6
  Ref2,
7
- Service61
8
- } from "./vcs-7wt7n4c2.js";
7
+ Service75
8
+ } from "./image-tncq06mt.js";
9
9
  import {
10
10
  latest2,
11
- Service58
12
- } from "./vcs-7n1j9gnc.js";
11
+ Service72
12
+ } from "./image-vd28783h.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./vcs-mtpeagzc.js";
15
+ } from "./image-ba07h9gm.js";
16
16
  import {
17
- Service52
18
- } from "./vcs-18z0v07s.js";
17
+ Service47
18
+ } from "./image-7x6t7wg7.js";
19
19
  import {
20
20
  evaluate2,
21
- Service74
22
- } from "./vcs-pqmz6dky.js";
21
+ Service48
22
+ } from "./image-q79vsnwe.js";
23
23
  import {
24
- Service27
25
- } from "./vcs-qtwrkahe.js";
24
+ Service25
25
+ } from "./image-x8nxgcfe.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./vcs-6xb47vfp.js";
28
+ } from "./image-6xb47vfp.js";
29
29
  import {
30
- Service8
31
- } from "./vcs-nhsyhwak.js";
30
+ Service12
31
+ } from "./image-zq4ac87r.js";
32
32
  import {
33
33
  __export
34
- } from "./vcs-9rqn6x4v.js";
34
+ } from "./image-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input9,
40
- Output: () => Output7,
41
- Plugin: () => Plugin28,
39
+ Input: () => Input7,
40
+ Output: () => Output4,
41
+ Plugin: () => Plugin42,
42
42
  SubagentTool: () => exports_subagent,
43
43
  description: () => description4,
44
- name: () => name9
44
+ name: () => name7
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name9 = "subagent";
48
+ var name7 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input9 = Schema.Struct({
59
+ var Input7 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,7 +72,7 @@ var Input9 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output7 = Schema.Struct({
75
+ var Output4 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
@@ -86,16 +86,16 @@ var description4 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin28 = {
89
+ var Plugin42 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service27;
93
- const jobs = yield* Service52;
94
- const agents = yield* Service78;
95
- const config = yield* Service58;
96
- const permission = yield* Service74;
97
- const models = yield* Service61;
98
- const subagents = yield* Service8;
92
+ const sessions = yield* Service25;
93
+ const jobs = yield* Service47;
94
+ const agents = yield* Service71;
95
+ const config = yield* Service72;
96
+ const permission = yield* Service48;
97
+ const models = yield* Service75;
98
+ const subagents = yield* Service12;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin28 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name9,
118
+ name: name7,
119
119
  options: { codemode: false },
120
120
  description: description4,
121
- input: Input9,
122
- output: Output7,
121
+ input: Input7,
122
+ output: Output4,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin28 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name9,
142
+ action: name7,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin28 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID15.make(input.agent),
171
+ agent: ID11.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name9 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name7 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name9];
233
+ const tool = event.tools[name7];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name9, Input9, Output7, description4, Plugin28, exports_subagent };
256
+ export { name7, Input7, Output4, description4, Plugin42, exports_subagent };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service55
3
- } from "./vcs-z3nay82g.js";
2
+ Service70
3
+ } from "./image-patgj9rf.js";
4
4
  import {
5
- Service48
6
- } from "./vcs-jkp0d30b.js";
5
+ Service46
6
+ } from "./image-909p1r3q.js";
7
7
  import {
8
8
  detect2
9
- } from "./vcs-3smtnn6g.js";
9
+ } from "./image-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./vcs-4v7qdvcn.js";
12
+ } from "./image-9sh4wc5j.js";
13
13
  import {
14
- Service77
15
- } from "./vcs-2eegacq4.js";
14
+ Service69
15
+ } from "./image-0xezjjjn.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./vcs-9k44apjz.js";
19
+ } from "./image-eaezvagx.js";
20
20
  import {
21
21
  prepare3,
22
- Service51
23
- } from "./vcs-g4cqakph.js";
22
+ Service38
23
+ } from "./image-x9e7cbzg.js";
24
24
  import {
25
25
  __export
26
- } from "./vcs-9rqn6x4v.js";
26
+ } from "./image-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service48;
42
+ const instances = yield* Service46;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service77;
45
+ const hooks = yield* Service69;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service51;
64
+ const skillService = yield* Service38;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service55;
129
+ const image = yield* Service70;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./vcs-z5v4ffb3.js";
5
+ } from "./image-z5v4ffb3.js";
6
6
  import {
7
- Service82,
8
- node86
9
- } from "./vcs-y2cmk695.js";
7
+ Service79,
8
+ node83
9
+ } from "./image-72cp5kz5.js";
10
10
  import {
11
- Service16,
12
- node18
13
- } from "./vcs-4ydbyere.js";
11
+ Service21,
12
+ node23
13
+ } from "./image-fcg8e6zw.js";
14
14
  import {
15
15
  __export
16
- } from "./vcs-9rqn6x4v.js";
16
+ } from "./image-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event2,
27
+ Event: () => Event4,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError2,
34
+ NotFoundError: () => NotFoundError3,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service15,
36
+ Service: () => Service20,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node17
40
+ node: () => node22
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event2 = FileSystem.Event;
108
+ var Event4 = FileSystem.Event;
109
109
 
110
- class Service15 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service20 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service82;
115
- const search = yield* Service16;
114
+ const location = yield* Service79;
115
+ const search = yield* Service21;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError2({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError2({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError2({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service15.of({
134
+ return Service20.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError2({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError3({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
147
147
  }),
148
148
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
149
149
  const directory = path.resolve(location.directory, input.path ?? ".");
150
- const missing = new NotFoundError2({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError3({ path: RelativePath2.make(input.path ?? ".") });
151
151
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
152
152
  if (info.type !== "Directory")
153
153
  return yield* missing;
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node17 = makeLocationNode({
175
- service: Service15,
174
+ var node22 = makeLocationNode({
175
+ service: Service20,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node86, node18]
177
+ deps: [FSUtil.node, node83, node23]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service20, node22, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/config/variable.ts
6
6
  var exports_variable = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./vcs-y2cmk695.js";
3
+ } from "./image-72cp5kz5.js";
4
4
  import {
5
5
  __export
6
- } from "./vcs-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service79,
12
+ Service: () => Service56,
13
13
  canonical: () => canonical3,
14
- node: () => node83,
14
+ node: () => node59,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service79 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service56 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service79, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service56, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node83 = LayerNode.unbound(Service79, Node.tags.values.global);
27
+ var node59 = LayerNode.unbound(Service56, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service79;
29
+ const locations = yield* Service56;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service79, node83, reload2, canonical3, exports_location_service_map };
48
+ export { Service56, node59, reload2, canonical3, exports_location_service_map };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./vcs-emrn6kk6.js";
7
+ } from "./image-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./vcs-qaymkmh1.js";
3
+ } from "./image-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./vcs-dpkg50ah.js";
4
- import {
5
- Service85,
6
- node89
7
- } from "./vcs-enxqk933.js";
8
- import {
9
- Event17,
10
- Service73,
11
- node77
12
- } from "./vcs-gvve46pf.js";
3
+ } from "./image-dpkg50ah.js";
13
4
  import {
14
5
  Service82,
15
6
  node86
16
- } from "./vcs-y2cmk695.js";
7
+ } from "./image-fbxcfbhw.js";
8
+ import {
9
+ Event19,
10
+ Service78,
11
+ node82
12
+ } from "./image-16wh86dq.js";
13
+ import {
14
+ Service79,
15
+ node83
16
+ } from "./image-72cp5kz5.js";
17
17
  import {
18
- Service62,
19
- node65
20
- } from "./vcs-nkwsh8ra.js";
18
+ Service65,
19
+ node68
20
+ } from "./image-h05dbkvd.js";
21
21
  import {
22
- ID16,
23
- Service80,
24
- node84
25
- } from "./vcs-fb9m6ydh.js";
22
+ ID18,
23
+ Service81,
24
+ node85
25
+ } from "./image-9dzfwx4y.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./vcs-rdw6cm16.js";
29
+ } from "./image-rdw6cm16.js";
30
30
  import {
31
- ID10,
31
+ ID14,
32
32
  MethodID2,
33
- Service72,
34
- node76
35
- } from "./vcs-k0hf9h70.js";
33
+ Service77,
34
+ node81
35
+ } from "./image-f2xmdf3m.js";
36
36
  import {
37
37
  __export
38
- } from "./vcs-9rqn6x4v.js";
38
+ } from "./image-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service39,
52
+ Service: () => Service36,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
55
  configured: () => configured4,
56
- layer: () => layer18,
57
- node: () => node42
56
+ layer: () => layer17,
57
+ node: () => node39
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service39 extends Context.Service()("@opencode/MCP") {
106
+ class Service36 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
108
  var Options4 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
@@ -111,13 +111,13 @@ var Options4 = Schema.Struct({
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
115
- const location = yield* Service82;
116
- const environment = yield* Service62;
117
- const bus = yield* Service85;
118
- const forms = yield* Service80;
119
- const integration = yield* Service72;
120
- const credentials = yield* Service73;
114
+ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
115
+ const location = yield* Service79;
116
+ const environment = yield* Service65;
117
+ const bus = yield* Service82;
118
+ const forms = yield* Service81;
119
+ const integration = yield* Service77;
120
+ const credentials = yield* Service78;
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 layer18 = (options) => Layer.effect(Service39, 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 = ID14.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer18 = (options) => Layer.effect(Service39, 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(Service73, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -161,12 +161,12 @@ var layer18 = (options) => Layer.effect(Service39, 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(Service73, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID16.create();
169
+ const formID = ID18.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 layer18 = (options) => Layer.effect(Service39, 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(Service62, 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(Service65, 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 layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event19.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 layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service39.of({
423
+ return Service36.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
532
532
  }
533
533
  function configured4(options) {
534
534
  return makeLocationNode({
535
- service: Service39,
536
- layer: layer18(options),
537
- deps: [node86, node65, node89, node84, node76, node77]
535
+ service: Service36,
536
+ layer: layer17(options),
537
+ deps: [node83, node68, node86, node85, node81, node82]
538
538
  });
539
539
  }
540
- var node42 = configured4();
540
+ var node39 = configured4();
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, Service39, Options4, layer18, configured4, node42, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service36, Options4, layer17, configured4, node39, exports_mcp4 };