@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,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-z5v4ffb3.js";
3
+ } from "./image-z5v4ffb3.js";
4
4
  import {
5
5
  Service86,
6
6
  node90
7
- } from "./vcs-mkx2ttns.js";
7
+ } from "./image-2xr2vtfc.js";
8
+ import {
9
+ Service82,
10
+ node86
11
+ } from "./image-fbxcfbhw.js";
8
12
  import {
9
13
  Service85,
10
14
  node89
11
- } from "./vcs-enxqk933.js";
12
- import {
13
- Service84,
14
- node88
15
- } from "./vcs-b12fh71z.js";
15
+ } from "./image-vc7fmfhz.js";
16
16
  import {
17
- ID18,
17
+ ID17,
18
18
  Current3,
19
- Info29,
19
+ Info28,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event20,
22
22
  Vcs3
23
- } from "./vcs-v0es1rhs.js";
23
+ } from "./image-fpecnkgp.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./vcs-c41wscbt.js";
27
+ } from "./image-c41wscbt.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./vcs-c8ax2afj.js";
30
+ } from "./image-c8ax2afj.js";
31
31
  import {
32
32
  __export
33
- } from "./vcs-9rqn6x4v.js";
33
+ } from "./image-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info28,
41
- NotFoundError: () => NotFoundError11,
39
+ ID: () => ID16,
40
+ Info: () => Info27,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service83,
43
+ Service: () => Service80,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node87,
46
+ node: () => node84,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
56
56
  import { AppProcess } from "@opencode/util/process";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
58
  import { Hash } from "@opencode/util/hash";
59
- var ID17 = ID18;
59
+ var ID16 = ID17;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info28 = Info29;
62
+ var Info27 = Info28;
63
63
  var UpdateInput3 = UpdateInput4;
64
64
 
65
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
66
- projectID: ID17
65
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
66
+ projectID: ID16
67
67
  }) {
68
68
  }
69
69
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
74
74
  var ACTIVATE_INTERVAL = 60000;
75
75
  var SWEEP_INTERVAL = Duration.hours(1);
76
76
 
77
- class Service83 extends Context.Service()("@opencode/Project") {
77
+ class Service80 extends Context.Service()("@opencode/Project") {
78
78
  }
79
79
  function fromRow(row) {
80
80
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -98,11 +98,11 @@ function fromRow(row) {
98
98
  sandboxes: row.sandboxes
99
99
  };
100
100
  }
101
- var layer = Layer.effect(Service83, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const git = yield* Service84;
103
+ const git = yield* Service85;
104
104
  const proc = yield* AppProcess.Service;
105
- const bus = yield* Service85;
105
+ const bus = yield* Service82;
106
106
  const db = (yield* Service86).db;
107
107
  const announcing = new Set;
108
108
  const persist = Effect.fnUntraced(function* (project) {
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
112
112
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
113
113
  const changed = replaced ?? unarchived;
114
114
  if (changed)
115
- yield* bus.publish(Event21.Updated, fromRow(changed));
115
+ yield* bus.publish(Event20.Updated, fromRow(changed));
116
116
  if (!project.vcs)
117
117
  return project;
118
118
  const directories = [
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
148
148
  yield* bus.publish(Worktree.Event.Resolved, {
149
149
  projectID: item.projectID,
150
150
  directory: item.directory,
151
- previous: project.previous ?? ID17.global,
151
+ previous: project.previous ?? ID16.global,
152
152
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
153
153
  }, {
154
154
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
171
171
  time_updated: Date.now()
172
172
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
173
173
  if (!row)
174
- return yield* new NotFoundError11({ projectID: input.projectID });
174
+ return yield* new NotFoundError10({ projectID: input.projectID });
175
175
  const project = fromRow(row);
176
- yield* bus.publish(Event21.Updated, project);
176
+ yield* bus.publish(Event20.Updated, project);
177
177
  return project;
178
178
  });
179
179
  const activated = new Map;
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
184
184
  activated.set(projectID, now);
185
185
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
186
186
  if (row)
187
- yield* bus.publish(Event21.Updated, fromRow(row));
187
+ yield* bus.publish(Event20.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
190
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
191
191
  return;
192
192
  }));
193
193
  });
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
198
198
  const normalized = url(origin);
199
199
  if (!normalized)
200
200
  return;
201
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
201
+ return ID16.make(Hash.fast(`git-remote:${normalized}`));
202
202
  });
203
203
  function url(input) {
204
204
  const value = input.trim();
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
223
223
  }
224
224
  const rootCommit = Effect.fnUntraced(function* (repo) {
225
225
  const root = (yield* git.history.rootCommits(repo))[0];
226
- return root ? ID17.make(root) : undefined;
226
+ return root ? ID16.make(root) : undefined;
227
227
  });
228
228
  const hgRoot = Effect.fnUntraced(function* (worktree) {
229
229
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
239
239
  return;
240
240
  const node = result.stdout.toString("utf8").split(`
241
241
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
242
- return node ? ID17.make(node) : undefined;
242
+ return node ? ID16.make(node) : undefined;
243
243
  });
244
244
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
245
245
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
248
248
  const id = previous ?? (yield* hgRoot(worktree));
249
249
  return {
250
250
  previous,
251
- id: id ?? ID17.global,
251
+ id: id ?? ID16.global,
252
252
  directory: worktree,
253
253
  vcs: { type: "hg", store }
254
254
  };
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
265
265
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
266
266
  return yield* persist({
267
267
  previous,
268
- id: id ?? ID17.global,
268
+ id: id ?? ID16.global,
269
269
  directory: repo.worktree,
270
270
  canonical,
271
271
  vcs: { type: "git", store: repo.commonDirectory }
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
279
279
  });
280
280
  }
281
281
  return yield* persist({
282
- id: ID17.make(Hash.fast(`directory:${directory}`)),
282
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
283
283
  directory,
284
284
  canonical: directory,
285
285
  vcs: undefined
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
288
288
  const sweep = Effect.fn("Project.sweep")(function* () {
289
289
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
290
290
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
291
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
291
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
292
292
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
293
293
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
294
294
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
301
301
  return;
302
302
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
303
303
  if (row)
304
- yield* bus.publish(Event21.Updated, fromRow(row));
304
+ yield* bus.publish(Event20.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
- return Service83.of({ list, update, activate, resolve, sweep });
307
+ return Service80.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node87 = makeGlobalNode({
310
- service: Service83,
309
+ var node84 = makeGlobalNode({
310
+ service: Service80,
311
311
  layer,
312
- deps: [node89, node90, FSUtil.node, node88, AppProcess.node]
312
+ deps: [node86, node90, FSUtil.node, node89, AppProcess.node]
313
313
  });
314
314
  var sweepNode2 = makeGlobalNode({
315
315
  name: "project-archive-sweep",
316
316
  layer: Layer.effectDiscard(Effect.gen(function* () {
317
- const project = yield* Service83;
317
+ const project = yield* Service80;
318
318
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
319
319
  })),
320
- deps: [node87]
320
+ deps: [node84]
321
321
  });
322
322
 
323
- export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service83, node87, sweepNode2, exports_project };
323
+ export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError10, root2, Service80, node84, sweepNode2, exports_project };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service58
4
- } from "./vcs-7n1j9gnc.js";
3
+ Service72
4
+ } from "./image-vd28783h.js";
5
5
  import {
6
- Service50
7
- } from "./vcs-1b7p55fh.js";
6
+ Service39
7
+ } from "./image-sf1dt84k.js";
8
8
  import {
9
9
  observe2
10
- } from "./vcs-qsdy395h.js";
10
+ } from "./image-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin32
19
+ Plugin: () => Plugin8
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin32 = define({
23
+ var Plugin8 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service58;
27
- const snapshot = yield* Service50;
26
+ const config = yield* Service72;
27
+ const snapshot = yield* Service39;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin32 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin32, exports_snapshot };
38
+ export { Plugin8, exports_snapshot };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./vcs-hgz4x7wa.js";
5
+ } from "./image-hgz4x7wa.js";
6
6
  import {
7
- Service82
8
- } from "./vcs-y2cmk695.js";
7
+ Service79
8
+ } from "./image-72cp5kz5.js";
9
9
  import {
10
- Service62
11
- } from "./vcs-nkwsh8ra.js";
10
+ Service65
11
+ } from "./image-h05dbkvd.js";
12
12
  import {
13
- Service18
14
- } from "./vcs-z6wjd818.js";
13
+ Service24
14
+ } from "./image-3ev9jan1.js";
15
15
  import {
16
16
  Service19,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./vcs-k27xt7ry.js";
19
+ } from "./image-r7k25w34.js";
20
20
  import {
21
- Service74
22
- } from "./vcs-pqmz6dky.js";
21
+ Service48
22
+ } from "./image-q79vsnwe.js";
23
23
  import {
24
- Service12,
24
+ Service23,
25
25
  resolvePath2
26
- } from "./vcs-6y363cnc.js";
26
+ } from "./image-gsd91cb6.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./vcs-6prwharc.js";
29
+ } from "./image-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./vcs-9rqn6x4v.js";
32
+ } from "./image-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input3,
39
- Output: () => Output2,
38
+ Input: () => Input11,
39
+ Output: () => Output8,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin20,
42
- name: () => name3,
43
- toModelContent: () => toModelContent2
41
+ Plugin: () => Plugin46,
42
+ name: () => name11,
43
+ toModelContent: () => toModelContent6
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name3 = "patch";
89
- var Input3 = Schema.Struct({
88
+ var name11 = "patch";
89
+ var Input11 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output2 = Schema.Struct({
99
+ var Output8 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent2 = (output) => [
103
+ var toModelContent6 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin20 = {
108
+ var Plugin46 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service62;
112
- const access = yield* Service12;
111
+ const environment = yield* Service65;
112
+ const access = yield* Service23;
113
113
  const fileMutation = yield* Service19;
114
- const formatter = yield* Service18;
115
- const location = yield* Service82;
116
- const permission = yield* Service74;
114
+ const formatter = yield* Service24;
115
+ const location = yield* Service79;
116
+ const permission = yield* Service48;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name3,
118
+ name: name11,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input3,
122
- output: Output2,
121
+ input: Input11,
122
+ output: Output8,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin20 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent2(output),
269
+ content: toModelContent6(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name3, Input3, Applied2, Output2, toModelContent2, Plugin20, exports_patch };
329
+ export { name11, Input11, Applied2, Output8, toModelContent6, Plugin46, exports_patch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./vcs-ym463w8f.js";
3
+ } from "./image-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service79,
3
- node83,
2
+ Service56,
3
+ node59,
4
4
  canonical3
5
- } from "./vcs-0qwr82av.js";
5
+ } from "./image-m1j82gc8.js";
6
6
  import {
7
- Service48,
8
- node51
9
- } from "./vcs-jkp0d30b.js";
7
+ Service46,
8
+ node48
9
+ } from "./image-909p1r3q.js";
10
10
  import {
11
- Service24
12
- } from "./vcs-fm3teyf1.js";
11
+ Service18
12
+ } from "./image-rb92wex5.js";
13
13
  import {
14
14
  layer2
15
- } from "./vcs-cek0m7h8.js";
15
+ } from "./image-tgxfzkrj.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service79, Effect.gen(function* () {
20
+ return Layer.effect(Service56, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service24);
30
+ const lifecycle = Context.get(exit.value, Service18);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node51.replace(Layer.succeed(Service48, {
57
+ node48.replace(Layer.succeed(Service46, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node83.replace(Layer.succeed(Service79, map))
61
+ node59.replace(Layer.succeed(Service56, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./vcs-775gj3j1.js";
3
+ } from "./image-775gj3j1.js";
4
4
  import {
5
5
  __export
6
- } from "./vcs-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service35,
11
+ Service: () => Service31,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer15,
13
+ layer: () => layer14,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node38
15
+ node: () => node35
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service31 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service35.of({ bind, close, closeAll });
370
+ return Service31.of({ bind, close, closeAll });
371
371
  }));
372
- var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node38 = makeGlobalNode({ service: Service35, layer: layer15, deps: [webSocketConstructor2] });
375
+ var node35 = makeGlobalNode({ service: Service31, layer: layer14, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service35, makeLayer2, layer15, node38, exports_model_transport };
377
+ export { Service31, makeLayer2, layer14, node35, exports_model_transport };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service58
4
- } from "./vcs-7n1j9gnc.js";
3
+ Service72
4
+ } from "./image-vd28783h.js";
5
5
  import {
6
- Service67
7
- } from "./vcs-h8dz2c4h.js";
6
+ Service64
7
+ } from "./image-19qccr11.js";
8
8
  import {
9
9
  observe2
10
- } from "./vcs-qsdy395h.js";
10
+ } from "./image-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
- var exports_shell2 = {};
17
- __export(exports_shell2, {
18
- ConfigShellPlugin: () => exports_shell2,
19
- Plugin: () => Plugin36
16
+ var exports_shell = {};
17
+ __export(exports_shell, {
18
+ ConfigShellPlugin: () => exports_shell,
19
+ Plugin: () => Plugin9
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin36 = define({
23
+ var Plugin9 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service58;
27
- const shell = yield* Service67;
26
+ const config = yield* Service72;
27
+ const shell = yield* Service64;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin36 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin36, exports_shell2 };
37
+ export { Plugin9, exports_shell };