@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,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./vcs-88xbtdfr.js";
3
+ } from "./image-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./vcs-5qd3pb7m.js";
5
+ load5
6
+ } from "./image-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./image-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event11,
14
+ Event: () => Event14,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
17
- Service: () => Service59,
16
+ Options: () => Options9,
17
+ Service: () => Service73,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured8,
20
+ configured: () => configured11,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer26,
22
+ layer: () => layer27,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node62,
25
+ node: () => node77,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event11 = { Updated: FileSystem.Event.Changed };
36
+ var Event14 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load4());
39
+ return createWrapper(load5());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options8 = Schema.Struct({
56
+ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service59 extends Context.Service()("@opencode/Watcher") {
60
+ class Service73 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer26 = (options) => Layer.effect(Service59, Effect.gen(function* () {
65
+ var layer27 = (options) => Layer.effect(Service73, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service59.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service73.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer26 = (options) => Layer.effect(Service59, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service59.of({ subscribe });
108
+ return Service73.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer27().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service59).subscribe,
134
+ subscribe: Context.get(context, Service73).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service59, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service73, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured8(options) {
168
- return makeGlobalNode({ service: Service59, layer: layer26(options), deps: [nativeNode2] });
167
+ function configured11(options) {
168
+ return makeGlobalNode({ service: Service73, layer: layer27(options), deps: [nativeNode2] });
169
169
  }
170
- var node62 = configured8();
170
+ var node77 = configured11();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event11, hasNativeBinding2, Native3, Options8, Service59, Test3, layer26, testLayer3, nativeLayer2, nativeNode2, configured8, node62, exports_watcher };
190
+ export { Event14, hasNativeBinding2, Native3, Options9, Service73, Test3, layer27, testLayer3, nativeLayer2, nativeNode2, configured11, node77, exports_watcher };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  useragent2
3
- } from "./vcs-rbktzctt.js";
3
+ } from "./image-r16x646x.js";
4
4
  import {
5
- Service85
6
- } from "./vcs-enxqk933.js";
5
+ Service82
6
+ } from "./image-fbxcfbhw.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./vcs-gvve46pf.js";
9
+ Event19
10
+ } from "./image-16wh86dq.js";
11
11
  import {
12
12
  key2
13
- } from "./vcs-db2wf4at.js";
13
+ } from "./image-addxnjmp.js";
14
14
  import {
15
- ID10,
15
+ ID14,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./vcs-k0hf9h70.js";
18
+ } from "./image-f2xmdf3m.js";
19
19
  import {
20
- Service21
21
- } from "./vcs-t0rz6gdy.js";
20
+ Service16
21
+ } from "./image-2zx826rp.js";
22
22
  import {
23
- ID9,
23
+ ID13,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./vcs-anwpkc7v.js";
26
+ } from "./image-tqs9ssh0.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./vcs-7wt7n4c2.js";
29
+ } from "./image-tncq06mt.js";
30
30
  import {
31
31
  supports2,
32
32
  resolve2
33
- } from "./vcs-v4bdyehr.js";
33
+ } from "./image-j3yq8fpf.js";
34
34
  import {
35
- ID4,
36
- Input13,
35
+ ID8,
36
+ Input14,
37
37
  Response2
38
- } from "./vcs-3pvdjm5j.js";
38
+ } from "./image-n25s19e1.js";
39
39
 
40
40
  // src/plugin/provider/opencode.ts
41
41
  import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
61
61
  var RemoteResponse = Schema.Struct({
62
62
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
63
63
  websearch: Schema.Struct({
64
- providerID: ID4
64
+ providerID: ID8
65
65
  }).pipe(Schema.optional),
66
66
  mcp: Schema.Struct({
67
67
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
112
112
  }
113
113
  function oauth(http) {
114
114
  return {
115
- integrationID: ID10.make("opencode"),
115
+ integrationID: ID14.make("opencode"),
116
116
  method: {
117
117
  id: methodID,
118
118
  type: "oauth",
@@ -176,10 +176,10 @@ function oauth(http) {
176
176
  var OpencodePlugin2 = define({
177
177
  id: "opencode.provider.opencode",
178
178
  effect: Effect.fn(function* (ctx) {
179
- const bus = yield* Service85;
179
+ const bus = yield* Service82;
180
180
  const client = yield* HttpClient.HttpClient;
181
181
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
182
- const managed = yield* Service21;
182
+ const managed = yield* Service16;
183
183
  const scope = yield* Scope.Scope;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
231
231
  providers.update(providerID, (provider) => {
232
232
  if (source && source.provider !== provider)
233
233
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
234
- provider.integrationID = ID10.make("opencode");
234
+ provider.integrationID = ID14.make("opencode");
235
235
  if (item.canonical !== undefined)
236
236
  provider.canonical = item.canonical;
237
237
  if (item.name !== undefined)
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
303
303
  sourceConnection: snapshot.connection
304
304
  });
305
305
  }
306
- const item = providers.get(ID9.opencode);
306
+ const item = providers.get(ID13.opencode);
307
307
  if (!item)
308
308
  return;
309
309
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
315
315
  });
316
316
  });
317
317
  yield* ctx.model.transform((models) => {
318
- const item = models.provider.get(ID9.opencode);
318
+ const item = models.provider.get(ID13.opencode);
319
319
  if (!item)
320
320
  return;
321
321
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -349,7 +349,7 @@ var OpencodePlugin2 = define({
349
349
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
350
350
  const token = credential.type === "oauth" ? credential.access : credential.key;
351
351
  const server = yield* normalizeServer(serverUrl(credential));
352
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
352
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
353
353
  query: input.query,
354
354
  providerID: descriptor.providerID
355
355
  }));
@@ -404,10 +404,10 @@ var OpencodePlugin2 = define({
404
404
  });
405
405
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
406
406
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
407
- explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
407
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
408
408
  });
409
409
  yield* guard(snapshot);
410
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
410
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
411
411
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
412
412
  })
413
413
  });
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID9,
2
+ ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./vcs-anwpkc7v.js";
5
+ } from "./image-tqs9ssh0.js";
6
6
  import {
7
- ID7,
7
+ ID12,
8
8
  VariantID2,
9
9
  Family2,
10
- Info14
11
- } from "./vcs-7wt7n4c2.js";
10
+ Info21
11
+ } from "./image-tncq06mt.js";
12
12
  import {
13
13
  __export
14
- } from "./vcs-9rqn6x4v.js";
14
+ } from "./image-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID7.make(id);
97
+ const key = ID12.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info14.make({
122
- ...Info14.default(ID9.githubCopilot, id),
121
+ return Info21.make({
122
+ ...Info21.default(ID13.githubCopilot, id),
123
123
  id,
124
- modelID: ID7.make(remote.id),
125
- providerID: ID9.githubCopilot,
124
+ modelID: ID12.make(remote.id),
125
+ providerID: ID13.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-z5v4ffb3.js";
3
+ } from "./image-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./vcs-b12fh71z.js";
6
+ } from "./image-vc7fmfhz.js";
7
7
  import {
8
8
  Slug2
9
- } from "./vcs-gebd4c9n.js";
9
+ } from "./image-gebd4c9n.js";
10
10
  import {
11
11
  Service86,
12
12
  node90
13
- } from "./vcs-mkx2ttns.js";
13
+ } from "./image-2xr2vtfc.js";
14
14
  import {
15
- Service85,
16
- node89
17
- } from "./vcs-enxqk933.js";
15
+ Service82,
16
+ node86
17
+ } from "./image-fbxcfbhw.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./vcs-c41wscbt.js";
20
+ } from "./image-c41wscbt.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./vcs-c8ax2afj.js";
23
+ } from "./image-c8ax2afj.js";
24
24
  import {
25
- ID17,
26
- NotFoundError11
27
- } from "./vcs-qhaw4ccy.js";
25
+ ID16,
26
+ NotFoundError10
27
+ } from "./image-y325ckfn.js";
28
28
  import {
29
29
  Ref4
30
- } from "./vcs-y2cmk695.js";
30
+ } from "./image-72cp5kz5.js";
31
31
  import {
32
- Service79,
33
- node83
34
- } from "./vcs-0qwr82av.js";
32
+ Service56,
33
+ node59
34
+ } from "./image-m1j82gc8.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./vcs-0vbcp93d.js";
38
+ } from "./image-0vbcp93d.js";
39
39
  import {
40
- Service70
41
- } from "./vcs-3bz6jbep.js";
40
+ Service55
41
+ } from "./image-heaaqgh2.js";
42
42
  import {
43
43
  __export
44
- } from "./vcs-9rqn6x4v.js";
44
+ } from "./image-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event14,
53
- Info: () => Info17,
52
+ Event: () => Event11,
53
+ Info: () => Info10,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service69,
59
+ Service: () => Service54,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node73
64
+ node: () => node57
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
76
  var CreateInput3 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info17 = Worktree.Info;
78
+ var Info10 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
80
  var ListEntry3 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event14 = Worktree.Event;
93
+ var Event11 = Worktree.Event;
94
94
 
95
- class Service69 extends Context.Service()("@opencode/Worktree") {
95
+ class Service54 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service69, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service86;
100
100
  const db = database.db;
101
- const bus = yield* Service85;
101
+ const bus = yield* Service82;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service79;
103
+ const locations = yield* Service56;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
107
- return yield* new NotFoundError11({ projectID });
107
+ return yield* new NotFoundError10({ projectID });
108
108
  return row;
109
109
  });
110
110
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
116
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service70).get();
118
+ return Context.get(context, Service55).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event14.Updated, { projectID });
122
+ yield* bus.publish(Event11.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service69.of({
249
+ return Service54.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node73 = Node.makeGlobalNode({
260
- service: Service69,
259
+ var node57 = Node.makeGlobalNode({
260
+ service: Service54,
261
261
  layer,
262
- deps: [FSUtil.node, node89, node90, AppProcess.node, node83]
262
+ deps: [FSUtil.node, node86, node90, AppProcess.node, node59]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput3, RemoveInput2, Info17, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event14, Service69, node73, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput3, RemoveInput2, Info10, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event11, Service54, node57, exports_worktree2, OperationError2 };
@@ -1,22 +1,22 @@
1
- import {
2
- Service85
3
- } from "./vcs-enxqk933.js";
4
1
  import {
5
2
  Service82
6
- } from "./vcs-y2cmk695.js";
3
+ } from "./image-fbxcfbhw.js";
4
+ import {
5
+ Service79
6
+ } from "./image-72cp5kz5.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service39
10
- } from "./vcs-q81e6e52.js";
9
+ Service36
10
+ } from "./image-mrk6y76n.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command = {};
17
- __export(exports_command, {
18
- CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin9
16
+ var exports_command2 = {};
17
+ __export(exports_command2, {
18
+ CommandPlugin: () => exports_command2,
19
+ Plugin: () => Plugin33
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin9 = define({
196
+ var Plugin33 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service82;
200
- const mcp = yield* Service39;
201
- const bus = yield* Service85;
199
+ const location = yield* Service79;
200
+ const mcp = yield* Service36;
201
+ const bus = yield* Service82;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
204
204
  loaded.prompts = yield* mcp.prompts();
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin9, exports_command };
283
+ export { Plugin33, exports_command2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service40
3
- } from "./vcs-1vwtzdj4.js";
2
+ Service67
3
+ } from "./image-4r1pyas3.js";
4
4
  import {
5
- Service48
6
- } from "./vcs-jkp0d30b.js";
5
+ Service46
6
+ } from "./image-909p1r3q.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./vcs-4v7qdvcn.js";
9
+ } from "./image-9sh4wc5j.js";
10
10
  import {
11
11
  __export
12
- } from "./vcs-9rqn6x4v.js";
12
+ } from "./image-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service48;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
22
+ const instances = yield* Service46;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service67), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./vcs-gftt206x.js";
3
+ } from "./image-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./vcs-mtpeagzc.js";
6
+ } from "./image-ba07h9gm.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./vcs-9k44apjz.js";
9
+ } from "./image-eaezvagx.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./vcs-eaj1djv9.js";
13
+ } from "./image-t550f9t1.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./vcs-es1vcfrp.js";
16
+ } from "./image-es1vcfrp.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./vcs-pyg4v0b6.js";
20
+ } from "./image-hqhp0zxs.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./vcs-f29mbr7f.js";
25
+ } from "./image-8zp79j7j.js";
26
26
  import {
27
27
  __export
28
- } from "./vcs-9rqn6x4v.js";
28
+ } from "./image-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load5,
38
+ load: () => load4,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };