@opencode/core 0.0.0-dev-20113 → 0.0.0-dev-20114

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{image-ctmr8zqa.js → workspace-06x8he3q.js} +4 -4
  8. package/dist/chunks/{image-53yvyx9v.js → workspace-0dp24jhc.js} +19 -19
  9. package/dist/chunks/{image-qpj9km4b.js → workspace-0e0z5yt4.js} +11 -11
  10. package/dist/chunks/{image-h5af1y13.js → workspace-0e81x99y.js} +6 -6
  11. package/dist/chunks/{image-j3mggexs.js → workspace-0g0t9165.js} +4 -4
  12. package/dist/chunks/{image-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{image-sf6zrh50.js → workspace-0qfaha1m.js} +3 -3
  14. package/dist/chunks/{image-e6hmchc5.js → workspace-0r7yqxbf.js} +5 -5
  15. package/dist/chunks/{image-3776wdme.js → workspace-0spbe0cp.js} +30 -30
  16. package/dist/chunks/{image-3r4a67rj.js → workspace-0yeq2kq4.js} +173 -173
  17. package/dist/chunks/{image-634rmh9x.js → workspace-0za9f44n.js} +1 -1
  18. package/dist/chunks/{image-skhxta5r.js → workspace-13q1kvsh.js} +6 -6
  19. package/dist/chunks/{image-ba7d3swx.js → workspace-1816vhxd.js} +4 -4
  20. package/dist/chunks/{image-pxwf7x3g.js → workspace-183dvndp.js} +9 -9
  21. package/dist/chunks/{image-xhbqsxyx.js → workspace-18gvgcyb.js} +38 -38
  22. package/dist/chunks/{image-xw8skkg7.js → workspace-1cxs6ddq.js} +28 -28
  23. package/dist/chunks/{image-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{image-166kng33.js → workspace-1gfgk62c.js} +8 -8
  25. package/dist/chunks/{image-kbqaqrep.js → workspace-1qx820s6.js} +20 -20
  26. package/dist/chunks/{image-33w4ejhs.js → workspace-1ygqh575.js} +6 -6
  27. package/dist/chunks/{image-21r38tys.js → workspace-21r38tys.js} +1 -1
  28. package/dist/chunks/{image-2402vzrj.js → workspace-2402vzrj.js} +1 -1
  29. package/dist/chunks/{image-5t31c093.js → workspace-27za9r5g.js} +48 -48
  30. package/dist/chunks/{image-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{image-7dqw4kz8.js → workspace-2k8khapm.js} +5 -5
  32. package/dist/chunks/{image-4sn99hha.js → workspace-2w6fc0zt.js} +7 -7
  33. package/dist/chunks/{image-c0m28p3w.js → workspace-2wy0jzng.js} +9 -9
  34. package/dist/chunks/{image-f9kxw7ch.js → workspace-2xn6s27p.js} +47 -47
  35. package/dist/chunks/{image-cntg9czn.js → workspace-2yqk5d2g.js} +11 -11
  36. package/dist/chunks/{image-7gmr5zjm.js → workspace-2z54xyv0.js} +28 -28
  37. package/dist/chunks/{image-5gshzgwa.js → workspace-30a43rch.js} +48 -48
  38. package/dist/chunks/{image-4f22rktn.js → workspace-357vwvaw.js} +13 -13
  39. package/dist/chunks/{image-h5crbhmb.js → workspace-37sfe3bm.js} +15 -15
  40. package/dist/chunks/{image-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{image-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{image-sbw74b5r.js → workspace-3mdqjwjq.js} +75 -75
  43. package/dist/chunks/{image-22e5vd5e.js → workspace-3pbxz7sh.js} +20 -20
  44. package/dist/chunks/{image-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{image-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{image-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{image-eh3wnq3n.js → workspace-3zvpgha1.js} +22 -22
  48. package/dist/chunks/{image-ta055kay.js → workspace-438c5wf5.js} +30 -30
  49. package/dist/chunks/{image-gfr393vr.js → workspace-45d0fyve.js} +18 -18
  50. package/dist/chunks/{image-6c5w8k1k.js → workspace-466thwct.js} +15 -15
  51. package/dist/chunks/{image-jp4k4cwe.js → workspace-4jk4wxge.js} +29 -29
  52. package/dist/chunks/{image-zy43x3f1.js → workspace-4v7ngy20.js} +4 -4
  53. package/dist/chunks/{image-rxx8w1cp.js → workspace-4zetm0jd.js} +9 -9
  54. package/dist/chunks/{image-5b4stqbr.js → workspace-505kak1q.js} +10 -10
  55. package/dist/chunks/{image-ckecvw8r.js → workspace-54tcyq79.js} +2 -2
  56. package/dist/chunks/{image-mmjsk5hc.js → workspace-55q8s0tq.js} +15 -15
  57. package/dist/chunks/{image-k9d40v1y.js → workspace-56dkfrzf.js} +4 -4
  58. package/dist/chunks/{image-k8dasee7.js → workspace-56m60q16.js} +5 -5
  59. package/dist/chunks/{image-1zdkxdab.js → workspace-583w8zzc.js} +3 -3
  60. package/dist/chunks/{image-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  61. package/dist/chunks/{image-5ekn9679.js → workspace-5ekn9679.js} +1 -1
  62. package/dist/chunks/{image-w4r87ktx.js → workspace-5ksqsxw4.js} +24 -24
  63. package/dist/chunks/{image-gt1j80n6.js → workspace-5mqgys5q.js} +33 -33
  64. package/dist/chunks/{image-js0d1agj.js → workspace-5rg82yfa.js} +12 -12
  65. package/dist/chunks/{image-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{image-cmwkp3r5.js → workspace-5yzzbxa7.js} +8 -8
  67. package/dist/chunks/{image-d2w632g8.js → workspace-5z6rwdjk.js} +3 -3
  68. package/dist/chunks/{image-t1gfjrf3.js → workspace-60an1160.js} +17 -17
  69. package/dist/chunks/{image-669tq793.js → workspace-669tq793.js} +1 -1
  70. package/dist/chunks/{image-4gxz2kx8.js → workspace-6bwbzvbk.js} +28 -28
  71. package/dist/chunks/{image-xy39rfb7.js → workspace-6f51hy00.js} +9 -9
  72. package/dist/chunks/workspace-6kdq0pjd.js +4 -0
  73. package/dist/chunks/{image-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{image-hpagaahd.js → workspace-6p5b6z32.js} +6 -6
  75. package/dist/chunks/{image-72dyagzw.js → workspace-6qrmzyn8.js} +21 -21
  76. package/dist/chunks/{image-ftdzjz2b.js → workspace-6wg7wrda.js} +4 -4
  77. package/dist/chunks/{image-dga71q50.js → workspace-6x6zqcbs.js} +41 -41
  78. package/dist/chunks/{image-gf58v98r.js → workspace-6xhyt350.js} +5 -5
  79. package/dist/chunks/{image-ewpp5e7n.js → workspace-71f1cn11.js} +39 -39
  80. package/dist/chunks/{image-8q279wwj.js → workspace-78hnnhxt.js} +11 -11
  81. package/dist/chunks/{image-w7mqkfhb.js → workspace-791jfm05.js} +11 -11
  82. package/dist/chunks/{image-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{image-wfzvfztp.js → workspace-7gc9qn53.js} +27 -27
  84. package/dist/chunks/{image-s2b1gttb.js → workspace-7hxn90bs.js} +42 -42
  85. package/dist/chunks/{image-1m26q0f9.js → workspace-7kq06j26.js} +18 -18
  86. package/dist/chunks/{image-pr3detqk.js → workspace-7m8xajth.js} +25 -25
  87. package/dist/chunks/{image-jv4eadh7.js → workspace-7tp3f5r3.js} +5 -5
  88. package/dist/chunks/{image-r1b1h9p2.js → workspace-7wc442ye.js} +5 -5
  89. package/dist/chunks/{image-ntwexnb4.js → workspace-8076am3r.js} +43 -43
  90. package/dist/chunks/{image-akrnn5pm.js → workspace-818pfwc9.js} +8 -8
  91. package/dist/chunks/{image-h0j2nr32.js → workspace-83me60hv.js} +11 -11
  92. package/dist/chunks/{image-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{image-8vn671xv.js → workspace-8mjagv5b.js} +13 -13
  94. package/dist/chunks/{image-a0bpa5q3.js → workspace-91e2qxf2.js} +33 -33
  95. package/dist/chunks/{image-774cd9f1.js → workspace-975r8ezm.js} +34 -34
  96. package/dist/chunks/{image-x4h4af76.js → workspace-9a5xrdm0.js} +15 -15
  97. package/dist/chunks/{image-m376s9bv.js → workspace-9bysvk2w.js} +13 -13
  98. package/dist/chunks/{image-2yzp2mzj.js → workspace-9c463c3v.js} +21 -21
  99. package/dist/chunks/{image-5bkn97b7.js → workspace-9cdcmxar.js} +13 -13
  100. package/dist/chunks/{image-dh1b120n.js → workspace-9n3yh9qe.js} +19 -19
  101. package/dist/chunks/{image-av8qn4q0.js → workspace-9q0fe16k.js} +10 -10
  102. package/dist/chunks/{image-av8mxqza.js → workspace-9ted079k.js} +29 -29
  103. package/dist/chunks/{image-yz5517fk.js → workspace-9vb8s0ef.js} +32 -32
  104. package/dist/chunks/{image-nyt6jjzz.js → workspace-9x5r1zhq.js} +8 -8
  105. package/dist/chunks/{image-n775cbrb.js → workspace-9z7cfjnw.js} +26 -26
  106. package/dist/chunks/{image-xkydw24q.js → workspace-9zbzdfgd.js} +28 -28
  107. package/dist/chunks/{image-1mcf8axt.js → workspace-a09v9r2j.js} +11 -11
  108. package/dist/chunks/workspace-a9862w5q.js +26 -0
  109. package/dist/chunks/{image-r5y57ggj.js → workspace-a9qpy9ng.js} +22 -22
  110. package/dist/chunks/{image-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  111. package/dist/chunks/{image-jg9t1rv4.js → workspace-aahyy29f.js} +79 -79
  112. package/dist/chunks/{image-tcdyfre7.js → workspace-ae72ha8b.js} +25 -25
  113. package/dist/chunks/{image-qxc8r00e.js → workspace-aesn9jmf.js} +11 -11
  114. package/dist/chunks/{image-9hwzc92f.js → workspace-akzjf690.js} +9 -9
  115. package/dist/chunks/{image-r105h9b1.js → workspace-asrf6d4d.js} +32 -32
  116. package/dist/chunks/{image-zg5a92pj.js → workspace-az1ye58n.js} +30 -30
  117. package/dist/chunks/{image-jxyjvaaf.js → workspace-az5cyybe.js} +3 -3
  118. package/dist/chunks/{image-y843p43y.js → workspace-b23ngztz.js} +10 -10
  119. package/dist/chunks/{image-y9b84fnk.js → workspace-b601atsc.js} +12 -12
  120. package/dist/chunks/{image-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{image-p8rb0j6p.js → workspace-b7vpt2tp.js} +18 -18
  122. package/dist/chunks/{image-jc0ts2h3.js → workspace-b8xr8rbz.js} +14 -14
  123. package/dist/chunks/{image-z07pqspn.js → workspace-bjtzbw4r.js} +3 -3
  124. package/dist/chunks/{image-wgtcm0m7.js → workspace-bk7jaeqh.js} +4 -4
  125. package/dist/chunks/{image-pe8nenhf.js → workspace-bqxbmhwc.js} +11 -11
  126. package/dist/chunks/{image-fmjrtwa9.js → workspace-bxhncv17.js} +8 -8
  127. package/dist/chunks/{image-kh02fzyq.js → workspace-bxkg3gdp.js} +28 -28
  128. package/dist/chunks/{image-ma6vedv2.js → workspace-bzbmha14.js} +10 -10
  129. package/dist/chunks/{image-6szrdwa0.js → workspace-c4cdms68.js} +17 -17
  130. package/dist/chunks/{image-ayc4106j.js → workspace-c5c81y3p.js} +4 -4
  131. package/dist/chunks/{image-58v8j9r6.js → workspace-c67sf3ms.js} +9 -9
  132. package/dist/chunks/{image-1ewy1br2.js → workspace-ca8b9jkw.js} +4 -4
  133. package/dist/chunks/workspace-cm00fmja.js +252 -0
  134. package/dist/chunks/{image-rey4n0wx.js → workspace-cy02d2xc.js} +9 -9
  135. package/dist/chunks/{image-p1f33w0k.js → workspace-ddevztyh.js} +30 -30
  136. package/dist/chunks/{image-jwcy2c2z.js → workspace-dpkg50ah.js} +4 -4
  137. package/dist/chunks/{image-1waqhqgx.js → workspace-dwyehvxd.js} +15 -15
  138. package/dist/chunks/{image-3s216tfs.js → workspace-e0rvhg7q.js} +2 -2
  139. package/dist/chunks/{image-c620ddxt.js → workspace-e13yqjz3.js} +51 -51
  140. package/dist/chunks/{image-7wz9shf8.js → workspace-e57pv4wg.js} +70 -70
  141. package/dist/chunks/{image-xvpsxfft.js → workspace-e62vcbxn.js} +5 -5
  142. package/dist/chunks/{image-qa7075pb.js → workspace-e89xj288.js} +5 -5
  143. package/dist/chunks/{image-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{image-pd3h1bmn.js → workspace-em664rth.js} +20 -20
  145. package/dist/chunks/{image-73tb2d7t.js → workspace-eq1pz5kg.js} +3 -3
  146. package/dist/chunks/{image-erw5rpbs.js → workspace-erw5rpbs.js} +2 -2
  147. package/dist/chunks/{image-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{image-tw8a8mq4.js → workspace-fds0942a.js} +28 -28
  149. package/dist/chunks/{image-k2trz52r.js → workspace-fhwjz7ks.js} +25 -25
  150. package/dist/chunks/{image-vyqn3nqs.js → workspace-fjvydvzm.js} +4 -4
  151. package/dist/chunks/{image-2e3htp8t.js → workspace-ft8my87t.js} +11 -11
  152. package/dist/chunks/{image-qj8eh1ht.js → workspace-g190xswt.js} +4 -4
  153. package/dist/chunks/{image-qxrkxshc.js → workspace-g44g4t6r.js} +17 -17
  154. package/dist/chunks/{image-3qagm8yh.js → workspace-g9177ymk.js} +7 -7
  155. package/dist/chunks/{image-em3h5ktn.js → workspace-gc4fb455.js} +4 -4
  156. package/dist/chunks/{image-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{image-94ek1h2f.js → workspace-gfvb90ym.js} +2 -2
  158. package/dist/chunks/{image-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{image-nzyhnfxz.js → workspace-h6r3nrb9.js} +4 -4
  160. package/dist/chunks/{image-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{image-aemd976n.js → workspace-h747f910.js} +38 -38
  162. package/dist/chunks/{image-770exhkv.js → workspace-h7e5g0tn.js} +6 -6
  163. package/dist/chunks/{image-tdgdhk1e.js → workspace-h9ssxcjg.js} +8 -8
  164. package/dist/chunks/{image-6apv16q4.js → workspace-hccbp3fd.js} +11 -11
  165. package/dist/chunks/{image-jqt8mqsr.js → workspace-hgazxmwb.js} +20 -20
  166. package/dist/chunks/{image-663rft7j.js → workspace-hvf24zfz.js} +9 -9
  167. package/dist/chunks/{image-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  168. package/dist/chunks/{image-0y0j53mb.js → workspace-ja6mtjvc.js} +17 -17
  169. package/dist/chunks/{image-xphjvb0e.js → workspace-jhte7jv1.js} +11 -11
  170. package/dist/chunks/{image-sz613scp.js → workspace-jt0ae3x5.js} +16 -16
  171. package/dist/chunks/{image-bh79aq3p.js → workspace-k1qrnqst.js} +8 -8
  172. package/dist/chunks/{image-5z7kcmm3.js → workspace-k2wyf9h9.js} +41 -41
  173. package/dist/chunks/{image-nzks3jc8.js → workspace-k3c624dm.js} +3 -3
  174. package/dist/chunks/{image-256nx13v.js → workspace-k6yq57aq.js} +3 -3
  175. package/dist/chunks/{image-p1xmed22.js → workspace-kb9jw9za.js} +8 -8
  176. package/dist/chunks/{image-85tvp9fd.js → workspace-kd2jg7wg.js} +12 -12
  177. package/dist/chunks/{image-zvwz45r0.js → workspace-kgen349b.js} +9 -9
  178. package/dist/chunks/{image-vf6k9qc2.js → workspace-khmhvwbd.js} +22 -22
  179. package/dist/chunks/{image-edmj9df8.js → workspace-kkvt8xjw.js} +17 -17
  180. package/dist/chunks/{image-gmmv7n6h.js → workspace-knht3pjq.js} +5 -5
  181. package/dist/chunks/{image-4qtrgqz0.js → workspace-kr59axht.js} +1 -1
  182. package/dist/chunks/{image-gkj51nnj.js → workspace-ksytkaze.js} +27 -27
  183. package/dist/chunks/{image-nq7qbqzc.js → workspace-m2d0j7c0.js} +9 -9
  184. package/dist/chunks/{image-k8c62mcw.js → workspace-m2tre556.js} +44 -44
  185. package/dist/chunks/{image-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{image-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{image-yhgwf81s.js → workspace-mcyzx8fc.js} +11 -11
  188. package/dist/chunks/{image-mpbb34q8.js → workspace-msnexz9t.js} +29 -29
  189. package/dist/chunks/{image-2mcvh2n3.js → workspace-mxrrxz3e.js} +12 -12
  190. package/dist/chunks/{image-9wfqyrmt.js → workspace-myfy8bwe.js} +3 -3
  191. package/dist/chunks/{image-nbrsdxg4.js → workspace-n0xkpwp9.js} +25 -25
  192. package/dist/chunks/{image-ybv07nhy.js → workspace-n6f91730.js} +8 -8
  193. package/dist/chunks/{image-5jvc3mjr.js → workspace-ncfym1m4.js} +14 -14
  194. package/dist/chunks/{image-z30vtyeh.js → workspace-nn09g6m5.js} +21 -21
  195. package/dist/chunks/{image-r33ff4dw.js → workspace-p0b4ytnr.js} +4 -4
  196. package/dist/chunks/{image-9p5nya9r.js → workspace-p1anhhew.js} +22 -22
  197. package/dist/chunks/{image-10xqw9ew.js → workspace-p9pz7yr4.js} +10 -10
  198. package/dist/chunks/{image-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{image-8ysa277v.js → workspace-pkaafs0j.js} +11 -11
  200. package/dist/chunks/{image-pknna89w.js → workspace-pknna89w.js} +1 -1
  201. package/dist/chunks/{image-9atd0qg2.js → workspace-pkzcwsw4.js} +23 -23
  202. package/dist/chunks/{image-t38hgp9c.js → workspace-pnkd16h0.js} +3 -3
  203. package/dist/chunks/{image-18tvb9ms.js → workspace-pqt57qxs.js} +30 -30
  204. package/dist/chunks/{image-p88md3q8.js → workspace-prq7hedt.js} +9 -9
  205. package/dist/chunks/{image-wd3x2cqz.js → workspace-psazpmmj.js} +2 -2
  206. package/dist/chunks/{image-myr9sre4.js → workspace-pw8h7q9e.js} +31 -31
  207. package/dist/chunks/{image-w92k2e0p.js → workspace-py3kkmfq.js} +8 -8
  208. package/dist/chunks/{image-sp7nseq3.js → workspace-pyp5frad.js} +19 -19
  209. package/dist/chunks/{image-5ymhfyg0.js → workspace-pztc22em.js} +17 -17
  210. package/dist/chunks/{image-7b3690ew.js → workspace-q53vqx2z.js} +16 -16
  211. package/dist/chunks/{image-52n3ytht.js → workspace-q60sw46r.js} +29 -29
  212. package/dist/chunks/{image-yq14pbr7.js → workspace-qdbakdjh.js} +5 -5
  213. package/dist/chunks/{image-cc1kzkvd.js → workspace-qec8xvn0.js} +325 -325
  214. package/dist/chunks/{image-djszqvmq.js → workspace-qmqgtz8f.js} +9 -9
  215. package/dist/chunks/{image-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  216. package/dist/chunks/{image-07s8m1z6.js → workspace-r4b24f36.js} +11 -11
  217. package/dist/chunks/{image-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{image-0xqf1fvw.js → workspace-re06hfb4.js} +29 -29
  219. package/dist/chunks/{image-efzf9zk4.js → workspace-red9fndq.js} +5 -5
  220. package/dist/chunks/{image-9jbdt4qb.js → workspace-rhj3j0xw.js} +6 -6
  221. package/dist/chunks/{image-02nrjc1r.js → workspace-rhjbct0v.js} +6 -6
  222. package/dist/chunks/{image-0jksg60z.js → workspace-rhr7kre3.js} +13 -13
  223. package/dist/chunks/{image-yd1zya46.js → workspace-rmj3p531.js} +5 -5
  224. package/dist/chunks/{image-f207cexx.js → workspace-rv3ajkkz.js} +25 -25
  225. package/dist/chunks/{image-x27w9g4p.js → workspace-s30pz1fr.js} +18 -18
  226. package/dist/chunks/{image-qjv8nf6r.js → workspace-s8x1qprv.js} +7 -7
  227. package/dist/chunks/{image-s8zy8myc.js → workspace-s8zy8myc.js} +2 -2
  228. package/dist/chunks/{image-tjj5s44w.js → workspace-schrbh41.js} +16 -16
  229. package/dist/chunks/{image-8rv81xk8.js → workspace-sfcb33kz.js} +15 -15
  230. package/dist/chunks/{image-sqy4ahhk.js → workspace-sfntmzm9.js} +1 -1
  231. package/dist/chunks/{image-htjccydj.js → workspace-sg1hzg94.js} +44 -44
  232. package/dist/chunks/{image-nqaq94vp.js → workspace-swfc4c09.js} +55 -55
  233. package/dist/chunks/{image-qa3qhgw8.js → workspace-sxz6gkc3.js} +7 -7
  234. package/dist/chunks/{image-ry00nx84.js → workspace-sz8868xq.js} +7 -7
  235. package/dist/chunks/{image-3cfzdc8e.js → workspace-t0fxg8b9.js} +5 -5
  236. package/dist/chunks/{image-fx3wk6a3.js → workspace-t5rx070x.js} +31 -31
  237. package/dist/chunks/{image-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{image-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{image-e05xq2f0.js → workspace-td0mb8yv.js} +20 -20
  240. package/dist/chunks/{image-tdstcens.js → workspace-tdstcens.js} +1 -1
  241. package/dist/chunks/{image-p9nxns17.js → workspace-tka7gdsf.js} +36 -36
  242. package/dist/chunks/{image-pyfvkh5e.js → workspace-tnkedzgy.js} +5 -5
  243. package/dist/chunks/{image-appc3a7v.js → workspace-tq2sjk2m.js} +26 -26
  244. package/dist/chunks/{image-f6007f9y.js → workspace-tvj5t05b.js} +7 -7
  245. package/dist/chunks/{image-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  246. package/dist/chunks/{image-bmtfvb6n.js → workspace-ty6tacf3.js} +5 -5
  247. package/dist/chunks/{image-7x2nsmvk.js → workspace-v0qyj49f.js} +32 -32
  248. package/dist/chunks/workspace-v1faaxn9.js +18 -0
  249. package/dist/chunks/{image-tch7083r.js → workspace-v7bxjhmx.js} +7 -7
  250. package/dist/chunks/{image-0v53mg2y.js → workspace-ve4pfa0n.js} +4 -4
  251. package/dist/chunks/{image-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  252. package/dist/chunks/{image-xhtm5rzq.js → workspace-vj0qrmre.js} +19 -19
  253. package/dist/chunks/{image-kzc3h1h3.js → workspace-vkfdnwpx.js} +4 -4
  254. package/dist/chunks/{image-fd69q2ca.js → workspace-vmmqyyr9.js} +5 -5
  255. package/dist/chunks/{image-2myva995.js → workspace-vqfzq50h.js} +6 -6
  256. package/dist/chunks/{image-z4dhzm7f.js → workspace-vs560t14.js} +13 -13
  257. package/dist/chunks/{image-rqqqmm2x.js → workspace-vwpcpzep.js} +8 -8
  258. package/dist/chunks/{image-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{image-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{image-wd87259q.js → workspace-wd87259q.js} +1 -1
  261. package/dist/chunks/{image-mqzwmgjk.js → workspace-wg0qqct4.js} +24 -24
  262. package/dist/chunks/{image-y4pq5snz.js → workspace-wjds8tjc.js} +25 -25
  263. package/dist/chunks/{image-m7va1g8x.js → workspace-wqc6684y.js} +2 -2
  264. package/dist/chunks/{image-wjh3vg4b.js → workspace-ww89ca1r.js} +17 -17
  265. package/dist/chunks/{image-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{image-tpx0gc93.js → workspace-xa8fzrz4.js} +25 -25
  267. package/dist/chunks/{image-57b9ws8p.js → workspace-xfkkasph.js} +7 -7
  268. package/dist/chunks/{image-xkntkrq7.js → workspace-xkntkrq7.js} +2 -2
  269. package/dist/chunks/{image-npamt89n.js → workspace-xm9ad1cr.js} +20 -20
  270. package/dist/chunks/{image-5vbx7n99.js → workspace-xmpfc1gs.js} +12 -12
  271. package/dist/chunks/{image-ewbnfzy6.js → workspace-xv6wg3rm.js} +11 -11
  272. package/dist/chunks/{image-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{image-ntwebah5.js → workspace-y4b1sr7g.js} +15 -15
  274. package/dist/chunks/{image-a3ffqj26.js → workspace-yd89mvd7.js} +8 -8
  275. package/dist/chunks/{image-p4y5km0g.js → workspace-ydq9gdxv.js} +10 -10
  276. package/dist/chunks/{image-yydg9xbw.js → workspace-ygb2gymn.js} +29 -29
  277. package/dist/chunks/{image-1acjjqhc.js → workspace-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{image-e23w9d35.js → workspace-ypzhfwa9.js} +12 -12
  279. package/dist/chunks/{image-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{image-yrznvahk.js → workspace-yrznvahk.js} +2 -2
  281. package/dist/chunks/{image-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{image-z63w68vq.js → workspace-z63w68vq.js} +2 -2
  283. package/dist/chunks/{image-ybmae93c.js → workspace-z873mpyh.js} +11 -11
  284. package/dist/chunks/{image-9c8gxprz.js → workspace-z92dbfgq.js} +4 -4
  285. package/dist/chunks/{image-bc0yk3ga.js → workspace-z97kzzt3.js} +6 -6
  286. package/dist/chunks/{image-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{image-c3parjrz.js → workspace-zh0w19mw.js} +10 -10
  288. package/dist/chunks/{image-8ayafdqn.js → workspace-zm1yvs5r.js} +12 -12
  289. package/dist/chunks/{image-6tbabvvx.js → workspace-zpser4p9.js} +7 -7
  290. package/dist/chunks/{image-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{image-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +88 -88
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +225 -225
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +101 -101
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +83 -83
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +82 -82
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +120 -120
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +74 -74
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +5 -5
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +221 -221
  562. package/dist/project/schema.js +6 -6
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +82 -82
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +94 -94
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +134 -134
  580. package/dist/session/context.js +148 -148
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +220 -220
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +151 -151
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +117 -117
  597. package/dist/session/model-transport.js +7 -7
  598. package/dist/session/move.js +126 -126
  599. package/dist/session/projector.js +84 -84
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +112 -112
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +214 -214
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +125 -125
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +122 -122
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +120 -120
  647. package/dist/tool/plugin/question.js +101 -101
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +12 -12
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +14 -14
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +3 -3
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +2 -2
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +3 -3
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +8 -8
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +94 -94
  699. package/package.json +8 -8
  700. package/dist/chunks/image-0j3d6amx.js +0 -26
  701. package/dist/chunks/image-93k530h5.js +0 -252
  702. package/dist/chunks/image-phz3h32g.js +0 -18
  703. package/dist/chunks/image-qapv375x.js +0 -4
  704. /package/dist/chunks/{image-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{image-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{image-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{image-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{image-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{image-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{image-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{image-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{image-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{image-34c7v6d4.js → workspace-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{image-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{image-3asan66x.js → workspace-3asan66x.js} +0 -0
  716. /package/dist/chunks/{image-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{image-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{image-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{image-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{image-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{image-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{image-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{image-53557ph1.js → workspace-53557ph1.js} +0 -0
  724. /package/dist/chunks/{image-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{image-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{image-6prwharc.js → workspace-6prwharc.js} +0 -0
  727. /package/dist/chunks/{image-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{image-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{image-822emrt2.js → workspace-822emrt2.js} +0 -0
  730. /package/dist/chunks/{image-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{image-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{image-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{image-922hggd3.js → workspace-922hggd3.js} +0 -0
  734. /package/dist/chunks/{image-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{image-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{image-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{image-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{image-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{image-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{image-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{image-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{image-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{image-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{image-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{image-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{image-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{image-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{image-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{image-df08tz66.js → workspace-df08tz66.js} +0 -0
  750. /package/dist/chunks/{image-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{image-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{image-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{image-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{image-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{image-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{image-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{image-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{image-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{image-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{image-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{image-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{image-g86h250q.js → workspace-g86h250q.js} +0 -0
  763. /package/dist/chunks/{image-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{image-gftt206x.js → workspace-gftt206x.js} +0 -0
  765. /package/dist/chunks/{image-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{image-hk9envan.js → workspace-hk9envan.js} +0 -0
  767. /package/dist/chunks/{image-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{image-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{image-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{image-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{image-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{image-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{image-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{image-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{image-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{image-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{image-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{image-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{image-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{image-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{image-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{image-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{image-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{image-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{image-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{image-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{image-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{image-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{image-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{image-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{image-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{image-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{image-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{image-x61499pn.js → workspace-x61499pn.js} +0 -0
  795. /package/dist/chunks/{image-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{image-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{image-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{image-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{image-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{image-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -2,40 +2,40 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./image-922hggd3.js";
5
+ } from "./workspace-922hggd3.js";
6
6
  import {
7
7
  Service78,
8
8
  node82
9
- } from "./image-pyfvkh5e.js";
9
+ } from "./workspace-tnkedzgy.js";
10
10
  import {
11
- Service15,
12
- node18
13
- } from "./image-tpx0gc93.js";
11
+ Service46,
12
+ node48
13
+ } from "./workspace-xa8fzrz4.js";
14
14
  import {
15
15
  __export
16
- } from "./image-9rqn6x4v.js";
16
+ } from "./workspace-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content2,
21
+ Content: () => Content3,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event3,
25
+ Event: () => Event8,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput2,
30
+ ListInput: () => ListInput3,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError2,
32
+ NotFoundError: () => NotFoundError5,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service14,
34
+ Service: () => Service45,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node17
38
+ node: () => node47
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
58
- var Content2 = Schema.Struct({
58
+ var Content3 = Schema.Struct({
59
59
  uri: Schema.String,
60
60
  name: Schema.String.pipe(Schema.optional),
61
61
  content: Schema.String,
62
62
  encoding: Schema.Literals(["utf8", "base64"]),
63
63
  mime: Schema.String
64
64
  }).annotate({ identifier: "FileSystem.Content" });
65
- var ListInput2 = Schema.Struct({
65
+ var ListInput3 = Schema.Struct({
66
66
  path: Schema.String.pipe(Schema.optional)
67
67
  });
68
68
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event3 = FileSystem.Event;
88
+ var Event8 = FileSystem.Event;
89
89
 
90
- class Service14 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service45 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service45, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
94
  const location = yield* Service78;
95
- const search = yield* Service15;
95
+ const search = yield* Service46;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service14.of({
106
+ return Service45.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node17 = makeLocationNode({
144
- service: Service14,
143
+ var node47 = makeLocationNode({
144
+ service: Service45,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node82, node18]
146
+ deps: [FSUtil.node, node82, node48]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node17, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service45, node47, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./image-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service12,
11
+ Service: () => Service7,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node14
13
+ node: () => node9
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service12, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service12.of({
66
+ return Service7.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node9 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service12, node14, exports_discovery };
155
+ export { Service7, node9, exports_discovery };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./image-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service53
7
- } from "./image-5z7kcmm3.js";
6
+ Service52
7
+ } from "./workspace-k2wyf9h9.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./image-2a5m3afh.js";
10
+ } from "./workspace-2a5m3afh.js";
11
11
  import {
12
- Service61
13
- } from "./image-z30vtyeh.js";
12
+ Service56
13
+ } from "./workspace-nn09g6m5.js";
14
14
  import {
15
- Service82
16
- } from "./image-qxrkxshc.js";
15
+ Service48
16
+ } from "./workspace-g44g4t6r.js";
17
17
  import {
18
- Service72
19
- } from "./image-nqaq94vp.js";
18
+ Service62
19
+ } from "./workspace-swfc4c09.js";
20
20
  import {
21
- Service71,
21
+ Service33,
22
22
  resolvePath2
23
- } from "./image-ntwebah5.js";
23
+ } from "./workspace-y4b1sr7g.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./image-5ekn9679.js";
29
+ } from "./workspace-5ekn9679.js";
30
30
  import {
31
- Service49,
31
+ Service55,
32
32
  name15
33
- } from "./image-sp7nseq3.js";
33
+ } from "./workspace-pyp5frad.js";
34
34
  import {
35
- NotFoundError4,
36
- Service38
37
- } from "./image-f9kxw7ch.js";
35
+ NotFoundError6,
36
+ Service50
37
+ } from "./workspace-2xn6s27p.js";
38
38
  import {
39
39
  Service18
40
- } from "./image-jg9t1rv4.js";
40
+ } from "./workspace-aahyy29f.js";
41
41
  import {
42
42
  scan2
43
- } from "./image-j3mggexs.js";
43
+ } from "./workspace-0g0t9165.js";
44
44
  import {
45
45
  __export
46
- } from "./image-9rqn6x4v.js";
46
+ } from "./workspace-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input5,
53
- Plugin: () => Plugin6,
54
- ShellTool: () => exports_shell,
55
- name: () => name5
52
+ Input: () => Input3,
53
+ Plugin: () => Plugin38,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name3
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name5 = "shell";
59
+ var name3 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input5 = Schema.Struct({
73
+ var Input3 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin6 = {
118
+ var Plugin38 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
121
  const sessions = yield* Service18;
122
- const jobs = yield* Service82;
122
+ const jobs = yield* Service48;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service61;
125
- const access = yield* Service71;
126
- const shell = yield* Service38;
127
- const shellSelect = yield* Service49;
124
+ const environment = yield* Service56;
125
+ const access = yield* Service33;
126
+ const shell = yield* Service50;
127
+ const shellSelect = yield* Service55;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service72;
130
- const config = yield* Service53;
129
+ const permission = yield* Service62;
130
+ const config = yield* Service52;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin6 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name5,
149
+ action: name3,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin6 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name5,
186
+ name: name3,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input5,
189
+ input: Input3,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin6 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError4({ id: info.id });
208
+ return yield* new NotFoundError6({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name5,
222
+ type: name3,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name5];
252
+ const tool = event.tools[name3];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin6, exports_shell };
263
+ export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin38, exports_shell2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./image-emrn6kk6.js";
7
+ } from "./workspace-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service53
4
- } from "./image-5z7kcmm3.js";
3
+ Service52
4
+ } from "./workspace-k2wyf9h9.js";
5
5
  import {
6
- Service51
7
- } from "./image-mpbb34q8.js";
6
+ Service49
7
+ } from "./workspace-msnexz9t.js";
8
8
  import {
9
9
  observe2
10
- } from "./image-qsdy395h.js";
10
+ } from "./workspace-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./image-9rqn6x4v.js";
13
+ } from "./workspace-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: () => Plugin43
19
+ Plugin: () => Plugin28
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin43 = define({
23
+ var Plugin28 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service53;
27
- const snapshot = yield* Service51;
26
+ const config = yield* Service52;
27
+ const snapshot = yield* Service49;
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 Plugin43 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin43, exports_snapshot };
38
+ export { Plugin28, exports_snapshot };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./image-922hggd3.js";
4
+ } from "./workspace-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service80,
9
- node84
10
- } from "./image-e23w9d35.js";
8
+ Service84,
9
+ node88
10
+ } from "./workspace-ypzhfwa9.js";
11
11
  import {
12
12
  Service78,
13
13
  node82
14
- } from "./image-pyfvkh5e.js";
14
+ } from "./workspace-tnkedzgy.js";
15
15
  import {
16
16
  create3
17
- } from "./image-rdw6cm16.js";
17
+ } from "./workspace-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./image-9rqn6x4v.js";
20
+ } from "./workspace-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID4,
27
- Service: () => Service51,
25
+ Error: () => Error4,
26
+ ID: () => ID5,
27
+ Service: () => Service49,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node53,
29
+ node: () => node51,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,20 +34,20 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID4 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service51 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service49 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service51, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
50
+ const git = yield* Service84;
51
51
  const global = yield* Global.Service;
52
52
  const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID4.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service51.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node53 = makeLocationNode({
144
- service: Service51,
143
+ var node51 = makeLocationNode({
144
+ service: Service49,
145
145
  layer,
146
- deps: [FSUtil.node, node84, Global.node, node82]
146
+ deps: [FSUtil.node, node88, Global.node, node82]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service51, Service51.of({
148
+ var noopLayer3 = Layer.succeed(Service49, Service49.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service51, Service51.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error3, Service51, node53, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error4, Service49, node51, noopLayer3, exports_snapshot2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service84
3
- } from "./image-6apv16q4.js";
2
+ Service83
3
+ } from "./workspace-hccbp3fd.js";
4
4
  import {
5
- Service33
6
- } from "./image-2myva995.js";
5
+ Service41
6
+ } from "./workspace-vqfzq50h.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./image-phz3h32g.js";
9
+ } from "./workspace-v1faaxn9.js";
10
10
  import {
11
11
  provenance2
12
- } from "./image-k9d40v1y.js";
12
+ } from "./workspace-56dkfrzf.js";
13
13
  import {
14
14
  preview2
15
- } from "./image-ybv07nhy.js";
15
+ } from "./workspace-n6f91730.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./image-xkydw24q.js";
18
+ } from "./workspace-9zbzdfgd.js";
19
19
  import {
20
20
  Service20
21
- } from "./image-sbw74b5r.js";
21
+ } from "./workspace-3mdqjwjq.js";
22
22
  import {
23
23
  __export
24
- } from "./image-9rqn6x4v.js";
24
+ } from "./workspace-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate = {};
@@ -32,8 +32,8 @@ __export(exports_generate, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service33;
36
- const database = yield* Service84;
35
+ const instances = yield* Service41;
36
+ const database = yield* Service83;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID6
3
- } from "./image-3776wdme.js";
2
+ ID11
3
+ } from "./workspace-0spbe0cp.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID6.make("gpt-5-chat-latest"), ID6.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID11.make("gpt-5-chat-latest"), ID11.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {