@opencode/core 0.0.0-dev-19301 → 0.0.0-dev-19305

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{workspace-echv63h4.js → kv-06zq0e3e.js} +10 -10
  9. package/dist/chunks/{workspace-vg3c0nsb.js → kv-0d8k8whk.js} +12 -12
  10. package/dist/chunks/kv-0kwcw7fy.js +4 -0
  11. package/dist/chunks/{workspace-6fqz5w64.js → kv-0nddvemt.js} +25 -25
  12. package/dist/chunks/{workspace-nxpjh8w5.js → kv-0pa87wdg.js} +16 -16
  13. package/dist/chunks/{workspace-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{workspace-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{workspace-tjabks10.js → kv-0yjrx829.js} +26 -26
  16. package/dist/chunks/{workspace-e21tmfke.js → kv-0yz71n10.js} +13 -13
  17. package/dist/chunks/{workspace-9jdakqgh.js → kv-12v07r08.js} +12 -12
  18. package/dist/chunks/kv-18nhnycp.js +22 -0
  19. package/dist/chunks/{workspace-pmr4s4kc.js → kv-1a6p2twq.js} +4 -4
  20. package/dist/chunks/{workspace-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{workspace-1dfhrqqs.js → kv-1dfhrqqs.js} +2 -2
  22. package/dist/chunks/{workspace-zg6etqwm.js → kv-1g7qrdvj.js} +15 -15
  23. package/dist/chunks/{workspace-14encp35.js → kv-1pgaj36c.js} +9 -9
  24. package/dist/chunks/{workspace-k2v8w9sh.js → kv-1qtzcvag.js} +14 -14
  25. package/dist/chunks/{workspace-c09967vq.js → kv-1r2zdtkd.js} +16 -16
  26. package/dist/chunks/{workspace-g9s9j6xv.js → kv-1rwkxv71.js} +20 -20
  27. package/dist/chunks/{workspace-0gqt70p3.js → kv-1x79khn6.js} +6 -6
  28. package/dist/chunks/{workspace-rtnzfgta.js → kv-1y13kvtj.js} +65 -65
  29. package/dist/chunks/{workspace-njna6xd1.js → kv-205hyhp5.js} +25 -25
  30. package/dist/chunks/{workspace-21r38tys.js → kv-21r38tys.js} +1 -1
  31. package/dist/chunks/{workspace-481njsdn.js → kv-23279rje.js} +8 -8
  32. package/dist/chunks/{workspace-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{workspace-5v3se96a.js → kv-2fa0tcff.js} +11 -11
  34. package/dist/chunks/{workspace-xn9fr5jd.js → kv-2m7h6g0w.js} +26 -26
  35. package/dist/chunks/{workspace-r3fv6v1m.js → kv-2sswhhhj.js} +26 -26
  36. package/dist/chunks/{workspace-a0z4fccy.js → kv-2tavq0r4.js} +4 -4
  37. package/dist/chunks/{workspace-a9trz7xg.js → kv-2v31gz2r.js} +10 -10
  38. package/dist/chunks/{workspace-k9k0s8f0.js → kv-2z2smmkn.js} +16 -16
  39. package/dist/chunks/{workspace-k8g0aq43.js → kv-2zc5egdh.js} +20 -20
  40. package/dist/chunks/{workspace-56gdpj1q.js → kv-33w4ejhs.js} +6 -6
  41. package/dist/chunks/{workspace-4a1gzb1y.js → kv-385btzpz.js} +21 -21
  42. package/dist/chunks/{workspace-gdpvacec.js → kv-386yacj4.js} +4 -4
  43. package/dist/chunks/{workspace-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{workspace-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{workspace-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{workspace-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{workspace-8cc7t6mx.js → kv-3ydrj0e1.js} +7 -7
  48. package/dist/chunks/{workspace-rn192n82.js → kv-45hb7f83.js} +22 -22
  49. package/dist/chunks/{workspace-ns261efr.js → kv-47r3zz0x.js} +3 -3
  50. package/dist/chunks/{workspace-am5y2yzp.js → kv-4dekfvbj.js} +33 -33
  51. package/dist/chunks/{workspace-hggyschk.js → kv-4whayx0s.js} +1 -1
  52. package/dist/chunks/{workspace-kq1a8t9t.js → kv-4wz9d7kc.js} +20 -20
  53. package/dist/chunks/{workspace-y8pp3er9.js → kv-4zhbjfra.js} +20 -20
  54. package/dist/chunks/{workspace-rkqzecgv.js → kv-54993ev7.js} +30 -30
  55. package/dist/chunks/{workspace-5daktx2q.js → kv-5daktx2q.js} +1 -1
  56. package/dist/chunks/{workspace-f9qrme3f.js → kv-5fmfe22g.js} +21 -21
  57. package/dist/chunks/{workspace-cmssp0z9.js → kv-5h3nb936.js} +43 -43
  58. package/dist/chunks/{workspace-hn51r0q8.js → kv-5jrfr8a0.js} +6 -6
  59. package/dist/chunks/{workspace-8zz46eww.js → kv-5mgj9z2s.js} +17 -17
  60. package/dist/chunks/kv-5mv3qnn6.js +247 -0
  61. package/dist/chunks/{workspace-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{workspace-sh3bgw0e.js → kv-5zhnrkq5.js} +13 -13
  63. package/dist/chunks/{workspace-n0g6fzce.js → kv-60mz5h67.js} +13 -13
  64. package/dist/chunks/{workspace-ca6ew4kd.js → kv-631qzpxd.js} +14 -14
  65. package/dist/chunks/{workspace-t8f5a5hy.js → kv-654ce46n.js} +7 -7
  66. package/dist/chunks/{workspace-669tq793.js → kv-669tq793.js} +1 -1
  67. package/dist/chunks/{workspace-2402vzrj.js → kv-6h73sxmp.js} +5 -5
  68. package/dist/chunks/{workspace-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{workspace-fxqygnfa.js → kv-6s9eyz9r.js} +4 -4
  70. package/dist/chunks/{workspace-512qfn16.js → kv-6wswrqax.js} +27 -27
  71. package/dist/chunks/{workspace-71q4at8m.js → kv-71q4at8m.js} +1 -1
  72. package/dist/chunks/{workspace-r5x6zcsm.js → kv-73tb2d7t.js} +3 -3
  73. package/dist/chunks/{workspace-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{workspace-2k8khapm.js → kv-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{workspace-z72x676g.js → kv-7jz404f1.js} +72 -72
  76. package/dist/chunks/{workspace-p0xsckgp.js → kv-7rr4f4n7.js} +6 -6
  77. package/dist/chunks/{workspace-v9v77gq9.js → kv-7tr6s30h.js} +14 -14
  78. package/dist/chunks/{workspace-n5atw2w8.js → kv-7wdy64v3.js} +4 -4
  79. package/dist/chunks/{workspace-6n88yxkj.js → kv-818pfwc9.js} +8 -8
  80. package/dist/chunks/{workspace-wtcjs487.js → kv-83p1geyf.js} +14 -14
  81. package/dist/chunks/{workspace-1235z6h5.js → kv-8d2c4t5g.js} +9 -9
  82. package/dist/chunks/{workspace-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{workspace-mwkcp274.js → kv-8kxdp5sm.js} +25 -25
  84. package/dist/chunks/{workspace-8p4f9s12.js → kv-8p4f9s12.js} +2 -2
  85. package/dist/chunks/{workspace-62852zzh.js → kv-8ydwgjmc.js} +13 -13
  86. package/dist/chunks/{workspace-bzzbqws7.js → kv-979jzsrn.js} +3 -3
  87. package/dist/chunks/{workspace-pbrpfg1g.js → kv-992nrvv2.js} +14 -14
  88. package/dist/chunks/{workspace-bcatesge.js → kv-9ft914dh.js} +37 -37
  89. package/dist/chunks/{workspace-zbcg40zh.js → kv-9g1by0bf.js} +11 -11
  90. package/dist/chunks/{workspace-p16wwb4c.js → kv-9j856hay.js} +18 -18
  91. package/dist/chunks/{workspace-4gwv5f10.js → kv-9nnkqgar.js} +13 -13
  92. package/dist/chunks/{workspace-81swgkk7.js → kv-9pv0dm11.js} +9 -9
  93. package/dist/chunks/{workspace-a1bz86dw.js → kv-a1bz86dw.js} +3 -3
  94. package/dist/chunks/{workspace-qa3qhgw8.js → kv-a2ew8a62.js} +4 -4
  95. package/dist/chunks/{workspace-ys0mtxyj.js → kv-a91jrmzy.js} +23 -23
  96. package/dist/chunks/{workspace-aaet6srn.js → kv-aaet6srn.js} +2 -2
  97. package/dist/chunks/{workspace-gh7n1bng.js → kv-akzgzmy5.js} +13 -13
  98. package/dist/chunks/{workspace-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{workspace-r533rs18.js → kv-b7xbmwj9.js} +10 -10
  100. package/dist/chunks/{workspace-0caq5a2p.js → kv-bchv7rjf.js} +16 -16
  101. package/dist/chunks/{workspace-vh8m22te.js → kv-bp5q4kjs.js} +46 -46
  102. package/dist/chunks/{workspace-6drwn6fk.js → kv-btdv9ryv.js} +20 -20
  103. package/dist/chunks/{workspace-fqghg761.js → kv-c700j0vg.js} +23 -23
  104. package/dist/chunks/{workspace-qy5sepm7.js → kv-cbys0e10.js} +6 -6
  105. package/dist/chunks/{workspace-cfpkc3c9.js → kv-cfpkc3c9.js} +2 -2
  106. package/dist/chunks/{workspace-ep66wy90.js → kv-cm67pz5m.js} +47 -47
  107. package/dist/chunks/{workspace-1xx3n8by.js → kv-csw7rs6s.js} +8 -8
  108. package/dist/chunks/{workspace-gxjpzw3n.js → kv-cz7fd6ea.js} +9 -9
  109. package/dist/chunks/{workspace-dmjeafns.js → kv-czntfx8t.js} +6 -6
  110. package/dist/chunks/{workspace-j3mqfpt8.js → kv-d0acbv0h.js} +41 -41
  111. package/dist/chunks/{workspace-886z29pe.js → kv-d1z2e9b7.js} +8 -8
  112. package/dist/chunks/{workspace-d9sn21bc.js → kv-d9sn21bc.js} +2 -2
  113. package/dist/chunks/{workspace-8qdvcyb6.js → kv-dvvjdwja.js} +41 -41
  114. package/dist/chunks/{workspace-m8j1vn7p.js → kv-e0j10c9k.js} +15 -15
  115. package/dist/chunks/{workspace-6a1qkqw7.js → kv-e7sgzf74.js} +18 -18
  116. package/dist/chunks/{workspace-d2aac7k2.js → kv-ead3g9p8.js} +5 -5
  117. package/dist/chunks/{workspace-02nrjc1r.js → kv-eaj1djv9.js} +4 -4
  118. package/dist/chunks/{workspace-99tbqkcw.js → kv-edhs40p9.js} +8 -8
  119. package/dist/chunks/{workspace-egfwjd08.js → kv-ej5hckht.js} +48 -48
  120. package/dist/chunks/{workspace-we7qc7n1.js → kv-ekcx5as7.js} +33 -33
  121. package/dist/chunks/{workspace-63bg78v6.js → kv-erqeev50.js} +15 -15
  122. package/dist/chunks/{workspace-gxwzr3wg.js → kv-esvgtq8n.js} +13 -13
  123. package/dist/chunks/{workspace-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
  124. package/dist/chunks/{workspace-xep7y6dg.js → kv-ezn8zr4k.js} +1 -1
  125. package/dist/chunks/{workspace-rxemfqdb.js → kv-f0gm38sp.js} +15 -15
  126. package/dist/chunks/{workspace-2rc0x19k.js → kv-f3xjqa4w.js} +9 -9
  127. package/dist/chunks/{workspace-f828m53h.js → kv-f828m53h.js} +2 -2
  128. package/dist/chunks/{workspace-bzg1m3qp.js → kv-fafk78t6.js} +8 -8
  129. package/dist/chunks/{workspace-dszepm9d.js → kv-ff8r9ysp.js} +5 -5
  130. package/dist/chunks/{workspace-qdyrhweq.js → kv-ffr714k0.js} +17 -17
  131. package/dist/chunks/{workspace-7e5s0f2g.js → kv-fj3qsqhh.js} +3 -3
  132. package/dist/chunks/{workspace-s9039swt.js → kv-fs7g862w.js} +34 -34
  133. package/dist/chunks/{workspace-g22wb2pz.js → kv-fts5bq5k.js} +4 -4
  134. package/dist/chunks/{workspace-2r2a59vh.js → kv-fx2zdwtr.js} +15 -15
  135. package/dist/chunks/{workspace-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
  136. package/dist/chunks/{workspace-q80jwr34.js → kv-fyfhjpam.js} +44 -44
  137. package/dist/chunks/{workspace-k2h4r4s0.js → kv-g190xswt.js} +4 -4
  138. package/dist/chunks/{workspace-tq5h294s.js → kv-g3tb9zt0.js} +20 -20
  139. package/dist/chunks/{workspace-fb6ja2y4.js → kv-g6ew7cqr.js} +1 -1
  140. package/dist/chunks/{workspace-sczgc2a3.js → kv-g9245y80.js} +1 -1
  141. package/dist/chunks/{workspace-x0tn6qwv.js → kv-g98bfr3c.js} +26 -26
  142. package/dist/chunks/{workspace-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{workspace-62jy5cfr.js → kv-gey3b743.js} +5 -5
  144. package/dist/chunks/{workspace-g1sb636y.js → kv-gqawmzqm.js} +8 -8
  145. package/dist/chunks/{workspace-hn57h045.js → kv-gst7axd9.js} +4 -4
  146. package/dist/chunks/{workspace-6prxjdtq.js → kv-gvp0w9xb.js} +8 -8
  147. package/dist/chunks/{workspace-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
  148. package/dist/chunks/{workspace-bm3b3xby.js → kv-h11jv7vh.js} +20 -20
  149. package/dist/chunks/{workspace-29zqcttt.js → kv-h1qq3dsd.js} +21 -21
  150. package/dist/chunks/{workspace-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{workspace-d8nc1xcx.js → kv-h6z8d5tn.js} +4 -4
  152. package/dist/chunks/{workspace-wb6pntek.js → kv-hg4g3nha.js} +19 -19
  153. package/dist/chunks/{workspace-7gh5mp13.js → kv-hghep4wy.js} +4 -4
  154. package/dist/chunks/{workspace-71q4fb3j.js → kv-hm622x1n.js} +8 -8
  155. package/dist/chunks/{workspace-hs7fbk9e.js → kv-hw39y2t2.js} +9 -9
  156. package/dist/chunks/{workspace-aan3cyfv.js → kv-hx55d56e.js} +1 -1
  157. package/dist/chunks/{workspace-q5xvhvda.js → kv-hy7dp2k3.js} +6 -6
  158. package/dist/chunks/{workspace-qgdc71e1.js → kv-j235te6d.js} +3 -3
  159. package/dist/chunks/{workspace-ys6344d6.js → kv-j41a475f.js} +10 -10
  160. package/dist/chunks/{workspace-dh49hrje.js → kv-j438vazm.js} +4 -4
  161. package/dist/chunks/{workspace-j56e64zr.js → kv-j56e64zr.js} +1 -1
  162. package/dist/chunks/{workspace-3m5pm5bg.js → kv-j8vakhm6.js} +38 -38
  163. package/dist/chunks/{workspace-3tejw0k5.js → kv-jkvd5y7z.js} +9 -9
  164. package/dist/chunks/{workspace-vxpjwrg1.js → kv-jwa4fmm9.js} +40 -40
  165. package/dist/chunks/{workspace-kg06axw8.js → kv-kg06axw8.js} +1 -1
  166. package/dist/chunks/{workspace-bsdhcv6e.js → kv-kx3d0pr1.js} +33 -33
  167. package/dist/chunks/{workspace-y5j69yad.js → kv-kzd68pqg.js} +6 -6
  168. package/dist/chunks/{workspace-xekzrwwc.js → kv-m2d0j7c0.js} +5 -5
  169. package/dist/chunks/{workspace-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{workspace-snqjhxtt.js → kv-maaqrbhp.js} +11 -11
  171. package/dist/chunks/{workspace-mkcjrzeh.js → kv-mkcjrzeh.js} +1 -1
  172. package/dist/chunks/{workspace-r0vgb2sm.js → kv-mp045f7j.js} +1 -1
  173. package/dist/chunks/{workspace-4407emfp.js → kv-mrn7qyex.js} +9 -9
  174. package/dist/chunks/{workspace-gj7hzhw3.js → kv-n3fvjmy7.js} +11 -11
  175. package/dist/chunks/{workspace-hpzydpnx.js → kv-n91raeq2.js} +2 -2
  176. package/dist/chunks/{workspace-jefma2gq.js → kv-nbddwgy7.js} +10 -10
  177. package/dist/chunks/{workspace-q9jmjakx.js → kv-nce8p23g.js} +146 -146
  178. package/dist/chunks/{workspace-bv56xrks.js → kv-nhvhf6q8.js} +2 -2
  179. package/dist/chunks/{workspace-hjt4xg1x.js → kv-nhy5jxhy.js} +4 -4
  180. package/dist/chunks/{workspace-90h7kwk9.js → kv-njyck951.js} +5 -5
  181. package/dist/chunks/{workspace-wgnb6efq.js → kv-nksescck.js} +8 -8
  182. package/dist/chunks/{workspace-paegk39x.js → kv-paegk39x.js} +1 -1
  183. package/dist/chunks/{workspace-mp5h4hzc.js → kv-pagkjc3y.js} +17 -17
  184. package/dist/chunks/{workspace-cy127xek.js → kv-pepqf6ga.js} +18 -18
  185. package/dist/chunks/{workspace-t7bagm3w.js → kv-pf07gewk.js} +2 -2
  186. package/dist/chunks/kv-pf31ssb9.js +18 -0
  187. package/dist/chunks/{workspace-spt9fbav.js → kv-pjedbq3k.js} +6 -6
  188. package/dist/chunks/{workspace-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{workspace-pknna89w.js → kv-pknna89w.js} +1 -1
  190. package/dist/chunks/{workspace-9y444b6v.js → kv-pmk1pqd6.js} +4 -4
  191. package/dist/chunks/{workspace-wgdttpnq.js → kv-pq2fa145.js} +15 -15
  192. package/dist/chunks/{workspace-j6c7mg19.js → kv-pytnpz35.js} +5 -5
  193. package/dist/chunks/{workspace-nr02nn09.js → kv-q0me2p8d.js} +9 -9
  194. package/dist/chunks/{workspace-dgj0dq1g.js → kv-q26tgv94.js} +8 -8
  195. package/dist/chunks/{workspace-qr3d7yj6.js → kv-qa0xdzs2.js} +25 -25
  196. package/dist/chunks/{workspace-xgp3syj5.js → kv-qeh09qy1.js} +4 -4
  197. package/dist/chunks/{workspace-qsdy395h.js → kv-qsdy395h.js} +1 -1
  198. package/dist/chunks/{workspace-h2nqgc31.js → kv-qta1thjb.js} +14 -14
  199. package/dist/chunks/{workspace-92t0khks.js → kv-qy03xt3s.js} +41 -41
  200. package/dist/chunks/{workspace-2jmaghvr.js → kv-qz49fwgp.js} +6 -6
  201. package/dist/chunks/{workspace-kg892g7f.js → kv-rentfk4q.js} +23 -23
  202. package/dist/chunks/{workspace-92azg307.js → kv-rmk2c50f.js} +5 -5
  203. package/dist/chunks/{workspace-8734049b.js → kv-rs0jkqyn.js} +15 -15
  204. package/dist/chunks/{workspace-hhvjvf8g.js → kv-rwtq93ad.js} +2 -2
  205. package/dist/chunks/{workspace-0zxft7wv.js → kv-s30wkzvp.js} +10 -10
  206. package/dist/chunks/{workspace-fyjrpq2n.js → kv-s3r3b7q0.js} +11 -11
  207. package/dist/chunks/{workspace-39atg463.js → kv-s5k7vegs.js} +25 -25
  208. package/dist/chunks/{workspace-wjycmk11.js → kv-s6awdsy0.js} +7 -7
  209. package/dist/chunks/{workspace-22ncyhda.js → kv-sgdmzdqa.js} +20 -20
  210. package/dist/chunks/{workspace-thrcthqp.js → kv-strj3zkw.js} +9 -9
  211. package/dist/chunks/{workspace-3xztec2w.js → kv-swe4yj3v.js} +11 -11
  212. package/dist/chunks/{workspace-rvrc2w8n.js → kv-sz3a1ten.js} +24 -24
  213. package/dist/chunks/{workspace-twy35tz0.js → kv-t0x5rdq8.js} +9 -9
  214. package/dist/chunks/{workspace-np51q5jj.js → kv-t6yvnw0e.js} +32 -32
  215. package/dist/chunks/{workspace-9e47yq11.js → kv-t8bhz2vr.js} +8 -8
  216. package/dist/chunks/{workspace-39yd8fs4.js → kv-t9ke5tbg.js} +46 -46
  217. package/dist/chunks/{workspace-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  218. package/dist/chunks/{workspace-89znhe33.js → kv-tcezcvh9.js} +4 -4
  219. package/dist/chunks/{workspace-xgy598e9.js → kv-tdsjmbek.js} +37 -37
  220. package/dist/chunks/{workspace-tdstcens.js → kv-tdstcens.js} +1 -1
  221. package/dist/chunks/{workspace-xaz800th.js → kv-temcajp8.js} +23 -23
  222. package/dist/chunks/{workspace-vmjwh0y2.js → kv-tgcgw25p.js} +27 -27
  223. package/dist/chunks/{workspace-gv6a8nnw.js → kv-th5km1p3.js} +5 -5
  224. package/dist/chunks/{workspace-1q7njqr8.js → kv-tmxsk5ay.js} +11 -11
  225. package/dist/chunks/{workspace-tn0aqsam.js → kv-tn0aqsam.js} +2 -2
  226. package/dist/chunks/{workspace-h26gkp4s.js → kv-tph2fk4h.js} +6 -6
  227. package/dist/chunks/{workspace-tvtrv512.js → kv-tvtrv512.js} +1 -1
  228. package/dist/chunks/{workspace-qavvsbzn.js → kv-ve1enffa.js} +22 -22
  229. package/dist/chunks/{workspace-veqvce7d.js → kv-veqvce7d.js} +1 -1
  230. package/dist/chunks/{workspace-09vseg8s.js → kv-vk1ne14n.js} +24 -24
  231. package/dist/chunks/{workspace-hnr5yq9h.js → kv-vmq7ehpy.js} +5 -5
  232. package/dist/chunks/{workspace-jzh89m9h.js → kv-vn5xh55y.js} +20 -20
  233. package/dist/chunks/{workspace-ypfgjb30.js → kv-vrx6ppv4.js} +22 -22
  234. package/dist/chunks/{workspace-wpm2rk0p.js → kv-vt44rdpy.js} +8 -8
  235. package/dist/chunks/{workspace-zgshgwpw.js → kv-vx7ccse2.js} +16 -16
  236. package/dist/chunks/{workspace-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
  237. package/dist/chunks/{workspace-wdby5any.js → kv-vze96k0n.js} +4 -4
  238. package/dist/chunks/{workspace-w12rp218.js → kv-w12rp218.js} +3 -3
  239. package/dist/chunks/{workspace-mhte6216.js → kv-w2bv7fed.js} +20 -20
  240. package/dist/chunks/{workspace-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  241. package/dist/chunks/{workspace-w79zsp0s.js → kv-w79zsp0s.js} +1 -1
  242. package/dist/chunks/{workspace-b2wfqz6v.js → kv-wb7ykpge.js} +30 -30
  243. package/dist/chunks/{workspace-wd87259q.js → kv-wd87259q.js} +1 -1
  244. package/dist/chunks/{workspace-qa4rp7fn.js → kv-wk5z6jzv.js} +9 -9
  245. package/dist/chunks/{workspace-y3wj6ntt.js → kv-wrvngkj1.js} +11 -11
  246. package/dist/chunks/{workspace-dcbt4rr2.js → kv-wvssgkrf.js} +22 -22
  247. package/dist/chunks/{workspace-c0zax72k.js → kv-wzcjkfks.js} +32 -32
  248. package/dist/chunks/{workspace-jzcb5zg9.js → kv-wzq4pq7r.js} +9 -9
  249. package/dist/chunks/{workspace-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
  250. package/dist/chunks/{workspace-ze0f0baa.js → kv-x2xe7v1f.js} +28 -28
  251. package/dist/chunks/{workspace-x43y2vfs.js → kv-x43y2vfs.js} +2 -2
  252. package/dist/chunks/{workspace-fjbrq6mf.js → kv-x62ywaz6.js} +8 -8
  253. package/dist/chunks/{workspace-p37kmksf.js → kv-x636v8jx.js} +34 -34
  254. package/dist/chunks/{workspace-an5gm3yx.js → kv-x82mgsnk.js} +1 -1
  255. package/dist/chunks/{workspace-g8475x4p.js → kv-xebmnhc4.js} +8 -8
  256. package/dist/chunks/{workspace-t0grjbht.js → kv-xeyrsf3e.js} +16 -16
  257. package/dist/chunks/{workspace-285sk89s.js → kv-xgr9hw2t.js} +6 -6
  258. package/dist/chunks/{workspace-0n965jn0.js → kv-xjmjzbm2.js} +26 -26
  259. package/dist/chunks/{workspace-q5zg4735.js → kv-xp20cf23.js} +7 -7
  260. package/dist/chunks/{workspace-e6451bx7.js → kv-xrw35cq0.js} +19 -19
  261. package/dist/chunks/{workspace-rzr2835t.js → kv-xxwv7ftt.js} +9 -9
  262. package/dist/chunks/{workspace-4tyka3qy.js → kv-y1ebma8p.js} +11 -11
  263. package/dist/chunks/{workspace-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{workspace-e2crwazr.js → kv-y30c2c2s.js} +17 -17
  265. package/dist/chunks/{workspace-a78x0tqp.js → kv-y45g446j.js} +17 -17
  266. package/dist/chunks/{workspace-y71avatq.js → kv-y71avatq.js} +1 -1
  267. package/dist/chunks/{workspace-05dnp20b.js → kv-ygcyspqj.js} +30 -30
  268. package/dist/chunks/{workspace-1acjjqhc.js → kv-yp2x3t23.js} +4 -4
  269. package/dist/chunks/{workspace-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{workspace-yrznvahk.js → kv-yrznvahk.js} +2 -2
  271. package/dist/chunks/{workspace-j2vje5f9.js → kv-ys4qthf1.js} +38 -38
  272. package/dist/chunks/{workspace-63c29q5z.js → kv-yt2qvb82.js} +6 -6
  273. package/dist/chunks/{workspace-2mfnacv9.js → kv-yyqejxk6.js} +9 -9
  274. package/dist/chunks/{workspace-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{workspace-wsg88bk6.js → kv-z0jk54k5.js} +86 -86
  276. package/dist/chunks/{workspace-tx10d39y.js → kv-z1xgx1q6.js} +22 -22
  277. package/dist/chunks/{workspace-vt4mzp30.js → kv-z3t3b1t8.js} +18 -18
  278. package/dist/chunks/{workspace-z63w68vq.js → kv-z63w68vq.js} +2 -2
  279. package/dist/chunks/{workspace-f99k44yv.js → kv-z7k2beek.js} +3 -3
  280. package/dist/chunks/{workspace-tdn6ycjd.js → kv-z99gdnr1.js} +297 -297
  281. package/dist/chunks/{workspace-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{workspace-7xdajtbq.js → kv-zg1cw4cj.js} +7 -7
  283. package/dist/chunks/{workspace-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{workspace-g43tytty.js → kv-zvd5jbwb.js} +15 -15
  285. package/dist/chunks/{workspace-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{workspace-bjk09qw6.js → kv-zyj2twks.js} +20 -20
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +77 -77
  291. package/dist/config/discovery.js +79 -79
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +117 -117
  295. package/dist/config/plugin/command.js +209 -209
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +115 -115
  300. package/dist/config/plugin/instruction.js +85 -85
  301. package/dist/config/plugin/location-watcher.js +117 -117
  302. package/dist/config/plugin/mcp.js +126 -126
  303. package/dist/config/plugin/policy.js +114 -114
  304. package/dist/config/plugin/provider.js +113 -113
  305. package/dist/config/plugin/reference.js +117 -117
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +97 -97
  308. package/dist/config/plugin/skill.js +136 -136
  309. package/dist/config/plugin/snapshot.js +115 -115
  310. package/dist/config/plugin/source.js +115 -115
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +115 -115
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +79 -79
  319. package/dist/database/database.js +64 -64
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration.gen.js +47 -47
  383. package/dist/database/migration.js +49 -49
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +74 -74
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +361 -361
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +88 -88
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +90 -90
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +68 -68
  407. package/dist/file-access.js +99 -99
  408. package/dist/file-mutation.js +85 -85
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +222 -222
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +99 -99
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +11 -11
  422. package/dist/filesystem.js +102 -102
  423. package/dist/form.js +80 -80
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +82 -82
  426. package/dist/generate.js +91 -91
  427. package/dist/git.js +7 -7
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +7 -7
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +352 -352
  452. package/dist/instruction-discovery.js +83 -83
  453. package/dist/instructions/builtins.js +82 -82
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +82 -82
  457. package/dist/job.js +77 -77
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +71 -71
  460. package/dist/location-activity.js +130 -130
  461. package/dist/location-mutation.js +99 -99
  462. package/dist/location-service-map.js +83 -83
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +82 -82
  465. package/dist/mcp/client.js +86 -86
  466. package/dist/mcp/index.js +99 -99
  467. package/dist/mcp/instructions.js +122 -122
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +85 -85
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +7 -7
  472. package/dist/model-resolver.js +86 -86
  473. package/dist/model.js +6 -6
  474. package/dist/models-dev.js +80 -80
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +102 -102
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +78 -78
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +73 -73
  484. package/dist/plugin/agent.js +99 -99
  485. package/dist/plugin/command.js +96 -96
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +213 -213
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +75 -75
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +97 -97
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/anthropic.js +2 -2
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +114 -114
  505. package/dist/plugin/provider/digitalocean.js +79 -79
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +80 -80
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/mistral.js +2 -2
  516. package/dist/plugin/provider/modal.js +79 -79
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +78 -78
  521. package/dist/plugin/provider/opencode.js +76 -76
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +77 -77
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +74 -74
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +133 -133
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +82 -82
  541. package/dist/plugin/vcs/hg.js +82 -82
  542. package/dist/plugin/warming.js +112 -112
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +224 -224
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +83 -83
  553. package/dist/provider.js +5 -5
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +94 -94
  558. package/dist/reference/instructions.js +80 -80
  559. package/dist/reference.js +84 -84
  560. package/dist/repository-cache.js +76 -76
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +93 -93
  564. package/dist/rpc.js +81 -81
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +72 -72
  567. package/dist/session/compaction.js +127 -127
  568. package/dist/session/context.js +147 -147
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +3 -3
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +216 -216
  573. package/dist/session/execution.js +124 -124
  574. package/dist/session/generate.js +148 -148
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +82 -82
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +77 -77
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +92 -92
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +111 -111
  584. package/dist/session/model-transport.js +7 -7
  585. package/dist/session/move.js +126 -126
  586. package/dist/session/projector.js +84 -84
  587. package/dist/session/prompt.js +100 -100
  588. package/dist/session/provider-context.js +1 -1
  589. package/dist/session/revert.js +85 -85
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +225 -225
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +86 -86
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +110 -110
  597. package/dist/session/runner/step.js +121 -121
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +1 -1
  600. package/dist/session/session.js +167 -167
  601. package/dist/session/shell.js +131 -131
  602. package/dist/session/skill.js +98 -98
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +71 -71
  605. package/dist/session/store.js +83 -83
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +205 -205
  608. package/dist/session/system-prompt.js +3 -3
  609. package/dist/session/title.js +151 -151
  610. package/dist/session/to-session-error.js +107 -107
  611. package/dist/session/transfer.js +210 -210
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +205 -205
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +9 -9
  618. package/dist/shell.js +133 -133
  619. package/dist/skill/discovery.js +4 -4
  620. package/dist/skill/instructions.js +102 -102
  621. package/dist/skill.js +105 -105
  622. package/dist/snapshot.js +88 -88
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +119 -119
  627. package/dist/tool/plugin/edit.js +115 -115
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +112 -112
  630. package/dist/tool/plugin/grep.js +120 -120
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +117 -117
  633. package/dist/tool/plugin/question.js +96 -96
  634. package/dist/tool/plugin/read.js +121 -121
  635. package/dist/tool/plugin/shell.js +212 -212
  636. package/dist/tool/plugin/skill.js +106 -106
  637. package/dist/tool/plugin/subagent.js +214 -214
  638. package/dist/tool/plugin/webfetch.js +105 -105
  639. package/dist/tool/plugin/websearch.js +107 -107
  640. package/dist/tool/plugin/write.js +117 -117
  641. package/dist/tool/read-filesystem.js +96 -96
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +15 -15
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +2 -2
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +5 -5
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +5 -5
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +85 -85
  672. package/dist/websearch.js +80 -80
  673. package/dist/wellknown/plugin.js +74 -74
  674. package/dist/wellknown.js +75 -75
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +78 -78
  678. package/dist/worktree/directory.js +4 -4
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +91 -91
  683. package/package.json +8 -8
  684. package/dist/chunks/workspace-0mesazry.js +0 -4
  685. package/dist/chunks/workspace-6pjhpf77.js +0 -247
  686. package/dist/chunks/workspace-gap4xn4b.js +0 -22
  687. package/dist/chunks/workspace-rap9a73h.js +0 -18
  688. /package/dist/chunks/{workspace-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{workspace-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{workspace-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{workspace-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{workspace-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{workspace-2710q6r3.js → kv-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{workspace-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{workspace-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{workspace-359p4xyc.js → kv-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{workspace-3asan66x.js → kv-3asan66x.js} +0 -0
  698. /package/dist/chunks/{workspace-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{workspace-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{workspace-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{workspace-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{workspace-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{workspace-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{workspace-53557ph1.js → kv-53557ph1.js} +0 -0
  705. /package/dist/chunks/{workspace-550bvhaj.js → kv-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{workspace-6prwharc.js → kv-6prwharc.js} +0 -0
  707. /package/dist/chunks/{workspace-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{workspace-7m9af43g.js → kv-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{workspace-822emrt2.js → kv-822emrt2.js} +0 -0
  710. /package/dist/chunks/{workspace-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{workspace-8n3pysct.js → kv-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{workspace-922hggd3.js → kv-922hggd3.js} +0 -0
  713. /package/dist/chunks/{workspace-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{workspace-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{workspace-a1tpkmh4.js → kv-a1tpkmh4.js} +0 -0
  716. /package/dist/chunks/{workspace-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{workspace-af5trqkr.js → kv-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{workspace-afrmfg78.js → kv-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{workspace-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{workspace-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{workspace-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{workspace-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{workspace-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{workspace-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{workspace-d9fn303g.js → kv-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{workspace-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{workspace-dajrwvna.js → kv-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{workspace-dap0rakb.js → kv-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{workspace-df08tz66.js → kv-df08tz66.js} +0 -0
  730. /package/dist/chunks/{workspace-dy18nga0.js → kv-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{workspace-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{workspace-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{workspace-ec1grn59.js → kv-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{workspace-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{workspace-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{workspace-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{workspace-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{workspace-faypxj3z.js → kv-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{workspace-fd410y7t.js → kv-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{workspace-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{workspace-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{workspace-g86h250q.js → kv-g86h250q.js} +0 -0
  743. /package/dist/chunks/{workspace-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{workspace-gftt206x.js → kv-gftt206x.js} +0 -0
  745. /package/dist/chunks/{workspace-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{workspace-hk9envan.js → kv-hk9envan.js} +0 -0
  747. /package/dist/chunks/{workspace-hrnqkpcd.js → kv-hrnqkpcd.js} +0 -0
  748. /package/dist/chunks/{workspace-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{workspace-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{workspace-j7wq2tw5.js → kv-j7wq2tw5.js} +0 -0
  751. /package/dist/chunks/{workspace-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{workspace-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{workspace-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{workspace-mp448xyj.js → kv-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{workspace-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{workspace-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{workspace-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{workspace-njntx4h6.js → kv-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{workspace-paphc93g.js → kv-paphc93g.js} +0 -0
  760. /package/dist/chunks/{workspace-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{workspace-q74kybfr.js → kv-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{workspace-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{workspace-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{workspace-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{workspace-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{workspace-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{workspace-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{workspace-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{workspace-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{workspace-twg0f83k.js → kv-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{workspace-w803qqfp.js → kv-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{workspace-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{workspace-wtztk69x.js → kv-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{workspace-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{workspace-x61499pn.js → kv-x61499pn.js} +0 -0
  776. /package/dist/chunks/{workspace-y44na4kk.js → kv-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{workspace-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{workspace-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{workspace-ym463w8f.js → kv-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{workspace-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./workspace-qfa1cgps.js";
3
+ } from "./kv-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service48
3
- } from "./workspace-29zqcttt.js";
2
+ Service46
3
+ } from "./kv-h1qq3dsd.js";
4
4
  import {
5
- Service65
6
- } from "./workspace-q80jwr34.js";
5
+ Service71
6
+ } from "./kv-fyfhjpam.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin45 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service48;
57
- const permission = yield* Service65;
56
+ const forms = yield* Service46;
57
+ const permission = yield* Service71;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name13,
60
60
  options: { codemode: false },
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./workspace-g22wb2pz.js";
4
+ } from "./kv-fts5bq5k.js";
5
5
  import {
6
6
  Key3,
7
- Service61,
8
- node65
9
- } from "./workspace-bm3b3xby.js";
7
+ Service62,
8
+ node67
9
+ } from "./kv-h11jv7vh.js";
10
10
  import {
11
11
  create3
12
- } from "./workspace-kg06axw8.js";
12
+ } from "./kv-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./workspace-29zqcttt.js";
16
+ } from "./kv-h1qq3dsd.js";
17
17
  import {
18
18
  __export
19
- } from "./workspace-9rqn6x4v.js";
19
+ } from "./kv-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event8,
33
+ Event: () => Event6,
34
34
  ID: () => ID4,
35
- Info: () => Info8,
35
+ Info: () => Info6,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
41
  Ref: () => Ref2,
42
- Service: () => Service46,
43
- node: () => node50
42
+ Service: () => Service43,
43
+ node: () => node47
44
44
  });
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import {
@@ -61,7 +61,7 @@ import {
61
61
  import { Integration } from "@opencode/schema/integration";
62
62
  import { AppProcess } from "@opencode/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event8 } from "@opencode/schema/integration";
64
+ import { Event as Event6 } from "@opencode/schema/integration";
65
65
  var ID4 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info8 = Integration.Info;
73
+ var Info6 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
87
87
  }
88
88
  var Ref2 = Integration.Ref;
89
89
 
90
- class Service46 extends Context.Service()("@opencode/Integration") {
90
+ class Service43 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service46, Effect.gen(function* () {
96
- const credentials = yield* Service61;
95
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
96
+ const credentials = yield* Service62;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info8.make({
190
+ const project = (entry, connections) => Info6.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service46.of({
420
+ return Service43.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node50 = makeLocationNode({
569
- service: Service46,
568
+ var node47 = makeLocationNode({
569
+ service: Service43,
570
570
  layer,
571
- deps: [node65, node84, AppProcess.node]
571
+ deps: [node67, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID4, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info8, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service46, node50, exports_integration, Event8 };
574
+ export { ID4, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info6, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service43, node47, exports_integration, Event6 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID10,
2
+ ID11,
3
3
  packageName2
4
- } from "./workspace-63c29q5z.js";
4
+ } from "./kv-yt2qvb82.js";
5
5
 
6
6
  // src/plugin/provider/amazon-bedrock.ts
7
7
  import { Effect } from "effect";
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* ctx.integration.transform((editor) => {
24
24
  editor.method.update({
25
- integrationID: ID10.amazonBedrock,
25
+ integrationID: ID11.amazonBedrock,
26
26
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
27
27
  });
28
28
  });
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./workspace-g22wb2pz.js";
4
+ } from "./kv-fts5bq5k.js";
5
5
  import {
6
- Service78,
7
- node83
8
- } from "./workspace-jefma2gq.js";
6
+ Service77,
7
+ node82
8
+ } from "./kv-nbddwgy7.js";
9
9
  import {
10
- Service76,
11
- node81
12
- } from "./workspace-c09967vq.js";
10
+ Service74,
11
+ node79
12
+ } from "./kv-1r2zdtkd.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./workspace-rap9a73h.js";
15
+ } from "./kv-pf31ssb9.js";
16
16
  import {
17
- Service60,
18
- node64
19
- } from "./workspace-cy127xek.js";
17
+ Service61,
18
+ node66
19
+ } from "./kv-pepqf6ga.js";
20
20
  import {
21
- node21
22
- } from "./workspace-bjk09qw6.js";
21
+ node18
22
+ } from "./kv-zyj2twks.js";
23
23
  import {
24
- Service8,
25
- node11
26
- } from "./workspace-twy35tz0.js";
24
+ Service12,
25
+ node15
26
+ } from "./kv-t0x5rdq8.js";
27
27
  import {
28
28
  __export
29
- } from "./workspace-9rqn6x4v.js";
29
+ } from "./kv-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher = {};
33
- __export(exports_location_watcher, {
34
- LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service3,
36
- node: () => node5
32
+ var exports_location_watcher2 = {};
33
+ __export(exports_location_watcher2, {
34
+ LocationWatcher: () => exports_location_watcher2,
35
+ Service: () => Service11,
36
+ node: () => node14
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service3 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service11 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service3, Effect.gen(function* () {
46
- const location = yield* Service76;
47
- const watcher = yield* Service60;
45
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
46
+ const location = yield* Service74;
47
+ const watcher = yield* Service61;
48
48
  const bus = yield* Service79;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
51
- const policy = yield* Service8;
50
+ const git = yield* Service77;
51
+ const policy = yield* Service12;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service3.of({});
103
+ return Service11.of({});
104
104
  }));
105
- var node5 = makeLocationNode({
106
- service: Service3,
105
+ var node14 = makeLocationNode({
106
+ service: Service11,
107
107
  layer,
108
- deps: [node64, FSUtil.node, node81, node83, node84, node21, node11]
108
+ deps: [node66, FSUtil.node, node79, node82, node84, node18, node15]
109
109
  });
110
110
 
111
- export { Service3, node5, exports_location_watcher };
111
+ export { Service11, node14, exports_location_watcher2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./workspace-63c29q5z.js";
4
+ } from "./kv-yt2qvb82.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./workspace-5t3nmthw.js";
3
+ } from "./kv-5t3nmthw.js";
4
4
  import {
5
- Service44,
6
- node48
7
- } from "./workspace-np51q5jj.js";
5
+ Service41,
6
+ node45
7
+ } from "./kv-t6yvnw0e.js";
8
8
  import {
9
9
  __export
10
- } from "./workspace-9rqn6x4v.js";
10
+ } from "./kv-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate2 = {};
14
- __export(exports_generate2, {
15
- Generate: () => exports_generate2,
13
+ var exports_generate = {};
14
+ __export(exports_generate, {
15
+ Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service36,
17
+ Service: () => Service16,
18
18
  UnavailableError: () => UnavailableError3,
19
- layer: () => layer17,
20
- node: () => node41
19
+ layer: () => layer10,
20
+ node: () => node20
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
33
33
  }) {
34
34
  }
35
35
 
36
- class Service36 extends Context.Service()("@opencode/Generate") {
36
+ class Service16 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer17 = Layer.effect(Service36, Effect.gen(function* () {
38
+ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service44;
40
+ const resolver = yield* Service41;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -61,12 +61,12 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
61
61
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
62
62
  message: "Generation credentials are unavailable"
63
63
  })));
64
- return Service36.of({ text });
64
+ return Service16.of({ text });
65
65
  }));
66
- var node41 = makeLocationNode({
67
- service: Service36,
68
- layer: layer17,
69
- deps: [node48, llmClient2]
66
+ var node20 = makeLocationNode({
67
+ service: Service16,
68
+ layer: layer10,
69
+ deps: [node45, llmClient2]
70
70
  });
71
71
 
72
- export { ModelSelectionError2, UnavailableError3, Service36, layer17, node41, exports_generate2 };
72
+ export { ModelSelectionError2, UnavailableError3, Service16, layer10, node20, exports_generate };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service79
3
- } from "./workspace-g22wb2pz.js";
3
+ } from "./kv-fts5bq5k.js";
4
4
  import {
5
- Service50
6
- } from "./workspace-bsdhcv6e.js";
5
+ Service35
6
+ } from "./kv-kx3d0pr1.js";
7
7
  import {
8
- Error2
9
- } from "./workspace-njna6xd1.js";
8
+ Error5
9
+ } from "./kv-205hyhp5.js";
10
10
  import {
11
- Service55
12
- } from "./workspace-9jdakqgh.js";
11
+ Service34
12
+ } from "./kv-12v07r08.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./workspace-w12rp218.js";
15
+ } from "./kv-w12rp218.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./workspace-ec1grn59.js";
18
+ } from "./kv-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./workspace-xgp3syj5.js";
21
+ } from "./kv-qeh09qy1.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./workspace-tdstcens.js";
24
+ } from "./kv-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./workspace-h03wrkyp.js";
27
+ } from "./kv-h03wrkyp.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./workspace-dmjeafns.js";
30
+ } from "./kv-czntfx8t.js";
31
31
  import {
32
32
  __export
33
- } from "./workspace-9rqn6x4v.js";
33
+ } from "./kv-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make3
40
+ make: () => make7
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make3 = Effect.gen(function* () {
54
+ var make7 = Effect.gen(function* () {
55
55
  const bus = yield* Service79;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service50;
58
- const toolOutput = yield* Service55;
57
+ const snapshots = yield* Service35;
58
+ const toolOutput = yield* Service34;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
70
70
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
71
71
  const executeTool = (call) => {
72
72
  if (input.prepared.request.toolChoice?.type === "none")
73
- return new Error2({ message: "Tools are disabled after the maximum agent steps" });
73
+ return new Error5({ message: "Tools are disabled after the maximum agent steps" });
74
74
  return input.prepared.executeTool({
75
75
  sessionID: input.sessionID,
76
76
  agent: input.agent,
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
205
205
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
206
206
  };
207
207
 
208
- export { Outcome2, make3, exports_step };
208
+ export { Outcome2, make7, exports_step };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service74
3
- } from "./workspace-09vseg8s.js";
2
+ Service52
3
+ } from "./kv-vk1ne14n.js";
4
4
  import {
5
5
  Service13,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./workspace-7xdajtbq.js";
8
+ } from "./kv-zg1cw4cj.js";
9
9
  import {
10
- Service17
11
- } from "./workspace-wgdttpnq.js";
10
+ Service57
11
+ } from "./kv-pq2fa145.js";
12
12
  import {
13
- Service65
14
- } from "./workspace-q80jwr34.js";
13
+ Service71
14
+ } from "./kv-fyfhjpam.js";
15
15
  import {
16
- Service14
17
- } from "./workspace-6a1qkqw7.js";
16
+ Service70
17
+ } from "./kv-e7sgzf74.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./workspace-6prwharc.js";
20
+ } from "./kv-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./workspace-9rqn6x4v.js";
23
+ } from "./kv-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input10,
29
- Output: () => Output7,
30
- Plugin: () => Plugin28,
28
+ Input: () => Input9,
29
+ Output: () => Output6,
30
+ Plugin: () => Plugin10,
31
31
  WriteTool: () => exports_write,
32
- name: () => name10,
33
- toModelContent: () => toModelContent5
32
+ name: () => name9,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name10 = "write";
39
- var Input10 = Schema.Struct({
38
+ var name9 = "write";
39
+ var Input9 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output7 = Schema.Struct({
45
+ var Output6 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin28 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin10 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service14;
55
+ const access = yield* Service70;
56
56
  const fileMutation = yield* Service13;
57
- const environment = yield* Service74;
58
- const formatter = yield* Service17;
59
- const permission = yield* Service65;
57
+ const environment = yield* Service52;
58
+ const formatter = yield* Service57;
59
+ const permission = yield* Service71;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name10,
61
+ name: name9,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input10,
69
- output: Output7,
68
+ input: Input9,
69
+ output: Output6,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name10, Input10, Output7, toModelContent5, Plugin28, exports_write };
101
+ export { name9, Input9, Output6, toModelContent4, Plugin10, exports_write };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -2,31 +2,31 @@ import {
2
2
  Key4,
3
3
  removed2,
4
4
  empty3,
5
- make20,
5
+ make21,
6
6
  diffByKey2
7
- } from "./workspace-02nrjc1r.js";
7
+ } from "./kv-eaj1djv9.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./workspace-q80jwr34.js";
10
+ } from "./kv-fyfhjpam.js";
11
11
  import {
12
- Service32,
13
- node37
14
- } from "./workspace-j3mqfpt8.js";
12
+ Service30,
13
+ node34
14
+ } from "./kv-d0acbv0h.js";
15
15
  import {
16
16
  namespace2,
17
17
  name14
18
- } from "./workspace-mwkcp274.js";
18
+ } from "./kv-8kxdp5sm.js";
19
19
  import {
20
20
  __export
21
- } from "./workspace-9rqn6x4v.js";
21
+ } from "./kv-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions3 = {};
25
- __export(exports_instructions3, {
26
- McpInstructions: () => exports_instructions3,
27
- Service: () => Service25,
28
- layer: () => layer10,
29
- node: () => node30
24
+ var exports_instructions5 = {};
25
+ __export(exports_instructions5, {
26
+ McpInstructions: () => exports_instructions5,
27
+ Service: () => Service28,
28
+ layer: () => layer13,
29
+ node: () => node32
30
30
  });
31
31
  import { makeLocationNode } from "@opencode/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,16 +62,16 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service25 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service28 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer10 = Layer.effect(Service25, Effect.gen(function* () {
68
- const mcp = yield* Service32;
69
- return Service25.of({
67
+ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
68
+ const mcp = yield* Service30;
69
+ return Service28.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
- const source = (value) => make20({
74
+ const source = (value) => make21({
75
75
  key: Key4.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service25, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node30 = makeLocationNode({ service: Service25, layer: layer10, deps: [node37] });
103
+ var node32 = makeLocationNode({ service: Service28, layer: layer13, deps: [node34] });
104
104
 
105
- export { Service25, layer10, node30, exports_instructions3 };
105
+ export { Service28, layer13, node32, exports_instructions5 };