@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
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service84
3
- } from "./image-6apv16q4.js";
2
+ Service83
3
+ } from "./workspace-hccbp3fd.js";
4
4
  import {
5
- Service81
6
- } from "./image-7b3690ew.js";
5
+ Service82
6
+ } from "./workspace-q53vqx2z.js";
7
7
  import {
8
- Service33
9
- } from "./image-2myva995.js";
8
+ Service41
9
+ } from "./workspace-vqfzq50h.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./image-922hggd3.js";
12
+ } from "./workspace-922hggd3.js";
13
13
  import {
14
- ID4,
15
- Service51
16
- } from "./image-mpbb34q8.js";
14
+ ID5,
15
+ Service49
16
+ } from "./workspace-msnexz9t.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./image-ec1grn59.js";
19
+ } from "./workspace-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./image-gftt206x.js";
22
+ } from "./workspace-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./image-h5af1y13.js";
25
+ } from "./workspace-0e81x99y.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./image-z07pqspn.js";
28
+ } from "./workspace-bjtzbw4r.js";
29
29
  import {
30
30
  __export
31
- } from "./image-9rqn6x4v.js";
31
+ } from "./workspace-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service33;
46
- const database = yield* Service84;
47
- const bus = yield* Service81;
45
+ const instances = yield* Service41;
46
+ const database = yield* Service83;
47
+ const bus = yield* Service82;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service51;
50
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service49;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service33;
78
- const bus = yield* Service81;
77
+ const instances = yield* Service41;
78
+ const bus = yield* Service82;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service51;
80
+ const snapshot = yield* Service49;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID4.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./image-922hggd3.js";
4
+ } from "./workspace-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./image-256nx13v.js";
7
+ } from "./workspace-k6yq57aq.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  make20,
5
5
  diffByKey2
6
- } from "./image-02nrjc1r.js";
6
+ } from "./workspace-rhjbct0v.js";
7
7
  import {
8
- ID12,
8
+ ID3,
9
9
  Name2,
10
10
  available2,
11
- Service70,
12
- node74
13
- } from "./image-xw8skkg7.js";
11
+ Service32,
12
+ node35
13
+ } from "./workspace-1cxs6ddq.js";
14
14
  import {
15
15
  __export
16
- } from "./image-9rqn6x4v.js";
16
+ } from "./workspace-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
19
  var exports_instructions3 = {};
20
20
  __export(exports_instructions3, {
21
- Service: () => Service26,
21
+ Service: () => Service22,
22
22
  SkillInstructions: () => exports_instructions3,
23
- node: () => node29
23
+ node: () => node26
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID12,
28
+ id: ID3,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,15 +60,15 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service26 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service22 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service26, Effect.gen(function* () {
66
- const skills = yield* Service70;
67
- return Service26.of({
65
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
66
+ const skills = yield* Service32;
67
+ return Service22.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
69
  const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
70
  return make20({
71
- key: Key4.make("core/skill-guidance"),
71
+ key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
74
74
  render: {
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node29 = makeLocationNode({ service: Service26, layer, deps: [node74] });
83
+ var node26 = makeLocationNode({ service: Service22, layer, deps: [node35] });
84
84
 
85
- export { Service26, node29, exports_instructions3 };
85
+ export { Service22, node26, exports_instructions3 };
@@ -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/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./image-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  Service78,
6
6
  node82
7
- } from "./image-pyfvkh5e.js";
7
+ } from "./workspace-tnkedzgy.js";
8
8
  import {
9
- Service60,
10
- node63
11
- } from "./image-p8rb0j6p.js";
9
+ Service47,
10
+ node49
11
+ } from "./workspace-b7vpt2tp.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./image-tcezcvh9.js";
15
+ } from "./workspace-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./image-9rqn6x4v.js";
18
+ } from "./workspace-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options2,
25
- Service: () => Service15,
26
- configured: () => configured2,
24
+ Options: () => Options5,
25
+ Service: () => Service46,
26
+ configured: () => configured5,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer8,
29
- node: () => node18,
28
+ layer: () => layer17,
29
+ node: () => node48,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options2 = Schema.Struct({
38
+ var Options5 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service46 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
61
+ var ripgrepLayer2 = Layer.effect(Service46, Effect.gen(function* () {
62
62
  const location = yield* Service78;
63
- const ripgrep = yield* Service60;
63
+ const ripgrep = yield* Service47;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service15.of({
108
+ return Service46.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
115
+ var fffLayer2 = Layer.effect(Service46, Effect.gen(function* () {
116
116
  const location = yield* Service78;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service15.of({
129
+ return Service46.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service15.of({
134
+ return Service46.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
177
+ var layer17 = (options) => Layer.unwrap(Effect.gen(function* () {
178
178
  const location = yield* Service78;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
@@ -182,9 +182,9 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured2(options) {
186
- return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node82, node63] });
185
+ function configured5(options) {
186
+ return makeLocationNode({ service: Service46, layer: layer17(options), deps: [node82, node49] });
187
187
  }
188
- var node18 = configured2();
188
+ var node48 = configured5();
189
189
 
190
- export { Options2, Service15, ripgrepLayer2, fffLayer2, layer8, configured2, node18, exports_search };
190
+ export { Options5, Service46, ripgrepLayer2, fffLayer2, layer17, configured5, node48, exports_search };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make14,
10
- render: () => render2
9
+ make: () => make15,
10
+ render: () => render3
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make14(tools) {
33
- return render2(system_default, tools);
32
+ function make15(tools) {
33
+ return render3(system_default, tools);
34
34
  }
35
- function render2(prompt, tools) {
35
+ function render3(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render2, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./image-gftt206x.js";
3
+ } from "./workspace-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./image-7b3690ew.js";
2
+ Service82,
3
+ node86
4
+ } from "./workspace-q53vqx2z.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./image-tazgh4e4.js";
9
+ } from "./workspace-tazgh4e4.js";
10
10
  import {
11
11
  Service78,
12
12
  node82
13
- } from "./image-pyfvkh5e.js";
13
+ } from "./workspace-tnkedzgy.js";
14
14
  import {
15
15
  reconcile2,
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/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info7,
29
+ Info: () => Info4,
30
30
  Mode: () => Mode2,
31
- Service: () => Service47,
31
+ Service: () => Service16,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node49
33
+ node: () => node19
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service47 extends Context.Service()("@opencode/Vcs") {
48
+ class Service16 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service47, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
52
  const location = yield* Service78;
53
- const bus = yield* Service81;
53
+ const bus = yield* Service82;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service47.of({
121
+ return Service16.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node49 = makeLocationNode({
168
- service: Service47,
167
+ var node19 = makeLocationNode({
168
+ service: Service16,
169
169
  layer,
170
- deps: [FSUtil.node, node82, node85]
170
+ deps: [FSUtil.node, node82, node86]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, Service47, node49, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service16, node19, exports_vcs };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./image-gd4qta3r.js";
3
+ } from "./workspace-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./image-tvtrv512.js";
6
+ } from "./workspace-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./image-rdw6cm16.js";
9
+ } from "./workspace-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./image-9rqn6x4v.js";
12
+ } from "./workspace-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service44,
21
+ Service: () => Service54,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node46
23
+ node: () => node56
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service44 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service54 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service44, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service44.of({
125
+ return Service54.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node46 = makeLocationNode({
143
- service: Service44,
142
+ var node56 = makeLocationNode({
143
+ service: Service54,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service44, node46, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service54, node56, exports_tool_output2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service53
3
- } from "./image-5z7kcmm3.js";
2
+ Service52
3
+ } from "./workspace-k2wyf9h9.js";
4
4
  import {
5
- Service68
6
- } from "./image-zvwz45r0.js";
5
+ Service58
6
+ } from "./workspace-kgen349b.js";
7
7
  import {
8
8
  observe2
9
- } from "./image-qsdy395h.js";
9
+ } from "./workspace-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./image-9rqn6x4v.js";
12
+ } from "./workspace-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin46
18
+ Plugin: () => Plugin35
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin46 = define({
22
+ var Plugin35 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service53;
26
- const image = yield* Service68;
25
+ const config = yield* Service52;
26
+ const image = yield* Service58;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin46 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin46, exports_image };
46
+ export { Plugin35, exports_image };
@@ -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/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./image-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./image-n775cbrb.js";
6
+ } from "./workspace-9z7cfjnw.js";
7
7
  import {
8
8
  Service78,
9
9
  node82
10
- } from "./image-pyfvkh5e.js";
10
+ } from "./workspace-tnkedzgy.js";
11
11
  import {
12
- Service72,
13
- node76
14
- } from "./image-nqaq94vp.js";
12
+ Service62,
13
+ node64
14
+ } from "./workspace-swfc4c09.js";
15
15
  import {
16
16
  __export
17
- } from "./image-9rqn6x4v.js";
17
+ } from "./workspace-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service71,
25
+ Service: () => Service33,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node75,
27
+ node: () => node36,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service71 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service33 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,10 +55,10 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service71, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
60
  const location = yield* Service78;
61
- const permission = yield* Service72;
61
+ const permission = yield* Service62;
62
62
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
63
63
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
64
64
  const worktree = path.resolve(location.project.directory);
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service71.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service33.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node75 = makeLocationNode({ service: Service71, layer, deps: [FSUtil.node, node82, node76] });
112
+ var node36 = makeLocationNode({ service: Service33, layer, deps: [FSUtil.node, node82, node64] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service71, resolvePath2, node75, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service33, resolvePath2, node36, exports_file_access };