@opencode/core 0.0.0-dev-19639 → 0.0.0-dev-19641

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  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/{kv-7ac170kv.js → repository-022zszfk.js} +4 -4
  8. package/dist/chunks/{kv-9d2y98hx.js → repository-0b14vw1q.js} +10 -10
  9. package/dist/chunks/{kv-7dqw4kz8.js → repository-0jwsre1p.js} +5 -5
  10. package/dist/chunks/{kv-ktsp86c1.js → repository-0m270a1v.js} +12 -12
  11. package/dist/chunks/{kv-6h8410cm.js → repository-0njt823n.js} +15 -15
  12. package/dist/chunks/{kv-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{kv-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{kv-zrdk0evt.js → repository-0rq3g8zw.js} +47 -47
  15. package/dist/chunks/{kv-hpfvhvya.js → repository-0tzy42a9.js} +8 -8
  16. package/dist/chunks/{kv-9gth7wdx.js → repository-0w1f861w.js} +19 -19
  17. package/dist/chunks/{kv-ywb23tag.js → repository-13r5jw2b.js} +4 -4
  18. package/dist/chunks/{kv-aazbweyx.js → repository-17293f3c.js} +25 -25
  19. package/dist/chunks/{kv-v3w1xs5d.js → repository-1bcxbe9x.js} +18 -18
  20. package/dist/chunks/{kv-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{kv-y98n2nmb.js → repository-1ekzbtbf.js} +22 -22
  22. package/dist/chunks/{kv-60rh8x3g.js → repository-1sretzg1.js} +6 -6
  23. package/dist/chunks/{kv-548bwhbx.js → repository-1wg5p6ww.js} +5 -5
  24. package/dist/chunks/{kv-rxk5qj53.js → repository-1yz0g0m5.js} +5 -5
  25. package/dist/chunks/{kv-9c9zbnn4.js → repository-20zb88xt.js} +8 -8
  26. package/dist/chunks/{kv-21r38tys.js → repository-21r38tys.js} +1 -1
  27. package/dist/chunks/{kv-msq0jde0.js → repository-26k5bknw.js} +4 -4
  28. package/dist/chunks/{kv-psw4s0xn.js → repository-28va4af7.js} +29 -29
  29. package/dist/chunks/{kv-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{kv-zr0yvs15.js → repository-2djr425b.js} +14 -14
  31. package/dist/chunks/{kv-dj9sq318.js → repository-2f0bjgcj.js} +5 -5
  32. package/dist/chunks/{kv-ydpmx7wn.js → repository-2j4r6xad.js} +32 -32
  33. package/dist/chunks/{kv-cm4vr11e.js → repository-2jd8g396.js} +4 -4
  34. package/dist/chunks/{kv-r2m716tb.js → repository-2sejkfem.js} +9 -9
  35. package/dist/chunks/{kv-verbbpg9.js → repository-2stkan3c.js} +15 -15
  36. package/dist/chunks/{kv-990yn902.js → repository-2zax08mt.js} +26 -26
  37. package/dist/chunks/{kv-x58pb539.js → repository-30eqmqpp.js} +11 -11
  38. package/dist/chunks/{kv-dn2vbr7z.js → repository-34fqh6p5.js} +11 -11
  39. package/dist/chunks/{kv-zegzr0ah.js → repository-37b6ez2j.js} +23 -23
  40. package/dist/chunks/{kv-4rpey7g3.js → repository-37ebpvw9.js} +9 -9
  41. package/dist/chunks/{kv-sm181a3e.js → repository-39f1584t.js} +39 -39
  42. package/dist/chunks/{kv-vmmg1jfa.js → repository-3bf1s52j.js} +11 -11
  43. package/dist/chunks/{kv-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{kv-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{kv-z7pmxwv1.js → repository-3r50wr0m.js} +11 -11
  46. package/dist/chunks/{kv-g5wygk5r.js → repository-3r7y1bmj.js} +8 -8
  47. package/dist/chunks/{kv-by366b0z.js → repository-3rsfwx59.js} +11 -11
  48. package/dist/chunks/{kv-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{kv-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{kv-tpej8ve4.js → repository-43n7bj9p.js} +17 -17
  51. package/dist/chunks/{kv-jsa56ppy.js → repository-43x1z7ts.js} +15 -15
  52. package/dist/chunks/{kv-werfsjnx.js → repository-46mp2fbj.js} +22 -22
  53. package/dist/chunks/{kv-5kjbzgy0.js → repository-4c6j548z.js} +20 -20
  54. package/dist/chunks/{kv-v001sjzq.js → repository-4d9e275k.js} +3 -3
  55. package/dist/chunks/{kv-5rm646d3.js → repository-4dv6yh9h.js} +11 -11
  56. package/dist/chunks/{kv-bnkdgddv.js → repository-4hbkshj8.js} +21 -21
  57. package/dist/chunks/{kv-5qkxfyep.js → repository-4jv7e9dq.js} +9 -9
  58. package/dist/chunks/{kv-ddq2qd83.js → repository-4w0z6s55.js} +28 -28
  59. package/dist/chunks/{kv-faqjheh2.js → repository-4wpthnmc.js} +9 -9
  60. package/dist/chunks/{kv-5syhs8jk.js → repository-4z0t326k.js} +14 -14
  61. package/dist/chunks/{kv-jw80jp6b.js → repository-50mzsvk4.js} +4 -4
  62. package/dist/chunks/{kv-pegpe8pp.js → repository-571g6s48.js} +19 -19
  63. package/dist/chunks/{kv-57ez7d0k.js → repository-57ez7d0k.js} +2 -2
  64. package/dist/chunks/{kv-xwztb879.js → repository-59q7gtcp.js} +12 -12
  65. package/dist/chunks/{kv-csdaj16z.js → repository-5cmxdwv8.js} +3 -3
  66. package/dist/chunks/{kv-5daktx2q.js → repository-5daktx2q.js} +1 -1
  67. package/dist/chunks/{kv-4pwnbtse.js → repository-5f98ydnc.js} +32 -32
  68. package/dist/chunks/{kv-8b9twrdg.js → repository-5g2jcqse.js} +28 -28
  69. package/dist/chunks/{kv-sqenp41j.js → repository-5h5ndvra.js} +18 -18
  70. package/dist/chunks/{kv-d9s3hc82.js → repository-5q9xhcq9.js} +10 -10
  71. package/dist/chunks/{kv-3a9wmna2.js → repository-5r39x4nd.js} +28 -28
  72. package/dist/chunks/{kv-behht3cm.js → repository-5rarp9m9.js} +19 -19
  73. package/dist/chunks/{kv-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{kv-3d23mvyt.js → repository-635kzfvw.js} +10 -10
  75. package/dist/chunks/{kv-669tq793.js → repository-669tq793.js} +1 -1
  76. package/dist/chunks/{kv-mjvv52aw.js → repository-6g79pp1f.js} +173 -173
  77. package/dist/chunks/{kv-6h73sxmp.js → repository-6h73sxmp.js} +1 -1
  78. package/dist/chunks/{kv-e8m664vc.js → repository-6h7ta2r3.js} +7 -7
  79. package/dist/chunks/{kv-6hjx5zpb.js → repository-6hjx5zpb.js} +2 -2
  80. package/dist/chunks/{kv-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  81. package/dist/chunks/{kv-7p8zzw9r.js → repository-6t79sm08.js} +12 -12
  82. package/dist/chunks/{kv-fq769th7.js → repository-73jctnsv.js} +4 -4
  83. package/dist/chunks/{kv-mvfsc1pv.js → repository-73tb2d7t.js} +3 -3
  84. package/dist/chunks/{kv-g8saz83p.js → repository-77xs8jrs.js} +22 -22
  85. package/dist/chunks/{kv-ynbq69as.js → repository-7ahsy2sr.js} +12 -12
  86. package/dist/chunks/{kv-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{kv-c5gn303e.js → repository-7j92jdde.js} +4 -4
  88. package/dist/chunks/{kv-mja1kt4d.js → repository-7mfhah3d.js} +10 -10
  89. package/dist/chunks/{kv-nh999r6h.js → repository-7vy5mh4c.js} +16 -16
  90. package/dist/chunks/{kv-vz25c400.js → repository-81nw3rhg.js} +24 -24
  91. package/dist/chunks/{kv-qdc4xrm1.js → repository-865gygx1.js} +14 -14
  92. package/dist/chunks/{kv-ammhsa5d.js → repository-86em9m03.js} +33 -33
  93. package/dist/chunks/{kv-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{kv-dj2t23y0.js → repository-8p4f9s12.js} +2 -2
  95. package/dist/chunks/repository-8rwa53fp.js +39 -0
  96. package/dist/chunks/{kv-837ekr2g.js → repository-96ck3y1q.js} +8 -8
  97. package/dist/chunks/{kv-ca0bryv0.js → repository-9acx0b21.js} +17 -17
  98. package/dist/chunks/{kv-fbge7qf9.js → repository-9br3a50d.js} +30 -30
  99. package/dist/chunks/repository-9brjy31v.js +18 -0
  100. package/dist/chunks/{kv-1jzfq4bq.js → repository-9c3hamek.js} +13 -13
  101. package/dist/chunks/{kv-gzwt477p.js → repository-9m23are0.js} +7 -7
  102. package/dist/chunks/{kv-z6c53ynw.js → repository-9saxrxxz.js} +20 -20
  103. package/dist/chunks/{kv-w7pp9m0t.js → repository-a0j2te89.js} +14 -14
  104. package/dist/chunks/{kv-5c4hm403.js → repository-a1bz86dw.js} +3 -3
  105. package/dist/chunks/{kv-jkt2pdqn.js → repository-a3qwemy7.js} +32 -32
  106. package/dist/chunks/{kv-z5zwqd1h.js → repository-a6e77tp8.js} +5 -5
  107. package/dist/chunks/{kv-jhrsatcv.js → repository-a6s8q5eg.js} +5 -5
  108. package/dist/chunks/{kv-aaet6srn.js → repository-aaet6srn.js} +2 -2
  109. package/dist/chunks/{kv-q6mv38f6.js → repository-ac81q4s3.js} +4 -4
  110. package/dist/chunks/{kv-hzk0yx3b.js → repository-afsf5zrf.js} +4 -4
  111. package/dist/chunks/{kv-aq3mj96b.js → repository-az2j28fx.js} +32 -32
  112. package/dist/chunks/{kv-d60avr4p.js → repository-b107pv8j.js} +12 -12
  113. package/dist/chunks/{kv-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{kv-pstg3rfm.js → repository-b97cbvw3.js} +1 -1
  115. package/dist/chunks/{kv-pmr4s4kc.js → repository-bct739vz.js} +4 -4
  116. package/dist/chunks/{kv-43p703w4.js → repository-bkgzn7q8.js} +17 -17
  117. package/dist/chunks/{kv-hvj1z1b4.js → repository-bkwe381d.js} +3 -3
  118. package/dist/chunks/{kv-5q9yd8mm.js → repository-bwj8cqvh.js} +11 -11
  119. package/dist/chunks/{kv-hgkbtkys.js → repository-bx3vkr09.js} +11 -11
  120. package/dist/chunks/{kv-x3krd4w8.js → repository-c8kcw06k.js} +4 -4
  121. package/dist/chunks/{kv-kb187nae.js → repository-cah5jjgh.js} +13 -13
  122. package/dist/chunks/{kv-x50x66fn.js → repository-cfgwhw3h.js} +3 -3
  123. package/dist/chunks/{kv-m0jqrx5p.js → repository-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{kv-eh9sc5va.js → repository-cj770ezy.js} +3 -3
  125. package/dist/chunks/{kv-gqhmbrjs.js → repository-cw881m61.js} +15 -15
  126. package/dist/chunks/{kv-3xjrnnx0.js → repository-d000v5z8.js} +7 -7
  127. package/dist/chunks/{kv-yx4rmz5q.js → repository-d4g5efy4.js} +23 -23
  128. package/dist/chunks/{kv-r39yac3r.js → repository-d9tne6cj.js} +44 -44
  129. package/dist/chunks/{kv-ag4rn41e.js → repository-dhmh7aw6.js} +4 -4
  130. package/dist/chunks/{kv-nhy5jxhy.js → repository-drwq78ky.js} +2 -2
  131. package/dist/chunks/{kv-y7mmfpa1.js → repository-e0h9pzym.js} +8 -8
  132. package/dist/chunks/{kv-bndc73cn.js → repository-e5nv3ght.js} +5 -5
  133. package/dist/chunks/{kv-qn4ba14w.js → repository-e6hmchc5.js} +5 -5
  134. package/dist/chunks/{kv-hr5bc81f.js → repository-e942ejx1.js} +8 -8
  135. package/dist/chunks/{kv-s8d7rejh.js → repository-eaj1djv9.js} +6 -6
  136. package/dist/chunks/{kv-m5bnrnnk.js → repository-ebpy7ydq.js} +315 -311
  137. package/dist/chunks/{kv-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{kv-19d1a1wx.js → repository-ekfd84qw.js} +6 -6
  139. package/dist/chunks/{kv-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{kv-c38fatdf.js → repository-exmjsvk1.js} +31 -31
  141. package/dist/chunks/{kv-hdnk95c8.js → repository-f828m53h.js} +2 -2
  142. package/dist/chunks/{kv-j8xqf3tm.js → repository-f8hxmg9v.js} +28 -28
  143. package/dist/chunks/{kv-w66h423q.js → repository-f9hsjcna.js} +2 -2
  144. package/dist/chunks/{kv-g4g43v69.js → repository-fj59w752.js} +40 -40
  145. package/dist/chunks/{kv-g1sxm558.js → repository-fqtvmpfq.js} +8 -8
  146. package/dist/chunks/{kv-nxsj8qk0.js → repository-fqwrdfrt.js} +6 -6
  147. package/dist/chunks/{kv-0181d07v.js → repository-fv8t9jvx.js} +22 -22
  148. package/dist/chunks/{kv-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{kv-70qbzkph.js → repository-fy7nm42b.js} +18 -18
  150. package/dist/chunks/{kv-g0445xdp.js → repository-g0445xdp.js} +1 -1
  151. package/dist/chunks/{kv-q3skwyt1.js → repository-g2e15dg2.js} +30 -30
  152. package/dist/chunks/{kv-br1n7bnk.js → repository-gb91vv51.js} +15 -15
  153. package/dist/chunks/{kv-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{kv-zr3rbwkr.js → repository-gq5y28kq.js} +31 -31
  155. package/dist/chunks/{kv-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{kv-rp9zvaag.js → repository-gvn8ez2x.js} +28 -28
  157. package/dist/chunks/{kv-cfxtxrf2.js → repository-gwwmekzm.js} +21 -21
  158. package/dist/chunks/{kv-gagqe2a0.js → repository-gzk9ftrh.js} +9 -9
  159. package/dist/chunks/{kv-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
  160. package/dist/chunks/{kv-k0hvzg6w.js → repository-h4vrw4b0.js} +22 -22
  161. package/dist/chunks/{kv-y91nftqb.js → repository-h61pwfc3.js} +29 -29
  162. package/dist/chunks/{kv-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{kv-c9h4s5tc.js → repository-ht5x4zbg.js} +30 -30
  164. package/dist/chunks/{kv-m2xnkqg2.js → repository-hyrz6ndr.js} +12 -12
  165. package/dist/chunks/{kv-qj2k6z66.js → repository-hzher62h.js} +23 -23
  166. package/dist/chunks/{kv-j56e64zr.js → repository-j56e64zr.js} +1 -1
  167. package/dist/chunks/{kv-t0ws8mbr.js → repository-jbj6873e.js} +48 -48
  168. package/dist/chunks/{kv-fdv30zvt.js → repository-jfqtm2ew.js} +7 -7
  169. package/dist/chunks/{kv-bqvrq9r3.js → repository-jgxmw31d.js} +24 -24
  170. package/dist/chunks/{kv-6ehbgqat.js → repository-jkp0d30b.js} +6 -6
  171. package/dist/chunks/{kv-8ma1xsee.js → repository-jr6vzt66.js} +20 -20
  172. package/dist/chunks/{kv-hkqaemm2.js → repository-jrjra3h9.js} +25 -25
  173. package/dist/chunks/{kv-s4xyvqvb.js → repository-jzcje4va.js} +9 -9
  174. package/dist/chunks/{kv-vm4kz6ms.js → repository-k32jw2e4.js} +33 -33
  175. package/dist/chunks/{kv-g800bs2f.js → repository-k9532399.js} +24 -24
  176. package/dist/chunks/{kv-r4yqrmdq.js → repository-kbj2dgab.js} +5 -5
  177. package/dist/chunks/{kv-e8340df8.js → repository-knb7evpn.js} +8 -8
  178. package/dist/chunks/{kv-pf8xhqfy.js → repository-krc45np2.js} +41 -41
  179. package/dist/chunks/{kv-1qnd0792.js → repository-m9cpa160.js} +25 -25
  180. package/dist/chunks/{kv-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{kv-4q6ckhfj.js → repository-met9m5cx.js} +3 -3
  182. package/dist/chunks/{kv-56gdpj1q.js → repository-mfqp6xfm.js} +6 -6
  183. package/dist/chunks/{kv-j9e3hj5f.js → repository-mj9bj3qa.js} +11 -11
  184. package/dist/chunks/{kv-0faph1ym.js → repository-mqaq223z.js} +14 -14
  185. package/dist/chunks/{kv-dwdfpg9y.js → repository-n3hgnnfg.js} +20 -20
  186. package/dist/chunks/{kv-yvbb4q6z.js → repository-n7ks57xp.js} +17 -17
  187. package/dist/chunks/{kv-26xgc15z.js → repository-njhpxc61.js} +13 -13
  188. package/dist/chunks/{kv-k14ta1mw.js → repository-nk82223c.js} +43 -43
  189. package/dist/chunks/{kv-xk747vep.js → repository-nq7qbqzc.js} +9 -9
  190. package/dist/chunks/{kv-9g3kc011.js → repository-nr0jgk0c.js} +12 -12
  191. package/dist/chunks/{kv-ja5e70h9.js → repository-nvfv2zje.js} +23 -23
  192. package/dist/chunks/{kv-427pr1n5.js → repository-ny6gwsjz.js} +8 -8
  193. package/dist/chunks/{kv-5mtzsd3b.js → repository-nzyhnfxz.js} +4 -4
  194. package/dist/chunks/{kv-09evap6p.js → repository-p0xh360h.js} +87 -87
  195. package/dist/chunks/{kv-2tkww0cv.js → repository-p14npjjx.js} +63 -63
  196. package/dist/chunks/{kv-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{kv-pknna89w.js → repository-pknna89w.js} +1 -1
  198. package/dist/chunks/{kv-kkqrf715.js → repository-pnddts6j.js} +25 -25
  199. package/dist/chunks/{kv-er44h2rz.js → repository-pq3jr96z.js} +23 -23
  200. package/dist/chunks/{kv-11cdrfz0.js → repository-q2hyck9q.js} +13 -13
  201. package/dist/chunks/{kv-6n468d57.js → repository-q5xvhvda.js} +6 -6
  202. package/dist/chunks/{kv-426xjh9f.js → repository-q7z9tvhr.js} +8 -8
  203. package/dist/chunks/{kv-hq4ym7hc.js → repository-qd2njzr9.js} +47 -47
  204. package/dist/chunks/{kv-je97d5cj.js → repository-qeaff0p2.js} +3 -3
  205. package/dist/chunks/repository-qg9b78g1.js +26 -0
  206. package/dist/chunks/{kv-5z94tqmr.js → repository-qnp88wjw.js} +11 -11
  207. package/dist/chunks/{kv-qsdy395h.js → repository-qsdy395h.js} +1 -1
  208. package/dist/chunks/{kv-g5m2be3b.js → repository-r3mydpdq.js} +19 -19
  209. package/dist/chunks/{kv-r9mregkx.js → repository-r9mregkx.js} +2 -2
  210. package/dist/chunks/{kv-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{kv-j15mfg1p.js → repository-rph3zd4r.js} +5 -5
  212. package/dist/chunks/{kv-51fjvt3r.js → repository-s3at8e16.js} +5 -5
  213. package/dist/chunks/{kv-af04s6ss.js → repository-s8zy8myc.js} +5 -5
  214. package/dist/chunks/{kv-06jg94xm.js → repository-scv7p57g.js} +9 -9
  215. package/dist/chunks/{kv-278xm5yv.js → repository-sczz11d2.js} +46 -46
  216. package/dist/chunks/{kv-82jgxh54.js → repository-se00bew5.js} +2 -2
  217. package/dist/chunks/{kv-f9v9ak1k.js → repository-snsps21s.js} +33 -33
  218. package/dist/chunks/{kv-k0nnq3t9.js → repository-t2e1hsky.js} +8 -8
  219. package/dist/chunks/{kv-2rjb08nw.js → repository-t9whz9s5.js} +15 -15
  220. package/dist/chunks/{kv-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{kv-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  222. package/dist/chunks/{kv-tdstcens.js → repository-tdstcens.js} +1 -1
  223. package/dist/chunks/{kv-gfkqpt1e.js → repository-tgjaptpn.js} +11 -11
  224. package/dist/chunks/{kv-5jh529f7.js → repository-tgw2f8kh.js} +28 -28
  225. package/dist/chunks/{kv-cd1mq5a8.js → repository-tkw0dwa4.js} +1 -1
  226. package/dist/chunks/{kv-3yaty7qs.js → repository-tqazb3zs.js} +18 -18
  227. package/dist/chunks/{kv-re5kaxrw.js → repository-tv6exmg3.js} +32 -32
  228. package/dist/chunks/{kv-tvtrv512.js → repository-tvtrv512.js} +1 -1
  229. package/dist/chunks/{kv-41j1ttxa.js → repository-tzhkjsd2.js} +13 -13
  230. package/dist/chunks/{kv-hnwcghfw.js → repository-v0we2d6v.js} +6 -6
  231. package/dist/chunks/{kv-j1t3fp47.js → repository-v51x59az.js} +3 -3
  232. package/dist/chunks/{kv-0eyg9sj2.js → repository-v810rn0x.js} +10 -10
  233. package/dist/chunks/{kv-n1cf34bf.js → repository-v954m3w4.js} +39 -39
  234. package/dist/chunks/{kv-zwgd9mwv.js → repository-va8wdxy5.js} +5 -5
  235. package/dist/chunks/{kv-aeccn3br.js → repository-vampajpx.js} +1 -1
  236. package/dist/chunks/{kv-yrw3g6cq.js → repository-vcpa2avk.js} +33 -33
  237. package/dist/chunks/{kv-8s7dmzqa.js → repository-vedj7jxs.js} +10 -10
  238. package/dist/chunks/{kv-veqvce7d.js → repository-veqvce7d.js} +1 -1
  239. package/dist/chunks/{kv-h61d1rt6.js → repository-vfqfc940.js} +11 -11
  240. package/dist/chunks/{kv-tyqkzprt.js → repository-vmgq4x8b.js} +2 -2
  241. package/dist/chunks/{kv-r0cp9c3a.js → repository-vmwh049b.js} +6 -6
  242. package/dist/chunks/{kv-e1nkw1ch.js → repository-vngg2jn0.js} +29 -29
  243. package/dist/chunks/{kv-kxq43fw0.js → repository-vryzrzb1.js} +28 -28
  244. package/dist/chunks/{kv-3fa9na4z.js → repository-vx1g14c0.js} +6 -6
  245. package/dist/chunks/{kv-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{kv-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{kv-avdt6qhh.js → repository-w82jb53m.js} +21 -21
  248. package/dist/chunks/{kv-wd87259q.js → repository-wd87259q.js} +1 -1
  249. package/dist/chunks/{kv-hmgs27qq.js → repository-wn8kwrzd.js} +54 -54
  250. package/dist/chunks/{kv-t1r2rqz2.js → repository-wrc0dh7x.js} +23 -23
  251. package/dist/chunks/{kv-qxckzp83.js → repository-wtqj0bfw.js} +13 -13
  252. package/dist/chunks/{kv-23razwnm.js → repository-wxwrdrcx.js} +5 -5
  253. package/dist/chunks/{kv-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{kv-6jqkynh6.js → repository-x1xcpfha.js} +12 -12
  255. package/dist/chunks/{kv-s9q8v06y.js → repository-x2jqq3tx.js} +31 -31
  256. package/dist/chunks/{kv-gftr8a0n.js → repository-x38day4k.js} +11 -11
  257. package/dist/chunks/{kv-7e0sryjp.js → repository-x8vgmg82.js} +12 -12
  258. package/dist/chunks/{kv-6sg1sdqs.js → repository-xb9eygd1.js} +16 -16
  259. package/dist/chunks/{kv-9x5mrpkq.js → repository-xbfhd78n.js} +11 -11
  260. package/dist/chunks/{kv-2v2aaw6h.js → repository-xd2062wd.js} +5 -5
  261. package/dist/chunks/{kv-06bhybne.js → repository-xh5yjw9r.js} +13 -13
  262. package/dist/chunks/{kv-ptkydeht.js → repository-xprpbpqe.js} +32 -32
  263. package/dist/chunks/{kv-xxf7whvt.js → repository-xsqssq7j.js} +6 -6
  264. package/dist/chunks/{kv-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{kv-tpej6hf6.js → repository-y3q03scc.js} +8 -8
  266. package/dist/chunks/{kv-y71avatq.js → repository-y71avatq.js} +1 -1
  267. package/dist/chunks/{kv-p70cw9s4.js → repository-ydgp3ck7.js} +28 -28
  268. package/dist/chunks/repository-ymz470xw.js +247 -0
  269. package/dist/chunks/{kv-egt3aqgc.js → repository-ynb51yw7.js} +75 -75
  270. package/dist/chunks/{kv-yp2x3t23.js → repository-yp2x3t23.js} +1 -1
  271. package/dist/chunks/{kv-782x85dz.js → repository-yqp3qt22.js} +54 -54
  272. package/dist/chunks/{kv-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{kv-yrznvahk.js → repository-yrznvahk.js} +2 -2
  274. package/dist/chunks/{kv-6w4gqaqz.js → repository-ys0bmy6s.js} +3 -3
  275. package/dist/chunks/{kv-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{kv-g6qcyr5q.js → repository-z611y78c.js} +30 -30
  277. package/dist/chunks/{kv-z63w68vq.js → repository-z63w68vq.js} +2 -2
  278. package/dist/chunks/{kv-fbsb99ch.js → repository-z7463j81.js} +19 -19
  279. package/dist/chunks/{kv-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{kv-epmshq33.js → repository-zhj3zqsg.js} +8 -8
  281. package/dist/chunks/{kv-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{kv-3c2xh2cb.js → repository-zre7zszm.js} +20 -20
  283. package/dist/chunks/{kv-8bcx3nez.js → repository-zt03gkt5.js} +4 -4
  284. package/dist/chunks/{kv-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +84 -84
  289. package/dist/config/discovery.js +81 -81
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +105 -105
  292. package/dist/config/plugin/agent.js +122 -122
  293. package/dist/config/plugin/command.js +210 -210
  294. package/dist/config/plugin/compaction.js +158 -158
  295. package/dist/config/plugin/compatibility.js +140 -140
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +123 -123
  298. package/dist/config/plugin/image.js +122 -122
  299. package/dist/config/plugin/instruction.js +89 -89
  300. package/dist/config/plugin/location-watcher.js +124 -124
  301. package/dist/config/plugin/mcp.js +129 -129
  302. package/dist/config/plugin/policy.js +122 -122
  303. package/dist/config/plugin/provider.js +122 -122
  304. package/dist/config/plugin/reference.js +124 -124
  305. package/dist/config/plugin/shell.js +124 -124
  306. package/dist/config/plugin/skill-file.js +101 -101
  307. package/dist/config/plugin/skill.js +143 -143
  308. package/dist/config/plugin/snapshot.js +122 -122
  309. package/dist/config/plugin/source.js +123 -123
  310. package/dist/config/plugin/tool-output.js +124 -124
  311. package/dist/config/plugin/websearch.js +123 -123
  312. package/dist/config/plugin/worktree.js +124 -124
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +127 -127
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +84 -84
  318. package/dist/database/database.js +65 -65
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +75 -75
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +364 -363
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +92 -92
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +92 -92
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +73 -73
  407. package/dist/file-access.js +103 -103
  408. package/dist/file-mutation.js +93 -93
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +225 -225
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +102 -102
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +99 -99
  423. package/dist/form.js +83 -83
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +88 -88
  426. package/dist/generate.js +102 -102
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +98 -98
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -354
  452. package/dist/instruction-discovery.js +84 -84
  453. package/dist/instructions/builtins.js +86 -86
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +85 -85
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +72 -72
  460. package/dist/location-activity.js +134 -134
  461. package/dist/location-mutation.js +103 -103
  462. package/dist/location-service-map.js +85 -85
  463. package/dist/location-services.js +352 -351
  464. package/dist/location.js +80 -80
  465. package/dist/mcp/client.js +90 -90
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +126 -126
  468. package/dist/mcp/oauth.js +77 -77
  469. package/dist/mcp/stdio.js +89 -89
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +98 -98
  472. package/dist/model-resolver.js +97 -97
  473. package/dist/model.js +99 -99
  474. package/dist/models-dev.js +106 -106
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +79 -79
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +112 -112
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +87 -87
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +101 -101
  485. package/dist/plugin/command.js +98 -98
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +216 -216
  488. package/dist/plugin/identity.js +10 -0
  489. package/dist/plugin/instance.js +1 -1
  490. package/dist/plugin/internal.js +327 -326
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +95 -95
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +101 -101
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  498. package/dist/plugin/provider/azure.js +121 -121
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +118 -118
  504. package/dist/plugin/provider/digitalocean.js +92 -92
  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 +92 -92
  509. package/dist/plugin/provider/gitlab.js +90 -90
  510. package/dist/plugin/provider/google-vertex.js +89 -89
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +76 -76
  513. package/dist/plugin/provider/lmstudio.js +121 -121
  514. package/dist/plugin/provider/modal.js +91 -91
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +121 -121
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +92 -92
  519. package/dist/plugin/provider/openrouter.js +90 -90
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +77 -77
  522. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  523. package/dist/plugin/provider/sap-ai-core.js +90 -90
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  526. package/dist/plugin/provider/venice.js +2 -2
  527. package/dist/plugin/provider/vercel.js +89 -89
  528. package/dist/plugin/provider/vllm.js +121 -121
  529. package/dist/plugin/provider/xai.js +90 -90
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +158 -158
  532. package/dist/plugin/sdk.js +73 -73
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +140 -140
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +344 -343
  537. package/dist/plugin/update.js +2 -2
  538. package/dist/plugin/vcs/git.js +85 -85
  539. package/dist/plugin/vcs/hg.js +85 -85
  540. package/dist/plugin/warming.js +120 -120
  541. package/dist/plugin/websearch/exa.js +7 -7
  542. package/dist/plugin/websearch/firecrawl.js +8 -8
  543. package/dist/plugin/websearch/index.js +9 -9
  544. package/dist/plugin/websearch/mcp.js +4 -4
  545. package/dist/plugin/websearch/parallel.js +6 -6
  546. package/dist/plugin/websearch/tavily.js +6 -6
  547. package/dist/plugin/websearch/tinyfish.js +6 -6
  548. package/dist/plugin.js +219 -219
  549. package/dist/project/schema.js +2 -2
  550. package/dist/project/sql.js +4 -4
  551. package/dist/project.js +79 -79
  552. package/dist/provider.js +100 -100
  553. package/dist/pty/protocol.js +1 -1
  554. package/dist/pty/schema.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +95 -95
  557. package/dist/reference/instructions.js +86 -86
  558. package/dist/reference.js +90 -90
  559. package/dist/repository-cache.js +80 -80
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +96 -96
  563. package/dist/rpc.js +85 -85
  564. package/dist/schema.js +1 -1
  565. package/dist/session/command.js +73 -73
  566. package/dist/session/compaction.js +130 -130
  567. package/dist/session/context.js +146 -146
  568. package/dist/session/diff.js +87 -87
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +222 -222
  573. package/dist/session/execution.js +127 -127
  574. package/dist/session/generate.js +149 -149
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +87 -87
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +76 -76
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +96 -96
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +117 -117
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +129 -129
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +104 -104
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +89 -89
  590. package/dist/session/run-coordinator.js +1 -1
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +228 -228
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +97 -97
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +113 -113
  597. package/dist/session/runner/step.js +124 -124
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +169 -169
  601. package/dist/session/shell.js +137 -137
  602. package/dist/session/skill.js +102 -102
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +72 -72
  605. package/dist/session/store.js +84 -84
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +208 -208
  608. package/dist/session/system-prompt.js +1 -1
  609. package/dist/session/title.js +152 -152
  610. package/dist/session/to-session-error.js +110 -110
  611. package/dist/session/transfer.js +215 -215
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +214 -214
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +11 -11
  618. package/dist/shell.js +139 -139
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +106 -106
  621. package/dist/skill.js +111 -111
  622. package/dist/snapshot.js +92 -92
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +125 -125
  627. package/dist/tool/plugin/edit.js +119 -119
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +123 -123
  630. package/dist/tool/plugin/grep.js +123 -123
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +119 -119
  633. package/dist/tool/plugin/question.js +106 -106
  634. package/dist/tool/plugin/read.js +124 -124
  635. package/dist/tool/plugin/shell.js +215 -215
  636. package/dist/tool/plugin/skill.js +112 -112
  637. package/dist/tool/plugin/subagent.js +211 -211
  638. package/dist/tool/plugin/webfetch.js +111 -111
  639. package/dist/tool/plugin/websearch.js +113 -113
  640. package/dist/tool/plugin/write.js +121 -121
  641. package/dist/tool/read-filesystem.js +99 -99
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +11 -11
  645. package/dist/types/plugin/identity.d.ts +8 -0
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/git-executable.js +2 -2
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +7 -7
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +91 -91
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/variant.js +92 -92
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +88 -88
  675. package/dist/websearch.js +83 -83
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +78 -78
  678. package/dist/workspace/driver.js +7 -7
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +77 -77
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +10 -10
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +88 -88
  685. package/dist/worktree.js +95 -95
  686. package/package.json +8 -8
  687. package/dist/chunks/kv-1x11rq2a.js +0 -18
  688. package/dist/chunks/kv-5rea1s2y.js +0 -26
  689. package/dist/chunks/kv-h8hc1fxm.js +0 -247
  690. /package/dist/chunks/{kv-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{kv-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{kv-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{kv-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{kv-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{kv-24dcb14g.js → repository-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{kv-2710q6r3.js → repository-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{kv-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{kv-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{kv-359p4xyc.js → repository-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{kv-3asan66x.js → repository-3asan66x.js} +0 -0
  701. /package/dist/chunks/{kv-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{kv-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{kv-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{kv-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{kv-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{kv-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{kv-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{kv-53557ph1.js → repository-53557ph1.js} +0 -0
  709. /package/dist/chunks/{kv-550bvhaj.js → repository-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{kv-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{kv-6kdq0pjd.js → repository-6kdq0pjd.js} +0 -0
  712. /package/dist/chunks/{kv-6prwharc.js → repository-6prwharc.js} +0 -0
  713. /package/dist/chunks/{kv-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{kv-7m9af43g.js → repository-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{kv-822emrt2.js → repository-822emrt2.js} +0 -0
  716. /package/dist/chunks/{kv-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{kv-8n3pysct.js → repository-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{kv-922hggd3.js → repository-922hggd3.js} +0 -0
  719. /package/dist/chunks/{kv-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{kv-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{kv-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{kv-af5trqkr.js → repository-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{kv-afrmfg78.js → repository-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{kv-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{kv-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{kv-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{kv-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{kv-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{kv-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{kv-d9fn303g.js → repository-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{kv-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{kv-dajrwvna.js → repository-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{kv-dap0rakb.js → repository-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{kv-df08tz66.js → repository-df08tz66.js} +0 -0
  735. /package/dist/chunks/{kv-dy18nga0.js → repository-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{kv-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{kv-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{kv-ec1grn59.js → repository-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{kv-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{kv-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{kv-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{kv-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{kv-faypxj3z.js → repository-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{kv-fd410y7t.js → repository-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{kv-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{kv-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{kv-g86h250q.js → repository-g86h250q.js} +0 -0
  748. /package/dist/chunks/{kv-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{kv-gftt206x.js → repository-gftt206x.js} +0 -0
  750. /package/dist/chunks/{kv-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{kv-hk9envan.js → repository-hk9envan.js} +0 -0
  752. /package/dist/chunks/{kv-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{kv-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{kv-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{kv-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{kv-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{kv-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{kv-mp448xyj.js → repository-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{kv-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{kv-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{kv-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{kv-njntx4h6.js → repository-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{kv-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{kv-q74kybfr.js → repository-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{kv-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{kv-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{kv-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{kv-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  769. /package/dist/chunks/{kv-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{kv-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{kv-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{kv-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{kv-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{kv-twg0f83k.js → repository-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{kv-w803qqfp.js → repository-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{kv-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{kv-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{kv-wtztk69x.js → repository-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{kv-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{kv-x61499pn.js → repository-x61499pn.js} +0 -0
  781. /package/dist/chunks/{kv-y44na4kk.js → repository-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{kv-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{kv-y8f7s663.js → repository-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{kv-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{kv-ym463w8f.js → repository-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{kv-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./kv-rdw6cm16.js";
3
+ } from "./repository-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./kv-qaymkmh1.js";
6
+ } from "./repository-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./kv-9rqn6x4v.js";
9
+ } from "./repository-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
14
  Options: () => Options10,
15
- Service: () => Service58,
15
+ Service: () => Service66,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured10,
18
+ configured: () => configured11,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node61,
24
+ node: () => node70,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -47,7 +47,7 @@ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service58 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service66 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve4(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service58.of({
202
+ return Service66.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured10(options) {
210
- return makeLocationNode({ service: Service58, layer: layer(options), deps: [Global.node] });
209
+ function configured11(options) {
210
+ return makeLocationNode({ service: Service66, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node61 = configured10();
212
+ var node70 = configured11();
213
213
 
214
- export { Options10, Service58, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured10, node61, exports_select };
214
+ export { Options10, Service66, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured11, node70, exports_select };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./kv-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./kv-qdc4xrm1.js";
6
+ } from "./repository-865gygx1.js";
7
7
  import {
8
8
  Service78,
9
9
  node82
10
- } from "./kv-82jgxh54.js";
10
+ } from "./repository-se00bew5.js";
11
11
  import {
12
- Service63,
13
- node67
14
- } from "./kv-hmgs27qq.js";
12
+ Service73,
13
+ node77
14
+ } from "./repository-wn8kwrzd.js";
15
15
  import {
16
16
  __export
17
- } from "./kv-9rqn6x4v.js";
17
+ } from "./repository-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service45,
25
+ Service: () => Service72,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node48,
27
+ node: () => node76,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service45 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service72 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,10 +55,10 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service45, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
60
  const location = yield* Service78;
61
- const permission = yield* Service63;
61
+ const permission = yield* Service73;
62
62
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
63
63
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
64
64
  const worktree = path.resolve(location.project.directory);
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service45.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service72.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node48 = makeLocationNode({ service: Service45, layer, deps: [FSUtil.node, node82, node67] });
112
+ var node76 = makeLocationNode({ service: Service72, layer, deps: [FSUtil.node, node82, node77] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service45, resolvePath2, node48, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service72, resolvePath2, node76, exports_file_access };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./kv-5t3nmthw.js";
3
+ } from "./repository-5t3nmthw.js";
4
4
  import {
5
- Service68,
6
- node72
7
- } from "./kv-r39yac3r.js";
5
+ Service50,
6
+ node53
7
+ } from "./repository-d9tne6cj.js";
8
8
  import {
9
9
  __export
10
- } from "./kv-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service52,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer20,
20
- node: () => node55
17
+ Service: () => Service41,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer15,
20
+ node: () => node44
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service52 extends Context.Service()("@opencode/Generate") {
36
+ class Service41 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer20 = Layer.effect(Service52, Effect.gen(function* () {
38
+ var layer15 = Layer.effect(Service41, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service68;
40
+ const resolver = yield* Service50;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -47,28 +47,28 @@ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
47
47
  "SessionRunnerModel.UnresolvedProviderVariablesError",
48
48
  "SessionRunnerModel.UnsupportedCompactionError"
49
49
  ], (error) => {
50
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
50
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
51
51
  return Effect.fail(mapped);
52
52
  }));
53
53
  if (!resolved)
54
54
  return yield* new ModelSelectionError2({
55
55
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
56
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
57
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
58
58
  message: error.message,
59
59
  service: resolved.ref.providerID
60
60
  })));
61
61
  return response.text;
62
62
  });
63
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
63
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service52.of({ text });
66
+ return Service41.of({ text });
67
67
  }));
68
- var node55 = makeLocationNode({
69
- service: Service52,
70
- layer: layer20,
71
- deps: [node72, llmClient2]
68
+ var node44 = makeLocationNode({
69
+ service: Service41,
70
+ layer: layer15,
71
+ deps: [node53, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError3, Service52, layer20, node55, exports_generate2 };
74
+ export { ModelSelectionError2, UnavailableError2, Service41, layer15, node44, exports_generate2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./kv-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./kv-9g3kc011.js";
5
+ Service81,
6
+ node85
7
+ } from "./repository-nr0jgk0c.js";
8
8
  import {
9
9
  parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./kv-6h73sxmp.js";
13
+ } from "./repository-6h73sxmp.js";
14
14
  import {
15
- Service70,
16
- node74
17
- } from "./kv-3d23mvyt.js";
15
+ Service68,
16
+ node72
17
+ } from "./repository-635kzfvw.js";
18
18
  import {
19
19
  __export
20
- } from "./kv-9rqn6x4v.js";
20
+ } from "./repository-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service51,
33
+ Service: () => Service67,
34
34
  isError: () => isError2,
35
- node: () => node54,
35
+ node: () => node71,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service51 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service67 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service51, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service80;
106
+ const git = yield* Service81;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service70;
110
- return Service51.of({
109
+ const kv = yield* Service68;
110
+ return Service67.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node54 = makeGlobalNode({
171
- service: Service51,
170
+ var node71 = makeGlobalNode({
171
+ service: Service67,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node74]
173
+ deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node72]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service51, isError2, validateBranch2, node54, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service67, isError2, validateBranch2, node71, exports_repository_cache };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./kv-emrn6kk6.js";
3
+ } from "./repository-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./kv-3xjrnnx0.js";
6
+ } from "./repository-d000v5z8.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./kv-aeccn3br.js";
9
+ } from "./repository-vampajpx.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./kv-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
5
  Service78
6
- } from "./kv-82jgxh54.js";
6
+ } from "./repository-se00bew5.js";
7
7
  import {
8
- Service55
9
- } from "./kv-k14ta1mw.js";
8
+ Service53
9
+ } from "./repository-nk82223c.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./kv-y91nftqb.js";
13
+ } from "./repository-h61pwfc3.js";
14
14
  import {
15
15
  observe2
16
- } from "./kv-qsdy395h.js";
16
+ } from "./repository-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./kv-9rqn6x4v.js";
19
+ } from "./repository-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin30
25
+ Plugin: () => Plugin16
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin30 = define({
31
+ var Plugin16 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service55;
34
+ const config = yield* Service53;
35
35
  const location = yield* Service78;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin30, exports_reference };
75
+ export { Plugin16, exports_reference };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./kv-2a5m3afh.js";
6
+ } from "./repository-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./kv-1dazxqgg.js";
9
+ } from "./repository-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./kv-b6gygkdw.js";
12
+ } from "./repository-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./kv-aaet6srn.js";
15
+ } from "./repository-aaet6srn.js";
16
16
  import {
17
17
  Service78,
18
18
  node82
19
- } from "./kv-82jgxh54.js";
19
+ } from "./repository-se00bew5.js";
20
20
  import {
21
- Service61,
22
- node64
23
- } from "./kv-3c2xh2cb.js";
21
+ Service43,
22
+ node46
23
+ } from "./repository-zre7zszm.js";
24
24
  import {
25
25
  __export
26
- } from "./kv-9rqn6x4v.js";
26
+ } from "./repository-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: () => Service60,
33
- node: () => node63
32
+ Service: () => Service40,
33
+ node: () => node43
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: () => Service60,
46
+ Service: () => Service40,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node63,
52
+ node: () => node43,
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 Service60 extends Context.Service()("@opencode/Environment") {
61
+ class Service40 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service60, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
65
  const location = yield* Service78;
66
- const workspace = yield* Service61;
66
+ const workspace = yield* Service43;
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 Service60.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service40.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node63 = makeLocationNode({
71
- service: Service60,
70
+ var node43 = makeLocationNode({
71
+ service: Service40,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node82, node64]
73
+ deps: [CrossSpawnSpawner.node, node82, node46]
74
74
  });
75
75
 
76
- export { Service60, node63, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service40, node43, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
- var exports_formatter3 = {};
7
- __export(exports_formatter3, {
8
- ConfigFormatterV1: () => exports_formatter3,
9
- Entry: () => Entry3,
10
- Info: () => Info10
6
+ var exports_formatter2 = {};
7
+ __export(exports_formatter2, {
8
+ ConfigFormatterV1: () => exports_formatter2,
9
+ Entry: () => Entry4,
10
+ Info: () => Info17
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Entry3 = Schema.Struct({
13
+ var Entry4 = Schema.Struct({
14
14
  disabled: Schema.optional(Schema.Boolean),
15
15
  command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info10 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info17 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
20
20
 
21
- export { Entry3, Info10, exports_formatter3 };
21
+ export { Entry4, Info17, exports_formatter2 };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service81,
4
- node85
5
- } from "./kv-ynbq69as.js";
3
+ Service80,
4
+ node84
5
+ } from "./repository-7ahsy2sr.js";
6
6
  import {
7
- Key3,
7
+ Key4,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make21,
11
11
  diffByKey2
12
- } from "./kv-s8d7rejh.js";
12
+ } from "./repository-eaj1djv9.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./kv-922hggd3.js";
15
+ } from "./repository-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./kv-rdw6cm16.js";
18
+ } from "./repository-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./kv-9rqn6x4v.js";
21
+ } from "./repository-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event5,
26
+ Event: () => Event4,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options5,
30
- Service: () => Service38,
31
- configured: () => configured5,
32
- layer: () => layer17,
33
- node: () => node40
29
+ Options: () => Options3,
30
+ Service: () => Service28,
31
+ configured: () => configured3,
32
+ layer: () => layer13,
33
+ node: () => node31
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key3.make("core/instructions");
45
- var Event5 = {
44
+ var key = Key4.make("core/instructions");
45
+ var Event4 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options5 = Schema.Struct({
48
+ var Options3 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service38 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service28 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
56
- const bus = yield* Service81;
55
+ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
56
+ const bus = yield* Service80;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,7 +72,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event4.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
77
  const source = (value) => make21({
78
78
  key,
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service38.of({
93
+ return Service28.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured5(options) {
107
+ function configured3(options) {
108
108
  return makeLocationNode({
109
- service: Service38,
110
- layer: layer17(options),
111
- deps: [node85]
109
+ service: Service28,
110
+ layer: layer13(options),
111
+ deps: [node84]
112
112
  });
113
113
  }
114
- var node40 = configured5();
114
+ var node31 = configured3();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event5, Options5, Service38, layer17, configured5, node40, exports_instruction_discovery };
145
+ export { File2, Event4, Options3, Service28, layer13, configured3, node31, exports_instruction_discovery };