@opencode/core 0.0.0-dev-19504 → 0.0.0-dev-19508

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{state-y6fqbdb6.js → persistent-pty-01375378.js} +2 -2
  9. package/dist/chunks/{state-bccb6npm.js → persistent-pty-06dxphr1.js} +4 -4
  10. package/dist/chunks/{state-5ahh7ntp.js → persistent-pty-06tybfx6.js} +5 -5
  11. package/dist/chunks/{state-p1pqv18t.js → persistent-pty-07zwjyy6.js} +13 -13
  12. package/dist/chunks/{state-dwepz7tb.js → persistent-pty-0a6bkr20.js} +13 -13
  13. package/dist/chunks/{state-xnqxh1k4.js → persistent-pty-0axr4kr0.js} +6 -6
  14. package/dist/chunks/{state-agndh9mm.js → persistent-pty-0dpda0nx.js} +3 -3
  15. package/dist/chunks/{state-nztktr68.js → persistent-pty-0p5r239s.js} +10 -10
  16. package/dist/chunks/{state-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{state-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{state-6h1zhsq5.js → persistent-pty-13ne6j1k.js} +16 -16
  19. package/dist/chunks/{state-seh8ndws.js → persistent-pty-14bvgx98.js} +11 -11
  20. package/dist/chunks/{state-f76jjjy7.js → persistent-pty-154046h8.js} +17 -17
  21. package/dist/chunks/{state-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{state-3h7zsync.js → persistent-pty-1gz3swn9.js} +13 -13
  23. package/dist/chunks/{state-xc0y5txa.js → persistent-pty-1nfpt5r1.js} +1 -1
  24. package/dist/chunks/{state-6cqjqb7p.js → persistent-pty-1rwk5gxb.js} +54 -54
  25. package/dist/chunks/{state-qjc5s0tw.js → persistent-pty-1sa0r58s.js} +16 -16
  26. package/dist/chunks/persistent-pty-1tm0r3ht.js +4 -0
  27. package/dist/chunks/{state-17zkjcfx.js → persistent-pty-1zcyjaqm.js} +6 -6
  28. package/dist/chunks/{state-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  29. package/dist/chunks/{state-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  30. package/dist/chunks/{state-v8fxnnqy.js → persistent-pty-2504gt3d.js} +18 -18
  31. package/dist/chunks/{state-e3wbf25j.js → persistent-pty-25hvwd8a.js} +9 -9
  32. package/dist/chunks/{state-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{state-bjmdedkt.js → persistent-pty-2e96adxv.js} +9 -9
  34. package/dist/chunks/{state-2a3r6032.js → persistent-pty-2efc4pfm.js} +12 -12
  35. package/dist/chunks/{state-sr06zkx8.js → persistent-pty-2fs7h1wz.js} +12 -12
  36. package/dist/chunks/{state-n78mb8y2.js → persistent-pty-2k14bdsh.js} +9 -9
  37. package/dist/chunks/{state-jkhk5v10.js → persistent-pty-2qqt1nsd.js} +19 -19
  38. package/dist/chunks/{state-8qt13rrk.js → persistent-pty-2y518tma.js} +3 -3
  39. package/dist/chunks/{state-sbsepnww.js → persistent-pty-30fz79vd.js} +14 -14
  40. package/dist/chunks/{state-mwyv3scv.js → persistent-pty-35k205kv.js} +20 -20
  41. package/dist/chunks/{state-s9x7wzdz.js → persistent-pty-35rehqpd.js} +9 -9
  42. package/dist/chunks/{state-czcnay43.js → persistent-pty-3den1rf5.js} +29 -29
  43. package/dist/chunks/{state-v0q79tc7.js → persistent-pty-3f2bzmyt.js} +12 -12
  44. package/dist/chunks/{state-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{state-7mjs49hv.js → persistent-pty-3fsh0gaz.js} +7 -7
  46. package/dist/chunks/{state-x1rq2d5e.js → persistent-pty-3gqv5pt4.js} +13 -13
  47. package/dist/chunks/{state-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{state-wyxd6c79.js → persistent-pty-3jm4qh1z.js} +28 -28
  49. package/dist/chunks/{state-x6fpxd14.js → persistent-pty-3pa9w4e5.js} +8 -8
  50. package/dist/chunks/{state-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{state-395j3mj5.js → persistent-pty-3snfyfpy.js} +26 -26
  52. package/dist/chunks/{state-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{state-q1ayw5n1.js → persistent-pty-3v8nnc6y.js} +10 -10
  54. package/dist/chunks/{state-n8c291r7.js → persistent-pty-3ykzfd22.js} +7 -7
  55. package/dist/chunks/{state-7rntk513.js → persistent-pty-40ykk5rq.js} +12 -12
  56. package/dist/chunks/{state-7b9bpmhc.js → persistent-pty-4290jz7g.js} +18 -18
  57. package/dist/chunks/{state-jk1nvzjp.js → persistent-pty-4775as7b.js} +15 -15
  58. package/dist/chunks/{state-9yth8x6d.js → persistent-pty-487k7jth.js} +27 -27
  59. package/dist/chunks/{state-sygp3w95.js → persistent-pty-4etgcfvy.js} +9 -9
  60. package/dist/chunks/{state-gezceyq7.js → persistent-pty-4kgv92xd.js} +18 -18
  61. package/dist/chunks/{state-qfbccd5t.js → persistent-pty-4m8ycsnb.js} +5 -5
  62. package/dist/chunks/{state-sshbytzt.js → persistent-pty-4q1gpajt.js} +55 -55
  63. package/dist/chunks/{state-8c0s05bc.js → persistent-pty-4tb880m7.js} +20 -20
  64. package/dist/chunks/{state-99630avw.js → persistent-pty-4tj561sw.js} +11 -11
  65. package/dist/chunks/{state-4y66k410.js → persistent-pty-4y66k410.js} +2 -2
  66. package/dist/chunks/{state-vmq7ehpy.js → persistent-pty-510m7gjw.js} +5 -5
  67. package/dist/chunks/{state-semaaj5d.js → persistent-pty-56gd9531.js} +17 -17
  68. package/dist/chunks/{state-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
  69. package/dist/chunks/{state-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  70. package/dist/chunks/{state-wsyr7wz2.js → persistent-pty-5ehz2tea.js} +16 -16
  71. package/dist/chunks/{state-ysz0c65e.js → persistent-pty-5mz96dqx.js} +11 -11
  72. package/dist/chunks/{state-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{state-y8w077mg.js → persistent-pty-65wkgmh5.js} +24 -24
  74. package/dist/chunks/{state-669tq793.js → persistent-pty-669tq793.js} +1 -1
  75. package/dist/chunks/{state-5gg839bz.js → persistent-pty-6758qdb8.js} +12 -12
  76. package/dist/chunks/{state-0nds4myn.js → persistent-pty-6d5601zx.js} +12 -12
  77. package/dist/chunks/{state-ym3mvm7f.js → persistent-pty-6det3y0x.js} +33 -33
  78. package/dist/chunks/{state-y8swrd1p.js → persistent-pty-6e3433qf.js} +17 -17
  79. package/dist/chunks/{state-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  80. package/dist/chunks/{state-5p8mw0dr.js → persistent-pty-6spvy77a.js} +24 -24
  81. package/dist/chunks/{state-vb1kjdsx.js → persistent-pty-6w1zg1g2.js} +18 -18
  82. package/dist/chunks/{state-yfdtkgec.js → persistent-pty-6xygz2r8.js} +5 -5
  83. package/dist/chunks/{state-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
  84. package/dist/chunks/{state-h93d5vc1.js → persistent-pty-71x7hxqe.js} +35 -35
  85. package/dist/chunks/{state-7f4vqfyd.js → persistent-pty-737r9kjt.js} +27 -27
  86. package/dist/chunks/{state-r5x6zcsm.js → persistent-pty-73tb2d7t.js} +3 -3
  87. package/dist/chunks/{state-cq37gk0t.js → persistent-pty-7ac170kv.js} +4 -4
  88. package/dist/chunks/{state-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  89. package/dist/chunks/{state-2k8khapm.js → persistent-pty-7dqw4kz8.js} +5 -5
  90. package/dist/chunks/{state-3cdpbzjx.js → persistent-pty-7kk61tk1.js} +15 -15
  91. package/dist/chunks/{state-3vc92cpq.js → persistent-pty-7q4njgnv.js} +18 -18
  92. package/dist/chunks/{state-t1pxv65t.js → persistent-pty-7qfh1exc.js} +3 -3
  93. package/dist/chunks/{state-ww2wa7se.js → persistent-pty-7sf6wms8.js} +25 -25
  94. package/dist/chunks/{state-hrtt5x04.js → persistent-pty-7yfdgj8f.js} +20 -20
  95. package/dist/chunks/{state-rk0rec3h.js → persistent-pty-81swgkk7.js} +9 -9
  96. package/dist/chunks/{state-7b15y959.js → persistent-pty-844ef7ks.js} +8 -8
  97. package/dist/chunks/{state-b2vqmjat.js → persistent-pty-8baymvr8.js} +1 -1
  98. package/dist/chunks/{state-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  99. package/dist/chunks/{state-vv4zqvpf.js → persistent-pty-8f39y4xw.js} +24 -24
  100. package/dist/chunks/{state-ven90c16.js → persistent-pty-8hxnf17y.js} +15 -15
  101. package/dist/chunks/{state-7p0agkh3.js → persistent-pty-8x5pm5x7.js} +17 -17
  102. package/dist/chunks/{state-73v7pdd7.js → persistent-pty-915t83ht.js} +8 -8
  103. package/dist/chunks/{state-d3tbzqxc.js → persistent-pty-93zryg1y.js} +17 -17
  104. package/dist/chunks/{state-pmy40cdq.js → persistent-pty-9k50aszd.js} +26 -26
  105. package/dist/chunks/{state-daf1qynx.js → persistent-pty-9kfc4wnk.js} +16 -16
  106. package/dist/chunks/{state-ddx3tg71.js → persistent-pty-9pm6y0s1.js} +8 -8
  107. package/dist/chunks/{state-nyp6vdzn.js → persistent-pty-9pydy7p8.js} +17 -17
  108. package/dist/chunks/persistent-pty-9rr9jrmq.js +247 -0
  109. package/dist/chunks/{state-txxgpxvq.js → persistent-pty-a7wgtnts.js} +3 -3
  110. package/dist/chunks/{state-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  111. package/dist/chunks/{state-vahdp9z8.js → persistent-pty-ab6mj8jw.js} +23 -23
  112. package/dist/chunks/{state-bz250d8h.js → persistent-pty-adbnwx63.js} +15 -15
  113. package/dist/chunks/{state-d2aac7k2.js → persistent-pty-af04s6ss.js} +5 -5
  114. package/dist/chunks/{state-1fcrsx1q.js → persistent-pty-agsex9am.js} +5 -5
  115. package/dist/chunks/{state-n36sd619.js → persistent-pty-anhnjpzq.js} +47 -47
  116. package/dist/chunks/{state-kjmahcfy.js → persistent-pty-apvn9gva.js} +24 -24
  117. package/dist/chunks/{state-m6v0m1sd.js → persistent-pty-at12fstx.js} +28 -28
  118. package/dist/chunks/{state-js4jadbf.js → persistent-pty-ayn42wpr.js} +4 -4
  119. package/dist/chunks/{state-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  120. package/dist/chunks/{state-j7hrck8q.js → persistent-pty-b7bw3hr1.js} +20 -20
  121. package/dist/chunks/{state-d09006c3.js → persistent-pty-b8b3f19r.js} +9 -9
  122. package/dist/chunks/{state-72417vrk.js → persistent-pty-bck43prn.js} +26 -26
  123. package/dist/chunks/{state-q85bd21y.js → persistent-pty-bqtkya02.js} +24 -24
  124. package/dist/chunks/{state-w1sbw24p.js → persistent-pty-brjc8r87.js} +24 -24
  125. package/dist/chunks/{state-z6cnzstw.js → persistent-pty-btewt4k5.js} +9 -9
  126. package/dist/chunks/{state-b1bqv7zk.js → persistent-pty-bvk12tx6.js} +24 -24
  127. package/dist/chunks/{state-y38bkm5v.js → persistent-pty-bzayxzm2.js} +20 -20
  128. package/dist/chunks/{state-3w2b2yj4.js → persistent-pty-c78bbtc9.js} +5 -5
  129. package/dist/chunks/{state-7z0hag3q.js → persistent-pty-c81ww30d.js} +9 -9
  130. package/dist/chunks/{state-6cdctt69.js → persistent-pty-c8a77b8b.js} +17 -17
  131. package/dist/chunks/{state-474mxxx0.js → persistent-pty-cabas1zx.js} +8 -8
  132. package/dist/chunks/{state-mvfdckk2.js → persistent-pty-cfm9g534.js} +8 -8
  133. package/dist/chunks/{state-sc497s7j.js → persistent-pty-cw8m5w0x.js} +3 -3
  134. package/dist/chunks/{state-dsn4nv59.js → persistent-pty-cykwnt9q.js} +11 -11
  135. package/dist/chunks/{state-xvssc1kt.js → persistent-pty-cztn7rx7.js} +11 -11
  136. package/dist/chunks/{state-t23qze4t.js → persistent-pty-d50f2zf5.js} +1 -1
  137. package/dist/chunks/persistent-pty-d5k9fk4j.js +462 -0
  138. package/dist/chunks/{state-dw22x083.js → persistent-pty-d8qdyyaw.js} +163 -163
  139. package/dist/chunks/{state-6vzv0tsa.js → persistent-pty-d99y5ch1.js} +9 -9
  140. package/dist/chunks/{state-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
  141. package/dist/chunks/{state-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
  142. package/dist/chunks/{state-cz2f50e6.js → persistent-pty-dpwk168w.js} +20 -20
  143. package/dist/chunks/{state-mcqvnant.js → persistent-pty-e20g3j14.js} +23 -23
  144. package/dist/chunks/{state-dwmj5nv1.js → persistent-pty-e6h7j64h.js} +4 -4
  145. package/dist/chunks/{state-ghbh3tzz.js → persistent-pty-e9c8eq96.js} +29 -29
  146. package/dist/chunks/{state-frwpyczr.js → persistent-pty-e9cy62py.js} +4 -4
  147. package/dist/chunks/{state-wmnxc830.js → persistent-pty-ebah8r6x.js} +6 -6
  148. package/dist/chunks/{state-gqrsst1j.js → persistent-pty-enks4xxx.js} +5 -5
  149. package/dist/chunks/{state-8hgfhrm0.js → persistent-pty-ep6z9mt6.js} +11 -11
  150. package/dist/chunks/{state-fkd2ewj5.js → persistent-pty-etcxw786.js} +12 -12
  151. package/dist/chunks/{state-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  152. package/dist/chunks/{state-fwqtep5n.js → persistent-pty-evyr1yy2.js} +11 -11
  153. package/dist/chunks/{state-6b54yabr.js → persistent-pty-ewkyeawc.js} +20 -20
  154. package/dist/chunks/{state-gtdtpweg.js → persistent-pty-exsbjhm2.js} +16 -16
  155. package/dist/chunks/{state-567n0deq.js → persistent-pty-f5qkqfms.js} +46 -46
  156. package/dist/chunks/{state-awmfrrxt.js → persistent-pty-f7w4q6me.js} +18 -18
  157. package/dist/chunks/{state-pd4btrn7.js → persistent-pty-fhnehbw5.js} +1 -1
  158. package/dist/chunks/{state-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  159. package/dist/chunks/{state-76fbqq5t.js → persistent-pty-g8n1wjt8.js} +23 -23
  160. package/dist/chunks/{state-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{state-2bt6bea8.js → persistent-pty-gsx0ryk4.js} +9 -9
  162. package/dist/chunks/{state-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{state-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
  164. package/dist/chunks/{state-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{state-1xrbsc5y.js → persistent-pty-h6w5vgvg.js} +38 -38
  166. package/dist/chunks/{state-gp1cy6hf.js → persistent-pty-h8ymazte.js} +10 -10
  167. package/dist/chunks/{state-3zre7qs9.js → persistent-pty-h9nwmjzt.js} +15 -15
  168. package/dist/chunks/{state-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
  169. package/dist/chunks/{state-6v46vta9.js → persistent-pty-hhyycrpc.js} +35 -35
  170. package/dist/chunks/{state-e82z9tr0.js → persistent-pty-hjt4xg1x.js} +7 -7
  171. package/dist/chunks/{state-9jnamvjf.js → persistent-pty-hn3jadw3.js} +25 -25
  172. package/dist/chunks/{state-0kcg9p5c.js → persistent-pty-hnc9qj7b.js} +12 -12
  173. package/dist/chunks/{state-02r6fh77.js → persistent-pty-hvw084np.js} +34 -34
  174. package/dist/chunks/{state-v7vg1ys9.js → persistent-pty-hznavjj0.js} +7 -7
  175. package/dist/chunks/{state-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  176. package/dist/chunks/{state-fm9p4f6k.js → persistent-pty-j6qna7nq.js} +4 -4
  177. package/dist/chunks/{state-ratrq7cm.js → persistent-pty-jfqtm2ew.js} +4 -4
  178. package/dist/chunks/{state-8zfw07st.js → persistent-pty-jkdkem4h.js} +10 -10
  179. package/dist/chunks/{state-x58wvrnc.js → persistent-pty-k8g08nhg.js} +5 -5
  180. package/dist/chunks/{state-bz97kxjr.js → persistent-pty-kava7r05.js} +6 -6
  181. package/dist/chunks/{state-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
  182. package/dist/chunks/{state-jdzvy3yq.js → persistent-pty-kkzzhrpn.js} +16 -16
  183. package/dist/chunks/{state-mwjh8pk4.js → persistent-pty-kt5w8vxh.js} +10 -10
  184. package/dist/chunks/{state-d0j044cp.js → persistent-pty-kxme779d.js} +45 -45
  185. package/dist/chunks/{state-qqtwvk4z.js → persistent-pty-kxpygcw9.js} +4 -4
  186. package/dist/chunks/{state-wqgnyshj.js → persistent-pty-kz70mmnm.js} +1 -1
  187. package/dist/chunks/{state-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
  188. package/dist/chunks/{state-0mtbxaje.js → persistent-pty-m82b0fgf.js} +5 -5
  189. package/dist/chunks/{state-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{state-5wtwrezn.js → persistent-pty-magykp64.js} +21 -21
  191. package/dist/chunks/{state-56gdpj1q.js → persistent-pty-mfqp6xfm.js} +6 -6
  192. package/dist/chunks/{state-azk23wr2.js → persistent-pty-mhnt32v1.js} +9 -9
  193. package/dist/chunks/{state-drtnac5g.js → persistent-pty-mp733p07.js} +5 -5
  194. package/dist/chunks/{state-ks9k8xvt.js → persistent-pty-n3azen0z.js} +11 -11
  195. package/dist/chunks/{state-ag4rn41e.js → persistent-pty-n4r3xatb.js} +4 -4
  196. package/dist/chunks/{state-vt73cr5y.js → persistent-pty-n4zaccwn.js} +29 -29
  197. package/dist/chunks/{state-w9m3yqhf.js → persistent-pty-n50hv1t5.js} +6 -6
  198. package/dist/chunks/{state-sndc8avh.js → persistent-pty-nfx2f6hr.js} +20 -20
  199. package/dist/chunks/{state-rf90sz53.js → persistent-pty-nj6dzt4x.js} +4 -4
  200. package/dist/chunks/{state-nng2ktcm.js → persistent-pty-nng2ktcm.js} +2 -2
  201. package/dist/chunks/{state-tz09nfgs.js → persistent-pty-p1afpxvg.js} +81 -81
  202. package/dist/chunks/{state-5m22982g.js → persistent-pty-pahz8e0w.js} +5 -5
  203. package/dist/chunks/{state-j935v87r.js → persistent-pty-paphc93g.js} +2 -2
  204. package/dist/chunks/{state-jajsdnd6.js → persistent-pty-pbd9gpar.js} +9 -9
  205. package/dist/chunks/{state-6x116pq4.js → persistent-pty-peekjthh.js} +16 -16
  206. package/dist/chunks/persistent-pty-phz3h32g.js +18 -0
  207. package/dist/chunks/{state-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{state-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  209. package/dist/chunks/{state-dexh071n.js → persistent-pty-pvk75rey.js} +36 -36
  210. package/dist/chunks/{state-sjr35f5n.js → persistent-pty-q03s0nwp.js} +18 -18
  211. package/dist/chunks/{state-nrs119em.js → persistent-pty-q5rhn9x0.js} +13 -13
  212. package/dist/chunks/{state-m370rjbg.js → persistent-pty-q8vwd3nd.js} +20 -20
  213. package/dist/chunks/{state-480wnwqj.js → persistent-pty-q95aeeb4.js} +11 -11
  214. package/dist/chunks/{state-0h5yhx5j.js → persistent-pty-qgt0wznr.js} +13 -13
  215. package/dist/chunks/{state-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  216. package/dist/chunks/{state-ays70j4r.js → persistent-pty-qwktr7mg.js} +32 -32
  217. package/dist/chunks/{state-zgew93s5.js → persistent-pty-qzkh27e2.js} +4 -4
  218. package/dist/chunks/{state-4127wp21.js → persistent-pty-r1spfp0h.js} +6 -6
  219. package/dist/chunks/{state-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
  220. package/dist/chunks/{state-wgpywka8.js → persistent-pty-rb6q9cnt.js} +25 -25
  221. package/dist/chunks/{state-jgar8g47.js → persistent-pty-rbj3wcwb.js} +30 -30
  222. package/dist/chunks/{state-60vppwb8.js → persistent-pty-rbvfjwrk.js} +4 -4
  223. package/dist/chunks/{state-f2n192rq.js → persistent-pty-rhraev7y.js} +4 -4
  224. package/dist/chunks/{state-w3thrybb.js → persistent-pty-rrhm3cf6.js} +78 -78
  225. package/dist/chunks/{state-24c7t6kx.js → persistent-pty-s2zxn96c.js} +22 -22
  226. package/dist/chunks/{state-vmkrf3gm.js → persistent-pty-s363er1w.js} +33 -33
  227. package/dist/chunks/{state-kez3kbfw.js → persistent-pty-s3ycmy3r.js} +32 -32
  228. package/dist/chunks/{state-q82h00rj.js → persistent-pty-s4bk4abw.js} +41 -41
  229. package/dist/chunks/persistent-pty-s6r9b74v.js +22 -0
  230. package/dist/chunks/{state-rhjbct0v.js → persistent-pty-s8d7rejh.js} +4 -4
  231. package/dist/chunks/{state-w6pwrz03.js → persistent-pty-sfk8hzz5.js} +4 -4
  232. package/dist/chunks/{state-yjy17zka.js → persistent-pty-t0tyq52b.js} +6 -6
  233. package/dist/chunks/{state-t0x5rdq8.js → persistent-pty-t0x5rdq8.js} +2 -2
  234. package/dist/chunks/{state-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{state-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{state-x3cpe7dn.js → persistent-pty-tdpb0dc4.js} +11 -11
  237. package/dist/chunks/{state-s857ash9.js → persistent-pty-tdpndm1c.js} +5 -5
  238. package/dist/chunks/{state-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  239. package/dist/chunks/{state-ea29dqtj.js → persistent-pty-tdtzb82r.js} +13 -13
  240. package/dist/chunks/{state-nhf2dmd1.js → persistent-pty-thbdkye2.js} +25 -25
  241. package/dist/chunks/{state-mdzsfjay.js → persistent-pty-thc7yeg9.js} +21 -21
  242. package/dist/chunks/{state-0j4ba8d2.js → persistent-pty-tn773g8e.js} +11 -11
  243. package/dist/chunks/{state-gy2qaxq4.js → persistent-pty-tp675h11.js} +33 -33
  244. package/dist/chunks/{state-sbv6zvrh.js → persistent-pty-ttxd2ccf.js} +43 -43
  245. package/dist/chunks/{state-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  246. package/dist/chunks/{state-b1qcv6s7.js → persistent-pty-tw6cn0kx.js} +31 -31
  247. package/dist/chunks/{state-6kyz0a76.js → persistent-pty-tx9qvpbt.js} +8 -8
  248. package/dist/chunks/{state-9e1pnjm1.js → persistent-pty-v3mzz81c.js} +10 -10
  249. package/dist/chunks/{state-3j8sdtpz.js → persistent-pty-ve4pfa0n.js} +4 -4
  250. package/dist/chunks/{state-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  251. package/dist/chunks/{state-3zevfmxv.js → persistent-pty-vg7npqae.js} +1 -1
  252. package/dist/chunks/{state-22yx3c6v.js → persistent-pty-vg8k19ea.js} +11 -11
  253. package/dist/chunks/{state-rgadkmpr.js → persistent-pty-vjgbmtbs.js} +32 -32
  254. package/dist/chunks/{state-gqazmv2c.js → persistent-pty-vpbkq0tp.js} +9 -9
  255. package/dist/chunks/{state-zjcnng30.js → persistent-pty-vy25vtdv.js} +25 -25
  256. package/dist/chunks/{state-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{state-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{state-87shza1g.js → persistent-pty-w8a3k0bq.js} +24 -24
  259. package/dist/chunks/{state-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  260. package/dist/chunks/{state-hzm9egg4.js → persistent-pty-wsmhkxds.js} +11 -11
  261. package/dist/chunks/{state-rgqj86dy.js → persistent-pty-wsphynk5.js} +35 -35
  262. package/dist/chunks/{state-v6697qd3.js → persistent-pty-wvwzws3d.js} +11 -11
  263. package/dist/chunks/{state-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{state-dfem2sdx.js → persistent-pty-x2xt5fty.js} +2 -2
  265. package/dist/chunks/{state-020j3mp2.js → persistent-pty-x9s9yqdy.js} +6 -6
  266. package/dist/chunks/{state-kb4h31ft.js → persistent-pty-xaa2j8d2.js} +54 -54
  267. package/dist/chunks/{state-79w795fr.js → persistent-pty-xbh0n0bt.js} +1 -1
  268. package/dist/chunks/{state-qtkzm0vp.js → persistent-pty-xdw78xdg.js} +8 -8
  269. package/dist/chunks/{state-51wwr1cb.js → persistent-pty-xgkhd5qd.js} +7 -7
  270. package/dist/chunks/{state-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{state-8dx2amnv.js → persistent-pty-y81yzj42.js} +43 -43
  272. package/dist/chunks/{state-csx0xmef.js → persistent-pty-yg2p59vp.js} +14 -14
  273. package/dist/chunks/{state-cwd529yg.js → persistent-pty-yk9d6695.js} +47 -47
  274. package/dist/chunks/{state-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{state-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
  276. package/dist/chunks/{state-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{state-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
  278. package/dist/chunks/{state-mkgf31e5.js → persistent-pty-zb4p73ts.js} +4 -4
  279. package/dist/chunks/{state-vtzq9px0.js → persistent-pty-zdae6k0q.js} +9 -9
  280. package/dist/chunks/{state-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{state-2jpz28ss.js → persistent-pty-zesek9va.js} +10 -10
  282. package/dist/chunks/{state-d8nc1xcx.js → persistent-pty-zj09a0ew.js} +4 -4
  283. package/dist/chunks/{state-mjmpm5gf.js → persistent-pty-zjs43p7d.js} +38 -38
  284. package/dist/chunks/{state-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{state-1av7y6ck.js → persistent-pty-zx5ykxc9.js} +4 -4
  286. package/dist/chunks/{state-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +80 -80
  291. package/dist/config/discovery.js +78 -78
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +208 -208
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +86 -86
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +98 -98
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +116 -116
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +120 -120
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +82 -82
  319. package/dist/database/database.js +65 -65
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +75 -75
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +89 -89
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +91 -91
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +69 -69
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +90 -90
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +2 -2
  418. package/dist/filesystem/location-watcher.js +223 -223
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +100 -100
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +99 -99
  424. package/dist/form.js +81 -81
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +85 -85
  427. package/dist/generate.js +88 -88
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +82 -82
  454. package/dist/instructions/builtins.js +83 -83
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +129 -129
  462. package/dist/location-mutation.js +100 -100
  463. package/dist/location-service-map.js +82 -82
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +85 -85
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +92 -92
  468. package/dist/mcp/instructions.js +123 -123
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +86 -86
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +87 -87
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +85 -85
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +109 -109
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +85 -85
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +98 -98
  486. package/dist/plugin/command.js +95 -95
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +214 -214
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +76 -76
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +98 -98
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/azure.js +119 -119
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +115 -115
  505. package/dist/plugin/provider/digitalocean.js +80 -80
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +81 -81
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +77 -77
  514. package/dist/plugin/provider/lmstudio.js +118 -118
  515. package/dist/plugin/provider/modal.js +80 -80
  516. package/dist/plugin/provider/nvidia.js +2 -2
  517. package/dist/plugin/provider/ollama.js +118 -118
  518. package/dist/plugin/provider/openai-compatible.js +1 -1
  519. package/dist/plugin/provider/openai.js +81 -81
  520. package/dist/plugin/provider/opencode.js +80 -80
  521. package/dist/plugin/provider/openrouter.js +3 -3
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +118 -118
  530. package/dist/plugin/provider/xai.js +78 -78
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +73 -73
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +340 -340
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +83 -83
  541. package/dist/plugin/vcs/hg.js +83 -83
  542. package/dist/plugin/warming.js +113 -113
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +4 -4
  549. package/dist/plugin.js +217 -217
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +86 -86
  553. package/dist/provider.js +5 -5
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +93 -93
  558. package/dist/reference/instructions.js +85 -85
  559. package/dist/reference.js +87 -87
  560. package/dist/repository-cache.js +77 -77
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +94 -94
  564. package/dist/rpc.js +82 -82
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +128 -128
  568. package/dist/session/context.js +148 -148
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +7 -7
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +217 -217
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +147 -147
  575. package/dist/session/history.js +15 -15
  576. package/dist/session/inbox.js +89 -89
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +78 -78
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +89 -89
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +114 -114
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +127 -127
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +101 -101
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +86 -86
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +224 -224
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +87 -87
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +111 -111
  597. package/dist/session/runner/step.js +120 -120
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +1 -1
  600. package/dist/session/session.js +170 -170
  601. package/dist/session/shell.js +132 -132
  602. package/dist/session/skill.js +99 -99
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +72 -72
  605. package/dist/session/store.js +86 -86
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +206 -206
  608. package/dist/session/system-prompt.js +5 -5
  609. package/dist/session/title.js +146 -146
  610. package/dist/session/to-session-error.js +108 -108
  611. package/dist/session/transfer.js +211 -211
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +208 -208
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +15 -15
  618. package/dist/shell.js +134 -134
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +103 -103
  621. package/dist/skill.js +108 -108
  622. package/dist/snapshot.js +89 -89
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +114 -114
  627. package/dist/tool/plugin/edit.js +114 -114
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +121 -121
  630. package/dist/tool/plugin/grep.js +121 -121
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +118 -118
  633. package/dist/tool/plugin/question.js +99 -99
  634. package/dist/tool/plugin/read.js +122 -122
  635. package/dist/tool/plugin/shell.js +213 -213
  636. package/dist/tool/plugin/skill.js +107 -107
  637. package/dist/tool/plugin/subagent.js +213 -213
  638. package/dist/tool/plugin/webfetch.js +106 -106
  639. package/dist/tool/plugin/websearch.js +110 -110
  640. package/dist/tool/plugin/write.js +116 -116
  641. package/dist/tool/read-filesystem.js +97 -97
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +13 -13
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +7 -7
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +4 -4
  658. package/dist/v1/config/formatter.js +5 -5
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +3 -3
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +86 -86
  672. package/dist/websearch.js +81 -81
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +80 -80
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +79 -79
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +90 -90
  683. package/package.json +8 -8
  684. package/dist/chunks/state-bgmc37vk.js +0 -462
  685. package/dist/chunks/state-c54z827e.js +0 -247
  686. package/dist/chunks/state-h47he10w.js +0 -4
  687. package/dist/chunks/state-my545s4e.js +0 -22
  688. package/dist/chunks/state-vnkjks7b.js +0 -18
  689. /package/dist/chunks/{state-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{state-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{state-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{state-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{state-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{state-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{state-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{state-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{state-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{state-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  699. /package/dist/chunks/{state-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{state-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{state-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{state-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{state-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{state-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{state-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{state-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  707. /package/dist/chunks/{state-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{state-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  709. /package/dist/chunks/{state-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{state-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{state-7w99qc9d.js → persistent-pty-7w99qc9d.js} +0 -0
  712. /package/dist/chunks/{state-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  713. /package/dist/chunks/{state-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{state-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{state-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  716. /package/dist/chunks/{state-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{state-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{state-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{state-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{state-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{state-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{state-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{state-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{state-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{state-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{state-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{state-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{state-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{state-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{state-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{state-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  732. /package/dist/chunks/{state-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{state-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{state-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{state-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{state-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{state-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{state-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{state-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{state-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{state-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{state-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{state-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{state-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  745. /package/dist/chunks/{state-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{state-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  747. /package/dist/chunks/{state-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{state-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  749. /package/dist/chunks/{state-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{state-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{state-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{state-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{state-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{state-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{state-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{state-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{state-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{state-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{state-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{state-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{state-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{state-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{state-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{state-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{state-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{state-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{state-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{state-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{state-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{state-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{state-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{state-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{state-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{state-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{state-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  776. /package/dist/chunks/{state-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{state-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{state-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{state-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{state-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{state-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service77
3
- } from "./state-mcqvnant.js";
2
+ Service73
3
+ } from "./persistent-pty-e20g3j14.js";
4
4
  import {
5
- Service44
6
- } from "./state-kb4h31ft.js";
5
+ Service66
6
+ } from "./persistent-pty-xaa2j8d2.js";
7
7
  import {
8
8
  ID3,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service14
14
- } from "./state-y38bkm5v.js";
13
+ Service35
14
+ } from "./persistent-pty-bzayxzm2.js";
15
15
  import {
16
16
  __export
17
- } from "./state-9rqn6x4v.js";
17
+ } from "./persistent-pty-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input12,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input10,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin14,
25
- WebSearchTool: () => exports_websearch,
26
- description: () => description5,
27
- name: () => name12
24
+ Plugin: () => Plugin41,
25
+ WebSearchTool: () => exports_websearch2,
26
+ description: () => description4,
27
+ name: () => name10
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name12 = "websearch";
32
+ var name10 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input12 = Schema.Struct({
42
+ var Input10 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
46
  provider: ID3,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin14 = {
49
+ var Plugin41 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service44;
53
- const forms = yield* Service77;
54
- const websearch = yield* Service14;
52
+ const permission = yield* Service66;
53
+ const forms = yield* Service73;
54
+ const websearch = yield* Service35;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name12,
56
+ name: name10,
57
57
  options: { codemode: false },
58
- description: description5,
59
- input: Input12,
58
+ description: description4,
59
+ input: Input10,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name12,
63
+ action: name10,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
176
176
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name12];
179
+ delete event.tools[name10];
180
180
  }));
181
181
  })
182
182
  };
183
183
 
184
- export { name12, NO_RESULTS2, description5, Input12, Plugin14, exports_websearch };
184
+ export { name10, NO_RESULTS2, description4, Input10, Plugin41, exports_websearch2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./state-kg06axw8.js";
3
+ } from "./persistent-pty-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service55,
14
+ Service: () => Service34,
15
15
  SizeError: () => SizeError2,
16
- node: () => node59
16
+ node: () => node38
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service55 extends Context.Service()("@opencode/Image") {
45
+ class Service34 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service55, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service55.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service34.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node59 = makeLocationNode({ service: Service55, layer, deps: [] });
79
+ var node38 = makeLocationNode({ service: Service34, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service55, node59, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service34, node38, exports_image2 };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./state-922hggd3.js";
5
+ } from "./persistent-pty-922hggd3.js";
6
6
  import {
7
- Service69,
8
- node73
9
- } from "./state-5p8mw0dr.js";
7
+ Service46,
8
+ node51
9
+ } from "./persistent-pty-6spvy77a.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./state-8d7r5vzw.js";
12
+ } from "./persistent-pty-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./state-9rqn6x4v.js";
15
+ } from "./persistent-pty-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service58,
24
- node: () => node62
23
+ Service: () => Service44,
24
+ node: () => node49
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service58 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service44 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error3({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service58, Effect.gen(function* () {
67
- const environment = yield* Service69;
66
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
67
+ const environment = yield* Service46;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service58.of({
95
+ return Service44.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node62 = makeLocationNode({ service: Service58, layer, deps: [node73, RipgrepBinary2.node] });
178
+ var node49 = makeLocationNode({ service: Service44, layer, deps: [node51, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service58, node62, exports_ripgrep };
180
+ export { Error3, InvalidPatternError2, Service44, node49, exports_ripgrep };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  useragent2
3
- } from "./state-hzm9egg4.js";
3
+ } from "./persistent-pty-wsmhkxds.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin36,
11
+ Plugin: () => Plugin21,
12
12
  WebSearchTavily: () => exports_tavily,
13
13
  endpoint: () => endpoint4
14
14
  });
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin36 = define({
32
+ var Plugin21 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -77,4 +77,4 @@ var Plugin36 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint4, Plugin36, exports_tavily };
80
+ export { endpoint4, Plugin21, exports_tavily };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./state-8qt13rrk.js";
4
+ } from "./persistent-pty-2y518tma.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./state-w6pwrz03.js";
8
+ } from "./persistent-pty-sfk8hzz5.js";
9
9
  import {
10
- Service32,
11
- node35
12
- } from "./state-wmnxc830.js";
10
+ Service61,
11
+ node66
12
+ } from "./persistent-pty-ebah8r6x.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./state-922hggd3.js";
16
+ } from "./persistent-pty-922hggd3.js";
17
17
  import {
18
- Service73,
19
- node78
20
- } from "./state-q82h00rj.js";
18
+ Service77,
19
+ node82
20
+ } from "./persistent-pty-s4bk4abw.js";
21
21
  import {
22
- Ref2
23
- } from "./state-f76jjjy7.js";
22
+ Ref4
23
+ } from "./persistent-pty-154046h8.js";
24
24
  import {
25
- Service60,
26
- node64
27
- } from "./state-q1ayw5n1.js";
25
+ Service64,
26
+ node69
27
+ } from "./persistent-pty-3v8nnc6y.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./state-gftt206x.js";
30
+ } from "./persistent-pty-gftt206x.js";
31
31
  import {
32
- NotFoundError6
33
- } from "./state-bjmdedkt.js";
32
+ NotFoundError8
33
+ } from "./persistent-pty-2e96adxv.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./state-ec1grn59.js";
36
+ } from "./persistent-pty-ec1grn59.js";
37
37
  import {
38
- Service29
39
- } from "./state-ag4rn41e.js";
38
+ Service59
39
+ } from "./persistent-pty-n4r3xatb.js";
40
40
  import {
41
- Service45,
42
- node49
43
- } from "./state-jdzvy3yq.js";
41
+ Service67,
42
+ node72
43
+ } from "./persistent-pty-kkzzhrpn.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service30,
48
- node33,
47
+ Service58,
48
+ node64,
49
49
  moveIDs2
50
- } from "./state-vv4zqvpf.js";
50
+ } from "./persistent-pty-8f39y4xw.js";
51
51
  import {
52
- Service28,
53
- node32
54
- } from "./state-mjmpm5gf.js";
52
+ Service57,
53
+ node63
54
+ } from "./persistent-pty-zjs43p7d.js";
55
55
  import {
56
- node23
57
- } from "./state-gtdtpweg.js";
56
+ node22
57
+ } from "./persistent-pty-exsbjhm2.js";
58
58
  import {
59
59
  __export
60
- } from "./state-9rqn6x4v.js";
60
+ } from "./persistent-pty-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service16,
68
+ Service: () => Service17,
69
69
  SessionMove: () => exports_move,
70
- node: () => node20
70
+ node: () => node21
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service16 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service17 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service16, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service73;
92
- const locations = yield* Service60;
93
- const store = yield* Service45;
94
- const execution = yield* Service28;
95
- const instances = yield* Service32;
96
- const admission = yield* Service30;
91
+ const projects = yield* Service77;
92
+ const locations = yield* Service64;
93
+ const store = yield* Service67;
94
+ const execution = yield* Service57;
95
+ const instances = yield* Service61;
96
+ const admission = yield* Service58;
97
97
  const database = yield* Service80;
98
98
  const bus = yield* Service79;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError6({ sessionID });
102
+ return yield* new NotFoundError8({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref2.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref4.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service29.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service59.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service16.of({
136
+ return Service17.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node20 = makeGlobalNode({
167
- service: Service16,
166
+ var node21 = makeGlobalNode({
167
+ service: Service17,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node78,
172
+ node82,
173
+ node69,
174
+ node72,
175
+ node63,
176
+ node66,
173
177
  node64,
174
- node49,
175
- node32,
176
- node35,
177
- node33,
178
178
  node85,
179
179
  node84,
180
- node23
180
+ node22
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service16, node20, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service17, node21, exports_move };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./state-w6pwrz03.js";
4
+ } from "./persistent-pty-sfk8hzz5.js";
5
5
  import {
6
- Service72,
7
- node77
8
- } from "./state-f76jjjy7.js";
6
+ Service76,
7
+ node81
8
+ } from "./persistent-pty-154046h8.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./state-kg06axw8.js";
12
+ } from "./persistent-pty-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./state-tazgh4e4.js";
17
+ } from "./persistent-pty-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./state-9rqn6x4v.js";
20
+ } from "./persistent-pty-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info8,
29
+ Info: () => Info4,
30
30
  Mode: () => Mode2,
31
- Service: () => Service41,
31
+ Service: () => Service15,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node45
33
+ node: () => node19
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info8, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service41 extends Context.Service()("@opencode/Vcs") {
48
+ class Service15 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service41, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service72;
52
+ const location = yield* Service76;
53
53
  const bus = yield* Service79;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info8));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service41.of({
118
+ return Service15.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node45 = makeLocationNode({
165
- service: Service41,
164
+ var node19 = makeLocationNode({
165
+ service: Service15,
166
166
  layer,
167
- deps: [FSUtil.node, node77, node84]
167
+ deps: [FSUtil.node, node81, node84]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info8, Mode2, DiffError2, Service41, node45, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service15, node19, exports_vcs };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./state-5t3nmthw.js";
3
+ } from "./persistent-pty-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service21,
11
+ Service: () => Service22,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer10,
13
+ layer: () => layer11,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node26
15
+ node: () => node27
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
32
32
  });
33
33
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
34
34
 
35
- class Service21 extends Context.Service()("@opencode/SessionModelTransport") {
35
+ class Service22 extends Context.Service()("@opencode/SessionModelTransport") {
36
36
  }
37
37
  var transportError = (message, input) => new AIError({
38
38
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
56
56
  return Effect.fail(observation.error);
57
57
  };
58
58
  var observationTerminal = (observation) => observation.type !== "frame";
59
- var makeLayer2 = (connector) => Layer.effect(Service21, Effect.gen(function* () {
59
+ var makeLayer2 = (connector) => Layer.effect(Service22, Effect.gen(function* () {
60
60
  const scope = yield* Scope.Scope;
61
61
  const states = new Map;
62
62
  const state = (sessionID) => {
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service21, Effect.gen(function* ()
356
356
  }, { discard: true });
357
357
  });
358
358
  yield* Effect.addFinalizer(() => closeAll);
359
- return Service21.of({ bind, close, closeAll });
359
+ return Service22.of({ bind, close, closeAll });
360
360
  }));
361
- var layer10 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
361
+ var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
362
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
363
363
  })));
364
- var node26 = makeGlobalNode({ service: Service21, layer: layer10, deps: [webSocketConstructor2] });
364
+ var node27 = makeGlobalNode({ service: Service22, layer: layer11, deps: [webSocketConstructor2] });
365
365
 
366
- export { Service21, makeLayer2, layer10, node26, exports_model_transport };
366
+ export { Service22, makeLayer2, layer11, node27, exports_model_transport };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./state-gftt206x.js";
3
+ } from "./persistent-pty-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./state-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info21,
12
+ Info: () => Info17,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info21 = Schema.Struct({
64
+ var Info17 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info21 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info21, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info17, exports_provider2 };