@opencode/core 0.0.0-dev-20583 → 0.0.0-dev-20586

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{file-mutation-jcvj30yp.js → schema-0brrbz7a.js} +16 -16
  8. package/dist/chunks/{file-mutation-5qrrcsc2.js → schema-0jm58kyp.js} +9 -9
  9. package/dist/chunks/{file-mutation-ft0c77xz.js → schema-0knh1j5d.js} +15 -15
  10. package/dist/chunks/{file-mutation-0qtgexh9.js → schema-0nrdtycv.js} +51 -51
  11. package/dist/chunks/{file-mutation-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{file-mutation-7jdtyktx.js → schema-0tjvnj70.js} +9 -9
  13. package/dist/chunks/{file-mutation-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{file-mutation-wzpg4398.js → schema-1279vwrw.js} +5 -5
  15. package/dist/chunks/{file-mutation-9z4end1d.js → schema-15h6fegf.js} +13 -13
  16. package/dist/chunks/{file-mutation-24wzahvd.js → schema-15s9b7tq.js} +16 -16
  17. package/dist/chunks/{file-mutation-cwsxj1fy.js → schema-18a3shtt.js} +12 -12
  18. package/dist/chunks/{file-mutation-r8xr0va3.js → schema-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{file-mutation-k1qrnqst.js → schema-1dangqhw.js} +8 -8
  20. package/dist/chunks/{file-mutation-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{file-mutation-1dvck2a7.js → schema-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{file-mutation-gapccta5.js → schema-1j43e8h9.js} +20 -20
  23. package/dist/chunks/{file-mutation-5cz6gggr.js → schema-1x37w07y.js} +27 -27
  24. package/dist/chunks/{file-mutation-mfqp6xfm.js → schema-1ygqh575.js} +6 -6
  25. package/dist/chunks/{file-mutation-en7r6a3x.js → schema-1z8bakdw.js} +11 -11
  26. package/dist/chunks/{file-mutation-m80q8nre.js → schema-1zf23djs.js} +4 -4
  27. package/dist/chunks/{file-mutation-93t1mf90.js → schema-21z0btgx.js} +11 -11
  28. package/dist/chunks/{file-mutation-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{file-mutation-j3qw8rc6.js → schema-2aajs87z.js} +23 -23
  30. package/dist/chunks/{file-mutation-2st2vgs8.js → schema-2s93m5wx.js} +29 -29
  31. package/dist/chunks/{file-mutation-gxxtbefb.js → schema-2ty9snxt.js} +26 -26
  32. package/dist/chunks/{file-mutation-cdy1429m.js → schema-34tsw91e.js} +22 -22
  33. package/dist/chunks/schema-35668my4.js +26 -0
  34. package/dist/chunks/{file-mutation-s1wxmayf.js → schema-3757zhg2.js} +10 -10
  35. package/dist/chunks/{file-mutation-48cwc0wb.js → schema-398sja33.js} +24 -24
  36. package/dist/chunks/{file-mutation-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{file-mutation-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{file-mutation-f27gt3fb.js → schema-3jqk5x8p.js} +75 -75
  39. package/dist/chunks/{file-mutation-79ajbfyg.js → schema-3k1ktder.js} +4 -4
  40. package/dist/chunks/{file-mutation-21kzj585.js → schema-3rjzkyns.js} +16 -16
  41. package/dist/chunks/{file-mutation-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{file-mutation-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{file-mutation-8hkfkb27.js → schema-3zbwexce.js} +8 -8
  44. package/dist/chunks/{file-mutation-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{file-mutation-77hgjsk3.js → schema-461mwfvs.js} +31 -31
  46. package/dist/chunks/{file-mutation-4ts7tf6z.js → schema-4ts7tf6z.js} +2 -2
  47. package/dist/chunks/{file-mutation-2w5dyyz8.js → schema-4xxxtaen.js} +8 -8
  48. package/dist/chunks/{file-mutation-6wz7chbs.js → schema-4ytb3748.js} +3 -3
  49. package/dist/chunks/{file-mutation-54ma36ye.js → schema-54ma36ye.js} +1 -1
  50. package/dist/chunks/{file-mutation-40bnz8b2.js → schema-55m450pe.js} +11 -11
  51. package/dist/chunks/{file-mutation-w6pb9j5w.js → schema-5ccwcxf7.js} +14 -14
  52. package/dist/chunks/{file-mutation-5daktx2q.js → schema-5daktx2q.js} +1 -1
  53. package/dist/chunks/{file-mutation-1r1edwa1.js → schema-5f5fdjjg.js} +31 -31
  54. package/dist/chunks/{file-mutation-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{file-mutation-sxsdhb2f.js → schema-5xbqt2y0.js} +31 -31
  56. package/dist/chunks/{file-mutation-97jxdyep.js → schema-5zeh3nq2.js} +47 -47
  57. package/dist/chunks/{file-mutation-v03f7qed.js → schema-609c7rjf.js} +5 -5
  58. package/dist/chunks/{file-mutation-669tq793.js → schema-669tq793.js} +1 -1
  59. package/dist/chunks/{file-mutation-bx1kzrbd.js → schema-66f72jf0.js} +17 -17
  60. package/dist/chunks/{file-mutation-12wrqg79.js → schema-6je3rcen.js} +23 -23
  61. package/dist/chunks/{file-mutation-d7y24xev.js → schema-6p0hs1pc.js} +13 -13
  62. package/dist/chunks/{file-mutation-7y74vpaj.js → schema-6v4rkqn9.js} +22 -22
  63. package/dist/chunks/{file-mutation-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{file-mutation-8k1b3hgn.js → schema-6xg4x7p4.js} +27 -27
  65. package/dist/chunks/{file-mutation-71az546q.js → schema-71az546q.js} +2 -2
  66. package/dist/chunks/{file-mutation-j4dpp98w.js → schema-71v7metp.js} +27 -27
  67. package/dist/chunks/{file-mutation-zkpkevqb.js → schema-785emzww.js} +25 -25
  68. package/dist/chunks/{file-mutation-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{file-mutation-qgn6gcr1.js → schema-7dqw4kz8.js} +5 -5
  70. package/dist/chunks/{file-mutation-xtqdhsn8.js → schema-7gewva0j.js} +3 -3
  71. package/dist/chunks/{file-mutation-qykvrrtg.js → schema-7k951zm2.js} +11 -11
  72. package/dist/chunks/{file-mutation-d2vx756y.js → schema-7nfz7vry.js} +6 -6
  73. package/dist/chunks/{file-mutation-608kr7kb.js → schema-7vv0vsc5.js} +10 -10
  74. package/dist/chunks/{file-mutation-vc6v0gj3.js → schema-84c5kt73.js} +4 -4
  75. package/dist/chunks/{file-mutation-93cdtzk6.js → schema-892k6z1j.js} +11 -11
  76. package/dist/chunks/{file-mutation-qvb3nf84.js → schema-89bb6baa.js} +8 -8
  77. package/dist/chunks/{file-mutation-sznyev98.js → schema-89vjf07m.js} +5 -5
  78. package/dist/chunks/{file-mutation-94mz8ebf.js → schema-8c6aeth0.js} +28 -28
  79. package/dist/chunks/{file-mutation-e2t1g78s.js → schema-8d5nx7er.js} +183 -183
  80. package/dist/chunks/{file-mutation-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{file-mutation-9txt07q0.js → schema-8gn32dwp.js} +90 -90
  82. package/dist/chunks/{file-mutation-9xb4p3aq.js → schema-8j43q005.js} +7 -7
  83. package/dist/chunks/{file-mutation-anfj9sc3.js → schema-8xgppe8x.js} +8 -8
  84. package/dist/chunks/{file-mutation-9e5bzkjp.js → schema-9e5bzkjp.js} +3 -3
  85. package/dist/chunks/{file-mutation-eea3fma5.js → schema-9gjfbdts.js} +32 -32
  86. package/dist/chunks/{file-mutation-vkt86nx4.js → schema-9kwc633n.js} +19 -19
  87. package/dist/chunks/{file-mutation-90hpmr2t.js → schema-9swdtjav.js} +9 -9
  88. package/dist/chunks/{file-mutation-166kng33.js → schema-9y0w708y.js} +8 -8
  89. package/dist/chunks/{file-mutation-btbmdjwj.js → schema-a3c7ahw6.js} +4 -4
  90. package/dist/chunks/{file-mutation-6a6378pm.js → schema-a8rjsjfn.js} +23 -23
  91. package/dist/chunks/{file-mutation-aaet6srn.js → schema-aaet6srn.js} +2 -2
  92. package/dist/chunks/{file-mutation-x48v3pqg.js → schema-aczmxqpc.js} +8 -8
  93. package/dist/chunks/{file-mutation-yvd37te7.js → schema-aff3a7hd.js} +19 -19
  94. package/dist/chunks/{file-mutation-2w56afta.js → schema-an2v7pwn.js} +4 -4
  95. package/dist/chunks/{file-mutation-yjx32v1s.js → schema-as7cf5zz.js} +4 -4
  96. package/dist/chunks/{file-mutation-6b9m9qth.js → schema-ate656c3.js} +8 -8
  97. package/dist/chunks/{file-mutation-dx2gcj3s.js → schema-ayqs46pg.js} +22 -22
  98. package/dist/chunks/schema-ayx7vafe.js +507 -0
  99. package/dist/chunks/{file-mutation-wecqtg5s.js → schema-b3f8fkhc.js} +5 -5
  100. package/dist/chunks/{file-mutation-th8qagft.js → schema-b5pm0qd4.js} +8 -8
  101. package/dist/chunks/{file-mutation-rk1r2hx8.js → schema-b69jv39p.js} +1 -1
  102. package/dist/chunks/{file-mutation-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{file-mutation-capa8hmm.js → schema-b7a8j68b.js} +8 -8
  104. package/dist/chunks/{file-mutation-7zkbhs7g.js → schema-bdpzzc2x.js} +11 -11
  105. package/dist/chunks/{file-mutation-d9ygp6ze.js → schema-bv266yyp.js} +7 -7
  106. package/dist/chunks/{file-mutation-05j2y7x7.js → schema-bvbtfhva.js} +7 -7
  107. package/dist/chunks/{file-mutation-j4jm9w3p.js → schema-bw8pdnvy.js} +20 -20
  108. package/dist/chunks/{file-mutation-agrw7dk4.js → schema-c81ezzqg.js} +16 -16
  109. package/dist/chunks/{file-mutation-yeav80qa.js → schema-c8k34h4t.js} +19 -19
  110. package/dist/chunks/{file-mutation-a8bn8zg0.js → schema-cavr175a.js} +4 -4
  111. package/dist/chunks/{file-mutation-ts23464c.js → schema-cfsekr6v.js} +4 -4
  112. package/dist/chunks/{file-mutation-a81dbpn4.js → schema-cjw2sxyz.js} +56 -56
  113. package/dist/chunks/{file-mutation-d3gcvv3k.js → schema-cnnankxx.js} +10 -10
  114. package/dist/chunks/{file-mutation-58mk5nmy.js → schema-czxrm6cp.js} +18 -18
  115. package/dist/chunks/{file-mutation-9kr929zm.js → schema-d8mep6qx.js} +3 -3
  116. package/dist/chunks/{file-mutation-kb6vbnxp.js → schema-de52ckkz.js} +4 -4
  117. package/dist/chunks/{file-mutation-123xm1e3.js → schema-df0ykk77.js} +9 -9
  118. package/dist/chunks/{file-mutation-c779czcw.js → schema-dnxygc0x.js} +9 -9
  119. package/dist/chunks/{file-mutation-nxm207yx.js → schema-dpkg50ah.js} +4 -4
  120. package/dist/chunks/{file-mutation-g60yh954.js → schema-dr6jkw1e.js} +35 -35
  121. package/dist/chunks/{file-mutation-dsq8k9r4.js → schema-drda7tq8.js} +35 -35
  122. package/dist/chunks/{file-mutation-nkh7czpt.js → schema-dtmn9m2k.js} +22 -22
  123. package/dist/chunks/schema-dxj72tfx.js +18 -0
  124. package/dist/chunks/{file-mutation-a9bm1b1m.js → schema-e3gj9zxp.js} +45 -45
  125. package/dist/chunks/{file-mutation-1kprmeav.js → schema-e7kdnfv2.js} +35 -35
  126. package/dist/chunks/{file-mutation-q752a12t.js → schema-e8v72fmy.js} +22 -22
  127. package/dist/chunks/{file-mutation-j8k9xj39.js → schema-e98kd4sq.js} +31 -31
  128. package/dist/chunks/{file-mutation-ayb65py8.js → schema-ecpsh8rg.js} +6 -6
  129. package/dist/chunks/{file-mutation-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{file-mutation-a1gpj94z.js → schema-eq1pz5kg.js} +3 -3
  131. package/dist/chunks/{file-mutation-wyahmztr.js → schema-espr1ah5.js} +5 -5
  132. package/dist/chunks/{file-mutation-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{file-mutation-awnyytxj.js → schema-f2030xt1.js} +36 -32
  134. package/dist/chunks/{file-mutation-x6n59cg4.js → schema-f5gz5swa.js} +14 -14
  135. package/dist/chunks/{file-mutation-f56msdte.js → schema-f6zdzjx0.js} +47 -47
  136. package/dist/chunks/{file-mutation-mbgxsypk.js → schema-f7m4gqsr.js} +31 -31
  137. package/dist/chunks/{file-mutation-j4k4y6cp.js → schema-fbhsdg98.js} +45 -45
  138. package/dist/chunks/{file-mutation-cdbfhxhg.js → schema-fe7qsfpk.js} +20 -20
  139. package/dist/chunks/{file-mutation-0swngr03.js → schema-fhh3yeyh.js} +26 -26
  140. package/dist/chunks/{file-mutation-49exe669.js → schema-fhz5gfgy.js} +5 -5
  141. package/dist/chunks/{file-mutation-a026aj5z.js → schema-fjb35128.js} +43 -43
  142. package/dist/chunks/{file-mutation-r6s1zymw.js → schema-fk3men0g.js} +35 -35
  143. package/dist/chunks/{file-mutation-w22zc6e5.js → schema-fkhfs56y.js} +18 -18
  144. package/dist/chunks/{file-mutation-eqv7r0bw.js → schema-fq9618wy.js} +6 -6
  145. package/dist/chunks/{file-mutation-wjmj7svf.js → schema-g4ec7k1p.js} +24 -24
  146. package/dist/chunks/{file-mutation-w19d8598.js → schema-g5w8qwbj.js} +7 -7
  147. package/dist/chunks/{file-mutation-s7h584sa.js → schema-g8j2n5ph.js} +9 -9
  148. package/dist/chunks/{file-mutation-kc6n47mc.js → schema-ga0tfepk.js} +3 -3
  149. package/dist/chunks/{file-mutation-dzbkcwn2.js → schema-ga67qtkk.js} +16 -16
  150. package/dist/chunks/{file-mutation-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{file-mutation-7tt1yyek.js → schema-ggdj6b59.js} +23 -23
  152. package/dist/chunks/{file-mutation-0t7934bj.js → schema-ghpd4fr7.js} +40 -40
  153. package/dist/chunks/{file-mutation-ygdna4kr.js → schema-gj71zhbs.js} +5 -5
  154. package/dist/chunks/{file-mutation-43mj7s4s.js → schema-gtmvshrw.js} +7 -7
  155. package/dist/chunks/{file-mutation-ybtvq2mj.js → schema-gwm757wf.js} +19 -19
  156. package/dist/chunks/{file-mutation-g8srsgrp.js → schema-gzh3bm7x.js} +5 -5
  157. package/dist/chunks/{file-mutation-h2b79v29.js → schema-h2b79v29.js} +2 -2
  158. package/dist/chunks/{file-mutation-g1epjwmz.js → schema-h52xp8p4.js} +12 -9
  159. package/dist/chunks/{file-mutation-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{file-mutation-gbdpq833.js → schema-he39p88c.js} +12 -12
  161. package/dist/chunks/{file-mutation-v0es1rhs.js → schema-hg3614cy.js} +9 -9
  162. package/dist/chunks/{file-mutation-awzyrsce.js → schema-hj5fbf02.js} +9 -9
  163. package/dist/chunks/{file-mutation-2cwknq7w.js → schema-hmv4j20b.js} +11 -11
  164. package/dist/chunks/{file-mutation-e2k83wgv.js → schema-hvywv52v.js} +5 -5
  165. package/dist/chunks/{file-mutation-zqcjw91e.js → schema-j129swd2.js} +17 -17
  166. package/dist/chunks/{file-mutation-j56e64zr.js → schema-j56e64zr.js} +1 -1
  167. package/dist/chunks/{file-mutation-xz8rcs7k.js → schema-j75c4hzg.js} +28 -28
  168. package/dist/chunks/{file-mutation-ngt3qdhm.js → schema-jba7mbpp.js} +5 -5
  169. package/dist/chunks/{file-mutation-5s0bmr25.js → schema-jyxk3ed8.js} +23 -23
  170. package/dist/chunks/{file-mutation-g31erja1.js → schema-k70p9jzb.js} +9 -9
  171. package/dist/chunks/{file-mutation-w7w59cfp.js → schema-kbm049ab.js} +13 -13
  172. package/dist/chunks/{file-mutation-vxmhavab.js → schema-kcn8d4wf.js} +13 -13
  173. package/dist/chunks/{file-mutation-bmdr62wy.js → schema-kg6ewcnz.js} +5 -5
  174. package/dist/chunks/{file-mutation-84xy7cmd.js → schema-kjhtpa86.js} +3 -3
  175. package/dist/chunks/{file-mutation-8gqyy45k.js → schema-kp7w4w0c.js} +20 -20
  176. package/dist/chunks/{file-mutation-2j93mrye.js → schema-kzsy6v0s.js} +11 -11
  177. package/dist/chunks/{file-mutation-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{file-mutation-k09a0f44.js → schema-m761qzqs.js} +15 -15
  179. package/dist/chunks/{file-mutation-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{file-mutation-gka6nvrt.js → schema-mpyv0gjv.js} +15 -15
  181. package/dist/chunks/{file-mutation-tmjgp03p.js → schema-msjz9fyp.js} +38 -38
  182. package/dist/chunks/{file-mutation-2sq0rgeb.js → schema-mt9f3aka.js} +31 -31
  183. package/dist/chunks/{file-mutation-9qwqd80z.js → schema-mxfx3p70.js} +23 -23
  184. package/dist/chunks/{file-mutation-gqtdsdt7.js → schema-mxvxcxwy.js} +4 -4
  185. package/dist/chunks/{file-mutation-w48dyk57.js → schema-mygtg7h0.js} +22 -22
  186. package/dist/chunks/{file-mutation-z39s51pd.js → schema-n3q2c8vm.js} +15 -15
  187. package/dist/chunks/{file-mutation-39kj94aj.js → schema-nhzfetse.js} +13 -13
  188. package/dist/chunks/{file-mutation-ehn96ckv.js → schema-nqee14cx.js} +11 -11
  189. package/dist/chunks/{file-mutation-68cfq5az.js → schema-nsjtt5er.js} +25 -25
  190. package/dist/chunks/{file-mutation-pa8pe2x7.js → schema-p37cw4rj.js} +8 -8
  191. package/dist/chunks/{file-mutation-7q62a8nt.js → schema-p7f50jp2.js} +11 -11
  192. package/dist/chunks/{file-mutation-w7n29mqq.js → schema-pgb4114y.js} +4 -4
  193. package/dist/chunks/{file-mutation-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{file-mutation-3gepn018.js → schema-pkdmza6n.js} +8 -8
  195. package/dist/chunks/{file-mutation-9n9hgcd8.js → schema-pkn3rqad.js} +18 -18
  196. package/dist/chunks/{file-mutation-pknna89w.js → schema-pknna89w.js} +1 -1
  197. package/dist/chunks/{file-mutation-b6nfqgtw.js → schema-pkqfn6w5.js} +12 -12
  198. package/dist/chunks/{file-mutation-px76j0pk.js → schema-pnkbpv6t.js} +5 -5
  199. package/dist/chunks/{file-mutation-4rt0ga34.js → schema-prq7hedt.js} +9 -9
  200. package/dist/chunks/{file-mutation-d15mmqf3.js → schema-pt6d7ckw.js} +11 -11
  201. package/dist/chunks/{file-mutation-t6fvfsyt.js → schema-pvxscb8w.js} +1 -1
  202. package/dist/chunks/{file-mutation-q0xm7vwc.js → schema-q0xm7vwc.js} +2 -2
  203. package/dist/chunks/{file-mutation-n9vhqagr.js → schema-q7cgqs0q.js} +30 -30
  204. package/dist/chunks/{file-mutation-zy0jt0ey.js → schema-qdgd7pts.js} +42 -42
  205. package/dist/chunks/{file-mutation-6136cgh5.js → schema-qj8bvm0v.js} +52 -52
  206. package/dist/chunks/{file-mutation-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{file-mutation-m1khtztb.js → schema-qnpbp7f6.js} +5 -5
  208. package/dist/chunks/{file-mutation-qsdy395h.js → schema-qsdy395h.js} +1 -1
  209. package/dist/chunks/{file-mutation-kzrvy21g.js → schema-qsmpxerm.js} +12 -12
  210. package/dist/chunks/{file-mutation-qxjc9qry.js → schema-qxjc9qry.js} +3 -3
  211. package/dist/chunks/{file-mutation-cwa6csj7.js → schema-r2m716tb.js} +9 -9
  212. package/dist/chunks/{file-mutation-ceetf7sw.js → schema-r3q6pmcz.js} +8 -8
  213. package/dist/chunks/{file-mutation-tfj6v96f.js → schema-r51ygcfp.js} +45 -44
  214. package/dist/chunks/{file-mutation-72p9t9gb.js → schema-rb8mch2y.js} +33 -33
  215. package/dist/chunks/{file-mutation-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{file-mutation-wv396vej.js → schema-rhjbct0v.js} +8 -8
  217. package/dist/chunks/{file-mutation-180jb965.js → schema-rhms3hdd.js} +19 -19
  218. package/dist/chunks/{file-mutation-qkrdv68w.js → schema-rhxwzm2w.js} +32 -32
  219. package/dist/chunks/{file-mutation-rzg0yy35.js → schema-rjt6kdv6.js} +11 -11
  220. package/dist/chunks/{file-mutation-ep44p4pe.js → schema-rttzrg3r.js} +12 -12
  221. package/dist/chunks/{file-mutation-h0tn9bp1.js → schema-rxsn8x9d.js} +24 -24
  222. package/dist/chunks/{file-mutation-ab0bv3vs.js → schema-ry4cmxgm.js} +10 -10
  223. package/dist/chunks/{file-mutation-dra5cftj.js → schema-rypd5ndp.js} +2 -2
  224. package/dist/chunks/{file-mutation-ryr25ayn.js → schema-ryr25ayn.js} +1 -1
  225. package/dist/chunks/{file-mutation-sazhseep.js → schema-s0yv6qk4.js} +11 -11
  226. package/dist/chunks/{file-mutation-5h9mcdhs.js → schema-sbdntvmw.js} +28 -28
  227. package/dist/chunks/{file-mutation-zx95ftzb.js → schema-sd9a6snf.js} +3 -3
  228. package/dist/chunks/{file-mutation-y5beyqvm.js → schema-sdsbj08z.js} +2 -2
  229. package/dist/chunks/{file-mutation-0pzykd19.js → schema-shny27f7.js} +38 -38
  230. package/dist/chunks/{file-mutation-mbrh99t5.js → schema-skzfdnfe.js} +5 -5
  231. package/dist/chunks/{file-mutation-zrtb0087.js → schema-srdpzyxc.js} +10 -10
  232. package/dist/chunks/{file-mutation-ftmsc343.js → schema-sy8hwy21.js} +17 -17
  233. package/dist/chunks/{file-mutation-f73rjn58.js → schema-t7n9q6bq.js} +4 -4
  234. package/dist/chunks/{file-mutation-wtr910ek.js → schema-taw4b7j9.js} +19 -19
  235. package/dist/chunks/{file-mutation-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{file-mutation-93ygb5af.js → schema-tcay1cqt.js} +6 -6
  237. package/dist/chunks/{file-mutation-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{file-mutation-tdstcens.js → schema-tdstcens.js} +1 -1
  239. package/dist/chunks/{file-mutation-v5azp370.js → schema-tg9q7e94.js} +48 -48
  240. package/dist/chunks/{file-mutation-7jvbf81s.js → schema-th268h5n.js} +33 -33
  241. package/dist/chunks/{file-mutation-y6mhz57t.js → schema-tjedn1bk.js} +4 -4
  242. package/dist/chunks/{file-mutation-94qxd8wt.js → schema-tqk33c0s.js} +3 -3
  243. package/dist/chunks/{file-mutation-bygr0fca.js → schema-tra9m5aj.js} +41 -41
  244. package/dist/chunks/{file-mutation-ceze7etz.js → schema-tz8q98pd.js} +3 -3
  245. package/dist/chunks/{file-mutation-skq3snf0.js → schema-v3cgeczt.js} +3 -3
  246. package/dist/chunks/{file-mutation-hh8qm7ej.js → schema-vejndnrc.js} +22 -22
  247. package/dist/chunks/{file-mutation-veqvce7d.js → schema-veqvce7d.js} +1 -1
  248. package/dist/chunks/{file-mutation-rpfmaskv.js → schema-vjmmbq9h.js} +83 -83
  249. package/dist/chunks/{file-mutation-qpjyd557.js → schema-vmx43xs3.js} +15 -15
  250. package/dist/chunks/{file-mutation-10t9a2f3.js → schema-vtt0yr3x.js} +17 -17
  251. package/dist/chunks/{file-mutation-aawfa1p8.js → schema-vwk1vad2.js} +1 -1
  252. package/dist/chunks/{file-mutation-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{file-mutation-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{file-mutation-84txncab.js → schema-w1eejvng.js} +5 -5
  255. package/dist/chunks/{file-mutation-dssbfrwz.js → schema-w39jehkq.js} +5 -5
  256. package/dist/chunks/{file-mutation-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{file-mutation-3xe73pcq.js → schema-w65mgvd1.js} +26 -26
  258. package/dist/chunks/{file-mutation-wd87259q.js → schema-wd87259q.js} +1 -1
  259. package/dist/chunks/{file-mutation-bj8e23yz.js → schema-wdhp2wqx.js} +20 -20
  260. package/dist/chunks/{file-mutation-f3d9psnk.js → schema-wrqwmc22.js} +36 -36
  261. package/dist/chunks/{file-mutation-47qpzrds.js → schema-x0m3x8cn.js} +46 -46
  262. package/dist/chunks/{file-mutation-5w26m471.js → schema-x68tzkrm.js} +9 -9
  263. package/dist/chunks/{file-mutation-g5krbyz9.js → schema-x9300pb6.js} +15 -15
  264. package/dist/chunks/{file-mutation-6s812hbs.js → schema-xb9ezq08.js} +30 -30
  265. package/dist/chunks/{file-mutation-peptrfgf.js → schema-xgam4qj3.js} +26 -26
  266. package/dist/chunks/{file-mutation-xkntkrq7.js → schema-xkntkrq7.js} +2 -2
  267. package/dist/chunks/{file-mutation-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{file-mutation-s1gjyzhy.js → schema-y3739sk3.js} +12 -12
  269. package/dist/chunks/{file-mutation-6nwe3trr.js → schema-y5k41zqf.js} +10 -10
  270. package/dist/chunks/{file-mutation-pwk6y6g7.js → schema-y5t28hz6.js} +33 -33
  271. package/dist/chunks/{file-mutation-fbck328a.js → schema-y730841x.js} +24 -24
  272. package/dist/chunks/{file-mutation-8ne23mfp.js → schema-yk45h2rs.js} +15 -15
  273. package/dist/chunks/{file-mutation-k66mh8t8.js → schema-yk5nserk.js} +4 -4
  274. package/dist/chunks/{file-mutation-gez6wwhh.js → schema-ykjpaak5.js} +15 -15
  275. package/dist/chunks/{file-mutation-f29mbr7f.js → schema-yrcj3v3g.js} +4 -4
  276. package/dist/chunks/schema-ywtmtjc3.js +253 -0
  277. package/dist/chunks/{file-mutation-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{file-mutation-6hbe8yta.js → schema-z2nx0y2v.js} +13 -13
  279. package/dist/chunks/{file-mutation-1qxsyfe0.js → schema-z71avzk1.js} +27 -27
  280. package/dist/chunks/{file-mutation-exm9kzsb.js → schema-z8x71xh1.js} +5 -5
  281. package/dist/chunks/{file-mutation-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{file-mutation-jpqsftmp.js → schema-zw122828.js} +35 -35
  283. package/dist/chunks/{file-mutation-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +81 -81
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +116 -116
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +80 -80
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +105 -105
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +4 -4
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +85 -85
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +103 -103
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +102 -100
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +111 -111
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +104 -104
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +115 -115
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +115 -115
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +99 -99
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +93 -93
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +90 -90
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +75 -75
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +118 -118
  585. package/dist/session/model-transport.js +7 -7
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +213 -213
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +15 -15
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +105 -105
  622. package/dist/skill.js +108 -108
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +126 -126
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +208 -208
  638. package/dist/tool/plugin/skill.js +109 -109
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/types/model.d.ts +1 -0
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  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/command.js +1 -1
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +3 -3
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +91 -91
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +82 -82
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +81 -81
  672. package/dist/workspace/driver.js +7 -7
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +8 -8
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +94 -94
  680. package/package.json +8 -8
  681. package/dist/chunks/file-mutation-2r7ew65j.js +0 -26
  682. package/dist/chunks/file-mutation-8fke18e1.js +0 -253
  683. package/dist/chunks/file-mutation-kjjjense.js +0 -507
  684. package/dist/chunks/file-mutation-rap9a73h.js +0 -18
  685. /package/dist/chunks/{file-mutation-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{file-mutation-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{file-mutation-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{file-mutation-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{file-mutation-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{file-mutation-24dcb14g.js → schema-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{file-mutation-2710q6r3.js → schema-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{file-mutation-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{file-mutation-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{file-mutation-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{file-mutation-359p4xyc.js → schema-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{file-mutation-3asan66x.js → schema-3asan66x.js} +0 -0
  697. /package/dist/chunks/{file-mutation-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{file-mutation-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{file-mutation-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{file-mutation-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{file-mutation-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{file-mutation-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{file-mutation-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{file-mutation-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{file-mutation-53557ph1.js → schema-53557ph1.js} +0 -0
  706. /package/dist/chunks/{file-mutation-550bvhaj.js → schema-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{file-mutation-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{file-mutation-6prwharc.js → schema-6prwharc.js} +0 -0
  709. /package/dist/chunks/{file-mutation-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{file-mutation-7m9af43g.js → schema-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{file-mutation-822emrt2.js → schema-822emrt2.js} +0 -0
  712. /package/dist/chunks/{file-mutation-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{file-mutation-8n3pysct.js → schema-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{file-mutation-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{file-mutation-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{file-mutation-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{file-mutation-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{file-mutation-af5trqkr.js → schema-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{file-mutation-afrmfg78.js → schema-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{file-mutation-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{file-mutation-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{file-mutation-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{file-mutation-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{file-mutation-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{file-mutation-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{file-mutation-d9fn303g.js → schema-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{file-mutation-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{file-mutation-dajrwvna.js → schema-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{file-mutation-dap0rakb.js → schema-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{file-mutation-df08tz66.js → schema-df08tz66.js} +0 -0
  731. /package/dist/chunks/{file-mutation-dy18nga0.js → schema-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{file-mutation-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{file-mutation-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{file-mutation-ec1grn59.js → schema-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{file-mutation-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{file-mutation-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{file-mutation-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{file-mutation-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{file-mutation-faypxj3z.js → schema-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{file-mutation-fd410y7t.js → schema-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{file-mutation-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{file-mutation-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{file-mutation-g86h250q.js → schema-g86h250q.js} +0 -0
  744. /package/dist/chunks/{file-mutation-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{file-mutation-gftt206x.js → schema-gftt206x.js} +0 -0
  746. /package/dist/chunks/{file-mutation-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{file-mutation-hk9envan.js → schema-hk9envan.js} +0 -0
  748. /package/dist/chunks/{file-mutation-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{file-mutation-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{file-mutation-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{file-mutation-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{file-mutation-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{file-mutation-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{file-mutation-mp448xyj.js → schema-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{file-mutation-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{file-mutation-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{file-mutation-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{file-mutation-njntx4h6.js → schema-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{file-mutation-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{file-mutation-q74kybfr.js → schema-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{file-mutation-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{file-mutation-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{file-mutation-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{file-mutation-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{file-mutation-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{file-mutation-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{file-mutation-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{file-mutation-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{file-mutation-w803qqfp.js → schema-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{file-mutation-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{file-mutation-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{file-mutation-wtztk69x.js → schema-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{file-mutation-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{file-mutation-x61499pn.js → schema-x61499pn.js} +0 -0
  775. /package/dist/chunks/{file-mutation-y44na4kk.js → schema-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{file-mutation-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{file-mutation-y8f7s663.js → schema-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{file-mutation-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{file-mutation-ym463w8f.js → schema-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{file-mutation-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{file-mutation-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-mutation-94qxd8wt.js";
4
+ } from "./schema-tqk33c0s.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./file-mutation-s1gjyzhy.js";
6
+ Service82,
7
+ node86
8
+ } from "./schema-y3739sk3.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./file-mutation-pknna89w.js";
11
+ } from "./schema-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./file-mutation-3zsf4n22.js";
14
+ } from "./schema-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./file-mutation-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
- Event: () => Event17,
24
- ID: () => ID9,
25
- Info: () => Info20,
26
- Key: () => Key3,
23
+ Event: () => Event18,
24
+ ID: () => ID14,
25
+ Info: () => Info24,
26
+ Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service68,
28
+ Service: () => Service73,
29
29
  Value: () => Value2,
30
- node: () => node71
30
+ node: () => node77
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 ID9 = Credential.ID;
37
+ var ID14 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key3 = Credential.Key;
39
+ var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event17 = Credential.Event;
41
+ var Event18 = Credential.Event;
42
42
 
43
- class Info20 extends Schema.Class("Credential.Info")({
44
- id: ID9,
43
+ class Info24 extends Schema.Class("Credential.Info")({
44
+ id: ID14,
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 Service73 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service68, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
- const bus = yield* Service83;
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 Info20({
60
+ return new Info24({
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 Service73.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 Info20({
80
- id: input.id ?? ID9.create(),
79
+ const credential = new Info24({
80
+ id: input.id ?? ID14.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
108
108
  type: credential.value.type,
109
109
  active: activated
110
110
  });
111
- yield* bus.publish(Event17.Updated, {}, { global: true });
111
+ yield* bus.publish(Event18.Updated, {}, { global: true });
112
112
  if (activated)
113
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
113
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
114
114
  return credential;
115
115
  }),
116
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
130
130
  })), Effect.orDie);
131
131
  if (integrationID) {
132
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
133
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
134
134
  }
135
135
  }),
136
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
162
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
163
163
  });
164
164
  if (updates.label !== undefined && updates.label !== credential.label)
165
- yield* bus.publish(Event17.Updated, {}, { global: true });
165
+ yield* bus.publish(Event18.Updated, {}, { global: true });
166
166
  }),
167
167
  remove: Effect.fn("Credential.remove")(function* (id) {
168
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
195
195
  active: removed.switched,
196
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
197
197
  });
198
- yield* bus.publish(Event17.Updated, {}, { global: true });
198
+ yield* bus.publish(Event18.Updated, {}, { global: true });
199
199
  if (removed.switched)
200
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
201
201
  })
202
202
  });
203
203
  }));
204
- var node71 = makeGlobalNode({ service: Service68, layer, deps: [node88, node87] });
204
+ var node77 = makeGlobalNode({ service: Service73, layer, deps: [node88, node86] });
205
205
 
206
- export { ID9, OAuth3, Key3, Value2, Event17, Info20, Service68, node71, exports_credential };
206
+ export { ID14, OAuth3, Key4, Value2, Event18, Info24, Service73, node77, exports_credential };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./file-mutation-2a5m3afh.js";
6
+ } from "./schema-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./file-mutation-1dazxqgg.js";
9
+ } from "./schema-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./file-mutation-b6gygkdw.js";
12
+ } from "./schema-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./file-mutation-aaet6srn.js";
15
+ } from "./schema-aaet6srn.js";
16
16
  import {
17
- Service80,
18
- node84
19
- } from "./file-mutation-jcvj30yp.js";
17
+ Service77,
18
+ node81
19
+ } from "./schema-0brrbz7a.js";
20
20
  import {
21
- Service69,
22
- node72
23
- } from "./file-mutation-gxxtbefb.js";
21
+ Service59,
22
+ node61
23
+ } from "./schema-2ty9snxt.js";
24
24
  import {
25
25
  __export
26
- } from "./file-mutation-9rqn6x4v.js";
26
+ } from "./schema-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service54,
33
- node: () => node58
32
+ Service: () => Service58,
33
+ node: () => node60
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service54,
46
+ Service: () => Service58,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node58,
52
+ node: () => node60,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service54 extends Context.Service()("@opencode/Environment") {
61
+ class Service58 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service54, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service80;
66
- const workspace = yield* Service69;
65
+ const location = yield* Service77;
66
+ const workspace = yield* Service59;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service54.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service58.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node58 = makeLocationNode({
71
- service: Service54,
70
+ var node60 = makeLocationNode({
71
+ service: Service58,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node84, node72]
73
+ deps: [CrossSpawnSpawner.node, node81, node61]
74
74
  });
75
75
 
76
- export { Service54, node58, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service58, node60, exports_environment2, makeFiles2, exports_environment3 };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-mutation-z5v4ffb3.js";
5
+ } from "./schema-z5v4ffb3.js";
6
6
  import {
7
- Service54,
8
- node58
9
- } from "./file-mutation-fbck328a.js";
7
+ Service58,
8
+ node60
9
+ } from "./schema-y730841x.js";
10
10
  import {
11
11
  Content2
12
- } from "./file-mutation-3xe73pcq.js";
12
+ } from "./schema-w65mgvd1.js";
13
13
  import {
14
14
  detect2
15
- } from "./file-mutation-3smtnn6g.js";
15
+ } from "./schema-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./file-mutation-9rqn6x4v.js";
18
+ } from "./schema-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service10,
36
+ Service: () => Service11,
37
37
  TextPage: () => TextPage2,
38
- node: () => node12,
38
+ node: () => node13,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service10 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service11 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service10, Effect.gen(function* () {
334
- const environment = yield* Service54;
335
- return Service10.of({
333
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
334
+ const environment = yield* Service58;
335
+ return Service11.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node12 = makeLocationNode({ service: Service10, layer, deps: [node58] });
340
+ var node13 = makeLocationNode({ service: Service11, layer, deps: [node60] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service10, read2, node12, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service11, read2, node13, exports_read_filesystem };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./file-mutation-0paq2nw3.js";
4
+ } from "./schema-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./file-mutation-77hgjsk3.js";
7
+ } from "./schema-461mwfvs.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./file-mutation-awnyytxj.js";
11
+ } from "./schema-f2030xt1.js";
12
12
  import {
13
13
  __export
14
- } from "./file-mutation-9rqn6x4v.js";
14
+ } from "./schema-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service44
3
- } from "./file-mutation-bj8e23yz.js";
2
+ Service56
3
+ } from "./schema-wdhp2wqx.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./file-mutation-wv396vej.js";
6
+ } from "./schema-rhjbct0v.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./file-mutation-z5v4ffb3.js";
9
+ } from "./schema-z5v4ffb3.js";
10
10
  import {
11
11
  File2,
12
- Service55
13
- } from "./file-mutation-n9vhqagr.js";
12
+ Service39
13
+ } from "./schema-q7cgqs0q.js";
14
14
  import {
15
- Service80
16
- } from "./file-mutation-jcvj30yp.js";
15
+ Service77
16
+ } from "./schema-0brrbz7a.js";
17
17
  import {
18
18
  __export
19
- } from "./file-mutation-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin10
25
+ Plugin: () => Plugin34
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
30
30
  import { sameDirectory } from "@opencode/util/path";
31
31
  import { dirname, join } from "path";
32
32
  import { Effect, PubSub, Semaphore, Stream } from "effect";
33
- var Plugin10 = define({
33
+ var Plugin34 = define({
34
34
  id: "opencode.config.instruction",
35
35
  effect: Effect.fn(function* () {
36
- const discovery = yield* Service55;
36
+ const discovery = yield* Service39;
37
37
  if (!discovery.project && !discovery.global)
38
38
  return;
39
39
  yield* Effect.gen(function* () {
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
- const location = yield* Service80;
43
- const watcher = yield* Service44;
42
+ const location = yield* Service77;
43
+ const watcher = yield* Service56;
44
44
  const changes = yield* PubSub.sliding(1);
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  const start = yield* fs.resolve(location.directory);
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
115
115
  return [start, ...ancestorDirectories(dirname(start), stop)];
116
116
  }
117
117
 
118
- export { Plugin10, exports_instruction };
118
+ export { Plugin34, exports_instruction };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info23,
8
+ Info: () => Info16,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Predicate, Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info23 = SessionProviderContext.Info;
22
+ var Info16 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
66
66
  });
67
67
  }
68
68
 
69
- export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
69
+ export { Info16, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -0,0 +1,253 @@
1
+ import {
2
+ node67
3
+ } from "./schema-g4ec7k1p.js";
4
+ import {
5
+ node76
6
+ } from "./schema-2aajs87z.js";
7
+ import {
8
+ node75
9
+ } from "./schema-e98kd4sq.js";
10
+ import {
11
+ node81,
12
+ boundNode2
13
+ } from "./schema-0brrbz7a.js";
14
+ import {
15
+ node74
16
+ } from "./schema-461mwfvs.js";
17
+ import {
18
+ node69
19
+ } from "./schema-rjt6kdv6.js";
20
+ import {
21
+ node73
22
+ } from "./schema-f2030xt1.js";
23
+ import {
24
+ node46
25
+ } from "./schema-jyxk3ed8.js";
26
+ import {
27
+ configured7,
28
+ node57
29
+ } from "./schema-x0m3x8cn.js";
30
+ import {
31
+ node60
32
+ } from "./schema-y730841x.js";
33
+ import {
34
+ node25
35
+ } from "./schema-kbm049ab.js";
36
+ import {
37
+ node15
38
+ } from "./schema-x9300pb6.js";
39
+ import {
40
+ node27
41
+ } from "./schema-xb9ezq08.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node26
45
+ } from "./schema-w65mgvd1.js";
46
+ import {
47
+ node54
48
+ } from "./schema-r51ygcfp.js";
49
+ import {
50
+ node20
51
+ } from "./schema-785emzww.js";
52
+ import {
53
+ node53
54
+ } from "./schema-pnkbpv6t.js";
55
+ import {
56
+ node41
57
+ } from "./schema-f6zdzjx0.js";
58
+ import {
59
+ Service48,
60
+ node50
61
+ } from "./schema-tcay1cqt.js";
62
+ import {
63
+ node35
64
+ } from "./schema-nqee14cx.js";
65
+ import {
66
+ node68
67
+ } from "./schema-9y0w708y.js";
68
+ import {
69
+ node64
70
+ } from "./schema-qj8bvm0v.js";
71
+ import {
72
+ node48
73
+ } from "./schema-6p0hs1pc.js";
74
+ import {
75
+ configured6,
76
+ node42
77
+ } from "./schema-q7cgqs0q.js";
78
+ import {
79
+ node34
80
+ } from "./schema-aff3a7hd.js";
81
+ import {
82
+ node45
83
+ } from "./schema-dtmn9m2k.js";
84
+ import {
85
+ node40
86
+ } from "./schema-8c6aeth0.js";
87
+ import {
88
+ node70
89
+ } from "./schema-mt9f3aka.js";
90
+ import {
91
+ node38
92
+ } from "./schema-1j43e8h9.js";
93
+ import {
94
+ node52
95
+ } from "./schema-66f72jf0.js";
96
+ import {
97
+ node43
98
+ } from "./schema-n3q2c8vm.js";
99
+ import {
100
+ node33
101
+ } from "./schema-vjmmbq9h.js";
102
+ import {
103
+ node44
104
+ } from "./schema-th268h5n.js";
105
+ import {
106
+ node59
107
+ } from "./schema-e8v72fmy.js";
108
+ import {
109
+ node63
110
+ } from "./schema-bdpzzc2x.js";
111
+ import {
112
+ node55
113
+ } from "./schema-0nrdtycv.js";
114
+ import {
115
+ node80
116
+ } from "./schema-czxrm6cp.js";
117
+ import {
118
+ node79
119
+ } from "./schema-rxsn8x9d.js";
120
+ import {
121
+ node85
122
+ } from "./schema-nsjtt5er.js";
123
+ import {
124
+ node22
125
+ } from "./schema-9kwc633n.js";
126
+ import {
127
+ node19
128
+ } from "./schema-kp7w4w0c.js";
129
+ import {
130
+ node2
131
+ } from "./schema-drda7tq8.js";
132
+ import {
133
+ Service14,
134
+ node16
135
+ } from "./schema-dr6jkw1e.js";
136
+ import {
137
+ node18
138
+ } from "./schema-pkn3rqad.js";
139
+ import {
140
+ node5,
141
+ bound2
142
+ } from "./schema-p37cw4rj.js";
143
+ import {
144
+ node11
145
+ } from "./schema-fbhsdg98.js";
146
+ import {
147
+ node12
148
+ } from "./schema-vejndnrc.js";
149
+ import {
150
+ node13
151
+ } from "./schema-yk45h2rs.js";
152
+ import {
153
+ node3
154
+ } from "./schema-qdgd7pts.js";
155
+ import {
156
+ node17
157
+ } from "./schema-j75c4hzg.js";
158
+ import {
159
+ node10
160
+ } from "./schema-2s93m5wx.js";
161
+ import {
162
+ node9
163
+ } from "./schema-3jqk5x8p.js";
164
+ import {
165
+ __export
166
+ } from "./schema-9rqn6x4v.js";
167
+
168
+ // src/instance.ts
169
+ var exports_instance = {};
170
+ __export(exports_instance, {
171
+ Instance: () => exports_instance,
172
+ Service: () => Service48,
173
+ graph: () => graph2,
174
+ layer: () => layer2,
175
+ node: () => node50
176
+ });
177
+ import { Context, Effect, Layer } from "effect";
178
+ import { LayerNode } from "@opencode/util/effect/layer-node";
179
+ import { Node } from "@opencode/util/effect/app-node";
180
+ var nodes = [
181
+ node81,
182
+ node16,
183
+ node60,
184
+ node57,
185
+ node67,
186
+ node46,
187
+ node70,
188
+ node80,
189
+ node85,
190
+ node75,
191
+ node74,
192
+ node73,
193
+ node54,
194
+ node69,
195
+ node19,
196
+ node68,
197
+ node5,
198
+ node3,
199
+ node22,
200
+ node27,
201
+ node26,
202
+ node59,
203
+ node17,
204
+ node55,
205
+ node52,
206
+ node34,
207
+ node42,
208
+ node18,
209
+ node25,
210
+ node15,
211
+ node41,
212
+ node64,
213
+ node45,
214
+ node63,
215
+ node53,
216
+ node43,
217
+ node38,
218
+ node35,
219
+ node76,
220
+ node20,
221
+ node13,
222
+ node40,
223
+ node12,
224
+ node48,
225
+ node11,
226
+ node10,
227
+ node33,
228
+ node44,
229
+ node9,
230
+ node79,
231
+ node2
232
+ ];
233
+ var graph2 = LayerNode.group(nodes);
234
+ var vanillaReplacements = [
235
+ node57.replace(configured7({ project: false, global: false })),
236
+ node42.replace(configured6({ project: false, global: false }))
237
+ ];
238
+ function layer2(ref, options = {}) {
239
+ const startedAt = performance.now();
240
+ const replacements = [
241
+ ...options.discovery === false ? vanillaReplacements : [],
242
+ ...options.replacements ?? [],
243
+ node81.replace(boundNode2(ref)),
244
+ node5.replace(bound2(options.plugins ?? []))
245
+ ];
246
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service14).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
247
+ directory: ref.directory,
248
+ workspaceID: ref.workspaceID,
249
+ durationMs: Math.round(performance.now() - startedAt)
250
+ })));
251
+ }
252
+
253
+ export { graph2, layer2, exports_instance };