@opencode/core 0.0.0-dev-20070 → 0.0.0-dev-20075

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{persistent-pty-jkdgk110.js → variant-02av72dv.js} +34 -34
  8. package/dist/chunks/{persistent-pty-qkz21msg.js → variant-04egpzyt.js} +27 -27
  9. package/dist/chunks/{persistent-pty-h1rv4yj5.js → variant-06mym1h5.js} +11 -11
  10. package/dist/chunks/{persistent-pty-39af71ak.js → variant-0bzevza6.js} +22 -22
  11. package/dist/chunks/{persistent-pty-qs9wfy73.js → variant-0f3fkebw.js} +16 -16
  12. package/dist/chunks/{persistent-pty-45yze870.js → variant-0kdyx93j.js} +23 -23
  13. package/dist/chunks/{persistent-pty-b7mafceh.js → variant-0krcabsn.js} +4 -4
  14. package/dist/chunks/{persistent-pty-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{persistent-pty-k1gkpfdk.js → variant-0xezjjjn.js} +8 -8
  16. package/dist/chunks/{persistent-pty-mqt5419d.js → variant-0z6w7vfv.js} +12 -12
  17. package/dist/chunks/{persistent-pty-vyrd71eq.js → variant-17j9h1rv.js} +8 -8
  18. package/dist/chunks/{persistent-pty-wdmcp318.js → variant-18x7p8ha.js} +10 -10
  19. package/dist/chunks/{persistent-pty-r98e92ep.js → variant-1a6p2twq.js} +4 -4
  20. package/dist/chunks/{persistent-pty-mvfsc1pv.js → variant-1bbkgx8g.js} +3 -3
  21. package/dist/chunks/{persistent-pty-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{persistent-pty-pgegyfjk.js → variant-1j4qs2dp.js} +13 -13
  23. package/dist/chunks/{persistent-pty-12arvj6n.js → variant-1wyzf5g7.js} +2 -2
  24. package/dist/chunks/{persistent-pty-z2ahs8tt.js → variant-1xcw6xjf.js} +26 -26
  25. package/dist/chunks/{persistent-pty-21r38tys.js → variant-21r38tys.js} +1 -1
  26. package/dist/chunks/{persistent-pty-pr5f4b24.js → variant-21xkm9mw.js} +20 -20
  27. package/dist/chunks/{persistent-pty-2402vzrj.js → variant-2402vzrj.js} +1 -1
  28. package/dist/chunks/{persistent-pty-29x78va6.js → variant-29x78va6.js} +2 -2
  29. package/dist/chunks/{persistent-pty-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{persistent-pty-jhf3jymm.js → variant-2a6rn6yr.js} +6 -6
  31. package/dist/chunks/{persistent-pty-0gaj4617.js → variant-2d57kztd.js} +6 -6
  32. package/dist/chunks/{persistent-pty-52a9n96b.js → variant-2e1azfp0.js} +9 -9
  33. package/dist/chunks/{persistent-pty-qfzh5nde.js → variant-2e5jpznv.js} +25 -25
  34. package/dist/chunks/{persistent-pty-2demy4mp.js → variant-2eyvmpqy.js} +33 -33
  35. package/dist/chunks/{persistent-pty-80gs2nd1.js → variant-2g7pkq9k.js} +16 -16
  36. package/dist/chunks/{persistent-pty-9c3np669.js → variant-2hr5nhwa.js} +8 -8
  37. package/dist/chunks/{persistent-pty-4zfaky6j.js → variant-2jadfhe8.js} +13 -13
  38. package/dist/chunks/{persistent-pty-ycndb7t3.js → variant-2ptfhmaq.js} +16 -16
  39. package/dist/chunks/{persistent-pty-sz5744vg.js → variant-39j5cs0s.js} +5 -5
  40. package/dist/chunks/variant-3c0cjr72.js +26 -0
  41. package/dist/chunks/{persistent-pty-d2aac7k2.js → variant-3cz8rj72.js} +5 -5
  42. package/dist/chunks/{persistent-pty-ywyxz1rh.js → variant-3d4xjzsg.js} +21 -21
  43. package/dist/chunks/{persistent-pty-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{persistent-pty-18s9r5gn.js → variant-3g33scay.js} +4 -4
  45. package/dist/chunks/{persistent-pty-8m7vqh9t.js → variant-3h50d2d8.js} +6 -6
  46. package/dist/chunks/{persistent-pty-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{persistent-pty-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{persistent-pty-xm1fqpw5.js → variant-3t9ng3w8.js} +31 -31
  49. package/dist/chunks/{persistent-pty-dqcz30tg.js → variant-3tqzctrg.js} +23 -23
  50. package/dist/chunks/{persistent-pty-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{persistent-pty-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{persistent-pty-b7b4ctej.js → variant-49exe669.js} +5 -5
  53. package/dist/chunks/{persistent-pty-g640k70z.js → variant-4hz2mmtn.js} +6 -6
  54. package/dist/chunks/{persistent-pty-qwww5vg0.js → variant-4n6z1r8s.js} +24 -24
  55. package/dist/chunks/{persistent-pty-eew2zdws.js → variant-4q2gynnp.js} +13 -13
  56. package/dist/chunks/{persistent-pty-hcr91a9c.js → variant-4ydd0s85.js} +43 -43
  57. package/dist/chunks/{persistent-pty-ckecvw8r.js → variant-54tcyq79.js} +2 -2
  58. package/dist/chunks/{persistent-pty-y56x7az9.js → variant-557d9c8t.js} +25 -25
  59. package/dist/chunks/{persistent-pty-ete5a4rz.js → variant-55bea18v.js} +96 -96
  60. package/dist/chunks/{persistent-pty-56gdpj1q.js → variant-56gdpj1q.js} +2 -2
  61. package/dist/chunks/{persistent-pty-7hrmjf05.js → variant-57h5xjj4.js} +40 -40
  62. package/dist/chunks/{persistent-pty-pgmm1a8m.js → variant-59d32q4x.js} +60 -60
  63. package/dist/chunks/{persistent-pty-hqd5ggsz.js → variant-5b64cte8.js} +18 -18
  64. package/dist/chunks/{persistent-pty-5daktx2q.js → variant-5daktx2q.js} +1 -1
  65. package/dist/chunks/{persistent-pty-wdy4dbbj.js → variant-5e6ck4tr.js} +54 -54
  66. package/dist/chunks/{persistent-pty-5ekn9679.js → variant-5ekn9679.js} +1 -1
  67. package/dist/chunks/{persistent-pty-3279mwmz.js → variant-5hwa0061.js} +2 -2
  68. package/dist/chunks/{persistent-pty-6q4z0wrt.js → variant-5jf3agd7.js} +1 -1
  69. package/dist/chunks/{persistent-pty-z35hf7r1.js → variant-5mef3xk7.js} +13 -13
  70. package/dist/chunks/{persistent-pty-xndc7n30.js → variant-5mvsdnr7.js} +4 -4
  71. package/dist/chunks/{persistent-pty-enm918mk.js → variant-5rmj6wcp.js} +30 -30
  72. package/dist/chunks/{persistent-pty-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{persistent-pty-7qhp50hp.js → variant-62m7qsdd.js} +3 -3
  74. package/dist/chunks/{persistent-pty-669tq793.js → variant-669tq793.js} +1 -1
  75. package/dist/chunks/{persistent-pty-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{persistent-pty-14tdt6pq.js → variant-6p55r51m.js} +1 -1
  77. package/dist/chunks/{persistent-pty-kd4v9k4j.js → variant-6rxwp35s.js} +20 -20
  78. package/dist/chunks/{persistent-pty-2stzsw3h.js → variant-6sd32h80.js} +8 -8
  79. package/dist/chunks/{persistent-pty-kk00bynn.js → variant-6sr3ve8g.js} +4 -4
  80. package/dist/chunks/{persistent-pty-em4dwj0d.js → variant-6tb4xv4d.js} +11 -11
  81. package/dist/chunks/{persistent-pty-h1znna23.js → variant-6w0aczmv.js} +11 -11
  82. package/dist/chunks/{persistent-pty-tvqmbf2y.js → variant-6wjad31y.js} +7 -7
  83. package/dist/chunks/{persistent-pty-qb9vhbtw.js → variant-6zedfc54.js} +21 -21
  84. package/dist/chunks/{persistent-pty-cyxwnd9c.js → variant-70htw8qd.js} +31 -31
  85. package/dist/chunks/{persistent-pty-2qb4gyb1.js → variant-73x22xcw.js} +12 -12
  86. package/dist/chunks/{persistent-pty-0wv36b6c.js → variant-75vzfbx5.js} +42 -42
  87. package/dist/chunks/{persistent-pty-3b699t4b.js → variant-75x4dgvy.js} +6 -6
  88. package/dist/chunks/{persistent-pty-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  89. package/dist/chunks/{persistent-pty-7dqw4kz8.js → variant-7dqw4kz8.js} +1 -1
  90. package/dist/chunks/{persistent-pty-jexe30zh.js → variant-7xgrqf4n.js} +18 -18
  91. package/dist/chunks/{persistent-pty-97j4gngf.js → variant-834a0b17.js} +3 -3
  92. package/dist/chunks/{persistent-pty-tk1eb0jd.js → variant-83xz4qq9.js} +23 -23
  93. package/dist/chunks/{persistent-pty-vw47vkvc.js → variant-84sj45vf.js} +18 -18
  94. package/dist/chunks/{persistent-pty-kmx0na6r.js → variant-8b6wz1s2.js} +4 -4
  95. package/dist/chunks/{persistent-pty-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{persistent-pty-7f8zt51t.js → variant-8eh51za7.js} +9 -9
  97. package/dist/chunks/{persistent-pty-84ayszt9.js → variant-8epdgwc0.js} +18 -18
  98. package/dist/chunks/{persistent-pty-cgy10bdv.js → variant-8fz7s7fk.js} +6 -6
  99. package/dist/chunks/{persistent-pty-t0hvt5ga.js → variant-8pagagwq.js} +8 -8
  100. package/dist/chunks/{persistent-pty-947f7b8n.js → variant-8q94mjap.js} +35 -35
  101. package/dist/chunks/{persistent-pty-a0j9ghhw.js → variant-8qdtva9t.js} +17 -17
  102. package/dist/chunks/{persistent-pty-prtjzanf.js → variant-8tpythmx.js} +28 -28
  103. package/dist/chunks/{persistent-pty-v37e6ssw.js → variant-8z0v9tpj.js} +89 -89
  104. package/dist/chunks/{persistent-pty-vrev4g7d.js → variant-8zds6rzg.js} +13 -13
  105. package/dist/chunks/{persistent-pty-aez9gwcb.js → variant-9byqxeta.js} +20 -20
  106. package/dist/chunks/{persistent-pty-exhkk0g4.js → variant-9ccjze4x.js} +18 -18
  107. package/dist/chunks/{persistent-pty-9cyfspf3.js → variant-9cyfspf3.js} +2 -2
  108. package/dist/chunks/{persistent-pty-p06qdrkc.js → variant-9esb0m0p.js} +1 -1
  109. package/dist/chunks/{persistent-pty-639ckm2d.js → variant-9f1seg8j.js} +30 -30
  110. package/dist/chunks/{persistent-pty-05kc7n4p.js → variant-a5t4p5xt.js} +22 -22
  111. package/dist/chunks/{persistent-pty-n07s4dfy.js → variant-a6x7shte.js} +3 -3
  112. package/dist/chunks/{persistent-pty-aaet6srn.js → variant-aaet6srn.js} +2 -2
  113. package/dist/chunks/{persistent-pty-r83whyrf.js → variant-ab2nxame.js} +26 -26
  114. package/dist/chunks/{persistent-pty-bka19sx3.js → variant-af7j52hr.js} +4 -4
  115. package/dist/chunks/{persistent-pty-e07xevgn.js → variant-ajk3nktm.js} +24 -24
  116. package/dist/chunks/{persistent-pty-0fhvsrpq.js → variant-amv7sxhe.js} +32 -32
  117. package/dist/chunks/{persistent-pty-jykm5qrb.js → variant-apg24jar.js} +35 -35
  118. package/dist/chunks/{persistent-pty-7nwh0z4r.js → variant-avrnkb01.js} +34 -34
  119. package/dist/chunks/{persistent-pty-zbatyxhg.js → variant-b4fyfyab.js} +30 -30
  120. package/dist/chunks/{persistent-pty-qje2a4n2.js → variant-b51jbz85.js} +5 -5
  121. package/dist/chunks/{persistent-pty-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
  122. package/dist/chunks/{persistent-pty-ajj1dwjw.js → variant-b8y4420x.js} +40 -40
  123. package/dist/chunks/{persistent-pty-agbhy58v.js → variant-b9dsjnj7.js} +8 -8
  124. package/dist/chunks/{persistent-pty-qcwj8qyp.js → variant-bjn6skbd.js} +5 -5
  125. package/dist/chunks/{persistent-pty-z07pqspn.js → variant-bjtzbw4r.js} +3 -3
  126. package/dist/chunks/{persistent-pty-xx6wjz2h.js → variant-bz7588dj.js} +27 -27
  127. package/dist/chunks/{persistent-pty-besw6zsr.js → variant-ccjjc20y.js} +22 -22
  128. package/dist/chunks/variant-cdqw8pv3.js +252 -0
  129. package/dist/chunks/{persistent-pty-6dee4bn2.js → variant-cetrwbmx.js} +9 -9
  130. package/dist/chunks/{persistent-pty-b27q0a9n.js → variant-chfqe63q.js} +8 -8
  131. package/dist/chunks/{persistent-pty-tktartgp.js → variant-cmh4zy5x.js} +13 -13
  132. package/dist/chunks/variant-ctefx7dc.js +18 -0
  133. package/dist/chunks/{persistent-pty-4aeq6eye.js → variant-d90713ew.js} +8 -8
  134. package/dist/chunks/{persistent-pty-65tw7ne2.js → variant-dbdtaeh3.js} +47 -47
  135. package/dist/chunks/{persistent-pty-v17mnf28.js → variant-dfjemdtf.js} +30 -30
  136. package/dist/chunks/{persistent-pty-2a4f6v5q.js → variant-dh75pk8w.js} +5 -5
  137. package/dist/chunks/{persistent-pty-by2v34hv.js → variant-dngx6zgq.js} +2 -2
  138. package/dist/chunks/{persistent-pty-xfkkasph.js → variant-drwq78ky.js} +4 -4
  139. package/dist/chunks/{persistent-pty-adcjy0yy.js → variant-ds9k8dwt.js} +21 -21
  140. package/dist/chunks/{persistent-pty-ncjresk4.js → variant-dvc89yjx.js} +8 -8
  141. package/dist/chunks/{persistent-pty-w4fc9vh6.js → variant-e1e0rbzc.js} +51 -39
  142. package/dist/chunks/{persistent-pty-ncq08a4j.js → variant-e37stjd8.js} +8 -8
  143. package/dist/chunks/{persistent-pty-tj1zj3en.js → variant-e42jp6kc.js} +15 -15
  144. package/dist/chunks/{persistent-pty-84g0xtqq.js → variant-e6y173sj.js} +9 -9
  145. package/dist/chunks/{persistent-pty-s8d7rejh.js → variant-eaj1djv9.js} +6 -6
  146. package/dist/chunks/{persistent-pty-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  147. package/dist/chunks/{persistent-pty-6744wpjg.js → variant-ehd2w0yp.js} +17 -17
  148. package/dist/chunks/{persistent-pty-aeb4sny1.js → variant-engkm2d6.js} +5 -5
  149. package/dist/chunks/{persistent-pty-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
  150. package/dist/chunks/{persistent-pty-jdz7ay1h.js → variant-ery758hr.js} +10 -10
  151. package/dist/chunks/{persistent-pty-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
  152. package/dist/chunks/{persistent-pty-n38w816c.js → variant-f747t98r.js} +17 -17
  153. package/dist/chunks/{persistent-pty-wafpmbfs.js → variant-fbc9vsj2.js} +20 -20
  154. package/dist/chunks/{persistent-pty-140js8cv.js → variant-fhpv401t.js} +47 -47
  155. package/dist/chunks/{persistent-pty-xd3hz90e.js → variant-fjeqa7jj.js} +6 -6
  156. package/dist/chunks/{persistent-pty-32ebpc2k.js → variant-fm0yt94d.js} +30 -30
  157. package/dist/chunks/{persistent-pty-bj7qwv03.js → variant-fmfh291e.js} +9 -9
  158. package/dist/chunks/{persistent-pty-2z6npzcs.js → variant-fx8cm3j5.js} +8 -8
  159. package/dist/chunks/{persistent-pty-k0nnq3t9.js → variant-fzgxakwn.js} +4 -4
  160. package/dist/chunks/{persistent-pty-x56fq0r3.js → variant-fzhdr1mx.js} +1 -1
  161. package/dist/chunks/{persistent-pty-517pqn2m.js → variant-g1er0jf5.js} +77 -77
  162. package/dist/chunks/{persistent-pty-r68fq1x1.js → variant-g20tdqpk.js} +37 -37
  163. package/dist/chunks/{persistent-pty-kbegyq1c.js → variant-g2yz86wh.js} +2 -2
  164. package/dist/chunks/{persistent-pty-8pccpkv9.js → variant-gbdr24b9.js} +12 -12
  165. package/dist/chunks/{persistent-pty-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  166. package/dist/chunks/{persistent-pty-94ek1h2f.js → variant-gfvb90ym.js} +2 -2
  167. package/dist/chunks/{persistent-pty-sgnpw8wt.js → variant-gs5afy8f.js} +18 -18
  168. package/dist/chunks/{persistent-pty-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
  169. package/dist/chunks/{persistent-pty-yjw00k6r.js → variant-gxsbq66b.js} +11 -11
  170. package/dist/chunks/{persistent-pty-h6r3nrb9.js → variant-h6r3nrb9.js} +1 -1
  171. package/dist/chunks/{persistent-pty-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  172. package/dist/chunks/{persistent-pty-fvsyg6qk.js → variant-hcz3zddy.js} +5 -5
  173. package/dist/chunks/{persistent-pty-02fxdhk5.js → variant-hdkqes0b.js} +13 -13
  174. package/dist/chunks/{persistent-pty-0wsqztt0.js → variant-hkafdcbz.js} +1 -1
  175. package/dist/chunks/{persistent-pty-wd09zjr8.js → variant-hpfrvn9v.js} +16 -16
  176. package/dist/chunks/{persistent-pty-88fhh6r1.js → variant-j35dsqtt.js} +10 -10
  177. package/dist/chunks/{persistent-pty-v5vn9b7d.js → variant-j55501wg.js} +6 -6
  178. package/dist/chunks/{persistent-pty-j56e64zr.js → variant-j56e64zr.js} +1 -1
  179. package/dist/chunks/{persistent-pty-24bj6dbd.js → variant-jfmkgsry.js} +16 -16
  180. package/dist/chunks/{persistent-pty-wdm18wae.js → variant-jk953tft.js} +4 -4
  181. package/dist/chunks/{persistent-pty-sxqherdn.js → variant-k5y748ge.js} +5 -5
  182. package/dist/chunks/{persistent-pty-chrxq3ex.js → variant-kad49353.js} +11 -11
  183. package/dist/chunks/{persistent-pty-z7ck20cm.js → variant-kns7re6s.js} +15 -15
  184. package/dist/chunks/{persistent-pty-3z0zch1n.js → variant-kqbmdx55.js} +32 -32
  185. package/dist/chunks/{persistent-pty-6he05v0p.js → variant-kzynzy4y.js} +3 -3
  186. package/dist/chunks/{persistent-pty-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{persistent-pty-d79paw8k.js → variant-m74j5n8t.js} +31 -31
  188. package/dist/chunks/{persistent-pty-fay784kk.js → variant-m91qzb25.js} +45 -45
  189. package/dist/chunks/{persistent-pty-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{persistent-pty-nca7p386.js → variant-mjncxbbh.js} +6 -6
  191. package/dist/chunks/{persistent-pty-4c9v79sp.js → variant-mph8mpeq.js} +18 -18
  192. package/dist/chunks/{persistent-pty-6z9mwsmt.js → variant-n2cj49gr.js} +15 -15
  193. package/dist/chunks/{persistent-pty-7fha70gh.js → variant-n7hwxzgv.js} +23 -23
  194. package/dist/chunks/{persistent-pty-9b18mb3y.js → variant-na0h3a6c.js} +22 -22
  195. package/dist/chunks/{persistent-pty-de11ys5j.js → variant-naagfrme.js} +21 -21
  196. package/dist/chunks/{persistent-pty-sh0ksnmg.js → variant-ngjw7veb.js} +3 -3
  197. package/dist/chunks/{persistent-pty-jcete9c4.js → variant-ngwyp1sx.js} +7 -7
  198. package/dist/chunks/{persistent-pty-3me5k2fr.js → variant-nh3rsggm.js} +6 -6
  199. package/dist/chunks/{persistent-pty-avnvkndt.js → variant-nj481gba.js} +5 -5
  200. package/dist/chunks/{persistent-pty-9ejw23zs.js → variant-nk7804dj.js} +11 -11
  201. package/dist/chunks/{persistent-pty-6jttejjp.js → variant-nmvjxe16.js} +13 -13
  202. package/dist/chunks/{persistent-pty-5mhxbhna.js → variant-nq3y9q1m.js} +9 -9
  203. package/dist/chunks/{persistent-pty-sb4h1tjm.js → variant-nydghdxw.js} +27 -27
  204. package/dist/chunks/{persistent-pty-k3c624dm.js → variant-nzks3jc8.js} +3 -3
  205. package/dist/chunks/{persistent-pty-br0tr5aq.js → variant-p37cw4rj.js} +8 -8
  206. package/dist/chunks/{persistent-pty-xyh6nkpv.js → variant-p8djes8h.js} +19 -19
  207. package/dist/chunks/{persistent-pty-57ez7d0k.js → variant-pef6k0gg.js} +9 -9
  208. package/dist/chunks/{persistent-pty-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{persistent-pty-pknna89w.js → variant-pknna89w.js} +1 -1
  210. package/dist/chunks/{persistent-pty-5gw2z3et.js → variant-ppxpc5nv.js} +3 -3
  211. package/dist/chunks/{persistent-pty-wd3x2cqz.js → variant-psazpmmj.js} +2 -2
  212. package/dist/chunks/{persistent-pty-5xpznt2d.js → variant-q7azfttr.js} +4 -4
  213. package/dist/chunks/{persistent-pty-r7jpdgae.js → variant-q7mj73f6.js} +25 -25
  214. package/dist/chunks/variant-qapv375x.js +4 -0
  215. package/dist/chunks/{persistent-pty-nexc1gw3.js → variant-qbyce0vv.js} +159 -159
  216. package/dist/chunks/{persistent-pty-f7fhy96a.js → variant-qc5e3rnt.js} +5 -5
  217. package/dist/chunks/{persistent-pty-vansc7n9.js → variant-qe45xzp3.js} +21 -21
  218. package/dist/chunks/{persistent-pty-11txpkat.js → variant-qmkkft71.js} +24 -24
  219. package/dist/chunks/{persistent-pty-kg93zbfw.js → variant-qrbkb0m8.js} +12 -12
  220. package/dist/chunks/{persistent-pty-qsdy395h.js → variant-qsdy395h.js} +1 -1
  221. package/dist/chunks/{persistent-pty-a2mdmpbv.js → variant-qydm3dy6.js} +7 -7
  222. package/dist/chunks/{persistent-pty-g6q9qykm.js → variant-r2m716tb.js} +8 -8
  223. package/dist/chunks/variant-r5ha4mwf.js +507 -0
  224. package/dist/chunks/{persistent-pty-93z9rjx5.js → variant-r69mm98a.js} +8 -8
  225. package/dist/chunks/{persistent-pty-a6r5j9ve.js → variant-r6cdbtvh.js} +4 -4
  226. package/dist/chunks/{persistent-pty-a4kfnjq6.js → variant-r8bjv7hd.js} +16 -16
  227. package/dist/chunks/{persistent-pty-vj8zb72s.js → variant-r9684t3a.js} +13 -13
  228. package/dist/chunks/{persistent-pty-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  229. package/dist/chunks/{persistent-pty-m2d0j7c0.js → variant-rhafb4aa.js} +8 -8
  230. package/dist/chunks/{persistent-pty-1myjhcv5.js → variant-rjfg6bza.js} +32 -32
  231. package/dist/chunks/{persistent-pty-79jt7wa4.js → variant-rk5vk321.js} +4 -4
  232. package/dist/chunks/{persistent-pty-rxdxrnem.js → variant-rkg5m5ng.js} +9 -9
  233. package/dist/chunks/{persistent-pty-44ke2mar.js → variant-rkprpv83.js} +3 -3
  234. package/dist/chunks/{persistent-pty-ach3jvdq.js → variant-rt8yt3bf.js} +15 -15
  235. package/dist/chunks/{persistent-pty-ftg911na.js → variant-s07fdbeq.js} +15 -15
  236. package/dist/chunks/{persistent-pty-cpa9evey.js → variant-s41dxx30.js} +1 -1
  237. package/dist/chunks/{persistent-pty-s4enseaf.js → variant-s4enseaf.js} +2 -2
  238. package/dist/chunks/{persistent-pty-j58c5xyq.js → variant-s5d9hk7s.js} +9 -9
  239. package/dist/chunks/{persistent-pty-e7844e1q.js → variant-s7h606h9.js} +28 -28
  240. package/dist/chunks/{persistent-pty-kdt9c9ze.js → variant-sdmtvvxy.js} +15 -15
  241. package/dist/chunks/{persistent-pty-pnrj6x89.js → variant-sjgae2xy.js} +25 -25
  242. package/dist/chunks/{persistent-pty-bqddxaek.js → variant-stas9bdh.js} +9 -9
  243. package/dist/chunks/{persistent-pty-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{persistent-pty-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
  245. package/dist/chunks/{persistent-pty-tdstcens.js → variant-tdstcens.js} +1 -1
  246. package/dist/chunks/{persistent-pty-09dw9xvn.js → variant-tgt20m8a.js} +13 -13
  247. package/dist/chunks/{persistent-pty-y6r8qnm9.js → variant-tp7bfm6k.js} +27 -27
  248. package/dist/chunks/{persistent-pty-tvtrv512.js → variant-tvtrv512.js} +1 -1
  249. package/dist/chunks/{persistent-pty-f7mpxfp8.js → variant-v7eyjk8c.js} +31 -31
  250. package/dist/chunks/{persistent-pty-veqvce7d.js → variant-veqvce7d.js} +1 -1
  251. package/dist/chunks/{persistent-pty-cxc2wn7k.js → variant-vnkyds17.js} +9 -9
  252. package/dist/chunks/{persistent-pty-pwrm1vhs.js → variant-vrk0cgw0.js} +24 -24
  253. package/dist/chunks/{persistent-pty-8gszphq4.js → variant-vsysd8s3.js} +9 -9
  254. package/dist/chunks/{persistent-pty-dagkn99r.js → variant-vtd2qwnf.js} +1 -1
  255. package/dist/chunks/{persistent-pty-cbqy5dr9.js → variant-vya4f7hk.js} +13 -13
  256. package/dist/chunks/{persistent-pty-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{persistent-pty-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{persistent-pty-xhbkmk74.js → variant-w5q6wzvx.js} +20 -20
  259. package/dist/chunks/{persistent-pty-wd87259q.js → variant-wd87259q.js} +1 -1
  260. package/dist/chunks/{persistent-pty-hb0akz4x.js → variant-whz31wrj.js} +9 -9
  261. package/dist/chunks/{persistent-pty-wj76ss2k.js → variant-wj76ss2k.js} +1 -1
  262. package/dist/chunks/{persistent-pty-03drz298.js → variant-wnsqmkbm.js} +22 -22
  263. package/dist/chunks/{persistent-pty-rwx3cxcp.js → variant-wtm3ybk1.js} +11 -11
  264. package/dist/chunks/{persistent-pty-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{persistent-pty-fm2qvscf.js → variant-xb02k0wq.js} +4 -4
  266. package/dist/chunks/{persistent-pty-nsjkyrtc.js → variant-xe0jn6g3.js} +5 -5
  267. package/dist/chunks/{persistent-pty-n7d88tpn.js → variant-xkhfjrgz.js} +3 -3
  268. package/dist/chunks/{persistent-pty-3scm17sd.js → variant-xycc92pn.js} +30 -30
  269. package/dist/chunks/{persistent-pty-hm8n4zs5.js → variant-xz8dbhge.js} +7 -7
  270. package/dist/chunks/{persistent-pty-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{persistent-pty-aewf7fv0.js → variant-y1ra24rz.js} +10 -10
  272. package/dist/chunks/{persistent-pty-ec8389mk.js → variant-y67gsgy6.js} +4 -4
  273. package/dist/chunks/{persistent-pty-dpkg50ah.js → variant-y71avatq.js} +4 -4
  274. package/dist/chunks/{persistent-pty-ehye99pz.js → variant-yf5fe4my.js} +15 -15
  275. package/dist/chunks/{persistent-pty-2kewd2va.js → variant-yh7kjdpc.js} +9 -9
  276. package/dist/chunks/{persistent-pty-yp2x3t23.js → variant-yp2x3t23.js} +1 -1
  277. package/dist/chunks/{persistent-pty-ham917sc.js → variant-yq6sxka3.js} +48 -48
  278. package/dist/chunks/{persistent-pty-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{persistent-pty-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{persistent-pty-hh05mkd2.js → variant-z16bdfpw.js} +9 -9
  281. package/dist/chunks/{persistent-pty-ag9w8cw1.js → variant-z3pw5915.js} +5 -5
  282. package/dist/chunks/{persistent-pty-xdzxe0wf.js → variant-zd5rdewp.js} +6 -6
  283. package/dist/chunks/{persistent-pty-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{persistent-pty-72pe5pp7.js → variant-zncf754x.js} +9 -9
  285. package/dist/chunks/{persistent-pty-tk2xb498.js → variant-znt9c390.js} +9 -9
  286. package/dist/chunks/{persistent-pty-540xm2z9.js → variant-zqy8ejrp.js} +3 -3
  287. package/dist/chunks/{persistent-pty-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{persistent-pty-m70sbz6t.js → variant-zvt5dnpc.js} +4 -4
  289. package/dist/chunks/{persistent-pty-a0sbrj5q.js → variant-zxbrzaq9.js} +13 -13
  290. package/dist/chunks/{persistent-pty-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{persistent-pty-prd2qjch.js → variant-zzexawz9.js} +26 -26
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +124 -124
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +4 -4
  426. package/dist/filesystem/location-watcher.js +221 -221
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +11 -11
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +1 -1
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +89 -89
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +92 -92
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +101 -101
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +1 -1
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +2 -2
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +91 -91
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +92 -92
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +5 -5
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +227 -227
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +90 -90
  565. package/dist/provider.js +95 -95
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +98 -98
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +87 -87
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +134 -134
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +86 -86
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +223 -223
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +4 -4
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +106 -106
  635. package/dist/snapshot.js +89 -89
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +125 -125
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +122 -122
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +120 -120
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +98 -98
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +16 -16
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +14 -14
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +75 -75
  691. package/dist/workspace/driver.js +3 -3
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +74 -74
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +8 -8
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/persistent-pty-0mesazry.js +0 -4
  701. package/dist/chunks/persistent-pty-15eeh29d.js +0 -507
  702. package/dist/chunks/persistent-pty-3ys7avz6.js +0 -26
  703. package/dist/chunks/persistent-pty-9zdhvgqs.js +0 -18
  704. package/dist/chunks/persistent-pty-kzm3n6dm.js +0 -252
  705. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-24dcb14g.js → variant-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-2710q6r3.js → variant-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-34c7v6d4.js → variant-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-359p4xyc.js → variant-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-3asan66x.js → variant-3asan66x.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-53557ph1.js → variant-53557ph1.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-550bvhaj.js → variant-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-6prwharc.js → variant-6prwharc.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-7m9af43g.js → variant-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-822emrt2.js → variant-822emrt2.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-8n3pysct.js → variant-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-922hggd3.js → variant-922hggd3.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-af5trqkr.js → variant-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-afrmfg78.js → variant-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-d9fn303g.js → variant-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-dajrwvna.js → variant-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-dap0rakb.js → variant-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-df08tz66.js → variant-df08tz66.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-dy18nga0.js → variant-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-e3qxr5gk.js → variant-e3qxr5gk.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-ec1grn59.js → variant-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-faypxj3z.js → variant-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-fd410y7t.js → variant-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-g86h250q.js → variant-g86h250q.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-gftt206x.js → variant-gftt206x.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-hk9envan.js → variant-hk9envan.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-mp448xyj.js → variant-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-njntx4h6.js → variant-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-q74kybfr.js → variant-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-w803qqfp.js → variant-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-wtztk69x.js → variant-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-x61499pn.js → variant-x61499pn.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-y44na4kk.js → variant-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{persistent-pty-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{persistent-pty-y8f7s663.js → variant-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{persistent-pty-ym463w8f.js → variant-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{persistent-pty-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./persistent-pty-qs9wfy73.js";
2
+ Service83,
3
+ node87
4
+ } from "./variant-0f3fkebw.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./persistent-pty-6744wpjg.js";
9
- import {
10
- ID11,
11
- Service69,
12
- node73
13
- } from "./persistent-pty-pwrm1vhs.js";
14
- import {
15
- NotFoundError9
16
- } from "./persistent-pty-97j4gngf.js";
6
+ Service75,
7
+ node79
8
+ } from "./variant-ehd2w0yp.js";
17
9
  import {
10
+ ID9,
18
11
  Service67,
19
12
  node71
20
- } from "./persistent-pty-n38w816c.js";
13
+ } from "./variant-vrk0cgw0.js";
21
14
  import {
22
- match2
23
- } from "./persistent-pty-y1fvbwt7.js";
15
+ NotFoundError9
16
+ } from "./variant-834a0b17.js";
24
17
  import {
25
18
  Service66,
26
19
  node70
27
- } from "./persistent-pty-aez9gwcb.js";
20
+ } from "./variant-f747t98r.js";
21
+ import {
22
+ match2
23
+ } from "./variant-y1fvbwt7.js";
28
24
  import {
29
25
  Service68,
30
26
  node72
31
- } from "./persistent-pty-k1gkpfdk.js";
27
+ } from "./variant-9byqxeta.js";
28
+ import {
29
+ Service69,
30
+ node73
31
+ } from "./variant-0xezjjjn.js";
32
32
  import {
33
33
  __export
34
- } from "./persistent-pty-9rqn6x4v.js";
34
+ } from "./variant-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission = {};
@@ -42,7 +42,7 @@ __export(exports_permission, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event12,
45
+ Event: () => Event11,
46
46
  ID: () => ID8,
47
47
  NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission,
@@ -61,7 +61,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event12 } from "@opencode/schema/permission";
64
+ import { Event as Event11 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
67
  var ID8 = Permission.ID;
@@ -79,7 +79,7 @@ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
80
  id: ID8.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID11.pipe(Schema.optional)
82
+ agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
85
  requestID: ID8,
@@ -128,12 +128,12 @@ function merge2(...rulesets) {
128
128
  class Service65 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
130
  var layer = Layer.effect(Service65, Effect.gen(function* () {
131
- const bus = yield* Service82;
132
- const location = yield* Service79;
133
- const agents = yield* Service69;
134
- const sessions = yield* Service67;
135
- const saved = yield* Service66;
136
- const hooks = yield* Service68;
131
+ const bus = yield* Service83;
132
+ const location = yield* Service75;
133
+ const agents = yield* Service67;
134
+ const sessions = yield* Service66;
135
+ const saved = yield* Service68;
136
+ const hooks = yield* Service69;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -302,7 +302,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
302
302
  var node69 = makeLocationNode({
303
303
  service: Service65,
304
304
  layer,
305
- deps: [node86, node83, node73, node71, node70, node72]
305
+ deps: [node87, node79, node71, node70, node72, node73]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service65, node69, exports_permission, Rule2, Ruleset2, Event12 };
308
+ export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service65, node69, exports_permission, Rule2, Ruleset2, Event11 };
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./variant-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node85
7
- } from "./persistent-pty-mqt5419d.js";
6
+ node81
7
+ } from "./variant-0z6w7vfv.js";
8
8
  import {
9
9
  Slug2
10
- } from "./persistent-pty-gebd4c9n.js";
10
+ } from "./variant-gebd4c9n.js";
11
+ import {
12
+ Service84,
13
+ node88
14
+ } from "./variant-wtm3ybk1.js";
11
15
  import {
12
16
  Service83,
13
17
  node87
14
- } from "./persistent-pty-rwx3cxcp.js";
15
- import {
16
- Service82,
17
- node86
18
- } from "./persistent-pty-qs9wfy73.js";
18
+ } from "./variant-0f3fkebw.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./persistent-pty-wd3x2cqz.js";
21
+ } from "./variant-psazpmmj.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./persistent-pty-94ek1h2f.js";
24
+ } from "./variant-gfvb90ym.js";
25
25
  import {
26
- ID17,
27
- NotFoundError11
28
- } from "./persistent-pty-65tw7ne2.js";
26
+ ID14,
27
+ NotFoundError10
28
+ } from "./variant-dbdtaeh3.js";
29
29
  import {
30
- Ref4
31
- } from "./persistent-pty-6744wpjg.js";
30
+ Ref3
31
+ } from "./variant-ehd2w0yp.js";
32
32
  import {
33
- Service54,
34
- node57
35
- } from "./persistent-pty-9ejw23zs.js";
33
+ Service58,
34
+ node61
35
+ } from "./variant-nk7804dj.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./persistent-pty-gv6a8nnw.js";
39
+ } from "./variant-gv6a8nnw.js";
40
40
  import {
41
41
  make12
42
- } from "./persistent-pty-nsjkyrtc.js";
42
+ } from "./variant-xe0jn6g3.js";
43
43
  import {
44
- Service15
45
- } from "./persistent-pty-xyh6nkpv.js";
44
+ Service21
45
+ } from "./variant-p8djes8h.js";
46
46
  import {
47
47
  __export
48
- } from "./persistent-pty-9rqn6x4v.js";
48
+ } from "./variant-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
52
52
  __export(exports_worktree2, {
53
- CreateInput: () => CreateInput3,
53
+ CreateInput: () => CreateInput2,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event4,
56
+ Event: () => Event5,
57
57
  Info: () => Info4,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service14,
63
+ Service: () => Service20,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node17
68
+ node: () => node23
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -77,13 +77,13 @@ import { AppProcess } from "@opencode/util/process";
77
77
  import { ChildProcess } from "effect/unstable/process";
78
78
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
79
79
  var StrategyID2 = Worktree.StrategyID;
80
- var CreateInput3 = Worktree.CreateInput;
80
+ var CreateInput2 = Worktree.CreateInput;
81
81
  var RemoveInput2 = Worktree.RemoveInput;
82
82
  var Info4 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
86
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
86
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID14, directory: Schema.optional(AbsolutePath2) }) {
87
87
  }
88
88
 
89
89
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -94,22 +94,22 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event4 = Worktree.Event;
97
+ var Event5 = Worktree.Event;
98
98
 
99
- class Service14 extends Context.Service()("@opencode/Worktree") {
99
+ class Service20 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service14, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const database = yield* Service83;
103
+ const database = yield* Service84;
104
104
  const db = database.db;
105
- const bus = yield* Service82;
105
+ const bus = yield* Service83;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service54;
107
+ const locations = yield* Service58;
108
108
  const gitStrategy = yield* make12;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
111
111
  if (!row)
112
- return yield* new NotFoundError11({ projectID });
112
+ return yield* new NotFoundError10({ projectID });
113
113
  return row;
114
114
  });
115
115
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -118,13 +118,13 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
118
118
  if (current?.directory === directory)
119
119
  return current.get();
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
- const context = yield* locations.contextEffect(Ref4.make({ directory }));
121
+ const context = yield* locations.contextEffect(Ref3.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service15).get();
123
+ return Context.get(context, Service21).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event4.Updated, { projectID });
127
+ yield* bus.publish(Event5.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service14.of({
254
+ return Service20.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node17 = Node.makeGlobalNode({
265
- service: Service14,
264
+ var node23 = Node.makeGlobalNode({
265
+ service: Service20,
266
266
  layer,
267
- deps: [FSUtil.node, node85, node86, node87, AppProcess.node, node57]
267
+ deps: [FSUtil.node, node81, node87, node88, AppProcess.node, node61]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service14, node17, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service20, node23, exports_worktree2, OperationError2 };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./persistent-pty-emrn6kk6.js";
7
+ } from "./variant-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
- Entry: () => Entry3,
10
- Info: () => Info20
9
+ Entry: () => Entry4,
10
+ Info: () => Info25
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 Info20 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info25 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
20
20
 
21
- export { Entry3, Info20, exports_formatter3 };
21
+ export { Entry4, Info25, exports_formatter3 };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service65
3
- } from "./persistent-pty-d79paw8k.js";
3
+ } from "./variant-m74j5n8t.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./persistent-pty-4vcrnpx2.js";
7
+ } from "./variant-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./persistent-pty-3v8g72cx.js";
10
+ } from "./variant-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./variant-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input5,
19
+ Input: () => Input9,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin5,
22
+ Plugin: () => Plugin28,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description2,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name5
27
+ name: () => name9
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name5 = "webfetch";
33
+ var name9 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input5 = Schema.Struct({
41
+ var Input9 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input5 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input5.fields.format,
51
+ format: Input9.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin5 = {
95
+ var Plugin28 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
99
  const permission = yield* Service65;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name5,
101
+ name: name9,
102
102
  options: { codemode: false },
103
- description: description2,
104
- input: Input5,
103
+ description: description4,
104
+ input: Input9,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin5 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name5,
112
+ action: name9,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name5, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input5, Plugin5, extractTextFromHTML2, exports_webfetch };
170
+ export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin28, extractTextFromHTML2, exports_webfetch };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./persistent-pty-88xbtdfr.js";
3
+ } from "./variant-88xbtdfr.js";
4
4
  import {
5
5
  load5
6
- } from "./persistent-pty-e3qxr5gk.js";
6
+ } from "./variant-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./variant-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event14,
14
+ Event: () => Event13,
15
15
  Native: () => Native3,
16
- Options: () => Options10,
16
+ Options: () => Options8,
17
17
  Service: () => Service71,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured11,
20
+ configured: () => configured10,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer24,
22
+ layer: () => layer23,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
25
  node: () => node75,
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event14 = { Updated: FileSystem.Event.Changed };
36
+ var Event13 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load5());
@@ -53,7 +53,7 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options10 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
@@ -62,7 +62,7 @@ class Service71 extends Context.Service()("@opencode/Watcher") {
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
65
+ var layer23 = (options) => Layer.effect(Service71, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
67
  return Service71.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
@@ -129,7 +129,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
134
  subscribe: Context.get(context, Service71).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured11(options) {
168
- return makeGlobalNode({ service: Service71, layer: layer24(options), deps: [nativeNode2] });
167
+ function configured10(options) {
168
+ return makeGlobalNode({ service: Service71, layer: layer23(options), deps: [nativeNode2] });
169
169
  }
170
- var node75 = configured11();
170
+ var node75 = configured10();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event14, hasNativeBinding2, Native3, Options10, Service71, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured11, node75, exports_watcher };
190
+ export { Event13, hasNativeBinding2, Native3, Options8, Service71, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured10, node75, exports_watcher };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./persistent-pty-qs9wfy73.js";
2
+ Service83,
3
+ node87
4
+ } from "./variant-0f3fkebw.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./persistent-pty-2402vzrj.js";
11
+ } from "./variant-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./persistent-pty-922hggd3.js";
14
+ } from "./variant-922hggd3.js";
15
15
  import {
16
- Service57,
17
- node60
18
- } from "./persistent-pty-wafpmbfs.js";
16
+ Service56,
17
+ node59
18
+ } from "./variant-fbc9vsj2.js";
19
19
  import {
20
20
  create3
21
- } from "./persistent-pty-rdw6cm16.js";
21
+ } from "./variant-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./persistent-pty-9rqn6x4v.js";
24
+ } from "./variant-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event7,
29
+ Event: () => Event8,
30
30
  GitSource: () => GitSource2,
31
31
  Info: () => Info8,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service39,
34
+ Service: () => Service55,
35
35
  Source: () => Source3,
36
- node: () => node41
36
+ node: () => node58
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event7 } from "@opencode/schema/reference";
42
+ import { Event as Event8 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
46
  var Info8 = Reference.Info;
47
47
 
48
- class Service39 extends Context.Service()("@opencode/Reference") {
48
+ class Service55 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service39, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service82;
53
- const cache = yield* Service57;
52
+ const bus = yield* Service83;
53
+ const cache = yield* Service56;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service39.of({
107
+ return Service55.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node41 = makeLocationNode({
116
- service: Service39,
115
+ var node58 = makeLocationNode({
116
+ service: Service55,
117
117
  layer,
118
- deps: [Global.node, node86, node60]
118
+ deps: [Global.node, node87, node59]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info8, Service39, node41, exports_reference2, Event7 };
121
+ export { LocalSource2, GitSource2, Source3, Info8, Service55, node58, exports_reference2, Event8 };