@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,57 +1,57 @@
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
  userNotification2
12
- } from "./image-5ekn9679.js";
12
+ } from "./workspace-5ekn9679.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./image-gftt206x.js";
15
+ } from "./workspace-gftt206x.js";
16
16
  import {
17
- NotFoundError10,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./image-h5af1y13.js";
23
+ } from "./workspace-0e81x99y.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./image-ec1grn59.js";
26
+ } from "./workspace-ec1grn59.js";
27
27
  import {
28
- Service73
29
- } from "./image-6c5w8k1k.js";
28
+ Service63
29
+ } from "./workspace-466thwct.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service32
34
- } from "./image-appc3a7v.js";
33
+ Service40
34
+ } from "./workspace-tq2sjk2m.js";
35
35
  import {
36
- Service30
37
- } from "./image-s2b1gttb.js";
36
+ Service38
37
+ } from "./workspace-7hxn90bs.js";
38
38
  import {
39
39
  prepare2
40
- } from "./image-sz613scp.js";
40
+ } from "./workspace-jt0ae3x5.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./image-y4pq5snz.js";
45
+ } from "./workspace-wjds8tjc.js";
46
46
  import {
47
47
  start2
48
- } from "./image-58v8j9r6.js";
48
+ } from "./workspace-c67sf3ms.js";
49
49
  import {
50
50
  get4
51
- } from "./image-rxx8w1cp.js";
51
+ } from "./workspace-4zetm0jd.js";
52
52
  import {
53
53
  __export
54
- } from "./image-9rqn6x4v.js";
54
+ } from "./workspace-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make13 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service81;
67
- const database = yield* Service84;
68
- const store = yield* Service73;
69
- const instances = yield* Service33;
70
- const execution = yield* Service30;
71
- const admission = yield* Service32;
66
+ const bus = yield* Service82;
67
+ const database = yield* Service83;
68
+ const store = yield* Service63;
69
+ const instances = yield* Service41;
70
+ const execution = yield* Service38;
71
+ const admission = yield* Service40;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError10({ sessionID });
77
+ return yield* new NotFoundError9({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service33, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service33, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service33, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service33, instances), Effect.provideService(Service84, database), Effect.provideService(Service81, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service33, instances), Effect.provideService(Service81, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service82, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service40,
3
- node42
4
- } from "./image-av8mxqza.js";
2
+ Service36,
3
+ node39
4
+ } from "./workspace-9ted079k.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
8
  make20,
9
9
  diffByKey2
10
- } from "./image-02nrjc1r.js";
10
+ } from "./workspace-rhjbct0v.js";
11
11
  import {
12
12
  __export
13
- } from "./image-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
16
  var exports_instructions2 = {};
17
17
  __export(exports_instructions2, {
18
18
  ReferenceInstructions: () => exports_instructions2,
19
- Service: () => Service22,
20
- node: () => node26
19
+ Service: () => Service21,
20
+ node: () => node25
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,11 +57,11 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service22 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service21 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service22, Effect.gen(function* () {
63
- const references = yield* Service40;
64
- return Service22.of({
62
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
63
+ const references = yield* Service36;
64
+ return Service21.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
71
  return make20({
72
- key: Key4.make("core/reference-guidance"),
72
+ key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node26 = makeLocationNode({ service: Service22, layer, deps: [node42] });
84
+ var node25 = makeLocationNode({ service: Service21, layer, deps: [node39] });
85
85
 
86
- export { Service22, node26, exports_instructions2 };
86
+ export { Service21, node25, exports_instructions2 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./image-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  Service78
6
- } from "./image-pyfvkh5e.js";
6
+ } from "./workspace-tnkedzgy.js";
7
7
  import {
8
- Service53
9
- } from "./image-5z7kcmm3.js";
8
+ Service52
9
+ } from "./workspace-k2wyf9h9.js";
10
10
  import {
11
- Service17
12
- } from "./image-tjj5s44w.js";
11
+ Service15
12
+ } from "./workspace-schrbh41.js";
13
13
  import {
14
14
  observe2
15
- } from "./image-qsdy395h.js";
15
+ } from "./workspace-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./image-9rqn6x4v.js";
18
+ } from "./workspace-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin34
24
+ Plugin: () => Plugin25
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin34 = define({
30
+ var Plugin25 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service53;
33
+ const config = yield* Service52;
34
34
  const location = yield* Service78;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service17;
36
+ const worktrees = yield* Service15;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin34 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin34, exports_worktree };
51
+ export { Plugin25, exports_worktree };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID15,
3
- Service76
4
- } from "./image-mqzwmgjk.js";
2
+ ID8,
3
+ Service65
4
+ } from "./workspace-wg0qqct4.js";
5
5
  import {
6
6
  Service78
7
- } from "./image-pyfvkh5e.js";
7
+ } from "./workspace-tnkedzgy.js";
8
8
  import {
9
- Service53
10
- } from "./image-5z7kcmm3.js";
9
+ Service52
10
+ } from "./workspace-k2wyf9h9.js";
11
11
  import {
12
- Service49,
12
+ Service55,
13
13
  args2
14
- } from "./image-sp7nseq3.js";
14
+ } from "./workspace-pyp5frad.js";
15
15
  import {
16
16
  Service18
17
- } from "./image-jg9t1rv4.js";
17
+ } from "./workspace-aahyy29f.js";
18
18
  import {
19
- make8
20
- } from "./image-xy39rfb7.js";
19
+ make10
20
+ } from "./workspace-6f51hy00.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./image-5daktx2q.js";
23
+ } from "./workspace-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./image-9rqn6x4v.js";
26
+ } from "./workspace-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
29
  var exports_command2 = {};
30
30
  __export(exports_command2, {
31
31
  ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin41
32
+ Plugin: () => Plugin26
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin41 = define({
44
+ var Plugin26 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service53;
47
+ const config = yield* Service52;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -56,10 +56,10 @@ var Plugin41 = define({
56
56
  });
57
57
  const location = yield* Service78;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service49;
59
+ const shell = yield* Service55;
60
60
  const sessions = yield* Service18;
61
- const agents = yield* Service76;
62
- const subagents = yield* make8;
61
+ const agents = yield* Service65;
62
+ const subagents = yield* make10;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin41 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID8.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin41, exports_command2 };
207
+ export { Plugin26, exports_command2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service77,
3
- node81,
2
+ Service66,
3
+ node68,
4
4
  canonical3
5
- } from "./image-pxwf7x3g.js";
5
+ } from "./workspace-183dvndp.js";
6
6
  import {
7
- Service33,
8
- node35
9
- } from "./image-2myva995.js";
7
+ Service41,
8
+ node43
9
+ } from "./workspace-vqfzq50h.js";
10
10
  import {
11
- Service42
12
- } from "./image-zg5a92pj.js";
11
+ Service60
12
+ } from "./workspace-az1ye58n.js";
13
13
  import {
14
14
  layer2
15
- } from "./image-93k530h5.js";
15
+ } from "./workspace-cm00fmja.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service77, Effect.gen(function* () {
20
+ return Layer.effect(Service66, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service42);
30
+ const lifecycle = Context.get(exit.value, Service60);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node35.replace(Layer.succeed(Service33, {
57
+ node43.replace(Layer.succeed(Service41, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node81.replace(Layer.succeed(Service77, map))
61
+ node68.replace(Layer.succeed(Service66, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./image-qxc8r00e.js";
3
+ } from "./workspace-aesn9jmf.js";
4
4
  import {
5
- Service81
6
- } from "./image-7b3690ew.js";
5
+ Service82
6
+ } from "./workspace-q53vqx2z.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16,
10
- Service67
11
- } from "./image-p9nxns17.js";
9
+ Event18,
10
+ Service76
11
+ } from "./workspace-tka7gdsf.js";
12
12
  import {
13
- ID8,
13
+ ID13,
14
14
  MethodID2,
15
- Service65
16
- } from "./image-yz5517fk.js";
15
+ Service75
16
+ } from "./workspace-9vb8s0ef.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./image-pjvnvgmy.js";
20
+ } from "./workspace-pjvnvgmy.js";
21
21
  import {
22
- ID7
23
- } from "./image-r105h9b1.js";
22
+ ID12
23
+ } from "./workspace-asrf6d4d.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./image-bc0yk3ga.js";
26
+ } from "./workspace-z97kzzt3.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID7.make("snowflake-cortex");
34
- var integrationID = ID8.make(providerID);
33
+ var providerID = ID12.make("snowflake-cortex");
34
+ var integrationID = ID13.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service67;
57
- const integrations = yield* Service65;
58
- const bus = yield* Service81;
56
+ const credentials = yield* Service76;
57
+ const integrations = yield* Service75;
58
+ const bus = yield* Service82;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service54
3
- } from "./image-22e5vd5e.js";
2
+ Service53
3
+ } from "./workspace-3pbxz7sh.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./image-02nrjc1r.js";
6
+ } from "./workspace-rhjbct0v.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./image-922hggd3.js";
9
+ } from "./workspace-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service46
13
- } from "./image-tw8a8mq4.js";
12
+ Service69
13
+ } from "./workspace-fds0942a.js";
14
14
  import {
15
15
  Service78
16
- } from "./image-pyfvkh5e.js";
16
+ } from "./workspace-tnkedzgy.js";
17
17
  import {
18
18
  __export
19
- } from "./image-9rqn6x4v.js";
19
+ } from "./workspace-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
@@ -32,14 +32,14 @@ import { Effect, PubSub, Semaphore, Stream } from "effect";
32
32
  var Plugin36 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service46;
35
+ const discovery = yield* Service69;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
41
  const location = yield* Service78;
42
- const watcher = yield* Service54;
42
+ const watcher = yield* Service53;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -1,56 +1,56 @@
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
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./image-2402vzrj.js";
11
+ } from "./workspace-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./image-922hggd3.js";
14
+ } from "./workspace-922hggd3.js";
15
15
  import {
16
- Service52,
17
- node54
18
- } from "./image-pd3h1bmn.js";
16
+ Service37,
17
+ node40
18
+ } from "./workspace-em664rth.js";
19
19
  import {
20
20
  create3
21
- } from "./image-rdw6cm16.js";
21
+ } from "./workspace-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./image-9rqn6x4v.js";
24
+ } from "./workspace-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event5,
29
+ Event: () => Event6,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info6,
31
+ Info: () => Info7,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service40,
35
- Source: () => Source3,
36
- node: () => node42
34
+ Service: () => Service36,
35
+ Source: () => Source4,
36
+ node: () => node39
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event5 } from "@opencode/schema/reference";
42
+ import { Event as Event6 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info6 = Reference.Info;
45
+ var Source4 = Reference.Source;
46
+ var Info7 = Reference.Info;
47
47
 
48
- class Service40 extends Context.Service()("@opencode/Reference") {
48
+ class Service36 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service40, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service81;
53
- const cache = yield* Service52;
52
+ const bus = yield* Service82;
53
+ const cache = yield* Service37;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info6.make({ ...info, path: source.path })];
63
+ return [Info7.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info6.make({
75
+ Info7.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service40.of({
107
+ return Service36.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node42 = makeLocationNode({
116
- service: Service40,
115
+ var node39 = makeLocationNode({
116
+ service: Service36,
117
117
  layer,
118
- deps: [Global.node, node85, node54]
118
+ deps: [Global.node, node86, node40]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info6, Service40, node42, exports_reference2, Event5 };
121
+ export { LocalSource2, GitSource2, Source4, Info7, Service36, node39, exports_reference2, Event6 };