@opencode/core 0.0.0-dev-19403 → 0.0.0-dev-19405

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/catalog.js +81 -81
  8. package/dist/chunks/{credential-j4xqs8he.js → reference-069ez2pk.js} +26 -26
  9. package/dist/chunks/{credential-rzdj8rzc.js → reference-0akhmw49.js} +5 -5
  10. package/dist/chunks/{credential-7z2w4zk1.js → reference-0dwg38z7.js} +23 -23
  11. package/dist/chunks/reference-0mesazry.js +4 -0
  12. package/dist/chunks/{credential-0n9gyfew.js → reference-0n9gyfew.js} +2 -2
  13. package/dist/chunks/{credential-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{credential-7vxx8kmp.js → reference-0pr2t355.js} +15 -15
  15. package/dist/chunks/{credential-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{credential-vqr9hz61.js → reference-13j5h6zk.js} +9 -9
  17. package/dist/chunks/{credential-65zdpymn.js → reference-189pdvy9.js} +8 -8
  18. package/dist/chunks/{credential-p280jz24.js → reference-1bmfk1j7.js} +9 -9
  19. package/dist/chunks/{credential-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{credential-8zgef3ym.js → reference-1efffvwy.js} +22 -22
  21. package/dist/chunks/{credential-1eyaby9q.js → reference-1eyaby9q.js} +2 -2
  22. package/dist/chunks/{credential-fqsjcqv2.js → reference-1f0ahqzp.js} +16 -16
  23. package/dist/chunks/{credential-a9v1gn98.js → reference-1jjc8ex5.js} +6 -6
  24. package/dist/chunks/{credential-1wxb385z.js → reference-1wxb385z.js} +1 -1
  25. package/dist/chunks/{credential-8azqhvhf.js → reference-21bd5msc.js} +4 -4
  26. package/dist/chunks/{credential-21r38tys.js → reference-21r38tys.js} +1 -1
  27. package/dist/chunks/{credential-7fhpj3jn.js → reference-234ap6ss.js} +18 -18
  28. package/dist/chunks/{credential-2402vzrj.js → reference-2402vzrj.js} +1 -1
  29. package/dist/chunks/{credential-f1f1qrpc.js → reference-29sw5btw.js} +43 -43
  30. package/dist/chunks/{credential-z63w68vq.js → reference-29x78va6.js} +6 -6
  31. package/dist/chunks/{credential-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{credential-3cfzdc8e.js → reference-2f0bjgcj.js} +5 -5
  33. package/dist/chunks/{credential-m1he9yt5.js → reference-2k5ec76m.js} +42 -42
  34. package/dist/chunks/{credential-2k8khapm.js → reference-2k8khapm.js} +1 -1
  35. package/dist/chunks/{credential-9w2d6m2a.js → reference-2x1tygz9.js} +6 -6
  36. package/dist/chunks/{credential-78mn15xw.js → reference-37b2kds0.js} +44 -44
  37. package/dist/chunks/{credential-b9h4ye0g.js → reference-38j1eg2k.js} +9 -9
  38. package/dist/chunks/{credential-hq8zt1th.js → reference-3c1tgrea.js} +6 -6
  39. package/dist/chunks/{credential-hvmrywg9.js → reference-3eqkaq2z.js} +21 -21
  40. package/dist/chunks/{credential-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{credential-4sb7ezm0.js → reference-3g767a7k.js} +17 -17
  42. package/dist/chunks/{credential-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{credential-sh38pj43.js → reference-3j6hn5pg.js} +27 -27
  44. package/dist/chunks/{credential-j83byb14.js → reference-3j8sdtpz.js} +4 -4
  45. package/dist/chunks/{credential-wx9wy1qm.js → reference-3jp54z3r.js} +1 -1
  46. package/dist/chunks/{credential-xrfqdtsr.js → reference-3kmcaztr.js} +11 -11
  47. package/dist/chunks/{credential-6g8mxxbf.js → reference-3qcr26pr.js} +2 -2
  48. package/dist/chunks/{credential-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{credential-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{credential-4nm23889.js → reference-48ghgnyj.js} +9 -9
  51. package/dist/chunks/{credential-y3xzny5y.js → reference-4bap03mh.js} +38 -38
  52. package/dist/chunks/{credential-ej01abyf.js → reference-4fse7aks.js} +19 -19
  53. package/dist/chunks/{credential-359mrmbb.js → reference-4grg7b1w.js} +4 -4
  54. package/dist/chunks/{credential-exfykm2r.js → reference-4j04egcw.js} +62 -62
  55. package/dist/chunks/{credential-4mkcvr19.js → reference-4mkcvr19.js} +1 -1
  56. package/dist/chunks/{credential-dy8qh9xy.js → reference-4nvekdmf.js} +8 -8
  57. package/dist/chunks/{credential-kv4a4z6b.js → reference-4s15yhyb.js} +9 -9
  58. package/dist/chunks/{credential-ry15mc2v.js → reference-4vptvh4s.js} +35 -35
  59. package/dist/chunks/{credential-4zrw1ey2.js → reference-4zrw1ey2.js} +2 -2
  60. package/dist/chunks/{credential-wbkyxrgf.js → reference-510m7gjw.js} +5 -5
  61. package/dist/chunks/{credential-w9tseppn.js → reference-52zvc43d.js} +44 -44
  62. package/dist/chunks/{credential-1ygqh575.js → reference-56gdpj1q.js} +9 -9
  63. package/dist/chunks/{credential-5daktx2q.js → reference-5daktx2q.js} +1 -1
  64. package/dist/chunks/{credential-xr1njrc3.js → reference-5jgk54rp.js} +58 -58
  65. package/dist/chunks/{credential-t0x5rdq8.js → reference-5kptn8c0.js} +9 -9
  66. package/dist/chunks/{credential-5nsrms9d.js → reference-5nsrms9d.js} +1 -1
  67. package/dist/chunks/{credential-bbgh5zt9.js → reference-5rswhkvm.js} +23 -23
  68. package/dist/chunks/{credential-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  69. package/dist/chunks/{credential-vcq8jmfk.js → reference-5t7ms9mx.js} +14 -14
  70. package/dist/chunks/{credential-39hgytyk.js → reference-610kgvj3.js} +8 -8
  71. package/dist/chunks/{credential-ks7htes5.js → reference-65ttwmv3.js} +22 -22
  72. package/dist/chunks/{credential-669tq793.js → reference-669tq793.js} +1 -1
  73. package/dist/chunks/{credential-dqkgee86.js → reference-675rgbk8.js} +25 -25
  74. package/dist/chunks/{credential-vd169w8v.js → reference-6dg7rqxz.js} +15 -15
  75. package/dist/chunks/{credential-z2ag6yen.js → reference-6gzrz82e.js} +19 -19
  76. package/dist/chunks/{credential-2dc79v37.js → reference-6k7a189h.js} +36 -36
  77. package/dist/chunks/{credential-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
  78. package/dist/chunks/{credential-ms6j5dg4.js → reference-6wsb51zt.js} +18 -18
  79. package/dist/chunks/{credential-n02j7a4g.js → reference-6y0x6mhe.js} +34 -34
  80. package/dist/chunks/{credential-71q4at8m.js → reference-71q4at8m.js} +1 -1
  81. package/dist/chunks/{credential-18q276da.js → reference-7b2pfzf8.js} +13 -13
  82. package/dist/chunks/{credential-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{credential-x0511brf.js → reference-7e2yy7bx.js} +4 -4
  84. package/dist/chunks/{credential-yt0fqk68.js → reference-7gvwkz6m.js} +5 -5
  85. package/dist/chunks/{credential-hfgsy8qe.js → reference-7mnn3rdt.js} +3 -3
  86. package/dist/chunks/{credential-tpwdr59n.js → reference-7my7c7z0.js} +16 -16
  87. package/dist/chunks/{credential-nvn4yca8.js → reference-7mydebfb.js} +11 -11
  88. package/dist/chunks/{credential-pcmkfrz8.js → reference-7qfmb4s4.js} +42 -42
  89. package/dist/chunks/{credential-e6hd9jay.js → reference-7yqjxrmz.js} +6 -6
  90. package/dist/chunks/{credential-83x6p9kd.js → reference-83x6p9kd.js} +1 -1
  91. package/dist/chunks/{credential-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{credential-bwshncvd.js → reference-8jmaqybk.js} +2 -2
  93. package/dist/chunks/{credential-8p4f9s12.js → reference-8p4f9s12.js} +2 -2
  94. package/dist/chunks/{credential-6kmmntsj.js → reference-8pqq62t9.js} +24 -24
  95. package/dist/chunks/{credential-h9rtxgm4.js → reference-8q01rjya.js} +13 -13
  96. package/dist/chunks/{credential-cne6g3qh.js → reference-8q0rcqtv.js} +20 -20
  97. package/dist/chunks/{credential-5sq9qdt5.js → reference-8rpas02w.js} +18 -18
  98. package/dist/chunks/{credential-91wtgz8k.js → reference-92yzrxcq.js} +17 -17
  99. package/dist/chunks/{credential-cfrb7rge.js → reference-9d1kp679.js} +45 -45
  100. package/dist/chunks/{credential-95v5px53.js → reference-9dpegb11.js} +18 -18
  101. package/dist/chunks/{credential-7xyrrtj6.js → reference-9eh6sf6d.js} +5 -5
  102. package/dist/chunks/reference-9zdhvgqs.js +18 -0
  103. package/dist/chunks/{credential-a1bz86dw.js → reference-a1bz86dw.js} +3 -3
  104. package/dist/chunks/{credential-7ethggbv.js → reference-a1p8sqe6.js} +35 -35
  105. package/dist/chunks/{credential-f79w93tn.js → reference-a291bara.js} +8 -8
  106. package/dist/chunks/{credential-aaet6srn.js → reference-aaet6srn.js} +2 -2
  107. package/dist/chunks/{credential-2qpq9t3c.js → reference-adaj7ksj.js} +5 -5
  108. package/dist/chunks/{credential-m8bjfkk9.js → reference-ap8njz3k.js} +11 -11
  109. package/dist/chunks/{credential-f6h44vt5.js → reference-as4zy6vm.js} +6 -6
  110. package/dist/chunks/{credential-7b15y959.js → reference-asmz7wyz.js} +8 -8
  111. package/dist/chunks/{credential-4knk9ex6.js → reference-aw218f2w.js} +14 -14
  112. package/dist/chunks/{credential-9zkgkngc.js → reference-aykdxbsk.js} +9 -9
  113. package/dist/chunks/{credential-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{credential-8bvtxx6t.js → reference-bkaavq67.js} +13 -13
  115. package/dist/chunks/{credential-77dprfnt.js → reference-bq8xzrzg.js} +15 -15
  116. package/dist/chunks/{credential-c7ecgrk6.js → reference-c7ecgrk6.js} +1 -1
  117. package/dist/chunks/{credential-cfpkc3c9.js → reference-cfpkc3c9.js} +2 -2
  118. package/dist/chunks/{credential-rsdf2nvv.js → reference-csf2jhsg.js} +4 -4
  119. package/dist/chunks/{credential-khykcjbr.js → reference-cvaa60g2.js} +11 -11
  120. package/dist/chunks/{credential-56sah4ty.js → reference-d6fzg897.js} +16 -16
  121. package/dist/chunks/{credential-6q2wdtm9.js → reference-dxt7hne3.js} +11 -11
  122. package/dist/chunks/{credential-85d9210f.js → reference-e1nwe2td.js} +11 -11
  123. package/dist/chunks/{credential-69n4s4c8.js → reference-e46ah9gc.js} +11 -11
  124. package/dist/chunks/{credential-24gf6x1s.js → reference-e7g2pv1c.js} +13 -13
  125. package/dist/chunks/{credential-r6teeq8r.js → reference-e7kd7gj5.js} +3 -3
  126. package/dist/chunks/{credential-hjt4xg1x.js → reference-e82z9tr0.js} +7 -7
  127. package/dist/chunks/{credential-gp0sg3k4.js → reference-efq5tq4f.js} +20 -20
  128. package/dist/chunks/{credential-3kyqxgv1.js → reference-ej085sj0.js} +14 -14
  129. package/dist/chunks/{credential-en74w496.js → reference-en74w496.js} +2 -2
  130. package/dist/chunks/{credential-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{credential-2my2jec7.js → reference-ewnjgq7q.js} +5 -5
  132. package/dist/chunks/{credential-a10p2k0v.js → reference-ezmrpqv5.js} +21 -21
  133. package/dist/chunks/{credential-ccb2a340.js → reference-f1my3kj4.js} +22 -22
  134. package/dist/chunks/{credential-yp2x3t23.js → reference-f2n192rq.js} +4 -4
  135. package/dist/chunks/{credential-f828m53h.js → reference-f828m53h.js} +2 -2
  136. package/dist/chunks/{credential-83h3w6ts.js → reference-fd0t6sve.js} +31 -31
  137. package/dist/chunks/{credential-x3032y69.js → reference-fhjrrdjb.js} +13 -13
  138. package/dist/chunks/{credential-rwagp3kg.js → reference-fj264fv9.js} +78 -78
  139. package/dist/chunks/{credential-qwf697tk.js → reference-fmxx1bts.js} +27 -27
  140. package/dist/chunks/{credential-mscwsevq.js → reference-ftm00p2b.js} +1 -1
  141. package/dist/chunks/{credential-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{credential-1ayrmkcs.js → reference-g6zhr88b.js} +6 -6
  143. package/dist/chunks/{credential-nbzsj80d.js → reference-g8xxs4tx.js} +8 -8
  144. package/dist/chunks/{credential-gbt6w4kb.js → reference-gbt6w4kb.js} +1 -1
  145. package/dist/chunks/{credential-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{credential-e379cr0y.js → reference-gf18h3v3.js} +12 -12
  147. package/dist/chunks/{credential-fmsed0sg.js → reference-gjdkj7gs.js} +24 -24
  148. package/dist/chunks/{credential-btgew72b.js → reference-gkmh43rj.js} +7 -7
  149. package/dist/chunks/{credential-2bt6bea8.js → reference-gsx0ryk4.js} +9 -9
  150. package/dist/chunks/{credential-gt0cxfk7.js → reference-gt0cxfk7.js} +1 -1
  151. package/dist/chunks/{credential-71spx5sa.js → reference-gv45jpg5.js} +4 -4
  152. package/dist/chunks/{credential-j7afzrcr.js → reference-gvqge573.js} +9 -9
  153. package/dist/chunks/{credential-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
  154. package/dist/chunks/{credential-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{credential-nfk5cz2h.js → reference-h8zt85z5.js} +8 -8
  156. package/dist/chunks/{credential-fr0hst6m.js → reference-hbhmt5dn.js} +5 -5
  157. package/dist/chunks/{credential-vqnfpec2.js → reference-hhczrqr1.js} +4 -4
  158. package/dist/chunks/{credential-c95cvesc.js → reference-hj92pwq6.js} +2 -2
  159. package/dist/chunks/{credential-had4kgfk.js → reference-hkjf8z9r.js} +6 -6
  160. package/dist/chunks/{credential-zav06jzw.js → reference-hn57h045.js} +4 -4
  161. package/dist/chunks/{credential-y8b3ftjs.js → reference-hp02hwp4.js} +13 -13
  162. package/dist/chunks/{credential-9dtg213c.js → reference-hx12r247.js} +41 -41
  163. package/dist/chunks/{credential-mvfaqrr0.js → reference-j0w83stm.js} +4 -4
  164. package/dist/chunks/{credential-5x64k753.js → reference-j16zphk7.js} +22 -22
  165. package/dist/chunks/{credential-k38mk1vx.js → reference-j1tww2gp.js} +4 -4
  166. package/dist/chunks/{credential-apn8f15b.js → reference-j5208yae.js} +9 -9
  167. package/dist/chunks/{credential-j56e64zr.js → reference-j56e64zr.js} +1 -1
  168. package/dist/chunks/{credential-wak322rn.js → reference-j5v2xxap.js} +11 -11
  169. package/dist/chunks/{credential-686gxxnm.js → reference-j5vg7gm1.js} +25 -25
  170. package/dist/chunks/{credential-st5ktw2g.js → reference-j6bm1nn6.js} +15 -15
  171. package/dist/chunks/{credential-paphc93g.js → reference-j935v87r.js} +2 -2
  172. package/dist/chunks/{credential-vbah0zve.js → reference-ja4wy4ee.js} +9 -9
  173. package/dist/chunks/{credential-0sf76z6p.js → reference-jahnfg6b.js} +26 -26
  174. package/dist/chunks/{credential-jhetwysa.js → reference-jhetwysa.js} +1 -1
  175. package/dist/chunks/{credential-c6z2bm72.js → reference-jtefztwj.js} +4 -4
  176. package/dist/chunks/{credential-atsrf1p8.js → reference-jzxr77q3.js} +28 -28
  177. package/dist/chunks/{credential-e4nfnrvk.js → reference-k1endqwm.js} +15 -15
  178. package/dist/chunks/{credential-8ee7bc5c.js → reference-k6szry07.js} +16 -16
  179. package/dist/chunks/{credential-kg06axw8.js → reference-kg06axw8.js} +1 -1
  180. package/dist/chunks/{credential-0wf9s8aa.js → reference-kgyjz9fy.js} +22 -22
  181. package/dist/chunks/{credential-n31d0ktv.js → reference-kjz5gbca.js} +10 -10
  182. package/dist/chunks/{credential-7h18g36k.js → reference-knhghh0v.js} +16 -16
  183. package/dist/chunks/{credential-nsac91pq.js → reference-kr2c45mn.js} +18 -18
  184. package/dist/chunks/{credential-4e8cngzy.js → reference-m4wh40kd.js} +2 -2
  185. package/dist/chunks/reference-m71yds50.js +247 -0
  186. package/dist/chunks/{credential-7gvb521f.js → reference-m9qjv7qq.js} +19 -19
  187. package/dist/chunks/{credential-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{credential-w6akx0pp.js → reference-mfwv2709.js} +17 -17
  189. package/dist/chunks/{credential-wj604y0c.js → reference-mgw48z1b.js} +26 -26
  190. package/dist/chunks/{credential-mkcjrzeh.js → reference-mkcjrzeh.js} +1 -1
  191. package/dist/chunks/{credential-xgsrhv1b.js → reference-n3wdcy6w.js} +8 -8
  192. package/dist/chunks/{credential-zt1trrjh.js → reference-nbwvt5pv.js} +13 -13
  193. package/dist/chunks/{credential-76nh0wjp.js → reference-nns6kj95.js} +8 -8
  194. package/dist/chunks/{credential-t41sh3fy.js → reference-pcfbqvzv.js} +9 -9
  195. package/dist/chunks/{credential-2mgmyakx.js → reference-pfq1v9kt.js} +24 -24
  196. package/dist/chunks/{credential-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{credential-pknna89w.js → reference-pknna89w.js} +1 -1
  198. package/dist/chunks/{credential-pgbkh3mx.js → reference-q342wcsq.js} +3 -3
  199. package/dist/chunks/{credential-vt1amaja.js → reference-q9b7wkyy.js} +12 -12
  200. package/dist/chunks/{credential-wdvyek55.js → reference-qajrngy3.js} +27 -27
  201. package/dist/chunks/{credential-493f7437.js → reference-qas58w1m.js} +9 -9
  202. package/dist/chunks/{credential-g9630prq.js → reference-qcvy1hs9.js} +9 -9
  203. package/dist/chunks/{credential-qdtgw5bq.js → reference-qfhza6js.js} +11 -11
  204. package/dist/chunks/{credential-08zxrs49.js → reference-qjp4a40e.js} +11 -11
  205. package/dist/chunks/{credential-c3cqe563.js → reference-qjwymapa.js} +17 -17
  206. package/dist/chunks/{credential-c36p2bt1.js → reference-qnyc9adz.js} +25 -25
  207. package/dist/chunks/{credential-4nec11k8.js → reference-qs0ddh18.js} +30 -30
  208. package/dist/chunks/{credential-qsdy395h.js → reference-qsdy395h.js} +1 -1
  209. package/dist/chunks/{credential-thd5acdx.js → reference-r4avt07e.js} +29 -29
  210. package/dist/chunks/{credential-73tb2d7t.js → reference-r5x6zcsm.js} +3 -3
  211. package/dist/chunks/{credential-t2fc4mz5.js → reference-ratrq7cm.js} +4 -4
  212. package/dist/chunks/{credential-asyrvkps.js → reference-redrjz5k.js} +13 -13
  213. package/dist/chunks/{credential-f00j52z1.js → reference-rszxffrt.js} +158 -158
  214. package/dist/chunks/{credential-3319vpkn.js → reference-rtphz2v8.js} +9 -9
  215. package/dist/chunks/{credential-5g344j8n.js → reference-rvnq7e84.js} +9 -9
  216. package/dist/chunks/{credential-yrznvahk.js → reference-s4enseaf.js} +2 -2
  217. package/dist/chunks/{credential-b6pd93xk.js → reference-sfddxscf.js} +22 -22
  218. package/dist/chunks/{credential-sgfkh1bp.js → reference-sgfkh1bp.js} +4 -4
  219. package/dist/chunks/{credential-y6qph9rs.js → reference-sgpd7ym3.js} +6 -6
  220. package/dist/chunks/reference-sjqcgh4k.js +22 -0
  221. package/dist/chunks/{credential-vekyynk0.js → reference-smq0r06k.js} +67 -67
  222. package/dist/chunks/{credential-ddkgrmw3.js → reference-spphehv3.js} +27 -27
  223. package/dist/chunks/{credential-t8mcaem5.js → reference-t8mcaem5.js} +1 -1
  224. package/dist/chunks/{credential-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{credential-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  226. package/dist/chunks/{credential-tdstcens.js → reference-tdstcens.js} +1 -1
  227. package/dist/chunks/{credential-gv6a8nnw.js → reference-th5km1p3.js} +5 -5
  228. package/dist/chunks/{credential-h7xzfsz6.js → reference-tkhm1f4n.js} +46 -46
  229. package/dist/chunks/{credential-tvtrv512.js → reference-tvtrv512.js} +1 -1
  230. package/dist/chunks/{credential-jwbr3km5.js → reference-v4hps1eq.js} +22 -22
  231. package/dist/chunks/{credential-tyw945wc.js → reference-v61v6jk6.js} +15 -15
  232. package/dist/chunks/{credential-wk4y5nr3.js → reference-v7j335k4.js} +30 -30
  233. package/dist/chunks/{credential-veqvce7d.js → reference-veqvce7d.js} +1 -1
  234. package/dist/chunks/{credential-3ga5hpyt.js → reference-verxd6cc.js} +7 -7
  235. package/dist/chunks/{credential-2kgfnkh5.js → reference-vh99d6cz.js} +11 -11
  236. package/dist/chunks/{credential-dw9fw5zp.js → reference-vq6pkt6q.js} +8 -8
  237. package/dist/chunks/{credential-xdj3jhyd.js → reference-vqz1dqct.js} +26 -26
  238. package/dist/chunks/{credential-bbjevjb1.js → reference-vvhxhpdd.js} +18 -18
  239. package/dist/chunks/{credential-09nq0425.js → reference-vxdjbxqe.js} +5 -5
  240. package/dist/chunks/{credential-vyy6cxw9.js → reference-vyy6cxw9.js} +4 -4
  241. package/dist/chunks/{credential-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{credential-x34hv49z.js → reference-w0n7a3yn.js} +13 -13
  243. package/dist/chunks/{credential-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{credential-gn2hfjap.js → reference-w3x9v1nk.js} +8 -8
  245. package/dist/chunks/{credential-020f4bg4.js → reference-w44x3hm1.js} +11 -11
  246. package/dist/chunks/{credential-qp4gcwwt.js → reference-w671fmtf.js} +44 -44
  247. package/dist/chunks/{credential-yb6jnks2.js → reference-w94h77jp.js} +15 -15
  248. package/dist/chunks/{credential-wd87259q.js → reference-wd87259q.js} +1 -1
  249. package/dist/chunks/{credential-fg75ppcy.js → reference-wfbvyrr3.js} +29 -29
  250. package/dist/chunks/{credential-909pcchj.js → reference-wmbw81qg.js} +84 -84
  251. package/dist/chunks/{credential-wtrmr3z3.js → reference-wtjt4ngy.js} +41 -41
  252. package/dist/chunks/{credential-73t5tbav.js → reference-x0x84apk.js} +14 -14
  253. package/dist/chunks/{credential-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{credential-wtpfkq3a.js → reference-x3xe09d9.js} +3 -3
  255. package/dist/chunks/{credential-x43y2vfs.js → reference-x43y2vfs.js} +2 -2
  256. package/dist/chunks/{credential-rjby0eaq.js → reference-x7kn3ctb.js} +9 -9
  257. package/dist/chunks/{credential-gpz9xnha.js → reference-xakp9rv9.js} +14 -14
  258. package/dist/chunks/{credential-wq8n05qc.js → reference-xb3xm0py.js} +23 -23
  259. package/dist/chunks/{credential-b359387s.js → reference-xbjve9g7.js} +12 -12
  260. package/dist/chunks/{credential-50mzsvk4.js → reference-xdk9p2qn.js} +21 -21
  261. package/dist/chunks/{credential-jwx4y25k.js → reference-xhmq8qgk.js} +9 -9
  262. package/dist/chunks/{credential-qg6emqy4.js → reference-xxhb4jr7.js} +9 -9
  263. package/dist/chunks/{credential-0y5kwnv4.js → reference-y0mcqq9w.js} +30 -30
  264. package/dist/chunks/{credential-jrrn2k62.js → reference-y0n2m4xg.js} +4 -4
  265. package/dist/chunks/{credential-7mysesyv.js → reference-y19r4g5g.js} +10 -10
  266. package/dist/chunks/{credential-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{credential-z93ea3ce.js → reference-y4xp3h88.js} +291 -291
  268. package/dist/chunks/{credential-y71avatq.js → reference-y71avatq.js} +1 -1
  269. package/dist/chunks/{credential-sy0gzybz.js → reference-y98pmm57.js} +18 -18
  270. package/dist/chunks/{credential-vc5zzj1b.js → reference-yfxdtzm1.js} +28 -28
  271. package/dist/chunks/{credential-2sc61f2y.js → reference-yjb32c3k.js} +12 -12
  272. package/dist/chunks/{credential-fb7cknjd.js → reference-yp7f5kew.js} +15 -15
  273. package/dist/chunks/{credential-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{credential-yvmq8qxx.js → reference-yvmq8qxx.js} +2 -2
  275. package/dist/chunks/{credential-dtx1mak6.js → reference-yx9d5yhn.js} +21 -21
  276. package/dist/chunks/{credential-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{credential-s0q6yv4v.js → reference-z146wf5t.js} +35 -35
  278. package/dist/chunks/{credential-bv56xrks.js → reference-z1f4gy9p.js} +8 -8
  279. package/dist/chunks/{credential-at1qkrnj.js → reference-z6nz13dk.js} +6 -6
  280. package/dist/chunks/{credential-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{credential-a41gfe4d.js → reference-zh4avhke.js} +26 -26
  282. package/dist/chunks/{credential-fsmaqbgh.js → reference-zjnwhdhy.js} +30 -30
  283. package/dist/chunks/{credential-q8kwesbk.js → reference-zky2ysba.js} +35 -35
  284. package/dist/chunks/{credential-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{credential-3bd12927.js → reference-zsy896rw.js} +8 -8
  286. package/dist/chunks/{credential-h20c96gm.js → reference-zvg6wpm3.js} +33 -33
  287. package/dist/chunks/{credential-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{credential-zxwpk2nb.js → reference-zxwpk2nb.js} +1 -1
  289. package/dist/chunks/{credential-12sqmeb8.js → reference-zzd7tndm.js} +29 -29
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +79 -79
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +117 -117
  298. package/dist/config/plugin/command.js +209 -209
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +115 -115
  305. package/dist/config/plugin/mcp.js +126 -126
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +117 -117
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +81 -81
  322. package/dist/database/database.js +64 -64
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +88 -88
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +72 -72
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +87 -87
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +220 -220
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +99 -99
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +13 -13
  425. package/dist/filesystem.js +96 -96
  426. package/dist/form.js +84 -84
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +84 -84
  429. package/dist/generate.js +89 -89
  430. package/dist/git.js +7 -7
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +83 -83
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +82 -82
  460. package/dist/job.js +77 -77
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +69 -69
  463. package/dist/location-activity.js +133 -133
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +83 -83
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +82 -82
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +95 -95
  470. package/dist/mcp/instructions.js +122 -122
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +2 -2
  477. package/dist/models-dev.js +82 -82
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +78 -78
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +112 -112
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +84 -84
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +99 -99
  488. package/dist/plugin/command.js +96 -96
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +80 -80
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +117 -117
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +74 -74
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +133 -133
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +339 -339
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +112 -112
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +85 -85
  557. package/dist/provider.js +1 -1
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +94 -94
  562. package/dist/reference/instructions.js +82 -82
  563. package/dist/reference.js +86 -86
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +91 -91
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +127 -127
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +219 -219
  577. package/dist/session/execution.js +124 -124
  578. package/dist/session/generate.js +146 -146
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +88 -88
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +77 -77
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +119 -119
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +3 -3
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +83 -83
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +149 -149
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +213 -213
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +209 -209
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +131 -131
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +102 -102
  625. package/dist/skill.js +107 -107
  626. package/dist/snapshot.js +86 -86
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +117 -117
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +98 -98
  638. package/dist/tool/plugin/read.js +119 -119
  639. package/dist/tool/plugin/shell.js +212 -212
  640. package/dist/tool/plugin/skill.js +102 -102
  641. package/dist/tool/plugin/subagent.js +214 -214
  642. package/dist/tool/plugin/webfetch.js +107 -107
  643. package/dist/tool/plugin/websearch.js +109 -109
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +11 -11
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +7 -7
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +1 -1
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +85 -85
  676. package/dist/websearch.js +80 -80
  677. package/dist/wellknown/plugin.js +74 -74
  678. package/dist/wellknown.js +79 -79
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +78 -78
  682. package/dist/worktree/directory.js +4 -4
  683. package/dist/worktree/git.js +7 -7
  684. package/dist/worktree/refresh.js +342 -342
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +91 -91
  687. package/package.json +8 -8
  688. package/dist/chunks/credential-6kdq0pjd.js +0 -4
  689. package/dist/chunks/credential-6tq42r19.js +0 -22
  690. package/dist/chunks/credential-dxj72tfx.js +0 -18
  691. package/dist/chunks/credential-sjzv27ft.js +0 -247
  692. /package/dist/chunks/{credential-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{credential-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{credential-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{credential-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{credential-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{credential-2710q6r3.js → reference-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{credential-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{credential-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{credential-359p4xyc.js → reference-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{credential-3asan66x.js → reference-3asan66x.js} +0 -0
  702. /package/dist/chunks/{credential-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{credential-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{credential-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{credential-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{credential-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{credential-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{credential-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{credential-53557ph1.js → reference-53557ph1.js} +0 -0
  710. /package/dist/chunks/{credential-550bvhaj.js → reference-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{credential-6prwharc.js → reference-6prwharc.js} +0 -0
  712. /package/dist/chunks/{credential-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{credential-7m9af43g.js → reference-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{credential-822emrt2.js → reference-822emrt2.js} +0 -0
  715. /package/dist/chunks/{credential-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{credential-8n3pysct.js → reference-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{credential-922hggd3.js → reference-922hggd3.js} +0 -0
  718. /package/dist/chunks/{credential-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{credential-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{credential-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{credential-af5trqkr.js → reference-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{credential-afrmfg78.js → reference-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{credential-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{credential-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{credential-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{credential-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{credential-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{credential-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{credential-d9fn303g.js → reference-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{credential-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{credential-dajrwvna.js → reference-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{credential-dap0rakb.js → reference-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{credential-df08tz66.js → reference-df08tz66.js} +0 -0
  734. /package/dist/chunks/{credential-dy18nga0.js → reference-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{credential-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{credential-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{credential-ec1grn59.js → reference-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{credential-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{credential-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{credential-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{credential-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{credential-faypxj3z.js → reference-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{credential-fd410y7t.js → reference-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{credential-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{credential-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{credential-g86h250q.js → reference-g86h250q.js} +0 -0
  747. /package/dist/chunks/{credential-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{credential-gftt206x.js → reference-gftt206x.js} +0 -0
  749. /package/dist/chunks/{credential-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{credential-hk9envan.js → reference-hk9envan.js} +0 -0
  751. /package/dist/chunks/{credential-hrnqkpcd.js → reference-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{credential-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{credential-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{credential-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{credential-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{credential-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{credential-mp448xyj.js → reference-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{credential-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{credential-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{credential-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{credential-njntx4h6.js → reference-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{credential-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{credential-q74kybfr.js → reference-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{credential-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{credential-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{credential-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{credential-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{credential-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{credential-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{credential-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{credential-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{credential-twg0f83k.js → reference-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{credential-w803qqfp.js → reference-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{credential-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{credential-wtztk69x.js → reference-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{credential-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{credential-x61499pn.js → reference-x61499pn.js} +0 -0
  778. /package/dist/chunks/{credential-y44na4kk.js → reference-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{credential-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{credential-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{credential-ym463w8f.js → reference-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{credential-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
- render3
3
- } from "./credential-hjt4xg1x.js";
2
+ render2
3
+ } from "./reference-e82z9tr0.js";
4
4
  import {
5
5
  __export
6
- } from "./credential-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -12,7 +12,7 @@ __export(exports_optimize, {
12
12
  ArceePlugin: () => ArceePlugin2,
13
13
  KimiPlugin: () => KimiPlugin2,
14
14
  MetaPlugin: () => MetaPlugin2,
15
- OpenAIPlugin: () => OpenAIPlugin3,
15
+ OpenAIPlugin: () => OpenAIPlugin2,
16
16
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
17
17
  OptimizePlugin: () => exports_optimize,
18
18
  Plugins: () => Plugins2
@@ -368,7 +368,7 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
368
368
  `;
369
369
 
370
370
  // src/plugin/optimize.ts
371
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
371
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
372
372
  const id = model.id.toLowerCase();
373
373
  if (!id.includes("gpt"))
374
374
  return;
@@ -397,7 +397,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
397
397
  return;
398
398
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
399
399
  });
400
- var Plugins2 = [OpenAIPlugin3, KimiPlugin2, ArceePlugin2, MetaPlugin2];
400
+ var Plugins2 = [OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
401
401
  function make(id, optimize) {
402
402
  return define({
403
403
  id,
@@ -412,10 +412,10 @@ function make(id, optimize) {
412
412
  const system = event.system[0];
413
413
  if (!system)
414
414
  return;
415
- event.system[0] = { ...system, text: render3(template, Object.keys(event.tools)) };
415
+ event.system[0] = { ...system, text: render2(template, Object.keys(event.tools)) };
416
416
  }).pipe(Effect.catch(() => Effect.void)));
417
417
  })
418
418
  });
419
419
  }
420
420
 
421
- export { OpenAIPlugin3, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
421
+ export { OpenAIPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./credential-5daktx2q.js";
3
+ } from "./reference-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./credential-922hggd3.js";
6
+ } from "./reference-922hggd3.js";
7
7
  import {
8
- ID8,
8
+ ID7,
9
9
  Name2
10
- } from "./credential-vc5zzj1b.js";
10
+ } from "./reference-yfxdtzm1.js";
11
11
  import {
12
12
  __export
13
- } from "./credential-9rqn6x4v.js";
13
+ } from "./reference-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
57
57
  return {
58
58
  _tag: "Parsed",
59
59
  skill: {
60
- id: ID8.make(id),
60
+ id: ID7.make(id),
61
61
  name: Name2.make(frontmatter.name ?? id),
62
62
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
63
63
  ...slash === undefined ? {} : { slash },
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./credential-922hggd3.js";
3
+ } from "./reference-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./credential-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./credential-r6teeq8r.js";
4
+ } from "./reference-e7kd7gj5.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./credential-y71avatq.js";
7
+ } from "./reference-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node84
12
- } from "./credential-had4kgfk.js";
11
+ node54
12
+ } from "./reference-hkjf8z9r.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./credential-faypxj3z.js";
15
+ } from "./reference-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./credential-9rqn6x4v.js";
18
+ } from "./reference-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID18,
25
- Info: () => Info33,
24
+ ID: () => ID6,
25
+ Info: () => Info7,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service79,
27
+ Service: () => Service50,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured12,
30
- node: () => node83
29
+ configured: () => configured6,
30
+ node: () => node53
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID18 = Workspace.ID;
38
+ var ID6 = Workspace.ID;
39
39
 
40
- class Info33 extends Schema.Class("Workspace.Info")({
41
- id: ID18,
40
+ class Info7 extends Schema.Class("Workspace.Info")({
41
+ id: ID6,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info33 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID18 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID18,
53
+ workspaceID: ID6,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service79 extends Context.Service()("@opencode/Workspace") {
59
+ class Service50 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured12 = (options = {}) => makeGlobalNode({
62
- service: Service79,
61
+ var configured6 = (options = {}) => makeGlobalNode({
62
+ service: Service50,
63
63
  layer: layer(options),
64
- deps: [node85, node84]
64
+ deps: [node85, node54]
65
65
  });
66
- var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info33({
83
+ const info = (row, binding) => new Info7({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service79.of({
157
+ return Service50.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID18.create();
159
+ const workspaceID = input.id ?? ID6.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node83 = configured12();
224
+ var node53 = configured6();
225
225
 
226
- export { ID18, Info33, NotFound3, CreateConflict2, Service79, configured12, node83, exports_workspace };
226
+ export { ID6, Info7, NotFound3, CreateConflict2, Service50, configured6, node53, exports_workspace };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service70
3
- } from "./credential-56sah4ty.js";
2
+ Service72
3
+ } from "./reference-d6fzg897.js";
4
4
  import {
5
- Service42
6
- } from "./credential-fmsed0sg.js";
5
+ Service49
6
+ } from "./reference-gjdkj7gs.js";
7
7
  import {
8
8
  Service15,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./credential-vqr9hz61.js";
11
+ } from "./reference-13j5h6zk.js";
12
12
  import {
13
- Service55
14
- } from "./credential-7fhpj3jn.js";
13
+ Service13
14
+ } from "./reference-234ap6ss.js";
15
15
  import {
16
- Service65
17
- } from "./credential-exfykm2r.js";
16
+ Service54
17
+ } from "./reference-4j04egcw.js";
18
18
  import {
19
- Service23,
19
+ Service16,
20
20
  resolvePath2
21
- } from "./credential-95v5px53.js";
21
+ } from "./reference-9dpegb11.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./credential-6prwharc.js";
24
+ } from "./reference-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./credential-9rqn6x4v.js";
27
+ } from "./reference-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input8,
34
- Output: () => Output6,
35
- Plugin: () => Plugin23,
36
- name: () => name8
33
+ Input: () => Input4,
34
+ Output: () => Output3,
35
+ Plugin: () => Plugin22,
36
+ name: () => name4
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name8 = "edit";
43
- var Input8 = Schema.Struct({
42
+ var name4 = "edit";
43
+ var Input4 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input8 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output6 = Schema.Struct({
53
+ var Output3 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin23 = {
106
+ var Plugin22 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service23;
109
+ const access = yield* Service16;
110
110
  const fileMutation = yield* Service15;
111
- const environment = yield* Service42;
112
- const formatter = yield* Service55;
113
- const location = yield* Service70;
114
- const permission = yield* Service65;
111
+ const environment = yield* Service49;
112
+ const formatter = yield* Service13;
113
+ const location = yield* Service72;
114
+ const permission = yield* Service54;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name8,
116
+ name: name4,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input8,
120
- output: Output6,
119
+ input: Input4,
120
+ output: Output3,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin23 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name8, Input8, Output6, Plugin23, exports_edit };
197
+ export { name4, Input4, Output3, Plugin22, exports_edit };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./credential-2a5m3afh.js";
3
+ } from "./reference-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./credential-922hggd3.js";
6
+ } from "./reference-922hggd3.js";
7
7
  import {
8
- Service70
9
- } from "./credential-56sah4ty.js";
8
+ Service72
9
+ } from "./reference-d6fzg897.js";
10
10
  import {
11
- Service42
12
- } from "./credential-fmsed0sg.js";
11
+ Service49
12
+ } from "./reference-gjdkj7gs.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service20
16
- } from "./credential-73t5tbav.js";
15
+ Service19
16
+ } from "./reference-x0x84apk.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./credential-a10p2k0v.js";
23
+ } from "./reference-ezmrpqv5.js";
24
24
  import {
25
- Service65
26
- } from "./credential-exfykm2r.js";
25
+ Service54
26
+ } from "./reference-4j04egcw.js";
27
27
  import {
28
- Service23
29
- } from "./credential-95v5px53.js";
28
+ Service16
29
+ } from "./reference-9dpegb11.js";
30
30
  import {
31
31
  __export
32
- } from "./credential-9rqn6x4v.js";
32
+ } from "./reference-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input5,
39
- Output: () => Output3,
40
- Plugin: () => Plugin19,
41
- name: () => name5,
42
- toModelContent: () => toModelContent2
38
+ Input: () => Input12,
39
+ Output: () => Output8,
40
+ Plugin: () => Plugin30,
41
+ name: () => name12,
42
+ toModelContent: () => toModelContent6
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name5 = "grep";
48
- var Input5 = Schema.Struct({
47
+ var name12 = "grep";
48
+ var Input12 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input5 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output3 = Schema.Array(Match2);
69
- var toModelContent2 = (matches, truncated = false) => {
68
+ var Output8 = Schema.Array(Match2);
69
+ var toModelContent6 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin19 = {
86
+ var Plugin30 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service42;
90
- const ripgrep = yield* Service20;
91
- const location = yield* Service70;
92
- const access = yield* Service23;
93
- const permission = yield* Service65;
89
+ const environment = yield* Service49;
90
+ const ripgrep = yield* Service19;
91
+ const location = yield* Service72;
92
+ const access = yield* Service16;
93
+ const permission = yield* Service54;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name5,
95
+ name: name12,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input5,
99
- output: Output3,
98
+ input: Input12,
99
+ output: Output8,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name5,
105
+ action: name12,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin19 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent2(result.matches.map((match) => ({
147
+ content: toModelContent6(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin19 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name5, Input5, Output3, toModelContent2, Plugin19, exports_grep };
157
+ export { name12, Input12, Output8, toModelContent6, Plugin30, exports_grep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ID16,
3
3
  Family2
4
- } from "./credential-yvmq8qxx.js";
4
+ } from "./reference-yvmq8qxx.js";
5
5
  import {
6
- Service43
7
- } from "./credential-78mn15xw.js";
6
+ Service63
7
+ } from "./reference-37b2kds0.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./credential-2qpq9t3c.js";
10
+ } from "./reference-adaj7ksj.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
45
45
  });
46
46
  var discovery = new Map;
47
47
  var discoveryLock = Semaphore.makeUnsafe(1);
48
- function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make10(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
49
49
  return define({
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service43;
53
+ const config = yield* Service63;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -151,7 +151,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make4();
154
+ var OllamaPlugin2 = make10();
155
155
  function configured(entries, origin) {
156
156
  const settings = foldSettings2(entries, providerID, undefined);
157
157
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -170,4 +170,4 @@ function configured(entries, origin) {
170
170
  return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
171
171
  }
172
172
 
173
- export { make4, OllamaPlugin2 };
173
+ export { make10, OllamaPlugin2 };
@@ -1,54 +1,54 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./credential-3kyqxgv1.js";
2
+ Service79,
3
+ node84
4
+ } from "./reference-ej085sj0.js";
5
5
  import {
6
- Service72,
7
- node75
8
- } from "./credential-n31d0ktv.js";
6
+ Service74,
7
+ node78
8
+ } from "./reference-kjz5gbca.js";
9
9
  import {
10
- Service70,
11
- node73
12
- } from "./credential-56sah4ty.js";
10
+ Service72,
11
+ node76
12
+ } from "./reference-d6fzg897.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./credential-dxj72tfx.js";
15
+ } from "./reference-9zdhvgqs.js";
16
16
  import {
17
- Service44,
18
- node48
19
- } from "./credential-ccb2a340.js";
17
+ Service64,
18
+ node68
19
+ } from "./reference-f1my3kj4.js";
20
20
  import {
21
- node16
22
- } from "./credential-gp0sg3k4.js";
21
+ node23
22
+ } from "./reference-efq5tq4f.js";
23
23
  import {
24
- Service12,
25
- node15
26
- } from "./credential-t0x5rdq8.js";
24
+ Service10,
25
+ node13
26
+ } from "./reference-5kptn8c0.js";
27
27
  import {
28
28
  __export
29
- } from "./credential-9rqn6x4v.js";
29
+ } from "./reference-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
33
33
  __export(exports_location_watcher, {
34
34
  LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service3,
36
- node: () => node4
35
+ Service: () => Service2,
36
+ node: () => node3
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 Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service3, Effect.gen(function* () {
46
- const location = yield* Service70;
47
- const watcher = yield* Service44;
48
- const bus = yield* Service78;
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
+ const location = yield* Service72;
47
+ const watcher = yield* Service64;
48
+ const bus = yield* Service79;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service72;
51
- const policy = yield* Service12;
50
+ const git = yield* Service74;
51
+ const policy = yield* Service10;
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 Service2.of({});
104
104
  }));
105
- var node4 = makeLocationNode({
106
- service: Service3,
105
+ var node3 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node48, FSUtil.node, node73, node75, node82, node16, node15]
108
+ deps: [node68, FSUtil.node, node76, node78, node84, node23, node13]
109
109
  });
110
110
 
111
- export { Service3, node4, exports_location_watcher };
111
+ export { Service2, node3, exports_location_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./credential-c7ecgrk6.js";
4
+ } from "./reference-c7ecgrk6.js";
5
5
 
6
6
  // src/plugin/provider/anthropic.ts
7
7
  import { Effect } from "effect";