@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,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./variant-922hggd3.js";
4
+ import {
5
+ Service84,
6
+ node88
7
+ } from "./variant-wtm3ybk1.js";
4
8
  import {
5
9
  Service83,
6
10
  node87
7
- } from "./persistent-pty-rwx3cxcp.js";
8
- import {
9
- Service82,
10
- node86
11
- } from "./persistent-pty-qs9wfy73.js";
11
+ } from "./variant-0f3fkebw.js";
12
12
  import {
13
- Service81,
14
- node85
15
- } from "./persistent-pty-mqt5419d.js";
13
+ Service77,
14
+ node81
15
+ } from "./variant-0z6w7vfv.js";
16
16
  import {
17
- ID18,
17
+ ID15,
18
18
  Current3,
19
- Info34,
19
+ Info31,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event17,
22
22
  Vcs3
23
- } from "./persistent-pty-57ez7d0k.js";
23
+ } from "./variant-pef6k0gg.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./persistent-pty-wd3x2cqz.js";
27
+ } from "./variant-psazpmmj.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./persistent-pty-94ek1h2f.js";
30
+ } from "./variant-gfvb90ym.js";
31
31
  import {
32
32
  __export
33
- } from "./persistent-pty-9rqn6x4v.js";
33
+ } from "./variant-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info33,
41
- NotFoundError: () => NotFoundError11,
39
+ ID: () => ID14,
40
+ Info: () => Info30,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service80,
43
+ Service: () => Service76,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node84,
46
+ node: () => node80,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID17 = ID18;
58
+ var ID14 = ID15;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info33 = Info34;
61
+ var Info30 = Info31;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
64
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID14
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service80 extends Context.Service()("@opencode/Project") {
75
+ class Service76 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,12 +95,12 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service80, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service81;
100
+ const git = yield* Service77;
101
101
  const proc = yield* AppProcess.Service;
102
- const bus = yield* Service82;
103
- const db = (yield* Service83).db;
102
+ const bus = yield* Service83;
103
+ const db = (yield* Service84).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
106
106
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event21.Updated, fromRow(row));
111
+ yield* bus.publish(Event17.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
145
145
  yield* bus.publish(Worktree.Event.Resolved, {
146
146
  projectID: item.projectID,
147
147
  directory: item.directory,
148
- previous: project.previous ?? ID17.global,
148
+ previous: project.previous ?? ID14.global,
149
149
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
150
150
  }, {
151
151
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
168
168
  time_updated: Date.now()
169
169
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
170
170
  if (!row)
171
- return yield* new NotFoundError11({ projectID: input.projectID });
171
+ return yield* new NotFoundError10({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event21.Updated, project);
173
+ yield* bus.publish(Event17.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event21.Updated, fromRow(row));
184
+ yield* bus.publish(Event17.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
187
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID14.make(Hash.fast(`git-remote:${normalized}`));
199
199
  });
200
200
  function url(input) {
201
201
  const value = input.trim();
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
220
220
  }
221
221
  const rootCommit = Effect.fnUntraced(function* (repo) {
222
222
  const root = (yield* git.history.rootCommits(repo))[0];
223
- return root ? ID17.make(root) : undefined;
223
+ return root ? ID14.make(root) : undefined;
224
224
  });
225
225
  const hgRoot = Effect.fnUntraced(function* (worktree) {
226
226
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
236
236
  return;
237
237
  const node = result.stdout.toString("utf8").split(`
238
238
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
239
- return node ? ID17.make(node) : undefined;
239
+ return node ? ID14.make(node) : undefined;
240
240
  });
241
241
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
242
242
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID17.global,
248
+ id: id ?? ID14.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
262
262
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
263
263
  return yield* persist({
264
264
  previous,
265
- id: id ?? ID17.global,
265
+ id: id ?? ID14.global,
266
266
  directory: repo.worktree,
267
267
  canonical,
268
268
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID17.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID14.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service80.of({ list, update, activate, resolve });
285
+ return Service76.of({ list, update, activate, resolve });
286
286
  }));
287
- var node84 = makeGlobalNode({
288
- service: Service80,
287
+ var node80 = makeGlobalNode({
288
+ service: Service76,
289
289
  layer,
290
- deps: [node86, node87, FSUtil.node, node85, AppProcess.node]
290
+ deps: [node87, node88, FSUtil.node, node81, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
293
+ export { ID14, Vcs2, Current2, Info30, UpdateInput3, NotFoundError10, root2, Service76, node80, exports_project };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service60
3
- } from "./persistent-pty-qwww5vg0.js";
2
+ Service62
3
+ } from "./variant-4n6z1r8s.js";
4
4
  import {
5
- Service44,
5
+ Service26,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./persistent-pty-pgegyfjk.js";
8
+ } from "./variant-1j4qs2dp.js";
9
9
  import {
10
- Service53
11
- } from "./persistent-pty-z7ck20cm.js";
10
+ Service17
11
+ } from "./variant-kns7re6s.js";
12
12
  import {
13
13
  Service65
14
- } from "./persistent-pty-d79paw8k.js";
14
+ } from "./variant-m74j5n8t.js";
15
15
  import {
16
- Service64
17
- } from "./persistent-pty-ehye99pz.js";
16
+ Service28
17
+ } from "./variant-yf5fe4my.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./persistent-pty-6prwharc.js";
20
+ } from "./variant-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./persistent-pty-9rqn6x4v.js";
23
+ } from "./variant-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input2,
29
- Output: () => Output2,
30
- Plugin: () => Plugin2,
28
+ Input: () => Input6,
29
+ Output: () => Output5,
30
+ Plugin: () => Plugin24,
31
31
  WriteTool: () => exports_write,
32
- name: () => name2,
33
- toModelContent: () => toModelContent2
32
+ name: () => name6,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name2 = "write";
39
- var Input2 = Schema.Struct({
38
+ var name6 = "write";
39
+ var Input6 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output2 = Schema.Struct({
45
+ var Output5 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin2 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin24 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service64;
56
- const fileMutation = yield* Service44;
57
- const environment = yield* Service60;
58
- const formatter = yield* Service53;
55
+ const access = yield* Service28;
56
+ const fileMutation = yield* Service26;
57
+ const environment = yield* Service62;
58
+ const formatter = yield* Service17;
59
59
  const permission = yield* Service65;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name2,
61
+ name: name6,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input2,
69
- output: Output2,
68
+ input: Input6,
69
+ output: Output5,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name2, Input2, Output2, toModelContent2, Plugin2, exports_write };
101
+ export { name6, Input6, Output5, toModelContent4, Plugin24, exports_write };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  call2
3
- } from "./persistent-pty-56gdpj1q.js";
3
+ } from "./variant-56gdpj1q.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./variant-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin37,
11
+ Plugin: () => Plugin40,
12
12
  WebSearchExa: () => exports_exa,
13
13
  endpoint: () => endpoint5
14
14
  });
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin37 = define({
30
+ var Plugin40 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint5, Plugin37, exports_exa };
83
+ export { endpoint5, Plugin40, exports_exa };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-2z6npzcs.js";
3
+ } from "./variant-fx8cm3j5.js";
4
4
  import {
5
5
  ID13
6
- } from "./persistent-pty-prd2qjch.js";
6
+ } from "./variant-zzexawz9.js";
7
7
 
8
8
  // src/plugin/provider/gitlab.ts
9
9
  import os from "os";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
9
+ make: () => make14,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
32
+ function make14(tools) {
33
33
  return render3(system_default, tools);
34
34
  }
35
35
  function render3(prompt, tools) {
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render3, exports_system_prompt };
50
+ export { make14, render3, exports_system_prompt };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-2z6npzcs.js";
3
+ } from "./variant-fx8cm3j5.js";
4
4
  import {
5
- Service82
6
- } from "./persistent-pty-qs9wfy73.js";
5
+ Service83
6
+ } from "./variant-0f3fkebw.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./persistent-pty-jykm5qrb.js";
9
+ Event20
10
+ } from "./variant-apg24jar.js";
11
11
  import {
12
- ID14,
12
+ ID16,
13
13
  MethodID2
14
- } from "./persistent-pty-3z0zch1n.js";
14
+ } from "./variant-kqbmdx55.js";
15
15
  import {
16
16
  key2
17
- } from "./persistent-pty-h6r3nrb9.js";
17
+ } from "./variant-h6r3nrb9.js";
18
18
  import {
19
- Service84
20
- } from "./persistent-pty-ncjresk4.js";
19
+ Service25
20
+ } from "./variant-dvc89yjx.js";
21
21
  import {
22
22
  ID13,
23
23
  mergeOverlay2,
24
24
  mergeHeaders2
25
- } from "./persistent-pty-prd2qjch.js";
25
+ } from "./variant-zzexawz9.js";
26
26
  import {
27
- ID6,
28
- Input14,
27
+ ID4,
28
+ Input13,
29
29
  Response2
30
- } from "./persistent-pty-e7844e1q.js";
30
+ } from "./variant-s7h606h9.js";
31
31
 
32
32
  // src/plugin/provider/opencode.ts
33
33
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -42,7 +42,7 @@ var methodID = MethodID2.make("device");
42
42
  var RemoteResponse = Schema.Struct({
43
43
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
44
44
  websearch: Schema.Struct({
45
- providerID: ID6
45
+ providerID: ID4
46
46
  }).pipe(Schema.optional),
47
47
  experimental: Schema.Struct({
48
48
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -67,7 +67,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
67
67
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
68
68
  function oauth(http) {
69
69
  return {
70
- integrationID: ID14.make("opencode"),
70
+ integrationID: ID16.make("opencode"),
71
71
  method: {
72
72
  id: methodID,
73
73
  type: "oauth",
@@ -121,10 +121,10 @@ function oauth(http) {
121
121
  var OpencodePlugin2 = define({
122
122
  id: "opencode.provider.opencode",
123
123
  effect: Effect.fn(function* (ctx) {
124
- const bus = yield* Service82;
124
+ const bus = yield* Service83;
125
125
  const client = yield* HttpClient.HttpClient;
126
126
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
127
- const managed = yield* Service84;
127
+ const managed = yield* Service25;
128
128
  const loading = Semaphore.makeUnsafe(1);
129
129
  let snapshot = { config: undefined, connection: undefined, organization: undefined };
130
130
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -157,7 +157,7 @@ var OpencodePlugin2 = define({
157
157
  providers.update(providerID, (provider) => {
158
158
  if (source && source.provider !== provider)
159
159
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
160
- provider.integrationID = ID14.make("opencode");
160
+ provider.integrationID = ID16.make("opencode");
161
161
  if (item.canonical !== undefined)
162
162
  provider.canonical = item.canonical;
163
163
  if (item.name !== undefined)
@@ -273,7 +273,7 @@ var OpencodePlugin2 = define({
273
273
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
274
274
  const token = credential.type === "oauth" ? credential.access : credential.key;
275
275
  const server = yield* normalizeServer(serverUrl(credential));
276
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
276
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
277
277
  query: input.query,
278
278
  providerID: descriptor.providerID
279
279
  }));
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
295
295
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
296
296
  });
297
297
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
298
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
298
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
299
299
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
300
300
  })
301
301
  });
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service84,
10
- node: () => node88
9
+ Service: () => Service25,
10
+ node: () => node28
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service84 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service25 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service84, () => {
17
+ var layer = Layer.sync(Service25, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service84.of({
19
+ return Service25.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node88 = makeGlobalNode({ service: Service84, layer, deps: [] });
26
+ var node28 = makeGlobalNode({ service: Service25, layer, deps: [] });
27
27
 
28
- export { Service84, node88, exports_managed_policy };
28
+ export { Service25, node28, exports_managed_policy };