@opencode/core 0.0.0-dev-20640 → 0.0.0-dev-20643

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  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 +69 -69
  7. package/dist/chunks/{kv-89xk2mrn.js → repository-00e0wh3q.js} +24 -24
  8. package/dist/chunks/{kv-ff79g11c.js → repository-042aawn8.js} +16 -16
  9. package/dist/chunks/{kv-qj944938.js → repository-05t95569.js} +19 -19
  10. package/dist/chunks/{kv-rqwx90yh.js → repository-0f0pgr2e.js} +1 -1
  11. package/dist/chunks/{kv-v2yhfrn9.js → repository-0h1qn0y5.js} +10 -10
  12. package/dist/chunks/{kv-q0xm7vwc.js → repository-0j77ygfz.js} +6 -6
  13. package/dist/chunks/{kv-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{kv-0vbcp93d.js → repository-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{kv-1qa15gwt.js → repository-15q89ad0.js} +15 -15
  16. package/dist/chunks/{kv-g3ndzw54.js → repository-16558gs3.js} +52 -52
  17. package/dist/chunks/{kv-r8xr0va3.js → repository-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{kv-a1gpj94z.js → repository-1bbkgx8g.js} +3 -3
  19. package/dist/chunks/{kv-dje26vdb.js → repository-1cw3fj19.js} +3 -3
  20. package/dist/chunks/{kv-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{kv-1dvck2a7.js → repository-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{kv-g1sxm558.js → repository-1gfgk62c.js} +4 -4
  23. package/dist/chunks/{kv-qqgnk5sa.js → repository-1hp58pw3.js} +6 -6
  24. package/dist/chunks/{kv-0knbg5a8.js → repository-1wb0x8n3.js} +5 -5
  25. package/dist/chunks/{kv-q95kjj2t.js → repository-23294nz8.js} +24 -24
  26. package/dist/chunks/{kv-3pbt6ms1.js → repository-2455wr4j.js} +15 -15
  27. package/dist/chunks/{kv-yd0qngcd.js → repository-27bkxtjt.js} +13 -13
  28. package/dist/chunks/{kv-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{kv-4ts7tf6z.js → repository-2ccvkpx1.js} +2 -2
  30. package/dist/chunks/{kv-qgn6gcr1.js → repository-2k8khapm.js} +5 -5
  31. package/dist/chunks/{kv-vn72gsba.js → repository-2m8jawch.js} +4 -4
  32. package/dist/chunks/{kv-pyfe26s8.js → repository-2t9hnq90.js} +10 -10
  33. package/dist/chunks/{kv-y2g779vb.js → repository-2texf5vf.js} +20 -20
  34. package/dist/chunks/{kv-fz64p049.js → repository-2tyga0yy.js} +9 -9
  35. package/dist/chunks/{kv-r7kk08kn.js → repository-2wredcz9.js} +20 -20
  36. package/dist/chunks/{kv-b1vjxa7a.js → repository-2z7ddzwf.js} +5 -5
  37. package/dist/chunks/{kv-1f7zsz3w.js → repository-32xj3ztx.js} +31 -31
  38. package/dist/chunks/{kv-ncnm8wen.js → repository-3556dn8t.js} +1 -1
  39. package/dist/chunks/{kv-wwctf8pa.js → repository-3cde4f3q.js} +11 -11
  40. package/dist/chunks/{kv-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{kv-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{kv-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{kv-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{kv-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{kv-0gscdz11.js → repository-41h22fg8.js} +46 -46
  46. package/dist/chunks/{kv-3ehr1n9z.js → repository-4344f0hm.js} +36 -36
  47. package/dist/chunks/repository-45085rbj.js +26 -0
  48. package/dist/chunks/{kv-ryj782zy.js → repository-483p8dcw.js} +11 -11
  49. package/dist/chunks/{kv-3dnqr9q0.js → repository-4azg6a58.js} +10 -10
  50. package/dist/chunks/{kv-291skbwy.js → repository-4cw36es0.js} +9 -9
  51. package/dist/chunks/{kv-evpcrbn2.js → repository-4ege8dpt.js} +10 -10
  52. package/dist/chunks/{kv-6858qs0d.js → repository-4y69v0zr.js} +13 -13
  53. package/dist/chunks/{kv-zsr4wwhv.js → repository-4z58m4b4.js} +4 -4
  54. package/dist/chunks/{kv-6w1vezwk.js → repository-4z7pkycv.js} +19 -19
  55. package/dist/chunks/{kv-54ma36ye.js → repository-54ma36ye.js} +1 -1
  56. package/dist/chunks/{kv-59j91h7p.js → repository-56a9smke.js} +18 -18
  57. package/dist/chunks/{kv-mfqp6xfm.js → repository-56gdpj1q.js} +6 -6
  58. package/dist/chunks/{kv-6ze8z48e.js → repository-56gyfky0.js} +5 -5
  59. package/dist/chunks/{kv-wh6zw745.js → repository-57myy5jh.js} +5 -5
  60. package/dist/chunks/{kv-5daktx2q.js → repository-5daktx2q.js} +1 -1
  61. package/dist/chunks/{kv-a8vnbk5s.js → repository-5e49akah.js} +45 -45
  62. package/dist/chunks/{kv-05jdtgp8.js → repository-5k54pn5m.js} +7 -7
  63. package/dist/chunks/{kv-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{kv-fsh2y1zv.js → repository-5ng375bv.js} +12 -12
  65. package/dist/chunks/{kv-t11fnep0.js → repository-5pptr25h.js} +4 -4
  66. package/dist/chunks/{kv-91xts6ft.js → repository-5r637m3f.js} +48 -48
  67. package/dist/chunks/{kv-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{kv-amzhydp5.js → repository-5t80mpw4.js} +19 -19
  69. package/dist/chunks/{kv-5thf4vwx.js → repository-5w6ne2rj.js} +11 -11
  70. package/dist/chunks/{kv-tk8acvkq.js → repository-65967rh2.js} +11 -11
  71. package/dist/chunks/{kv-xvc4631w.js → repository-66bhq6pp.js} +13 -13
  72. package/dist/chunks/{kv-3fj5q6bc.js → repository-68ga000j.js} +43 -43
  73. package/dist/chunks/{kv-sfxc0p81.js → repository-6c2ypm1v.js} +35 -35
  74. package/dist/chunks/{kv-ad98q5fk.js → repository-6cdwq03r.js} +4 -4
  75. package/dist/chunks/{kv-hmkvz94f.js → repository-6cfn1t67.js} +14 -14
  76. package/dist/chunks/{kv-6xtnp6pv.js → repository-6r4hjhnf.js} +20 -20
  77. package/dist/chunks/{kv-n43tnyyv.js → repository-6vnaqa0k.js} +28 -28
  78. package/dist/chunks/{kv-gk37k7rf.js → repository-6x4qebe7.js} +35 -35
  79. package/dist/chunks/{kv-6xb47vfp.js → repository-6xb47vfp.js} +1 -1
  80. package/dist/chunks/{kv-71az546q.js → repository-71az546q.js} +2 -2
  81. package/dist/chunks/{kv-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{kv-ryd2rdzb.js → repository-7c08hygz.js} +11 -11
  83. package/dist/chunks/{kv-pnedbpq6.js → repository-7d05dvcz.js} +6 -6
  84. package/dist/chunks/{kv-11nb2wm6.js → repository-7wnc14t4.js} +21 -21
  85. package/dist/chunks/{kv-fhq4beaq.js → repository-7z6z4pna.js} +21 -21
  86. package/dist/chunks/{kv-84txncab.js → repository-84txncab.js} +1 -1
  87. package/dist/chunks/{kv-yhq47pcp.js → repository-89za3yyg.js} +7 -7
  88. package/dist/chunks/{kv-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{kv-4hsstsq2.js → repository-8e4wx4g3.js} +18 -18
  90. package/dist/chunks/{kv-hcbveym2.js → repository-8ee403vh.js} +11 -11
  91. package/dist/chunks/{kv-5h5wp7dv.js → repository-8hjmwb77.js} +16 -16
  92. package/dist/chunks/{kv-zsp613gn.js → repository-8jg22brg.js} +324 -324
  93. package/dist/chunks/{kv-1bf59rb9.js → repository-8kys6q5k.js} +9 -9
  94. package/dist/chunks/{kv-n2srvep7.js → repository-8tsdq50x.js} +4 -4
  95. package/dist/chunks/{kv-de52ckkz.js → repository-96ctqc5x.js} +4 -4
  96. package/dist/chunks/{kv-sanedfh0.js → repository-9815d8pv.js} +19 -19
  97. package/dist/chunks/{kv-9e5bzkjp.js → repository-9e5bzkjp.js} +3 -3
  98. package/dist/chunks/{kv-n4grcdw5.js → repository-9mhtj97w.js} +16 -16
  99. package/dist/chunks/{kv-797efr59.js → repository-9mxexfbd.js} +14 -14
  100. package/dist/chunks/{kv-504addgz.js → repository-9pymkw0x.js} +14 -14
  101. package/dist/chunks/{kv-ct739ed2.js → repository-9yaf30yb.js} +37 -37
  102. package/dist/chunks/{kv-tnxzcmvm.js → repository-9yxvhatz.js} +4 -4
  103. package/dist/chunks/{kv-vnnhbf40.js → repository-a199weyn.js} +6 -6
  104. package/dist/chunks/{kv-s1vq5vjj.js → repository-a2dv4dac.js} +2 -2
  105. package/dist/chunks/{kv-t6vsspdg.js → repository-a2ew8a62.js} +7 -7
  106. package/dist/chunks/{kv-n72xc886.js → repository-a6rczh0a.js} +44 -44
  107. package/dist/chunks/{kv-aaet6srn.js → repository-aaet6srn.js} +2 -2
  108. package/dist/chunks/{kv-addxnjmp.js → repository-addxnjmp.js} +1 -1
  109. package/dist/chunks/{kv-g4sw2epc.js → repository-ajh7mqgq.js} +23 -23
  110. package/dist/chunks/{kv-3v7e0nj5.js → repository-aqryd466.js} +22 -22
  111. package/dist/chunks/{kv-t1nf5an5.js → repository-atwht7h8.js} +11 -11
  112. package/dist/chunks/{kv-vz9np6hr.js → repository-azmfd98g.js} +36 -36
  113. package/dist/chunks/{kv-q2pzxhp3.js → repository-b3cm3psy.js} +7 -7
  114. package/dist/chunks/{kv-drmw43ea.js → repository-b5f9cqb8.js} +18 -18
  115. package/dist/chunks/{kv-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{kv-04bfvmpq.js → repository-b751st24.js} +3 -3
  117. package/dist/chunks/repository-bpqsrde8.js +253 -0
  118. package/dist/chunks/{kv-f9pxsqr6.js → repository-bzadqhw2.js} +4 -4
  119. package/dist/chunks/{kv-nrdmrqsx.js → repository-c20khjev.js} +21 -21
  120. package/dist/chunks/{kv-4mwpykj0.js → repository-c8bydgjz.js} +6 -6
  121. package/dist/chunks/{kv-0mxj9fd6.js → repository-c9vhjpyr.js} +9 -9
  122. package/dist/chunks/{kv-xbq5pdxh.js → repository-cb3fgacg.js} +25 -25
  123. package/dist/chunks/{kv-6443pe5d.js → repository-ccn600g9.js} +11 -11
  124. package/dist/chunks/{kv-1k745sen.js → repository-ce3pkz8w.js} +8 -8
  125. package/dist/chunks/{kv-jktqzjpa.js → repository-cfsekr6v.js} +8 -8
  126. package/dist/chunks/{kv-8bk2q5by.js → repository-chyvjp63.js} +16 -16
  127. package/dist/chunks/{kv-pgdq0m2s.js → repository-cjwramev.js} +6 -6
  128. package/dist/chunks/{kv-tsq8mx3a.js → repository-cs63tcvs.js} +9 -9
  129. package/dist/chunks/{kv-2sejkfem.js → repository-d4he2qe1.js} +9 -9
  130. package/dist/chunks/{kv-ygz7vdjy.js → repository-d73ss8bd.js} +17 -17
  131. package/dist/chunks/{kv-jg575x7y.js → repository-dbp4m4ge.js} +35 -35
  132. package/dist/chunks/{kv-50jx1ftv.js → repository-djyq2zct.js} +17 -17
  133. package/dist/chunks/{kv-dpkg50ah.js → repository-dpkg50ah.js} +1 -1
  134. package/dist/chunks/{kv-5pyjqqve.js → repository-drnf6xwf.js} +2 -2
  135. package/dist/chunks/{kv-5qd3pb7m.js → repository-e3qxr5gk.js} +2 -2
  136. package/dist/chunks/{kv-tdhpb3v5.js → repository-ecwx0042.js} +15 -15
  137. package/dist/chunks/{kv-8aj500b4.js → repository-ef2cw19s.js} +14 -14
  138. package/dist/chunks/{kv-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{kv-zcrspsvn.js → repository-embw8kgh.js} +4 -4
  140. package/dist/chunks/{kv-906tg66d.js → repository-eqh5fpv6.js} +11 -11
  141. package/dist/chunks/{kv-00zna71j.js → repository-erq8vxjr.js} +1 -1
  142. package/dist/chunks/{kv-jpqeh2wc.js → repository-espax8zg.js} +4 -4
  143. package/dist/chunks/{kv-vk34wx83.js → repository-etdaqrbr.js} +32 -32
  144. package/dist/chunks/{kv-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{kv-vpjxjfws.js → repository-f0pfhw3c.js} +4 -4
  146. package/dist/chunks/{kv-qvy3y2q7.js → repository-f0qf0nex.js} +32 -32
  147. package/dist/chunks/{kv-g549jxts.js → repository-f6sbv01c.js} +28 -28
  148. package/dist/chunks/{kv-xve1yjb3.js → repository-f8tnf7f1.js} +12 -12
  149. package/dist/chunks/{kv-nhkczpkc.js → repository-f8xdbq78.js} +9 -9
  150. package/dist/chunks/{kv-90rwhrb1.js → repository-fbefb913.js} +10 -10
  151. package/dist/chunks/{kv-28r17msq.js → repository-fe9ffm0w.js} +18 -18
  152. package/dist/chunks/{kv-qqmhc4xj.js → repository-fj3b7143.js} +42 -42
  153. package/dist/chunks/{kv-bx744vwq.js → repository-fjts330j.js} +3 -3
  154. package/dist/chunks/{kv-2xd3k6k6.js → repository-g34b934z.js} +11 -11
  155. package/dist/chunks/{kv-w19d8598.js → repository-g5w8qwbj.js} +7 -7
  156. package/dist/chunks/{kv-ew12th47.js → repository-g69c5a8v.js} +16 -16
  157. package/dist/chunks/{kv-wh3mwy9y.js → repository-gc135ar8.js} +8 -8
  158. package/dist/chunks/{kv-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{kv-y8wcetdn.js → repository-gkcjs2dn.js} +11 -11
  160. package/dist/chunks/{kv-3m2w0hrx.js → repository-gpng080p.js} +18 -18
  161. package/dist/chunks/{kv-qdq3033d.js → repository-gry8sgkd.js} +7 -7
  162. package/dist/chunks/{kv-at6chbkf.js → repository-h16n41p4.js} +21 -21
  163. package/dist/chunks/{kv-h2b79v29.js → repository-h2b79v29.js} +2 -2
  164. package/dist/chunks/{kv-d1ve849e.js → repository-h2yw0gk4.js} +25 -25
  165. package/dist/chunks/{kv-0dm71e41.js → repository-h4jx6m0r.js} +15 -15
  166. package/dist/chunks/{kv-dpfrkhds.js → repository-h6c2yg5r.js} +8 -8
  167. package/dist/chunks/{kv-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{kv-htjphyk5.js → repository-h6yzxz9r.js} +17 -17
  169. package/dist/chunks/{kv-kpg2gynq.js → repository-hdjgtqrb.js} +32 -32
  170. package/dist/chunks/{kv-fkzjdf45.js → repository-hffth77f.js} +131 -131
  171. package/dist/chunks/{kv-wmnwwwhc.js → repository-hkgfm0m5.js} +24 -24
  172. package/dist/chunks/{kv-9kf9wkxz.js → repository-hryrsgw2.js} +7 -7
  173. package/dist/chunks/{kv-0fgqvstr.js → repository-hw3ewgqj.js} +7 -7
  174. package/dist/chunks/{kv-0y3sqs0q.js → repository-j2htzqze.js} +2 -2
  175. package/dist/chunks/{kv-re39fj6q.js → repository-j3pg2mx4.js} +1 -1
  176. package/dist/chunks/{kv-q3djzwyg.js → repository-j4g697yf.js} +20 -20
  177. package/dist/chunks/{kv-j56e64zr.js → repository-j56e64zr.js} +1 -1
  178. package/dist/chunks/{kv-n37c4crj.js → repository-j58c5xyq.js} +9 -9
  179. package/dist/chunks/{kv-9yev5r92.js → repository-jbmm1708.js} +60 -60
  180. package/dist/chunks/{kv-606mcbpt.js → repository-jnevnthy.js} +27 -27
  181. package/dist/chunks/{kv-xm2v5ye2.js → repository-jnpqgtt0.js} +11 -11
  182. package/dist/chunks/repository-jqh9b0xq.js +18 -0
  183. package/dist/chunks/{kv-xr5yvd35.js → repository-k37ga4vh.js} +8 -8
  184. package/dist/chunks/{kv-k70p9jzb.js → repository-k70p9jzb.js} +2 -2
  185. package/dist/chunks/{kv-sppc6c79.js → repository-kfj4fg87.js} +3 -3
  186. package/dist/chunks/{kv-s2xdefjk.js → repository-kxam66j6.js} +13 -13
  187. package/dist/chunks/{kv-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
  188. package/dist/chunks/{kv-k318agvy.js → repository-m44fkk4m.js} +6 -6
  189. package/dist/chunks/{kv-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{kv-ee8xpbar.js → repository-mfct962c.js} +18 -18
  191. package/dist/chunks/{kv-bebjmbk5.js → repository-mjqndqed.js} +12 -12
  192. package/dist/chunks/{kv-q7fq4b4a.js → repository-mn0942hp.js} +30 -30
  193. package/dist/chunks/{kv-hcbpprgx.js → repository-mpd66srn.js} +1 -1
  194. package/dist/chunks/{kv-brsymgq7.js → repository-mxr1v1s0.js} +8 -8
  195. package/dist/chunks/{kv-vx3jgdek.js → repository-my4zabxr.js} +3 -3
  196. package/dist/chunks/{kv-e8wga5c8.js → repository-ntaqe8vs.js} +21 -21
  197. package/dist/chunks/{kv-tpw6cwsb.js → repository-p42hj8p8.js} +8 -8
  198. package/dist/chunks/{kv-2fcn0a3n.js → repository-pg4zag0e.js} +22 -22
  199. package/dist/chunks/{kv-n9tt80yh.js → repository-pgze7171.js} +1 -1
  200. package/dist/chunks/{kv-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{kv-apeyh75a.js → repository-pkct850y.js} +39 -39
  202. package/dist/chunks/{kv-pknna89w.js → repository-pknna89w.js} +1 -1
  203. package/dist/chunks/{kv-qfhmckpv.js → repository-q0cdrezg.js} +16 -16
  204. package/dist/chunks/{kv-qh99jyhd.js → repository-q1srvr66.js} +17 -17
  205. package/dist/chunks/{kv-kykapc73.js → repository-q76xcmv9.js} +14 -14
  206. package/dist/chunks/{kv-c1eyt60v.js → repository-q7jxq9y7.js} +20 -20
  207. package/dist/chunks/{kv-6r5yv9td.js → repository-q7ngdz78.js} +27 -27
  208. package/dist/chunks/{kv-qnc92qwc.js → repository-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{kv-9hwaqfsw.js → repository-qne3fa44.js} +5 -5
  210. package/dist/chunks/{kv-qsdy395h.js → repository-qsdy395h.js} +1 -1
  211. package/dist/chunks/{kv-hq1swd7v.js → repository-qv02qg64.js} +5 -5
  212. package/dist/chunks/{kv-qxjc9qry.js → repository-qxjc9qry.js} +3 -3
  213. package/dist/chunks/{kv-53dxyvp1.js → repository-qy06s429.js} +13 -13
  214. package/dist/chunks/{kv-f87x761z.js → repository-qy0n8417.js} +24 -24
  215. package/dist/chunks/{kv-qey3k095.js → repository-r3c58j5g.js} +3 -3
  216. package/dist/chunks/{kv-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{kv-mae0k732.js → repository-rjsk0n41.js} +9 -9
  218. package/dist/chunks/{kv-ebwqfc2a.js → repository-rk3ekeb4.js} +5 -5
  219. package/dist/chunks/{kv-07t56emn.js → repository-rm4s95e7.js} +87 -87
  220. package/dist/chunks/{kv-r101cspy.js → repository-rpp7c75e.js} +48 -48
  221. package/dist/chunks/{kv-as8ynvdv.js → repository-ry0xagvq.js} +25 -25
  222. package/dist/chunks/{kv-a92h78km.js → repository-s4075y1x.js} +3 -3
  223. package/dist/chunks/{kv-314vn2g9.js → repository-s8qvywtq.js} +11 -11
  224. package/dist/chunks/{kv-bwaap7p9.js → repository-s8v3amej.js} +1 -1
  225. package/dist/chunks/{kv-v1m0bgap.js → repository-s9nwmxxs.js} +33 -33
  226. package/dist/chunks/{kv-weef4h0t.js → repository-t406fhy5.js} +25 -25
  227. package/dist/chunks/{kv-bkvz5s71.js → repository-t5483b9c.js} +4 -4
  228. package/dist/chunks/{kv-9t7a50xb.js → repository-t550f9t1.js} +4 -4
  229. package/dist/chunks/{kv-ef5xnz50.js → repository-t7wcnk30.js} +14 -14
  230. package/dist/chunks/{kv-nt69khzf.js → repository-t7y8x8j8.js} +16 -16
  231. package/dist/chunks/{kv-y2vqkag3.js → repository-t8n7ymvq.js} +6 -6
  232. package/dist/chunks/{kv-dpnnxfwt.js → repository-tarna68p.js} +9 -9
  233. package/dist/chunks/{kv-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{kv-gxxkvswg.js → repository-tbs2jyb2.js} +7 -7
  235. package/dist/chunks/{kv-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{kv-rf80fxgj.js → repository-tdpndm1c.js} +5 -5
  237. package/dist/chunks/{kv-tdstcens.js → repository-tdstcens.js} +1 -1
  238. package/dist/chunks/{kv-ey7zsb2z.js → repository-tg6e69q8.js} +2 -2
  239. package/dist/chunks/{kv-c6sqj817.js → repository-tzy9a5tv.js} +29 -29
  240. package/dist/chunks/{kv-fpecnkgp.js → repository-v0es1rhs.js} +9 -9
  241. package/dist/chunks/{kv-y6d2apqa.js → repository-vdf83yyz.js} +12 -12
  242. package/dist/chunks/{kv-018bn4f4.js → repository-ve1j3q85.js} +15 -15
  243. package/dist/chunks/{kv-veqvce7d.js → repository-veqvce7d.js} +1 -1
  244. package/dist/chunks/{kv-cghk8e58.js → repository-vfzczaj5.js} +18 -18
  245. package/dist/chunks/{kv-3axgwepp.js → repository-vngdzw63.js} +26 -26
  246. package/dist/chunks/{kv-v2p84kh2.js → repository-vp0q13q8.js} +86 -86
  247. package/dist/chunks/{kv-2qkz3cac.js → repository-vqkmcgyv.js} +3 -3
  248. package/dist/chunks/{kv-50202j3g.js → repository-vt8dt6j6.js} +32 -32
  249. package/dist/chunks/{kv-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{kv-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{kv-hxxy4jtt.js → repository-w5ystqj3.js} +5 -5
  252. package/dist/chunks/{kv-rhvgmpzm.js → repository-w6gqnbcy.js} +3 -3
  253. package/dist/chunks/{kv-8cseh6jw.js → repository-w7a2abxy.js} +14 -14
  254. package/dist/chunks/{kv-hp04rdxh.js → repository-wb70vhte.js} +11 -11
  255. package/dist/chunks/{kv-hydafzv0.js → repository-wc5p7jf8.js} +45 -45
  256. package/dist/chunks/{kv-wd87259q.js → repository-wd87259q.js} +1 -1
  257. package/dist/chunks/{kv-yhgbfdfr.js → repository-wnfszx78.js} +10 -10
  258. package/dist/chunks/{kv-x61eq3et.js → repository-wnh11861.js} +15 -15
  259. package/dist/chunks/{kv-9phyjc4n.js → repository-x4k83k5f.js} +9 -9
  260. package/dist/chunks/{kv-ygws11mx.js → repository-xhv84ab7.js} +28 -28
  261. package/dist/chunks/{kv-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
  262. package/dist/chunks/{kv-5rmvjxjt.js → repository-xmy45d6e.js} +23 -23
  263. package/dist/chunks/{kv-2cwhkz2n.js → repository-xpwv3d90.js} +9 -9
  264. package/dist/chunks/{kv-6w9b2v2t.js → repository-xv90jz4c.js} +11 -11
  265. package/dist/chunks/{kv-bezhzanq.js → repository-y16p1w2y.js} +9 -9
  266. package/dist/chunks/{kv-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{kv-mrwm8afd.js → repository-y1w7bwtd.js} +22 -22
  268. package/dist/chunks/{kv-144xedv6.js → repository-y6brtjeh.js} +30 -30
  269. package/dist/chunks/{kv-7c9bbt45.js → repository-ya6jwxb4.js} +4 -4
  270. package/dist/chunks/{kv-aa77x952.js → repository-yf33k1p3.js} +24 -24
  271. package/dist/chunks/{kv-a5wq81es.js → repository-yfe405ny.js} +12 -12
  272. package/dist/chunks/{kv-9y0z6c2k.js → repository-yn96zvvk.js} +11 -11
  273. package/dist/chunks/{kv-r3s59a3c.js → repository-yprc5htm.js} +20 -20
  274. package/dist/chunks/{kv-vy4j84c5.js → repository-yqt58wae.js} +15 -15
  275. package/dist/chunks/{kv-d5q12aqz.js → repository-ywf1kxhz.js} +4 -4
  276. package/dist/chunks/{kv-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{kv-jn9040r2.js → repository-z6zb16gf.js} +32 -32
  278. package/dist/chunks/{kv-150yg2gd.js → repository-zd30eb5w.js} +5 -5
  279. package/dist/chunks/{kv-n0571dh0.js → repository-zhwzkc0c.js} +18 -18
  280. package/dist/chunks/{kv-4mtsj6py.js → repository-zk46kswf.js} +17 -17
  281. package/dist/chunks/{kv-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{kv-qe26s0zb.js → repository-zvjhkatg.js} +8 -8
  283. package/dist/chunks/{kv-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{kv-zyk1yjk8.js → repository-zyk1yjk8.js} +2 -2
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +77 -77
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +102 -102
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +105 -105
  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 +99 -99
  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/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +81 -81
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +81 -81
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +85 -85
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +99 -99
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +94 -94
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +111 -111
  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 +90 -90
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +3 -3
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  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 +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +343 -343
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +218 -218
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +90 -90
  554. package/dist/provider.js +93 -93
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +91 -91
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +89 -89
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +95 -95
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +135 -135
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +214 -214
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +154 -154
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +222 -222
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +2 -2
  599. package/dist/session/runner/step.js +123 -123
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +162 -162
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +210 -210
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +209 -209
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +112 -112
  624. package/dist/snapshot.js +93 -93
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +101 -101
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +112 -112
  642. package/dist/tool/plugin/websearch.js +114 -114
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +14 -14
  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 +7 -7
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/error.js +4 -4
  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 +7 -7
  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 +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +78 -78
  670. package/dist/wellknown/plugin.js +74 -74
  671. package/dist/wellknown.js +81 -81
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +78 -78
  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 +96 -96
  680. package/package.json +8 -8
  681. package/dist/chunks/kv-4639mgfq.js +0 -26
  682. package/dist/chunks/kv-789vsg7z.js +0 -253
  683. package/dist/chunks/kv-dxj72tfx.js +0 -18
  684. /package/dist/chunks/{kv-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{kv-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{kv-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{kv-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{kv-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{kv-24dcb14g.js → repository-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{kv-2710q6r3.js → repository-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{kv-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{kv-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{kv-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{kv-359p4xyc.js → repository-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{kv-3asan66x.js → repository-3asan66x.js} +0 -0
  696. /package/dist/chunks/{kv-3t0ybcrp.js → repository-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{kv-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{kv-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{kv-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{kv-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{kv-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{kv-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{kv-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{kv-53557ph1.js → repository-53557ph1.js} +0 -0
  705. /package/dist/chunks/{kv-550bvhaj.js → repository-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{kv-6prwharc.js → repository-6prwharc.js} +0 -0
  707. /package/dist/chunks/{kv-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{kv-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{kv-7m9af43g.js → repository-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{kv-822emrt2.js → repository-822emrt2.js} +0 -0
  711. /package/dist/chunks/{kv-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{kv-8n3pysct.js → repository-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{kv-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{kv-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{kv-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{kv-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{kv-af5trqkr.js → repository-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{kv-afrmfg78.js → repository-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{kv-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{kv-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{kv-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{kv-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{kv-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{kv-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{kv-d9fn303g.js → repository-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{kv-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{kv-dajrwvna.js → repository-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{kv-dap0rakb.js → repository-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{kv-df08tz66.js → repository-df08tz66.js} +0 -0
  730. /package/dist/chunks/{kv-dy18nga0.js → repository-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{kv-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{kv-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{kv-ec1grn59.js → repository-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{kv-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{kv-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{kv-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{kv-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{kv-faypxj3z.js → repository-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{kv-fd410y7t.js → repository-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{kv-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{kv-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{kv-g86h250q.js → repository-g86h250q.js} +0 -0
  743. /package/dist/chunks/{kv-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{kv-gftt206x.js → repository-gftt206x.js} +0 -0
  745. /package/dist/chunks/{kv-hk9envan.js → repository-hk9envan.js} +0 -0
  746. /package/dist/chunks/{kv-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{kv-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{kv-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{kv-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{kv-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{kv-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{kv-mp448xyj.js → repository-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{kv-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{kv-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{kv-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{kv-njntx4h6.js → repository-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{kv-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{kv-q74kybfr.js → repository-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{kv-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{kv-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{kv-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{kv-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{kv-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{kv-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{kv-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{kv-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{kv-w803qqfp.js → repository-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{kv-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{kv-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{kv-wtztk69x.js → repository-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{kv-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{kv-x61499pn.js → repository-x61499pn.js} +0 -0
  773. /package/dist/chunks/{kv-y44na4kk.js → repository-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{kv-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{kv-y8f7s663.js → repository-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{kv-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{kv-ym463w8f.js → repository-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{kv-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{kv-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service83
3
- } from "./kv-tnxzcmvm.js";
3
+ } from "./repository-9yxvhatz.js";
4
4
  import {
5
- Service36
6
- } from "./kv-kpg2gynq.js";
5
+ Service51
6
+ } from "./repository-hdjgtqrb.js";
7
7
  import {
8
- Error5
9
- } from "./kv-2fcn0a3n.js";
8
+ Error3
9
+ } from "./repository-pg4zag0e.js";
10
10
  import {
11
- Service49
12
- } from "./kv-y8wcetdn.js";
11
+ Service72
12
+ } from "./repository-gkcjs2dn.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./kv-yhq47pcp.js";
15
+ } from "./repository-89za3yyg.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./kv-ec1grn59.js";
18
+ } from "./repository-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./kv-hq1swd7v.js";
21
+ } from "./repository-qv02qg64.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./kv-tdstcens.js";
24
+ } from "./repository-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./kv-qey3k095.js";
27
+ } from "./repository-r3c58j5g.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./kv-zyk1yjk8.js";
30
+ } from "./repository-zyk1yjk8.js";
31
31
  import {
32
32
  __export
33
- } from "./kv-9rqn6x4v.js";
33
+ } from "./repository-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
54
54
  var make3 = Effect.gen(function* () {
55
55
  const bus = yield* Service83;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service36;
58
- const toolOutput = yield* Service49;
57
+ const snapshots = yield* Service51;
58
+ const toolOutput = yield* Service72;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error5({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error3({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./kv-z5v4ffb3.js";
4
+ } from "./repository-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
+ Service82,
9
+ node86
10
+ } from "./repository-mjqndqed.js";
11
+ import {
8
12
  Service78,
9
13
  node82
10
- } from "./kv-bebjmbk5.js";
11
- import {
12
- Service76,
13
- node80
14
- } from "./kv-8cseh6jw.js";
14
+ } from "./repository-w7a2abxy.js";
15
15
  import {
16
16
  create3
17
- } from "./kv-rdw6cm16.js";
17
+ } from "./repository-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./kv-9rqn6x4v.js";
20
+ } from "./repository-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service36,
25
+ Error: () => Error4,
26
+ ID: () => ID6,
27
+ Service: () => Service51,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node39,
30
- noopLayer: () => noopLayer2
29
+ node: () => node53,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID6 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service36 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service51 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service36, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
50
+ const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID6.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service36.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service51.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node39 = makeLocationNode({
144
- service: Service36,
143
+ var node53 = makeLocationNode({
144
+ service: Service51,
145
145
  layer,
146
- deps: [FSUtil.node, node82, Global.node, node80]
146
+ deps: [FSUtil.node, node86, Global.node, node82]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service36, Service36.of({
148
+ var noopLayer3 = Layer.succeed(Service51, Service51.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service36, Service36.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error3, Service36, node39, noopLayer2, exports_snapshot2 };
166
+ export { ID6, Error4, Service51, node53, noopLayer3, exports_snapshot2 };
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node49
4
- } from "./kv-5thf4vwx.js";
3
+ node77
4
+ } from "./repository-5w6ne2rj.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./kv-tnxzcmvm.js";
8
+ } from "./repository-9yxvhatz.js";
9
9
  import {
10
- ID10,
11
- Service66,
12
- node70
13
- } from "./kv-89xk2mrn.js";
10
+ ID9,
11
+ Service59,
12
+ node61
13
+ } from "./repository-00e0wh3q.js";
14
14
  import {
15
15
  ID15,
16
16
  OAuth3
17
- } from "./kv-fsh2y1zv.js";
17
+ } from "./repository-5ng375bv.js";
18
18
  import {
19
19
  ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service74,
24
- node78
25
- } from "./kv-ee8xpbar.js";
23
+ Service76,
24
+ node80
25
+ } from "./repository-mfct962c.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./kv-z5v4ffb3.js";
28
+ } from "./repository-z5v4ffb3.js";
29
29
  import {
30
30
  Info26,
31
31
  Ref4,
32
- Service76,
33
- node80
34
- } from "./kv-8cseh6jw.js";
32
+ Service78,
33
+ node82
34
+ } from "./repository-w7a2abxy.js";
35
35
  import {
36
36
  ID13,
37
- Service73,
38
- node77
39
- } from "./kv-sanedfh0.js";
37
+ Service75,
38
+ node79
39
+ } from "./repository-9815d8pv.js";
40
40
  import {
41
- Service71,
42
- node75
43
- } from "./kv-9phyjc4n.js";
41
+ Service55,
42
+ node57
43
+ } from "./repository-x4k83k5f.js";
44
44
  import {
45
- Service59,
46
- node63
47
- } from "./kv-e8wga5c8.js";
45
+ Service53,
46
+ node55
47
+ } from "./repository-ntaqe8vs.js";
48
48
  import {
49
- Service68,
50
- node72
51
- } from "./kv-v2yhfrn9.js";
49
+ Service80,
50
+ node84
51
+ } from "./repository-0h1qn0y5.js";
52
52
  import {
53
- Service62,
54
- node66
55
- } from "./kv-mae0k732.js";
53
+ Service52,
54
+ node54
55
+ } from "./repository-rjsk0n41.js";
56
56
  import {
57
57
  ID12,
58
- Service72,
59
- node76
60
- } from "./kv-drmw43ea.js";
58
+ Service74,
59
+ node78
60
+ } from "./repository-b5f9cqb8.js";
61
61
  import {
62
- ID6
63
- } from "./kv-f87x761z.js";
62
+ ID11
63
+ } from "./repository-qy0n8417.js";
64
64
  import {
65
- Service35,
66
- node38
67
- } from "./kv-3fj5q6bc.js";
65
+ Service41,
66
+ node44
67
+ } from "./repository-68ga000j.js";
68
68
  import {
69
69
  Service67,
70
- node71
71
- } from "./kv-g1sxm558.js";
70
+ node69
71
+ } from "./repository-1gfgk62c.js";
72
72
  import {
73
- Service63,
74
- node67
75
- } from "./kv-91xts6ft.js";
73
+ Service56,
74
+ node58
75
+ } from "./repository-5r637m3f.js";
76
76
  import {
77
- Service57,
78
- node61
79
- } from "./kv-2fcn0a3n.js";
77
+ Service44,
78
+ node47
79
+ } from "./repository-pg4zag0e.js";
80
80
  import {
81
81
  Source3,
82
- Service38,
83
- node41
84
- } from "./kv-q95kjj2t.js";
82
+ Service42,
83
+ node45
84
+ } from "./repository-23294nz8.js";
85
85
  import {
86
- Info14,
87
- Service55,
88
- node59
89
- } from "./kv-aa77x952.js";
86
+ Info8,
87
+ Service43,
88
+ node46
89
+ } from "./repository-yf33k1p3.js";
90
90
  import {
91
- Service24,
92
- node27
93
- } from "./kv-v2p84kh2.js";
91
+ Service29,
92
+ node32
93
+ } from "./repository-vp0q13q8.js";
94
94
  import {
95
- Service81,
96
- node85
97
- } from "./kv-c6sqj817.js";
95
+ Service21,
96
+ node24
97
+ } from "./repository-tzy9a5tv.js";
98
98
  import {
99
- Service61,
100
- node65
101
- } from "./kv-0dm71e41.js";
99
+ Service27,
100
+ node30
101
+ } from "./repository-h4jx6m0r.js";
102
102
  import {
103
- Service56,
104
- node60
105
- } from "./kv-11nb2wm6.js";
103
+ Service20,
104
+ node23
105
+ } from "./repository-7wnc14t4.js";
106
106
  import {
107
107
  ID4,
108
- Service21,
109
- node24
110
- } from "./kv-ff79g11c.js";
108
+ Service25,
109
+ node28
110
+ } from "./repository-042aawn8.js";
111
111
  import {
112
- Service23,
113
- node26
114
- } from "./kv-qj944938.js";
112
+ Service24,
113
+ node27
114
+ } from "./repository-05t95569.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info4,
117
+ Info5,
118
118
  ListEntry3,
119
+ Service23,
120
+ node26
121
+ } from "./repository-azmfd98g.js";
122
+ import {
119
123
  Service22,
120
124
  node25
121
- } from "./kv-vz9np6hr.js";
122
- import {
123
- Service69,
124
- node73
125
- } from "./kv-d1ve849e.js";
125
+ } from "./repository-h2yw0gk4.js";
126
126
  import {
127
127
  __export
128
- } from "./kv-9rqn6x4v.js";
128
+ } from "./repository-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,30 +143,30 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service66;
147
- const aisdk = yield* Service71;
148
- const providers = yield* Service73;
149
- const models = yield* Service72;
150
- const commands = yield* Service59;
146
+ const agents = yield* Service59;
147
+ const aisdk = yield* Service55;
148
+ const providers = yield* Service75;
149
+ const models = yield* Service74;
150
+ const commands = yield* Service53;
151
151
  const bus = yield* Service83;
152
- const integration = yield* Service74;
153
- const kv = yield* Service68;
154
- const mcp = yield* Service35;
155
- const location = yield* Service76;
156
- const reference = yield* Service38;
157
- const rpc = yield* Service61;
158
- const skill = yield* Service55;
159
- const tools = yield* Service57;
160
- const vcs = yield* Service56;
161
- const websearch = yield* Service21;
162
- const generate = yield* Service69;
163
- const permission = yield* Service63;
152
+ const integration = yield* Service76;
153
+ const kv = yield* Service80;
154
+ const mcp = yield* Service41;
155
+ const location = yield* Service78;
156
+ const reference = yield* Service42;
157
+ const rpc = yield* Service27;
158
+ const skill = yield* Service43;
159
+ const tools = yield* Service44;
160
+ const vcs = yield* Service20;
161
+ const websearch = yield* Service25;
162
+ const generate = yield* Service22;
163
+ const permission = yield* Service56;
164
164
  const hooks = yield* Service67;
165
- const sessions = yield* Service24;
166
- const persistentPty = yield* Service81;
167
- const locations = yield* Service62;
168
- const worktrees = yield* Service22;
169
- const worktreeStrategies = yield* Service23;
165
+ const sessions = yield* Service29;
166
+ const persistentPty = yield* Service21;
167
+ const locations = yield* Service52;
168
+ const worktrees = yield* Service23;
169
+ const worktreeStrategies = yield* Service24;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
171
  const locationInfo = () => new Info26({
172
172
  directory: location.directory,
@@ -175,15 +175,15 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
175
175
  });
176
176
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID6.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
- const decodeWorktree = Schema.decodeUnknownEffect(Info4);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info5);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
- const location = yield* Service76;
186
- const agents = yield* Service66;
185
+ const location = yield* Service78;
186
+ const agents = yield* Service59;
187
187
  return {
188
188
  location: new Info26({
189
189
  directory: location.directory,
@@ -217,10 +217,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
217
217
  transform: (callback) => agents.transform((editor) => {
218
218
  callback({
219
219
  list: () => mutable(editor.list()),
220
- get: (id) => mutable(editor.get(ID10.make(id))),
221
- default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
222
- update: (id, update) => editor.update(ID10.make(id), update),
223
- remove: (id) => editor.remove(ID10.make(id))
220
+ get: (id) => mutable(editor.get(ID9.make(id))),
221
+ default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
222
+ update: (id, update) => editor.update(ID9.make(id), update),
223
+ remove: (id) => editor.remove(ID9.make(id))
224
224
  });
225
225
  })
226
226
  },
@@ -390,8 +390,8 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
390
390
  const ref = locationRef(input);
391
391
  if (ref && !isCurrentLocation(ref))
392
392
  return Effect.gen(function* () {
393
- const location = yield* Service76;
394
- const mcp = yield* Service35;
393
+ const location = yield* Service78;
394
+ const mcp = yield* Service41;
395
395
  return {
396
396
  location: new Info26({
397
397
  directory: location.directory,
@@ -442,7 +442,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
442
442
  callback({
443
443
  list: () => mutable(editor.list()),
444
444
  get: editor.get,
445
- add: (value) => editor.add(Schema.decodeUnknownSync(Info14)(value)),
445
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info8)(value)),
446
446
  update: editor.update,
447
447
  remove: editor.remove
448
448
  });
@@ -545,31 +545,31 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
545
545
  return context;
546
546
  });
547
547
  var requirements3 = LayerNode.group([
548
- node49,
549
- node70,
550
- node75,
551
548
  node77,
552
- node76,
553
- node63,
554
- node87,
549
+ node61,
550
+ node57,
551
+ node79,
555
552
  node78,
556
- node72,
557
- node38,
553
+ node55,
554
+ node87,
558
555
  node80,
559
- node41,
560
- node65,
561
- node59,
562
- node61,
563
- node60,
564
- node24,
565
- node25,
556
+ node84,
557
+ node44,
558
+ node82,
559
+ node45,
560
+ node30,
561
+ node46,
562
+ node47,
563
+ node23,
564
+ node28,
566
565
  node26,
567
- node73,
568
- node67,
569
- node71,
570
566
  node27,
571
- node85,
572
- node66
567
+ node25,
568
+ node58,
569
+ node69,
570
+ node32,
571
+ node24,
572
+ node54
573
573
  ]);
574
574
  function storage2(kv, pluginID) {
575
575
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;