@opencode/core 0.0.0-dev-19885 → 0.0.0-dev-19886

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{app-xgpvyysx.js → schema-00kf9hgr.js} +93 -93
  8. package/dist/chunks/{app-tb9xm78q.js → schema-0g5nqv50.js} +8 -8
  9. package/dist/chunks/{app-gcq2fxm3.js → schema-0jpk42xm.js} +23 -23
  10. package/dist/chunks/{app-pps41de9.js → schema-0jpvnn7p.js} +10 -10
  11. package/dist/chunks/schema-0mesazry.js +4 -0
  12. package/dist/chunks/{app-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{app-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{app-8n69n882.js → schema-0tzy42a9.js} +8 -8
  15. package/dist/chunks/{app-d9ytdjw8.js → schema-0vwe55z4.js} +22 -22
  16. package/dist/chunks/{app-cz4gxkeh.js → schema-0ztt3je3.js} +45 -45
  17. package/dist/chunks/{app-c38jyzps.js → schema-14h2k2kq.js} +8 -8
  18. package/dist/chunks/schema-18yxx2zm.js +252 -0
  19. package/dist/chunks/schema-1d3x4d8x.js +26 -0
  20. package/dist/chunks/{app-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{app-ykf0jhfk.js → schema-1f65vsja.js} +24 -24
  22. package/dist/chunks/{app-21r38tys.js → schema-21r38tys.js} +1 -1
  23. package/dist/chunks/{app-3b1q5j1v.js → schema-23pqda6t.js} +5 -5
  24. package/dist/chunks/{app-6h73sxmp.js → schema-2402vzrj.js} +5 -5
  25. package/dist/chunks/{app-26ym7a2d.js → schema-26k5bknw.js} +4 -4
  26. package/dist/chunks/{app-qfdknrj4.js → schema-27fda2dc.js} +3 -3
  27. package/dist/chunks/{app-20dk8r1s.js → schema-27nsnsgt.js} +31 -31
  28. package/dist/chunks/{app-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{app-79mnhcfn.js → schema-2eegacq4.js} +8 -8
  30. package/dist/chunks/{app-f5js084j.js → schema-2ew1f5mw.js} +18 -18
  31. package/dist/chunks/{app-20ycjnd3.js → schema-2hgcm4ge.js} +6 -6
  32. package/dist/chunks/{app-2k8khapm.js → schema-2k8khapm.js} +1 -1
  33. package/dist/chunks/{app-yrq83nnf.js → schema-2vvmycb5.js} +14 -14
  34. package/dist/chunks/{app-vmv0kd87.js → schema-2zb4g7yy.js} +3 -3
  35. package/dist/chunks/{app-6nshdwd7.js → schema-31j0m047.js} +25 -25
  36. package/dist/chunks/{app-56gdpj1q.js → schema-33w4ejhs.js} +6 -6
  37. package/dist/chunks/{app-v62cs5sj.js → schema-35xpfejb.js} +18 -18
  38. package/dist/chunks/{app-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{app-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{app-yj47cjx3.js → schema-3pjcshv1.js} +15 -15
  41. package/dist/chunks/{app-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{app-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{app-709xpvx9.js → schema-3xsz3272.js} +12 -12
  44. package/dist/chunks/{app-aswv42tr.js → schema-430xfz4c.js} +11 -11
  45. package/dist/chunks/{app-ebe9bak5.js → schema-44h5tttr.js} +4 -4
  46. package/dist/chunks/{app-7ka5mwj0.js → schema-46dkj1aa.js} +24 -24
  47. package/dist/chunks/{app-1s3za36d.js → schema-49g14z3y.js} +4 -4
  48. package/dist/chunks/{app-v19j2x38.js → schema-4ap4625a.js} +10 -10
  49. package/dist/chunks/{app-d78xx6qz.js → schema-4dgwxax1.js} +23 -23
  50. package/dist/chunks/{app-x4e5jp7e.js → schema-4dxzcd5q.js} +10 -10
  51. package/dist/chunks/{app-dgda83gr.js → schema-4hndh7d1.js} +315 -315
  52. package/dist/chunks/{app-wxtfr31w.js → schema-4s8c6nrb.js} +22 -22
  53. package/dist/chunks/{app-7vneq8n3.js → schema-53614fhz.js} +10 -10
  54. package/dist/chunks/{app-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
  55. package/dist/chunks/{app-y9p6qzzr.js → schema-5cm2z16n.js} +38 -38
  56. package/dist/chunks/{app-5daktx2q.js → schema-5daktx2q.js} +1 -1
  57. package/dist/chunks/{app-0hr54mt4.js → schema-5gz442hs.js} +31 -31
  58. package/dist/chunks/{app-1a6p2twq.js → schema-5q02cxx3.js} +4 -4
  59. package/dist/chunks/{app-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{app-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{app-gs5memm2.js → schema-61bj6qxp.js} +11 -11
  62. package/dist/chunks/{app-abfe342y.js → schema-620c9p0e.js} +5 -5
  63. package/dist/chunks/{app-yrhthkpk.js → schema-62dkdkge.js} +31 -31
  64. package/dist/chunks/{app-nm6tfe9e.js → schema-63zbbs1j.js} +11 -11
  65. package/dist/chunks/{app-669tq793.js → schema-669tq793.js} +1 -1
  66. package/dist/chunks/{app-s1kvmffy.js → schema-6hjx5zpb.js} +9 -9
  67. package/dist/chunks/{app-v7ax49y9.js → schema-6hwb3kgj.js} +18 -18
  68. package/dist/chunks/{app-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{app-68zcn1pn.js → schema-6phpyabk.js} +5 -5
  70. package/dist/chunks/{app-44zmf7q8.js → schema-6ybjtjh6.js} +39 -39
  71. package/dist/chunks/{app-h4z1mxff.js → schema-705e2ap1.js} +5 -5
  72. package/dist/chunks/{app-dsqt3g70.js → schema-715jhr6j.js} +4 -4
  73. package/dist/chunks/{app-v6h6kk4n.js → schema-77dpymfj.js} +43 -43
  74. package/dist/chunks/{app-688dcwrg.js → schema-788gb7w8.js} +8 -8
  75. package/dist/chunks/{app-wks3bq41.js → schema-7atvkj40.js} +30 -30
  76. package/dist/chunks/{app-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{app-jw57wrad.js → schema-7erxeq1k.js} +13 -13
  78. package/dist/chunks/{app-t0b82sn3.js → schema-7stb2mtn.js} +13 -13
  79. package/dist/chunks/{app-qmznc2j1.js → schema-82dy80yx.js} +28 -28
  80. package/dist/chunks/{app-5v8q48de.js → schema-87sxhkrx.js} +302 -302
  81. package/dist/chunks/{app-x2rmejqt.js → schema-89kj8kbd.js} +14 -14
  82. package/dist/chunks/{app-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{app-7b4r5at6.js → schema-8gb5m816.js} +15 -15
  84. package/dist/chunks/{app-dpfenvj7.js → schema-8mrsjb6t.js} +9 -9
  85. package/dist/chunks/{app-dj2t23y0.js → schema-8p4f9s12.js} +2 -2
  86. package/dist/chunks/{app-0tv5m9zy.js → schema-8pje5h6d.js} +15 -15
  87. package/dist/chunks/{app-bawrj3b9.js → schema-8z86kdgr.js} +2 -2
  88. package/dist/chunks/{app-tfxsda3f.js → schema-8zxj1h0d.js} +32 -32
  89. package/dist/chunks/{app-20zx6c52.js → schema-96hmnfjn.js} +20 -20
  90. package/dist/chunks/{app-1wr3afwe.js → schema-99g1e68g.js} +5 -5
  91. package/dist/chunks/{app-zc72yjq3.js → schema-9hhss0a2.js} +18 -18
  92. package/dist/chunks/{app-psst68c8.js → schema-9kn500pz.js} +32 -32
  93. package/dist/chunks/{app-xhpeghz7.js → schema-9vpczy1a.js} +10 -10
  94. package/dist/chunks/{app-2fvbvr4z.js → schema-9waxqwzk.js} +13 -13
  95. package/dist/chunks/{app-3vaynbq5.js → schema-9ydytpw2.js} +3 -3
  96. package/dist/chunks/{app-7gvwkz6m.js → schema-a1a50ys5.js} +5 -5
  97. package/dist/chunks/{app-5c4hm403.js → schema-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{app-ybgh1m9m.js → schema-a48qxba4.js} +17 -17
  99. package/dist/chunks/{app-g5zpxqd5.js → schema-a67c24cf.js} +47 -47
  100. package/dist/chunks/{app-2pnhn36q.js → schema-a8bn8zg0.js} +21 -21
  101. package/dist/chunks/{app-aaet6srn.js → schema-aaet6srn.js} +2 -2
  102. package/dist/chunks/{app-fpxm7379.js → schema-ac987dqs.js} +3 -3
  103. package/dist/chunks/{app-4y9pqhyv.js → schema-ajed71fh.js} +4 -4
  104. package/dist/chunks/{app-03matkmd.js → schema-am548r7s.js} +20 -20
  105. package/dist/chunks/{app-876jnmkn.js → schema-asc6r62w.js} +21 -21
  106. package/dist/chunks/{app-7mvfcvez.js → schema-aw4pcnvy.js} +21 -21
  107. package/dist/chunks/{app-dw1nbz2e.js → schema-awv3wa2m.js} +11 -11
  108. package/dist/chunks/{app-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{app-2pjc63d4.js → schema-b97cbvw3.js} +1 -1
  110. package/dist/chunks/{app-z6p9zkzw.js → schema-ba2a7ra8.js} +44 -44
  111. package/dist/chunks/{app-hcz3zddy.js → schema-bgxcxs0p.js} +5 -5
  112. package/dist/chunks/{app-bg2gq5qa.js → schema-bha4atvq.js} +4 -4
  113. package/dist/chunks/{app-va20k388.js → schema-bx5rv0r1.js} +15 -15
  114. package/dist/chunks/{app-y15xkh2n.js → schema-by61nw3t.js} +23 -23
  115. package/dist/chunks/{app-35w9qdzz.js → schema-c47c9t6q.js} +9 -9
  116. package/dist/chunks/{app-7hwc72pw.js → schema-c4h0rghh.js} +40 -40
  117. package/dist/chunks/{app-m0jqrx5p.js → schema-cfpkc3c9.js} +2 -2
  118. package/dist/chunks/{app-f8wvxc75.js → schema-crd295za.js} +9 -9
  119. package/dist/chunks/{app-rfjpkbyr.js → schema-crhmmv87.js} +175 -175
  120. package/dist/chunks/{app-x9qt50vx.js → schema-cv1ac0c6.js} +13 -13
  121. package/dist/chunks/{app-axtvtek4.js → schema-d216944b.js} +4 -4
  122. package/dist/chunks/{app-zdb8sah8.js → schema-d8ekvs43.js} +18 -18
  123. package/dist/chunks/{app-07can071.js → schema-d8j7pmpr.js} +24 -24
  124. package/dist/chunks/{app-ttsb85y1.js → schema-daqxfzz2.js} +7 -7
  125. package/dist/chunks/{app-senw7f5q.js → schema-dcyzc3a4.js} +5 -5
  126. package/dist/chunks/{app-8kefq0e4.js → schema-dgkjxssa.js} +24 -24
  127. package/dist/chunks/{app-2npqe2nd.js → schema-dhexvm6n.js} +36 -36
  128. package/dist/chunks/{app-57e9z27j.js → schema-dpahde6h.js} +8 -8
  129. package/dist/chunks/{app-d883tjw7.js → schema-dqd6nw8h.js} +28 -28
  130. package/dist/chunks/{app-drwq78ky.js → schema-drwq78ky.js} +1 -1
  131. package/dist/chunks/{app-g2qchbvm.js → schema-dvym74kg.js} +18 -18
  132. package/dist/chunks/{app-m3pgw4q9.js → schema-dzx47qqb.js} +24 -24
  133. package/dist/chunks/{app-9pe371ph.js → schema-e0vrtrrw.js} +11 -11
  134. package/dist/chunks/{app-png4bzvj.js → schema-e8f72s9g.js} +24 -24
  135. package/dist/chunks/{app-gh58188p.js → schema-e9j26s5a.js} +18 -18
  136. package/dist/chunks/{app-0gdmqesm.js → schema-eaj1djv9.js} +8 -8
  137. package/dist/chunks/{app-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{app-mm16ex40.js → schema-efx6pn78.js} +9 -9
  139. package/dist/chunks/{app-swk9pkgd.js → schema-eh3tg283.js} +7 -7
  140. package/dist/chunks/{app-wt8910j7.js → schema-epqfg76v.js} +13 -13
  141. package/dist/chunks/{app-erw5rpbs.js → schema-erw5rpbs.js} +2 -2
  142. package/dist/chunks/{app-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{app-tn0aqsam.js → schema-evbgk2k8.js} +5 -5
  144. package/dist/chunks/{app-9n0txh3w.js → schema-f11mwxkr.js} +32 -32
  145. package/dist/chunks/{app-2f21k4jq.js → schema-f1pvj740.js} +20 -20
  146. package/dist/chunks/{app-wa17x0f6.js → schema-f68wk4tz.js} +23 -23
  147. package/dist/chunks/{app-hdnk95c8.js → schema-f828m53h.js} +2 -2
  148. package/dist/chunks/{app-b6mrn51r.js → schema-fg4bngfk.js} +11 -11
  149. package/dist/chunks/{app-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{app-8v6pyhej.js → schema-g0445xdp.js} +8 -8
  151. package/dist/chunks/{app-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{app-7ekr1ah4.js → schema-gh1qyndc.js} +32 -32
  153. package/dist/chunks/{app-7hnsdr40.js → schema-gmhayzrc.js} +25 -25
  154. package/dist/chunks/{app-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{app-zmnyjegj.js → schema-gw0rdnge.js} +18 -18
  156. package/dist/chunks/{app-7ghxp6dc.js → schema-gwwb91fp.js} +14 -14
  157. package/dist/chunks/{app-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{app-csxzn776.js → schema-hag420rg.js} +12 -12
  159. package/dist/chunks/{app-rj6d5p5e.js → schema-hbznj76v.js} +3 -3
  160. package/dist/chunks/{app-06r2eyqd.js → schema-hg46y0kh.js} +6 -6
  161. package/dist/chunks/{app-q4gtzsax.js → schema-hw0zd49b.js} +26 -26
  162. package/dist/chunks/{app-sjgwehbe.js → schema-hxgdaxe3.js} +15 -15
  163. package/dist/chunks/{app-c1ef6zpr.js → schema-hztmyek9.js} +3 -3
  164. package/dist/chunks/{app-915nf07v.js → schema-j1x1vf2y.js} +11 -11
  165. package/dist/chunks/{app-j56e64zr.js → schema-j56e64zr.js} +1 -1
  166. package/dist/chunks/{app-bd9kkww0.js → schema-j59ym81b.js} +18 -18
  167. package/dist/chunks/{app-kytjdcrv.js → schema-jagm69te.js} +58 -58
  168. package/dist/chunks/{app-azynnvek.js → schema-jhbs716j.js} +62 -62
  169. package/dist/chunks/{app-bvfp0cee.js → schema-jkh6xme0.js} +32 -32
  170. package/dist/chunks/{app-xg9j3gxx.js → schema-jy1h2w15.js} +5 -5
  171. package/dist/chunks/{app-aky1hhm0.js → schema-k0nnn7te.js} +25 -25
  172. package/dist/chunks/{app-k3c624dm.js → schema-k3c624dm.js} +3 -3
  173. package/dist/chunks/{app-grfgd9mf.js → schema-k3yens6r.js} +30 -30
  174. package/dist/chunks/{app-jzz4kwyh.js → schema-kgaqkgqz.js} +4 -4
  175. package/dist/chunks/{app-5vt9esmq.js → schema-kgczsn21.js} +21 -21
  176. package/dist/chunks/{app-knb7evpn.js → schema-knb7evpn.js} +2 -2
  177. package/dist/chunks/{app-wx5y01fx.js → schema-kxxcztw2.js} +11 -11
  178. package/dist/chunks/{app-jewzahs7.js → schema-kzc3h1h3.js} +4 -4
  179. package/dist/chunks/{app-p33jdkfk.js → schema-m0pezh0b.js} +6 -6
  180. package/dist/chunks/{app-0sa6p4t3.js → schema-m2gwkkre.js} +11 -11
  181. package/dist/chunks/{app-qbkt3cqr.js → schema-m31hrvtp.js} +14 -14
  182. package/dist/chunks/{app-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{app-p29sx5d2.js → schema-m4d3rech.js} +17 -17
  184. package/dist/chunks/{app-ps5kdaeb.js → schema-m50cybhv.js} +32 -32
  185. package/dist/chunks/{app-711sgqvm.js → schema-m63dm8t2.js} +9 -9
  186. package/dist/chunks/{app-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{app-r5x6zcsm.js → schema-mhkvc446.js} +3 -3
  188. package/dist/chunks/{app-zw4pk1bw.js → schema-mjagy123.js} +5 -5
  189. package/dist/chunks/{app-yy70n6y7.js → schema-mkry9cbt.js} +22 -22
  190. package/dist/chunks/{app-m85z7vph.js → schema-mtd9q3qz.js} +11 -11
  191. package/dist/chunks/{app-wxyrkypr.js → schema-mwe9m6y1.js} +12 -12
  192. package/dist/chunks/{app-tb5xxcc9.js → schema-n41zvqn3.js} +78 -78
  193. package/dist/chunks/{app-ddt2bs9e.js → schema-n4r3xatb.js} +4 -4
  194. package/dist/chunks/{app-7w8wfers.js → schema-nd17pecj.js} +27 -27
  195. package/dist/chunks/{app-zswdvhgs.js → schema-nf9eh295.js} +20 -20
  196. package/dist/chunks/{app-11823ez3.js → schema-nfey5btx.js} +9 -9
  197. package/dist/chunks/{app-3m4ehbcm.js → schema-nrphw12n.js} +10 -10
  198. package/dist/chunks/{app-vy4zg7qh.js → schema-nsarsp7q.js} +12 -12
  199. package/dist/chunks/{app-m2d0j7c0.js → schema-nscznvay.js} +9 -9
  200. package/dist/chunks/{app-16rcg4y4.js → schema-nw8j1rps.js} +28 -28
  201. package/dist/chunks/{app-h2tx7zx9.js → schema-nwmd1prx.js} +22 -22
  202. package/dist/chunks/{app-vwcr4tjx.js → schema-nwt3vm70.js} +9 -9
  203. package/dist/chunks/{app-x3qv8ryf.js → schema-p24szhfn.js} +72 -72
  204. package/dist/chunks/{app-fab6kdz8.js → schema-p42z03n1.js} +24 -24
  205. package/dist/chunks/{app-39dgwvb1.js → schema-p5m4wkry.js} +27 -27
  206. package/dist/chunks/{app-g6ckadgp.js → schema-p5wnv3kx.js} +16 -16
  207. package/dist/chunks/schema-pf31ssb9.js +18 -0
  208. package/dist/chunks/{app-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{app-pknna89w.js → schema-pknna89w.js} +1 -1
  210. package/dist/chunks/{app-6r8xth9q.js → schema-pwkmx0nv.js} +11 -11
  211. package/dist/chunks/{app-qzjq96ve.js → schema-q01vrhz0.js} +43 -43
  212. package/dist/chunks/{app-yxms1dgw.js → schema-q2k638zh.js} +27 -27
  213. package/dist/chunks/{app-thph1k7c.js → schema-qd9qsd3y.js} +32 -32
  214. package/dist/chunks/{app-y76zn1vz.js → schema-qk3ss27q.js} +5 -5
  215. package/dist/chunks/{app-cxgg6zzr.js → schema-qm9z9m0p.js} +15 -15
  216. package/dist/chunks/{app-d4he2qe1.js → schema-qmqgtz8f.js} +9 -9
  217. package/dist/chunks/{app-qsdy395h.js → schema-qsdy395h.js} +1 -1
  218. package/dist/chunks/{app-arndb05z.js → schema-r0e90pz6.js} +8 -8
  219. package/dist/chunks/{app-wq38yxfv.js → schema-r216a26w.js} +1 -1
  220. package/dist/chunks/{app-zkmmppc2.js → schema-r7w93r7k.js} +10 -10
  221. package/dist/chunks/{app-yp2x3t23.js → schema-r8xr0va3.js} +4 -4
  222. package/dist/chunks/{app-d4awevab.js → schema-ra56mcsr.js} +9 -9
  223. package/dist/chunks/{app-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{app-5nb2d01r.js → schema-rp4sv622.js} +2 -2
  225. package/dist/chunks/{app-f6h44vt5.js → schema-rpprv63a.js} +6 -6
  226. package/dist/chunks/{app-c2k60acp.js → schema-rpz6drrn.js} +17 -17
  227. package/dist/chunks/{app-2hsx99jb.js → schema-rrx9jv1h.js} +31 -31
  228. package/dist/chunks/{app-8j10kyg7.js → schema-rw3hxt2z.js} +11 -11
  229. package/dist/chunks/{app-55y9qcck.js → schema-rxat3bmm.js} +8 -8
  230. package/dist/chunks/{app-zy4aaz3n.js → schema-rz3ttxsc.js} +3 -3
  231. package/dist/chunks/{app-8trhq89n.js → schema-s16nvs90.js} +7 -7
  232. package/dist/chunks/{app-h5gvbxth.js → schema-s5vydnba.js} +16 -16
  233. package/dist/chunks/{app-7x1nw6gz.js → schema-smeb82kt.js} +12 -12
  234. package/dist/chunks/{app-nk1wytkm.js → schema-sqg1zh0r.js} +30 -30
  235. package/dist/chunks/{app-014xdmgp.js → schema-sqwknf6n.js} +27 -27
  236. package/dist/chunks/{app-57m20ys8.js → schema-svthz80f.js} +5 -5
  237. package/dist/chunks/{app-ckqwygw2.js → schema-sxqpj4ry.js} +45 -45
  238. package/dist/chunks/{app-4d4f54qe.js → schema-t8tjryy7.js} +41 -41
  239. package/dist/chunks/{app-gfpj78pk.js → schema-t9gmmc62.js} +4 -4
  240. package/dist/chunks/{app-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{app-p28j5sbe.js → schema-tbz0fdvh.js} +5 -5
  242. package/dist/chunks/{app-89znhe33.js → schema-tcezcvh9.js} +4 -4
  243. package/dist/chunks/{app-tdstcens.js → schema-tdstcens.js} +1 -1
  244. package/dist/chunks/{app-rh2h7bz2.js → schema-te5aq0s8.js} +21 -21
  245. package/dist/chunks/{app-p7a39gy5.js → schema-tegs1ycp.js} +6 -6
  246. package/dist/chunks/{app-0j8d1df6.js → schema-thp9hxey.js} +3 -3
  247. package/dist/chunks/{app-y5xn5bba.js → schema-tkef11z1.js} +16 -16
  248. package/dist/chunks/{app-tvtrv512.js → schema-tvtrv512.js} +1 -1
  249. package/dist/chunks/{app-9jn97mr4.js → schema-v32h01d6.js} +10 -10
  250. package/dist/chunks/{app-49yvn64x.js → schema-v4q4m78p.js} +1 -1
  251. package/dist/chunks/{app-veqvce7d.js → schema-veqvce7d.js} +1 -1
  252. package/dist/chunks/{app-xapv5k3j.js → schema-vkzh714j.js} +41 -41
  253. package/dist/chunks/{app-kfpfq9wx.js → schema-vwv45jwz.js} +22 -22
  254. package/dist/chunks/{app-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{app-88yxd0gw.js → schema-w16ahr6b.js} +49 -49
  256. package/dist/chunks/{app-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{app-01s6r663.js → schema-w3xeasz5.js} +17 -17
  258. package/dist/chunks/{app-jnmfw45r.js → schema-w71eb5dq.js} +3 -3
  259. package/dist/chunks/{app-w3jg838k.js → schema-wd6nv646.js} +9 -9
  260. package/dist/chunks/{app-wd87259q.js → schema-wd87259q.js} +1 -1
  261. package/dist/chunks/{app-fdaj3cxn.js → schema-wjj6t90t.js} +30 -30
  262. package/dist/chunks/{app-d0zj62h6.js → schema-wkayzp5j.js} +16 -16
  263. package/dist/chunks/{app-rfdx9aph.js → schema-wkehh1kx.js} +21 -21
  264. package/dist/chunks/{app-6c2r5v8w.js → schema-wn9776zt.js} +4 -4
  265. package/dist/chunks/{app-d0kf8th3.js → schema-wv5rnem4.js} +11 -11
  266. package/dist/chunks/{app-e14sp09f.js → schema-wy0rv5a1.js} +9 -9
  267. package/dist/chunks/{app-bw1ynhc4.js → schema-x1b0enpz.js} +27 -27
  268. package/dist/chunks/{app-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{app-y2nmavtm.js → schema-x3h06d7w.js} +36 -36
  270. package/dist/chunks/{app-wpm2rk0p.js → schema-xnv6xhp0.js} +8 -8
  271. package/dist/chunks/{app-x8chr5sc.js → schema-xptk6zwz.js} +31 -31
  272. package/dist/chunks/{app-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{app-3e6x224v.js → schema-y4ryaafw.js} +15 -15
  274. package/dist/chunks/{app-y71avatq.js → schema-y71avatq.js} +1 -1
  275. package/dist/chunks/{app-5mj83k5s.js → schema-y79g4z7g.js} +11 -11
  276. package/dist/chunks/{app-kca364mm.js → schema-ydbs56mh.js} +8 -8
  277. package/dist/chunks/{app-k27386pf.js → schema-yfkgz838.js} +27 -27
  278. package/dist/chunks/{app-bdqrk2vk.js → schema-yq2cczkq.js} +8 -8
  279. package/dist/chunks/{app-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{app-s4enseaf.js → schema-yrznvahk.js} +2 -2
  281. package/dist/chunks/{app-bdwsy2v9.js → schema-ysht8f4g.js} +4 -4
  282. package/dist/chunks/{app-d7fy9tms.js → schema-yx64nkv6.js} +31 -31
  283. package/dist/chunks/{app-nm3p96rh.js → schema-z07ec4ej.js} +28 -28
  284. package/dist/chunks/{app-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{app-29x78va6.js → schema-z63w68vq.js} +6 -6
  286. package/dist/chunks/{app-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{app-1zcc4bn4.js → schema-zfv3dwnm.js} +11 -11
  288. package/dist/chunks/{app-h6jr292a.js → schema-zj09a0ew.js} +4 -4
  289. package/dist/chunks/{app-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{app-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +82 -82
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +123 -123
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +73 -73
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +220 -220
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +88 -88
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +98 -98
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +359 -359
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +84 -84
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +134 -134
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +84 -84
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +103 -103
  475. package/dist/mcp/instructions.js +125 -125
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +98 -98
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +101 -101
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +79 -79
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +116 -116
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +87 -87
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +103 -103
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/compaction.js +132 -132
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +91 -91
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +349 -349
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +228 -228
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +83 -83
  562. package/dist/provider.js +100 -100
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  567. package/dist/reference/instructions.js +86 -86
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +133 -133
  577. package/dist/session/context.js +149 -149
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +223 -223
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +89 -89
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +76 -76
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +169 -169
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +219 -219
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +219 -219
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +111 -111
  632. package/dist/snapshot.js +90 -90
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +119 -119
  640. package/dist/tool/plugin/grep.js +119 -119
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +117 -117
  643. package/dist/tool/plugin/question.js +100 -100
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +214 -214
  646. package/dist/tool/plugin/skill.js +110 -110
  647. package/dist/tool/plugin/subagent.js +214 -214
  648. package/dist/tool/plugin/webfetch.js +109 -109
  649. package/dist/tool/plugin/websearch.js +111 -111
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +7 -7
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +5 -5
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +3 -3
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +1 -1
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +79 -79
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +78 -78
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +77 -77
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +97 -97
  695. package/package.json +8 -8
  696. package/dist/chunks/app-39c2k6vv.js +0 -26
  697. package/dist/chunks/app-4v7qdvcn.js +0 -18
  698. package/dist/chunks/app-qtvmxc8s.js +0 -4
  699. package/dist/chunks/app-rb2dwyb3.js +0 -252
  700. /package/dist/chunks/{app-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{app-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{app-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{app-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{app-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{app-24dcb14g.js → schema-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{app-2710q6r3.js → schema-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{app-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{app-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{app-359p4xyc.js → schema-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{app-3asan66x.js → schema-3asan66x.js} +0 -0
  711. /package/dist/chunks/{app-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{app-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{app-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{app-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{app-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{app-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{app-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{app-53557ph1.js → schema-53557ph1.js} +0 -0
  719. /package/dist/chunks/{app-550bvhaj.js → schema-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{app-6prwharc.js → schema-6prwharc.js} +0 -0
  721. /package/dist/chunks/{app-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{app-7m9af43g.js → schema-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{app-822emrt2.js → schema-822emrt2.js} +0 -0
  724. /package/dist/chunks/{app-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{app-8n3pysct.js → schema-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{app-922hggd3.js → schema-922hggd3.js} +0 -0
  727. /package/dist/chunks/{app-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{app-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{app-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{app-af5trqkr.js → schema-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{app-afrmfg78.js → schema-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{app-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{app-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{app-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{app-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{app-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{app-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{app-d9fn303g.js → schema-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{app-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{app-dajrwvna.js → schema-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{app-dap0rakb.js → schema-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{app-df08tz66.js → schema-df08tz66.js} +0 -0
  743. /package/dist/chunks/{app-dy18nga0.js → schema-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{app-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{app-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{app-ec1grn59.js → schema-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{app-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{app-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{app-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{app-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{app-faypxj3z.js → schema-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{app-fd410y7t.js → schema-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{app-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{app-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{app-g86h250q.js → schema-g86h250q.js} +0 -0
  756. /package/dist/chunks/{app-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{app-gftt206x.js → schema-gftt206x.js} +0 -0
  758. /package/dist/chunks/{app-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{app-hk9envan.js → schema-hk9envan.js} +0 -0
  760. /package/dist/chunks/{app-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{app-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{app-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{app-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{app-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{app-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{app-mp448xyj.js → schema-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{app-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{app-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{app-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{app-njntx4h6.js → schema-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{app-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{app-q74kybfr.js → schema-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{app-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{app-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{app-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{app-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{app-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{app-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{app-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{app-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{app-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{app-twg0f83k.js → schema-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{app-w803qqfp.js → schema-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{app-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{app-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{app-wtztk69x.js → schema-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{app-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{app-x61499pn.js → schema-x61499pn.js} +0 -0
  789. /package/dist/chunks/{app-y44na4kk.js → schema-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{app-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{app-y8f7s663.js → schema-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{app-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{app-ym463w8f.js → schema-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{app-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./app-jnmfw45r.js";
4
+ } from "./schema-w71eb5dq.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./app-csxzn776.js";
6
+ Service82,
7
+ node86
8
+ } from "./schema-hag420rg.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./app-pknna89w.js";
11
+ } from "./schema-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./app-0q0f95c6.js";
14
+ } from "./schema-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./app-9rqn6x4v.js";
17
+ } from "./schema-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
23
  Event: () => Event17,
24
- ID: () => ID14,
25
- Info: () => Info28,
26
- Key: () => Key4,
24
+ ID: () => ID10,
25
+ Info: () => Info26,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service68,
28
+ Service: () => Service70,
29
29
  Value: () => Value2,
30
- node: () => node71
30
+ node: () => node74
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID14 = Credential.ID;
37
+ var ID10 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
41
  var Event17 = Credential.Event;
42
42
 
43
- class Info28 extends Schema.Class("Credential.Info")({
44
- id: ID14,
43
+ class Info26 extends Schema.Class("Credential.Info")({
44
+ id: ID10,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service68 extends Context.Service()("@opencode/Credential") {
51
+ class Service70 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service68, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
54
54
  const db = (yield* Service83).db;
55
- const bus = yield* Service79;
55
+ const bus = yield* Service82;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info28({
60
+ return new Info26({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service68.of({
71
+ return Service70.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info28({
80
- id: ID14.create(),
79
+ const credential = new Info26({
80
+ id: ID10.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -193,6 +193,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
193
193
  })
194
194
  });
195
195
  }));
196
- var node71 = makeGlobalNode({ service: Service68, layer, deps: [node87, node83] });
196
+ var node74 = makeGlobalNode({ service: Service70, layer, deps: [node87, node86] });
197
197
 
198
- export { ID14, OAuth3, Key4, Value2, Event17, Info28, Service68, node71, exports_credential };
198
+ export { ID10, OAuth3, Key3, Value2, Event17, Info26, Service70, node74, exports_credential };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./app-3v8g72cx.js";
3
+ } from "./schema-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp2 = {};
10
- __export(exports_mcp2, {
9
+ var exports_mcp = {};
10
+ __export(exports_mcp, {
11
11
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
- WebSearchMcp: () => exports_mcp2,
12
+ WebSearchMcp: () => exports_mcp,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make18,
4
+ make21,
5
5
  diffByKey2
6
- } from "./app-0gdmqesm.js";
6
+ } from "./schema-eaj1djv9.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./app-azynnvek.js";
9
+ } from "./schema-jhbs716j.js";
10
10
  import {
11
11
  Service28,
12
- node32
13
- } from "./app-cz4gxkeh.js";
12
+ node31
13
+ } from "./schema-0ztt3je3.js";
14
14
  import {
15
15
  namespace2,
16
16
  name13
17
- } from "./app-q4gtzsax.js";
17
+ } from "./schema-hw0zd49b.js";
18
18
  import {
19
19
  __export
20
- } from "./app-9rqn6x4v.js";
20
+ } from "./schema-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
23
  var exports_instructions4 = {};
24
24
  __export(exports_instructions4, {
25
25
  McpInstructions: () => exports_instructions4,
26
- Service: () => Service24,
27
- layer: () => layer8,
28
- node: () => node28
26
+ Service: () => Service22,
27
+ layer: () => layer10,
28
+ node: () => node25
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,14 +61,14 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service24 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service22 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer8 = Layer.effect(Service24, Effect.gen(function* () {
66
+ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
67
67
  const mcp = yield* Service28;
68
- return Service24.of({
68
+ return Service22.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make18({
71
- key: Key3.make("core/mcp-guidance"),
70
+ const source = (value) => make21({
71
+ key: Key4.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
74
74
  render: {
@@ -96,6 +96,6 @@ var layer8 = Layer.effect(Service24, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node28 = makeLocationNode({ service: Service24, layer: layer8, deps: [node32] });
99
+ var node25 = makeLocationNode({ service: Service22, layer: layer10, deps: [node31] });
100
100
 
101
- export { Service24, layer8, node28, exports_instructions4 };
101
+ export { Service22, layer10, node25, exports_instructions4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./app-qfa1cgps.js";
3
+ } from "./schema-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./app-jnmfw45r.js";
4
+ } from "./schema-w71eb5dq.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./app-hdnk95c8.js";
7
+ } from "./schema-f828m53h.js";
8
8
  import {
9
9
  __export
10
- } from "./app-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID7,
17
- Info: () => Info9,
16
+ ID: () => ID13,
17
+ Info: () => Info28,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service55,
21
- node: () => node57
20
+ Service: () => Service74,
21
+ node: () => node78
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID7 = PermissionSaved.ID;
29
- var Info9 = PermissionSaved.Info;
28
+ var ID13 = PermissionSaved.ID;
29
+ var Info28 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service55 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service74 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service55, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
42
42
  const db = (yield* Service83).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID7.create(),
60
+ id: ID13.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service55.of({ list, add, remove });
69
+ return Service74.of({ list, add, remove });
70
70
  }));
71
- var node57 = makeGlobalNode({ service: Service55, layer, deps: [node87] });
71
+ var node78 = makeGlobalNode({ service: Service74, layer, deps: [node87] });
72
72
 
73
- export { ID7, Info9, ListInput4, AddInput2, Service55, node57, exports_saved };
73
+ export { ID13, Info28, ListInput4, AddInput2, Service74, node78, exports_saved };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./schema-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 "./app-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./app-gd4qta3r.js";
3
+ } from "./schema-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./app-tvtrv512.js";
6
+ } from "./schema-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./app-rdw6cm16.js";
9
+ } from "./schema-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./app-9rqn6x4v.js";
12
+ } from "./schema-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service47,
21
+ Service: () => Service55,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node49
23
+ node: () => node60
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service47 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service55 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service47, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service47.of({
125
+ return Service55.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node49 = makeLocationNode({
143
- service: Service47,
142
+ var node60 = makeLocationNode({
143
+ service: Service55,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service47, node49, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service55, node60, exports_tool_output2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service61
3
- } from "./app-v6h6kk4n.js";
2
+ Service39
3
+ } from "./schema-77dpymfj.js";
4
4
  import {
5
- Service44
6
- } from "./app-w3jg838k.js";
5
+ Service36
6
+ } from "./schema-wd6nv646.js";
7
7
  import {
8
8
  observe2
9
- } from "./app-qsdy395h.js";
9
+ } from "./schema-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./app-9rqn6x4v.js";
12
+ } from "./schema-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin23
18
+ Plugin: () => Plugin41
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin23 = define({
22
+ var Plugin41 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service61;
26
- const image = yield* Service44;
25
+ const config = yield* Service39;
26
+ const image = yield* Service36;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin23 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin23, exports_image };
46
+ export { Plugin41, exports_image };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info25,
10
+ Info: () => Info24,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  key: () => key2
13
13
  });
14
14
  import { Connection } from "@opencode/schema/connection";
15
15
  var CredentialInfo2 = Connection.CredentialInfo;
16
16
  var EnvInfo2 = Connection.EnvInfo;
17
- var Info25 = Connection.Info;
17
+ var Info24 = Connection.Info;
18
18
  function key2(connection) {
19
19
  if (!connection)
20
20
  return;
21
21
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
22
22
  }
23
23
 
24
- export { CredentialInfo2, EnvInfo2, Info25, key2, exports_connection };
24
+ export { CredentialInfo2, EnvInfo2, Info24, key2, exports_connection };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./app-922hggd3.js";
3
+ } from "./schema-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./app-2pnhn36q.js";
6
+ } from "./schema-a8bn8zg0.js";
7
7
  import {
8
- Info16
9
- } from "./app-nm6tfe9e.js";
8
+ Info9
9
+ } from "./schema-63zbbs1j.js";
10
10
  import {
11
- Info17
12
- } from "./app-tn0aqsam.js";
11
+ Info13
12
+ } from "./schema-evbgk2k8.js";
13
13
  import {
14
- Info21
15
- } from "./app-axtvtek4.js";
14
+ Info11
15
+ } from "./schema-d216944b.js";
16
16
  import {
17
- Info19
18
- } from "./app-7gvwkz6m.js";
17
+ Info8
18
+ } from "./schema-a1a50ys5.js";
19
19
  import {
20
20
  Spec2
21
- } from "./app-2k8khapm.js";
21
+ } from "./schema-2k8khapm.js";
22
22
  import {
23
- Info20
24
- } from "./app-hcz3zddy.js";
23
+ Info10
24
+ } from "./schema-bgxcxs0p.js";
25
25
  import {
26
- Info13
27
- } from "./app-44zmf7q8.js";
26
+ Info6
27
+ } from "./schema-6ybjtjh6.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./app-gfpj78pk.js";
36
+ } from "./schema-t9gmmc62.js";
37
37
  import {
38
38
  __export
39
- } from "./app-9rqn6x4v.js";
39
+ } from "./schema-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info13.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info6.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info13, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info21, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info9, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info9, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info19, value, path, diagnostics);
228
+ const server = decodeValue(Info8, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info20, raw, path, diagnostics);
424
+ const provider = decodeValue(Info10, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service75
3
- } from "./app-ykf0jhfk.js";
2
+ Service49
3
+ } from "./schema-1f65vsja.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service75;
22
+ const environment = yield* Service49;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID10,
2
+ ID7,
3
3
  Family2
4
- } from "./app-y2nmavtm.js";
4
+ } from "./schema-x3h06d7w.js";
5
5
  import {
6
- Service61
7
- } from "./app-v6h6kk4n.js";
6
+ Service39
7
+ } from "./schema-77dpymfj.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./app-06r2eyqd.js";
10
+ } from "./schema-hg46y0kh.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 make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make5(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* Service61;
53
+ const config = yield* Service39;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  providers.models.update(providerID, item.model, (model) => {
80
- model.modelID = ID10.make(item.model);
80
+ model.modelID = ID7.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -151,7 +151,7 @@ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make8();
154
+ var OllamaPlugin2 = make5();
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 { make8, OllamaPlugin2 };
173
+ export { make5, OllamaPlugin2 };