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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  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 +74 -74
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{file-wpmxaqyc.js → state-020j3mp2.js} +6 -6
  9. package/dist/chunks/{file-gt8btckc.js → state-02r6fh77.js} +32 -32
  10. package/dist/chunks/{file-aq71ck84.js → state-0h5yhx5j.js} +11 -11
  11. package/dist/chunks/{file-z9qams9d.js → state-0j4ba8d2.js} +11 -11
  12. package/dist/chunks/{file-hp075dpy.js → state-0kcg9p5c.js} +12 -12
  13. package/dist/chunks/{file-f8vm562w.js → state-0mtbxaje.js} +5 -5
  14. package/dist/chunks/{file-2t17ewj5.js → state-0nds4myn.js} +18 -18
  15. package/dist/chunks/{file-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{file-0q0f95c6.js → state-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{file-6fex6vem.js → state-17zkjcfx.js} +6 -6
  18. package/dist/chunks/{file-verq85zk.js → state-1av7y6ck.js} +4 -4
  19. package/dist/chunks/{file-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{file-bw0vgseb.js → state-1fcrsx1q.js} +8 -8
  21. package/dist/chunks/{file-fzxbqhyn.js → state-1xrbsc5y.js} +38 -38
  22. package/dist/chunks/{file-21r38tys.js → state-21r38tys.js} +1 -1
  23. package/dist/chunks/{file-2zpcf09p.js → state-22yx3c6v.js} +11 -11
  24. package/dist/chunks/{file-6h73sxmp.js → state-2402vzrj.js} +5 -5
  25. package/dist/chunks/{file-4d8pxj8c.js → state-24c7t6kx.js} +26 -26
  26. package/dist/chunks/{file-29x78va6.js → state-29x78va6.js} +2 -2
  27. package/dist/chunks/{file-zpjvc3ac.js → state-2a3r6032.js} +12 -12
  28. package/dist/chunks/{file-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{file-6jnybvqn.js → state-2bt6bea8.js} +9 -9
  30. package/dist/chunks/{file-ydn3gg3r.js → state-2jpz28ss.js} +10 -10
  31. package/dist/chunks/{file-7dqw4kz8.js → state-2k8khapm.js} +5 -5
  32. package/dist/chunks/{file-szbdehq3.js → state-395j3mj5.js} +29 -29
  33. package/dist/chunks/{file-8n54f2ta.js → state-3cdpbzjx.js} +18 -18
  34. package/dist/chunks/{file-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{file-cyf7cx3n.js → state-3h7zsync.js} +13 -13
  36. package/dist/chunks/{file-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{file-an7cqtb7.js → state-3j8sdtpz.js} +4 -4
  38. package/dist/chunks/{file-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{file-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{file-rq9x2xtg.js → state-3vc92cpq.js} +28 -28
  41. package/dist/chunks/{file-3w2b2yj4.js → state-3w2b2yj4.js} +2 -2
  42. package/dist/chunks/{file-8cbmhaq5.js → state-3zevfmxv.js} +1 -1
  43. package/dist/chunks/{file-akadabsh.js → state-3zre7qs9.js} +15 -15
  44. package/dist/chunks/{file-g4adkwgc.js → state-4127wp21.js} +6 -6
  45. package/dist/chunks/{file-865r9qcv.js → state-474mxxx0.js} +8 -8
  46. package/dist/chunks/{file-y9n3sh8b.js → state-480wnwqj.js} +11 -11
  47. package/dist/chunks/{file-4y66k410.js → state-4y66k410.js} +2 -2
  48. package/dist/chunks/{file-jjcqt8zt.js → state-51wwr1cb.js} +7 -7
  49. package/dist/chunks/{file-pndtw5qe.js → state-567n0deq.js} +42 -42
  50. package/dist/chunks/{file-56gdpj1q.js → state-56gdpj1q.js} +2 -2
  51. package/dist/chunks/{file-2ve45fd6.js → state-5ahh7ntp.js} +5 -5
  52. package/dist/chunks/{file-5daktx2q.js → state-5daktx2q.js} +1 -1
  53. package/dist/chunks/{file-ax4359t5.js → state-5gg839bz.js} +20 -20
  54. package/dist/chunks/{file-pnfpsavj.js → state-5m22982g.js} +5 -5
  55. package/dist/chunks/{file-jtq2znwy.js → state-5p8mw0dr.js} +14 -14
  56. package/dist/chunks/{file-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{file-vsp1fds9.js → state-5wtwrezn.js} +4 -4
  58. package/dist/chunks/{file-gbe8bvty.js → state-60vppwb8.js} +8 -8
  59. package/dist/chunks/{file-669tq793.js → state-669tq793.js} +1 -1
  60. package/dist/chunks/{file-fbm4qtpf.js → state-6b54yabr.js} +22 -22
  61. package/dist/chunks/{file-5f2tz19k.js → state-6cdctt69.js} +15 -15
  62. package/dist/chunks/{file-qpcnk2ce.js → state-6cqjqb7p.js} +71 -71
  63. package/dist/chunks/{file-yqfy31rq.js → state-6h1zhsq5.js} +16 -16
  64. package/dist/chunks/{file-nv5vn7qx.js → state-6kyz0a76.js} +4 -4
  65. package/dist/chunks/{file-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{file-t8eheybj.js → state-6v46vta9.js} +28 -28
  67. package/dist/chunks/{file-r9030hxj.js → state-6vzv0tsa.js} +9 -9
  68. package/dist/chunks/{file-14vdq9mv.js → state-6x116pq4.js} +20 -20
  69. package/dist/chunks/{file-71q4at8m.js → state-71q4at8m.js} +1 -1
  70. package/dist/chunks/{file-z91f3yc5.js → state-72417vrk.js} +19 -19
  71. package/dist/chunks/{file-3kff94q5.js → state-73v7pdd7.js} +8 -8
  72. package/dist/chunks/{file-7s83vr9a.js → state-76fbqq5t.js} +23 -23
  73. package/dist/chunks/{file-e17bkqjz.js → state-79w795fr.js} +1 -1
  74. package/dist/chunks/{file-844ef7ks.js → state-7b15y959.js} +8 -8
  75. package/dist/chunks/{file-vczh7xgt.js → state-7b9bpmhc.js} +18 -18
  76. package/dist/chunks/{file-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{file-j7w4f3hr.js → state-7f4vqfyd.js} +25 -25
  78. package/dist/chunks/{file-fschw3aw.js → state-7mjs49hv.js} +7 -7
  79. package/dist/chunks/{file-hbakxq5y.js → state-7p0agkh3.js} +19 -19
  80. package/dist/chunks/{file-d678zc2k.js → state-7rntk513.js} +18 -18
  81. package/dist/chunks/{file-3yjg5mh2.js → state-7w99qc9d.js} +3 -3
  82. package/dist/chunks/{file-e3z6xmzm.js → state-7z0hag3q.js} +7 -7
  83. package/dist/chunks/{file-y67y16g8.js → state-87shza1g.js} +28 -28
  84. package/dist/chunks/{file-g0m6rrr1.js → state-8c0s05bc.js} +21 -21
  85. package/dist/chunks/{file-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{file-pfjv880m.js → state-8dx2amnv.js} +39 -39
  87. package/dist/chunks/{file-zts5fb25.js → state-8hgfhrm0.js} +5 -5
  88. package/dist/chunks/{file-8p4f9s12.js → state-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{file-yz3h3ntp.js → state-8qt13rrk.js} +15 -15
  90. package/dist/chunks/{file-pg0dvyvk.js → state-8zfw07st.js} +12 -12
  91. package/dist/chunks/{file-qefhz522.js → state-99630avw.js} +9 -9
  92. package/dist/chunks/{file-qp9w0mn5.js → state-9e1pnjm1.js} +13 -13
  93. package/dist/chunks/{file-yq0x5dd5.js → state-9jnamvjf.js} +11 -11
  94. package/dist/chunks/{file-2kpnaqjr.js → state-9yth8x6d.js} +26 -26
  95. package/dist/chunks/{file-a1bz86dw.js → state-a1bz86dw.js} +3 -3
  96. package/dist/chunks/{file-aaet6srn.js → state-aaet6srn.js} +2 -2
  97. package/dist/chunks/{file-embw8kgh.js → state-ag4rn41e.js} +4 -4
  98. package/dist/chunks/{file-v32yr9d8.js → state-agndh9mm.js} +3 -3
  99. package/dist/chunks/{file-2nv7jv6x.js → state-awmfrrxt.js} +13 -13
  100. package/dist/chunks/{file-x9vpcgg3.js → state-ays70j4r.js} +30 -30
  101. package/dist/chunks/{file-7r53ar6y.js → state-azk23wr2.js} +7 -7
  102. package/dist/chunks/{file-nd9hg1xj.js → state-b1bqv7zk.js} +19 -19
  103. package/dist/chunks/{file-0p2zh9q8.js → state-b1qcv6s7.js} +36 -36
  104. package/dist/chunks/{file-qmy7xtej.js → state-b2vqmjat.js} +1 -1
  105. package/dist/chunks/{file-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{file-88sz8qcd.js → state-bccb6npm.js} +4 -4
  107. package/dist/chunks/{file-dxpt5v4a.js → state-bgmc37vk.js} +287 -287
  108. package/dist/chunks/{file-b4ssmz4r.js → state-bjmdedkt.js} +3 -3
  109. package/dist/chunks/{file-egqavg4q.js → state-bz250d8h.js} +13 -13
  110. package/dist/chunks/{file-8cypfrbh.js → state-bz97kxjr.js} +6 -6
  111. package/dist/chunks/state-c54z827e.js +247 -0
  112. package/dist/chunks/{file-cfpkc3c9.js → state-cfpkc3c9.js} +2 -2
  113. package/dist/chunks/{file-szgy4byf.js → state-cq37gk0t.js} +4 -4
  114. package/dist/chunks/{file-aksfce1s.js → state-csx0xmef.js} +18 -18
  115. package/dist/chunks/{file-km5917gx.js → state-cwd529yg.js} +40 -40
  116. package/dist/chunks/{file-sp0cj90t.js → state-cz2f50e6.js} +20 -20
  117. package/dist/chunks/{file-6jyhw6dt.js → state-czcnay43.js} +30 -30
  118. package/dist/chunks/{file-0p4j4cv0.js → state-d09006c3.js} +9 -9
  119. package/dist/chunks/{file-w727stb0.js → state-d0j044cp.js} +41 -41
  120. package/dist/chunks/{file-yt0fqk68.js → state-d2aac7k2.js} +5 -5
  121. package/dist/chunks/{file-3tc3fw1n.js → state-d3tbzqxc.js} +20 -20
  122. package/dist/chunks/{file-ec8389mk.js → state-d8nc1xcx.js} +4 -4
  123. package/dist/chunks/{file-ktw3pdy7.js → state-daf1qynx.js} +30 -30
  124. package/dist/chunks/{file-5trk58xb.js → state-ddx3tg71.js} +8 -8
  125. package/dist/chunks/{file-0x6jhfyd.js → state-dexh071n.js} +32 -32
  126. package/dist/chunks/{file-z51k40g3.js → state-dfem2sdx.js} +2 -2
  127. package/dist/chunks/{file-jwcy2c2z.js → state-dpkg50ah.js} +4 -4
  128. package/dist/chunks/{file-c4a2d4g2.js → state-drtnac5g.js} +5 -5
  129. package/dist/chunks/{file-cn0yhb7k.js → state-dsn4nv59.js} +11 -11
  130. package/dist/chunks/{file-7ek6x336.js → state-dw22x083.js} +170 -170
  131. package/dist/chunks/{file-4t8p017q.js → state-dwepz7tb.js} +13 -13
  132. package/dist/chunks/{file-map7vc9e.js → state-dwmj5nv1.js} +4 -4
  133. package/dist/chunks/{file-jfqp9qt8.js → state-e3wbf25j.js} +7 -7
  134. package/dist/chunks/{file-nhy5jxhy.js → state-e82z9tr0.js} +7 -7
  135. package/dist/chunks/{file-wgpg5g3d.js → state-ea29dqtj.js} +22 -22
  136. package/dist/chunks/{file-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{file-yp2x3t23.js → state-f2n192rq.js} +4 -4
  138. package/dist/chunks/{file-1r0yq1wn.js → state-f76jjjy7.js} +12 -12
  139. package/dist/chunks/{file-f828m53h.js → state-f828m53h.js} +2 -2
  140. package/dist/chunks/{file-n3ehebhz.js → state-fkd2ewj5.js} +12 -12
  141. package/dist/chunks/{file-ea0j55ct.js → state-fm9p4f6k.js} +4 -4
  142. package/dist/chunks/{file-737983wq.js → state-frwpyczr.js} +4 -4
  143. package/dist/chunks/{file-9fvpfb58.js → state-fwqtep5n.js} +8 -8
  144. package/dist/chunks/{file-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
  145. package/dist/chunks/{file-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{file-zbqyvn6w.js → state-gezceyq7.js} +12 -12
  147. package/dist/chunks/{file-8trdseqr.js → state-ghbh3tzz.js} +30 -30
  148. package/dist/chunks/{file-2hpfm54d.js → state-gp1cy6hf.js} +10 -10
  149. package/dist/chunks/{file-3ra6k2ma.js → state-gqazmv2c.js} +9 -9
  150. package/dist/chunks/{file-dw1fjyb0.js → state-gqrsst1j.js} +5 -5
  151. package/dist/chunks/{file-pp59n8pp.js → state-gtdtpweg.js} +22 -22
  152. package/dist/chunks/{file-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{file-vmtte7pc.js → state-gy2qaxq4.js} +46 -46
  154. package/dist/chunks/{file-h03wrkyp.js → state-h03wrkyp.js} +2 -2
  155. package/dist/chunks/state-h47he10w.js +4 -0
  156. package/dist/chunks/{file-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{file-qryaexwa.js → state-h93d5vc1.js} +28 -28
  158. package/dist/chunks/{file-9p11ca5c.js → state-hrtt5x04.js} +25 -25
  159. package/dist/chunks/{file-q043d12m.js → state-hzm9egg4.js} +11 -11
  160. package/dist/chunks/{file-j56e64zr.js → state-j56e64zr.js} +1 -1
  161. package/dist/chunks/{file-axvk3tbf.js → state-j7hrck8q.js} +20 -20
  162. package/dist/chunks/{file-t6xdqw2p.js → state-jajsdnd6.js} +9 -9
  163. package/dist/chunks/{file-0gjrpm4q.js → state-jdzvy3yq.js} +17 -17
  164. package/dist/chunks/{file-v4cav7rx.js → state-jgar8g47.js} +26 -26
  165. package/dist/chunks/{file-amkbtr58.js → state-jk1nvzjp.js} +13 -13
  166. package/dist/chunks/{file-f4d4r4a6.js → state-jkhk5v10.js} +14 -14
  167. package/dist/chunks/{file-h60zwq4m.js → state-js4jadbf.js} +4 -4
  168. package/dist/chunks/{file-epq9ds0r.js → state-kb4h31ft.js} +45 -45
  169. package/dist/chunks/{file-gptjq5xf.js → state-kez3kbfw.js} +35 -35
  170. package/dist/chunks/{file-kg06axw8.js → state-kg06axw8.js} +1 -1
  171. package/dist/chunks/{file-s3h59be2.js → state-kjmahcfy.js} +25 -25
  172. package/dist/chunks/{file-4sv526vh.js → state-ks9k8xvt.js} +11 -11
  173. package/dist/chunks/{file-7j62yvdk.js → state-m370rjbg.js} +17 -17
  174. package/dist/chunks/{file-0pnmq97r.js → state-m6v0m1sd.js} +32 -32
  175. package/dist/chunks/{file-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{file-rxe92ft5.js → state-mcqvnant.js} +27 -27
  177. package/dist/chunks/{file-3yknbgq7.js → state-mdzsfjay.js} +13 -13
  178. package/dist/chunks/{file-2rnktxfb.js → state-mjmpm5gf.js} +44 -44
  179. package/dist/chunks/{file-4nwkg5vr.js → state-mkgf31e5.js} +4 -4
  180. package/dist/chunks/{file-87deq66t.js → state-mvfdckk2.js} +6 -6
  181. package/dist/chunks/{file-y2vrj84a.js → state-mwjh8pk4.js} +10 -10
  182. package/dist/chunks/{file-hnjcq03z.js → state-mwyv3scv.js} +20 -20
  183. package/dist/chunks/{file-t83d2b0d.js → state-my545s4e.js} +9 -9
  184. package/dist/chunks/{file-xv4b1b4q.js → state-n36sd619.js} +47 -47
  185. package/dist/chunks/{file-2n6t0d3f.js → state-n78mb8y2.js} +13 -13
  186. package/dist/chunks/{file-gzbkpp9m.js → state-n8c291r7.js} +6 -6
  187. package/dist/chunks/{file-cwq9bbm8.js → state-nhf2dmd1.js} +25 -25
  188. package/dist/chunks/{file-svxygcjw.js → state-nng2ktcm.js} +2 -2
  189. package/dist/chunks/{file-egqspz5t.js → state-nrs119em.js} +15 -15
  190. package/dist/chunks/{file-da2mbxce.js → state-nyp6vdzn.js} +17 -17
  191. package/dist/chunks/{file-vj15hgm9.js → state-nztktr68.js} +7 -7
  192. package/dist/chunks/{file-3yycxr83.js → state-p1pqv18t.js} +11 -11
  193. package/dist/chunks/{file-jeanpfns.js → state-pd4btrn7.js} +1 -1
  194. package/dist/chunks/{file-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{file-pknna89w.js → state-pknna89w.js} +1 -1
  196. package/dist/chunks/{file-hp277x20.js → state-pmy40cdq.js} +25 -25
  197. package/dist/chunks/{file-y4x12v72.js → state-q1ayw5n1.js} +10 -10
  198. package/dist/chunks/{file-nze65y9n.js → state-q82h00rj.js} +47 -47
  199. package/dist/chunks/{file-r12ptjs8.js → state-q85bd21y.js} +24 -24
  200. package/dist/chunks/{file-neb913ap.js → state-qfbccd5t.js} +5 -5
  201. package/dist/chunks/{file-r1m6q3fm.js → state-qjc5s0tw.js} +16 -16
  202. package/dist/chunks/{file-7ebn0nc0.js → state-qqtwvk4z.js} +6 -6
  203. package/dist/chunks/{file-qsdy395h.js → state-qsdy395h.js} +1 -1
  204. package/dist/chunks/{file-91p1v22t.js → state-qtkzm0vp.js} +8 -8
  205. package/dist/chunks/{file-7yh4e7ss.js → state-r5x6zcsm.js} +3 -3
  206. package/dist/chunks/{file-r9mregkx.js → state-r9mregkx.js} +2 -2
  207. package/dist/chunks/{file-8x96bj0m.js → state-ratrq7cm.js} +7 -7
  208. package/dist/chunks/{file-9m3d1h1h.js → state-rf90sz53.js} +4 -4
  209. package/dist/chunks/{file-cf9snega.js → state-rgadkmpr.js} +32 -32
  210. package/dist/chunks/{file-631z4xzt.js → state-rgqj86dy.js} +41 -41
  211. package/dist/chunks/{file-t550f9t1.js → state-rhjbct0v.js} +4 -4
  212. package/dist/chunks/{file-81swgkk7.js → state-rk0rec3h.js} +9 -9
  213. package/dist/chunks/{file-s4enseaf.js → state-s4enseaf.js} +2 -2
  214. package/dist/chunks/{file-ma15yhyh.js → state-s857ash9.js} +5 -5
  215. package/dist/chunks/{file-dcbb9xhy.js → state-s9x7wzdz.js} +11 -11
  216. package/dist/chunks/{file-4p8799rk.js → state-sbsepnww.js} +14 -14
  217. package/dist/chunks/{file-3fj0ehej.js → state-sbv6zvrh.js} +31 -31
  218. package/dist/chunks/{file-tgqjfyja.js → state-sc497s7j.js} +3 -3
  219. package/dist/chunks/{file-c9n252bm.js → state-seh8ndws.js} +11 -11
  220. package/dist/chunks/{file-7yzymgne.js → state-semaaj5d.js} +15 -15
  221. package/dist/chunks/{file-79xwf2jn.js → state-sjr35f5n.js} +12 -12
  222. package/dist/chunks/{file-zjsxw8xc.js → state-sndc8avh.js} +23 -23
  223. package/dist/chunks/{file-4zj9va87.js → state-sr06zkx8.js} +24 -24
  224. package/dist/chunks/{file-9gy04t1n.js → state-sshbytzt.js} +62 -62
  225. package/dist/chunks/{file-9bj2cvf7.js → state-sygp3w95.js} +9 -9
  226. package/dist/chunks/{file-g3n6es57.js → state-t0x5rdq8.js} +9 -9
  227. package/dist/chunks/{file-4j7j5868.js → state-t1pxv65t.js} +3 -3
  228. package/dist/chunks/{file-b3wkxfg9.js → state-t23qze4t.js} +1 -1
  229. package/dist/chunks/{file-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{file-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{file-tdstcens.js → state-tdstcens.js} +1 -1
  232. package/dist/chunks/{file-tvtrv512.js → state-tvtrv512.js} +1 -1
  233. package/dist/chunks/{file-9524tstc.js → state-txxgpxvq.js} +3 -3
  234. package/dist/chunks/{file-x060fdep.js → state-tz09nfgs.js} +87 -87
  235. package/dist/chunks/{file-cvfevwhc.js → state-v0q79tc7.js} +11 -11
  236. package/dist/chunks/{file-bd7brtc3.js → state-v6697qd3.js} +11 -11
  237. package/dist/chunks/{file-g6nh8byg.js → state-v7vg1ys9.js} +7 -7
  238. package/dist/chunks/{file-j9n5fxav.js → state-v8fxnnqy.js} +16 -16
  239. package/dist/chunks/{file-d4jn0akt.js → state-vahdp9z8.js} +28 -28
  240. package/dist/chunks/{file-fepbzpny.js → state-vb1kjdsx.js} +20 -20
  241. package/dist/chunks/{file-5m8ed8y5.js → state-ven90c16.js} +20 -20
  242. package/dist/chunks/{file-veqvce7d.js → state-veqvce7d.js} +1 -1
  243. package/dist/chunks/{file-5dmv5s4a.js → state-vmkrf3gm.js} +32 -32
  244. package/dist/chunks/{file-p1nm93x7.js → state-vmq7ehpy.js} +5 -5
  245. package/dist/chunks/state-vnkjks7b.js +18 -0
  246. package/dist/chunks/{file-qbejwr8p.js → state-vt73cr5y.js} +28 -28
  247. package/dist/chunks/{file-24a117tm.js → state-vtzq9px0.js} +9 -9
  248. package/dist/chunks/{file-j3ktvrzf.js → state-vv4zqvpf.js} +26 -26
  249. package/dist/chunks/{file-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{file-fcnjngqh.js → state-w1sbw24p.js} +31 -31
  251. package/dist/chunks/{file-q4jqhhxd.js → state-w3thrybb.js} +86 -86
  252. package/dist/chunks/{file-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{file-vsctkjm2.js → state-w6pwrz03.js} +18 -18
  254. package/dist/chunks/{file-6djd1gzm.js → state-w9m3yqhf.js} +6 -6
  255. package/dist/chunks/{file-wd87259q.js → state-wd87259q.js} +1 -1
  256. package/dist/chunks/{file-fxtthhfd.js → state-wgpywka8.js} +28 -28
  257. package/dist/chunks/{file-hq8zt1th.js → state-wmnxc830.js} +6 -6
  258. package/dist/chunks/{file-4786se8r.js → state-wqgnyshj.js} +1 -1
  259. package/dist/chunks/{file-tw0jne9w.js → state-wsyr7wz2.js} +14 -14
  260. package/dist/chunks/{file-qrdc2j4b.js → state-ww2wa7se.js} +23 -23
  261. package/dist/chunks/{file-1j7qs22q.js → state-wyxd6c79.js} +34 -34
  262. package/dist/chunks/{file-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{file-rry1cpvn.js → state-x1rq2d5e.js} +15 -15
  264. package/dist/chunks/{file-wjtjjmd0.js → state-x3cpe7dn.js} +11 -11
  265. package/dist/chunks/{file-1ac4bme3.js → state-x58wvrnc.js} +3 -3
  266. package/dist/chunks/{file-7hkvzewv.js → state-x6fpxd14.js} +10 -10
  267. package/dist/chunks/{file-cza9j1er.js → state-xc0y5txa.js} +1 -1
  268. package/dist/chunks/{file-g14zqp48.js → state-xnqxh1k4.js} +6 -6
  269. package/dist/chunks/{file-9pgc3c9f.js → state-xvssc1kt.js} +17 -17
  270. package/dist/chunks/{file-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{file-r6x8jqph.js → state-y38bkm5v.js} +28 -28
  272. package/dist/chunks/{file-ea8nv0r7.js → state-y6fqbdb6.js} +2 -2
  273. package/dist/chunks/{file-dc8d22k9.js → state-y8swrd1p.js} +19 -19
  274. package/dist/chunks/{file-fzsrmebp.js → state-y8w077mg.js} +21 -21
  275. package/dist/chunks/{file-j6frhm8p.js → state-yfdtkgec.js} +5 -5
  276. package/dist/chunks/{file-drjkjrg9.js → state-yjy17zka.js} +6 -6
  277. package/dist/chunks/{file-1sxt24ag.js → state-ym3mvm7f.js} +31 -31
  278. package/dist/chunks/{file-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{file-v65drjb8.js → state-ysz0c65e.js} +11 -11
  280. package/dist/chunks/{file-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{file-ah6b56rd.js → state-z6cnzstw.js} +9 -9
  282. package/dist/chunks/{file-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{file-wpqth83p.js → state-zgew93s5.js} +2 -2
  284. package/dist/chunks/{file-0gw11f53.js → state-zjcnng30.js} +25 -25
  285. package/dist/chunks/{file-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{file-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +84 -84
  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 +116 -116
  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 +112 -112
  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 +116 -116
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +82 -82
  319. package/dist/database/database.js +73 -73
  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 +78 -78
  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 +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +87 -87
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +89 -89
  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 +73 -73
  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 +6 -6
  418. package/dist/filesystem/location-watcher.js +221 -221
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +100 -100
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +101 -101
  424. package/dist/form.js +83 -83
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +83 -83
  427. package/dist/generate.js +92 -92
  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 +7 -7
  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 +84 -84
  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 +132 -132
  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 +83 -83
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +102 -102
  468. package/dist/mcp/instructions.js +121 -121
  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 +7 -7
  473. package/dist/model-resolver.js +85 -85
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +87 -87
  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 +103 -103
  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 +2 -2
  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 +116 -116
  518. package/dist/plugin/provider/openai-compatible.js +1 -1
  519. package/dist/plugin/provider/openai.js +79 -79
  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 +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +130 -130
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +338 -338
  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 +7 -7
  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 +2 -2
  547. package/dist/plugin/websearch/parallel.js +6 -6
  548. package/dist/plugin/websearch/tavily.js +4 -4
  549. package/dist/plugin.js +225 -225
  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 +95 -95
  558. package/dist/reference/instructions.js +85 -85
  559. package/dist/reference.js +83 -83
  560. package/dist/repository-cache.js +77 -77
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +92 -92
  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 +130 -130
  568. package/dist/session/context.js +148 -148
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +3 -3
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +220 -220
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +149 -149
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +87 -87
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +78 -78
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +93 -93
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +112 -112
  584. package/dist/session/model-transport.js +7 -7
  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 +226 -226
  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 +5 -5
  600. package/dist/session/session.js +168 -168
  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 +74 -74
  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 +150 -150
  610. package/dist/session/to-session-error.js +108 -108
  611. package/dist/session/transfer.js +219 -219
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +210 -210
  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 +9 -9
  618. package/dist/shell.js +132 -132
  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 +116 -116
  627. package/dist/tool/plugin/edit.js +116 -116
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +119 -119
  630. package/dist/tool/plugin/grep.js +119 -119
  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 +104 -104
  639. package/dist/tool/plugin/websearch.js +108 -108
  640. package/dist/tool/plugin/write.js +118 -118
  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 +15 -15
  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 +3 -3
  654. package/dist/v1/config/attachment.js +2 -2
  655. package/dist/v1/config/command.js +5 -5
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  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 +5 -5
  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 +3 -3
  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 +83 -83
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +76 -76
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +73 -73
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +339 -339
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +92 -92
  683. package/package.json +8 -8
  684. package/dist/chunks/file-0mesazry.js +0 -4
  685. package/dist/chunks/file-h591h6nq.js +0 -247
  686. package/dist/chunks/file-ht5y0zrb.js +0 -18
  687. /package/dist/chunks/{file-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{file-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{file-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{file-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{file-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{file-2710q6r3.js → state-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{file-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{file-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{file-359p4xyc.js → state-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{file-3asan66x.js → state-3asan66x.js} +0 -0
  697. /package/dist/chunks/{file-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{file-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{file-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{file-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{file-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{file-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{file-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{file-53557ph1.js → state-53557ph1.js} +0 -0
  705. /package/dist/chunks/{file-550bvhaj.js → state-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{file-6prwharc.js → state-6prwharc.js} +0 -0
  707. /package/dist/chunks/{file-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{file-7m9af43g.js → state-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{file-822emrt2.js → state-822emrt2.js} +0 -0
  710. /package/dist/chunks/{file-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{file-8n3pysct.js → state-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{file-922hggd3.js → state-922hggd3.js} +0 -0
  713. /package/dist/chunks/{file-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{file-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{file-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{file-af5trqkr.js → state-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{file-afrmfg78.js → state-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{file-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{file-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{file-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{file-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{file-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{file-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{file-d9fn303g.js → state-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{file-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{file-dajrwvna.js → state-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{file-dap0rakb.js → state-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{file-df08tz66.js → state-df08tz66.js} +0 -0
  729. /package/dist/chunks/{file-dy18nga0.js → state-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{file-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{file-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{file-ec1grn59.js → state-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{file-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{file-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{file-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{file-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{file-faypxj3z.js → state-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{file-fd410y7t.js → state-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{file-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{file-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{file-g86h250q.js → state-g86h250q.js} +0 -0
  742. /package/dist/chunks/{file-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{file-gftt206x.js → state-gftt206x.js} +0 -0
  744. /package/dist/chunks/{file-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{file-hk9envan.js → state-hk9envan.js} +0 -0
  746. /package/dist/chunks/{file-hrnqkpcd.js → state-hrnqkpcd.js} +0 -0
  747. /package/dist/chunks/{file-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{file-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{file-j935v87r.js → state-j935v87r.js} +0 -0
  750. /package/dist/chunks/{file-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{file-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{file-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{file-mp448xyj.js → state-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{file-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{file-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{file-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{file-njntx4h6.js → state-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{file-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{file-q74kybfr.js → state-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{file-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{file-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{file-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{file-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{file-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{file-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{file-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  767. /package/dist/chunks/{file-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{file-twg0f83k.js → state-twg0f83k.js} +0 -0
  769. /package/dist/chunks/{file-w803qqfp.js → state-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{file-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{file-wtztk69x.js → state-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{file-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{file-x61499pn.js → state-x61499pn.js} +0 -0
  774. /package/dist/chunks/{file-y44na4kk.js → state-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{file-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{file-y8f7s663.js → state-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{file-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{file-ym463w8f.js → state-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{file-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./file-gftt206x.js";
3
+ } from "./state-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./file-3yjg5mh2.js";
6
+ } from "./state-7w99qc9d.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error = {};
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service66
3
- } from "./file-fzsrmebp.js";
2
+ Service65
3
+ } from "./state-y8w077mg.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./file-t550f9t1.js";
6
+ } from "./state-rhjbct0v.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./file-922hggd3.js";
9
+ } from "./state-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service30
13
- } from "./file-d4jn0akt.js";
12
+ Service52
13
+ } from "./state-vahdp9z8.js";
14
14
  import {
15
15
  Service72
16
- } from "./file-1r0yq1wn.js";
16
+ } from "./state-f76jjjy7.js";
17
17
  import {
18
18
  __export
19
- } from "./file-9rqn6x4v.js";
19
+ } from "./state-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin5
25
+ Plugin: () => Plugin30
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin5 = define({
32
+ var Plugin30 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service30;
35
+ const discovery = yield* Service52;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
41
  const location = yield* Service72;
42
- const watcher = yield* Service66;
42
+ const watcher = yield* Service65;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin5, exports_instruction };
117
+ export { Plugin30, exports_instruction };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-q043d12m.js";
3
+ } from "./state-hzm9egg4.js";
4
4
  import {
5
- ID16
6
- } from "./file-g14zqp48.js";
5
+ ID17
6
+ } from "./state-xnqxh1k4.js";
7
7
  import {
8
8
  iife2
9
- } from "./file-1kg9ymc8.js";
9
+ } from "./state-1kg9ymc8.js";
10
10
  import {
11
11
  configuredSettings2
12
- } from "./file-g6nh8byg.js";
12
+ } from "./state-v7vg1ys9.js";
13
13
 
14
14
  // src/plugin/provider/cloudflare-ai-gateway.ts
15
15
  import os from "os";
16
16
  import { Effect, Option, Schema } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Form } from "@opencode/schema/form";
19
- var providerID = ID16.make("cloudflare-ai-gateway");
19
+ var providerID = ID17.make("cloudflare-ai-gateway");
20
20
  var CloudflareAIGatewayPlugin2 = define({
21
21
  id: "opencode.provider.cloudflare.ai.gateway",
22
22
  effect: Effect.fn(function* (ctx) {
@@ -0,0 +1,247 @@
1
+ import {
2
+ node51
3
+ } from "./state-q85bd21y.js";
4
+ import {
5
+ node54
6
+ } from "./state-v6697qd3.js";
7
+ import {
8
+ node82
9
+ } from "./state-mcqvnant.js";
10
+ import {
11
+ node81
12
+ } from "./state-395j3mj5.js";
13
+ import {
14
+ node80
15
+ } from "./state-wgpywka8.js";
16
+ import {
17
+ node40
18
+ } from "./state-3vc92cpq.js";
19
+ import {
20
+ node77,
21
+ boundNode2
22
+ } from "./state-f76jjjy7.js";
23
+ import {
24
+ configured8,
25
+ node68
26
+ } from "./state-8dx2amnv.js";
27
+ import {
28
+ node73
29
+ } from "./state-5p8mw0dr.js";
30
+ import {
31
+ node57
32
+ } from "./state-0h5yhx5j.js";
33
+ import {
34
+ node55
35
+ } from "./state-awmfrrxt.js";
36
+ import {
37
+ node61
38
+ } from "./state-jgar8g47.js";
39
+ import {
40
+ node60
41
+ } from "./state-76fbqq5t.js";
42
+ import {
43
+ node53
44
+ } from "./state-d0j044cp.js";
45
+ import {
46
+ node17
47
+ } from "./state-ven90c16.js";
48
+ import {
49
+ node59
50
+ } from "./state-sygp3w95.js";
51
+ import {
52
+ node31
53
+ } from "./state-gy2qaxq4.js";
54
+ import {
55
+ Service32,
56
+ node35
57
+ } from "./state-wmnxc830.js";
58
+ import {
59
+ node24
60
+ } from "./state-3cdpbzjx.js";
61
+ import {
62
+ node72
63
+ } from "./state-ddx3tg71.js";
64
+ import {
65
+ node48
66
+ } from "./state-kb4h31ft.js";
67
+ import {
68
+ node34
69
+ } from "./state-dwepz7tb.js";
70
+ import {
71
+ configured6,
72
+ node56
73
+ } from "./state-vahdp9z8.js";
74
+ import {
75
+ node22
76
+ } from "./state-wsyr7wz2.js";
77
+ import {
78
+ node58
79
+ } from "./state-kjmahcfy.js";
80
+ import {
81
+ node30
82
+ } from "./state-sr06zkx8.js";
83
+ import {
84
+ node43
85
+ } from "./state-pmy40cdq.js";
86
+ import {
87
+ node28
88
+ } from "./state-7b9bpmhc.js";
89
+ import {
90
+ node39
91
+ } from "./state-87shza1g.js";
92
+ import {
93
+ node27
94
+ } from "./state-j7hrck8q.js";
95
+ import {
96
+ node21
97
+ } from "./state-w3thrybb.js";
98
+ import {
99
+ node38
100
+ } from "./state-ym3mvm7f.js";
101
+ import {
102
+ node76
103
+ } from "./state-mdzsfjay.js";
104
+ import {
105
+ node67
106
+ } from "./state-fkd2ewj5.js";
107
+ import {
108
+ node65
109
+ } from "./state-cwd529yg.js";
110
+ import {
111
+ node46
112
+ } from "./state-mwyv3scv.js";
113
+ import {
114
+ node45
115
+ } from "./state-8c0s05bc.js";
116
+ import {
117
+ node18
118
+ } from "./state-y38bkm5v.js";
119
+ import {
120
+ node52
121
+ } from "./state-rgqj86dy.js";
122
+ import {
123
+ node16
124
+ } from "./state-ea29dqtj.js";
125
+ import {
126
+ node4
127
+ } from "./state-czcnay43.js";
128
+ import {
129
+ node47
130
+ } from "./state-v8fxnnqy.js";
131
+ import {
132
+ node9,
133
+ bound2
134
+ } from "./state-7b15y959.js";
135
+ import {
136
+ node13
137
+ } from "./state-w1sbw24p.js";
138
+ import {
139
+ node12
140
+ } from "./state-5gg839bz.js";
141
+ import {
142
+ node11
143
+ } from "./state-3zre7qs9.js";
144
+ import {
145
+ node6
146
+ } from "./state-rgadkmpr.js";
147
+ import {
148
+ node5
149
+ } from "./state-jkhk5v10.js";
150
+ import {
151
+ node63
152
+ } from "./state-kez3kbfw.js";
153
+ import {
154
+ node3
155
+ } from "./state-daf1qynx.js";
156
+ import {
157
+ node2
158
+ } from "./state-6cqjqb7p.js";
159
+ import {
160
+ __export
161
+ } from "./state-9rqn6x4v.js";
162
+
163
+ // src/instance.ts
164
+ var exports_instance = {};
165
+ __export(exports_instance, {
166
+ Instance: () => exports_instance,
167
+ Service: () => Service32,
168
+ graph: () => graph2,
169
+ layer: () => layer2,
170
+ node: () => node35
171
+ });
172
+ import { Effect, Layer } from "effect";
173
+ import { LayerNode } from "@opencode/util/effect/layer-node";
174
+ import { Node } from "@opencode/util/effect/app-node";
175
+ var nodes = [
176
+ node77,
177
+ node73,
178
+ node68,
179
+ node51,
180
+ node40,
181
+ node43,
182
+ node46,
183
+ node18,
184
+ node81,
185
+ node80,
186
+ node53,
187
+ node54,
188
+ node16,
189
+ node72,
190
+ node9,
191
+ node6,
192
+ node5,
193
+ node52,
194
+ node61,
195
+ node60,
196
+ node76,
197
+ node63,
198
+ node65,
199
+ node39,
200
+ node22,
201
+ node56,
202
+ node47,
203
+ node57,
204
+ node55,
205
+ node31,
206
+ node48,
207
+ node58,
208
+ node67,
209
+ node59,
210
+ node27,
211
+ node28,
212
+ node24,
213
+ node82,
214
+ node17,
215
+ node11,
216
+ node30,
217
+ node12,
218
+ node34,
219
+ node13,
220
+ node3,
221
+ node21,
222
+ node38,
223
+ node2,
224
+ node45,
225
+ node4
226
+ ];
227
+ var graph2 = LayerNode.group(nodes);
228
+ var vanillaReplacements = [
229
+ node68.replace(configured8({ project: false, global: false })),
230
+ node56.replace(configured6({ project: false, global: false }))
231
+ ];
232
+ function layer2(ref, options = {}) {
233
+ const startedAt = performance.now();
234
+ const replacements = [
235
+ ...options.discovery === false ? vanillaReplacements : [],
236
+ ...options.replacements ?? [],
237
+ node77.replace(boundNode2(ref, { discovery: options.discovery })),
238
+ node9.replace(bound2(options.plugins ?? []))
239
+ ];
240
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
241
+ directory: ref.directory,
242
+ workspaceID: ref.workspaceID,
243
+ durationMs: Math.round(performance.now() - startedAt)
244
+ })));
245
+ }
246
+
247
+ export { graph2, layer2, exports_instance };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./file-6msgmcgs.js";
3
+ } from "./state-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./file-8p4f9s12.js";
6
+ } from "./state-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./file-t550f9t1.js";
8
+ } from "./state-rhjbct0v.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./file-ec1grn59.js";
11
+ } from "./state-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./file-a1bz86dw.js";
15
+ } from "./state-a1bz86dw.js";
16
16
  import {
17
17
  __export
18
- } from "./file-9rqn6x4v.js";
18
+ } from "./state-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service78
3
- } from "./file-vsctkjm2.js";
2
+ Service79
3
+ } from "./state-w6pwrz03.js";
4
4
  import {
5
5
  OAuth3,
6
- Event18
7
- } from "./file-1j7qs22q.js";
6
+ Event20
7
+ } from "./state-wyxd6c79.js";
8
8
  import {
9
- ID10,
9
+ ID14,
10
10
  MethodID2
11
- } from "./file-szbdehq3.js";
11
+ } from "./state-395j3mj5.js";
12
12
  import {
13
- ID16,
13
+ ID17,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./file-g14zqp48.js";
16
+ } from "./state-xnqxh1k4.js";
17
17
  import {
18
- ID6,
19
- Input14,
18
+ ID3,
19
+ Input13,
20
20
  Response2
21
- } from "./file-r6x8jqph.js";
21
+ } from "./state-y38bkm5v.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID6
35
+ providerID: ID3
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID10.make("opencode"),
57
+ integrationID: ID14.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -99,7 +99,7 @@ function oauth(http) {
99
99
  var OpencodePlugin2 = define({
100
100
  id: "opencode.provider.opencode",
101
101
  effect: Effect.fn(function* (ctx) {
102
- const bus = yield* Service78;
102
+ const bus = yield* Service79;
103
103
  const http = yield* HttpClient.HttpClient;
104
104
  const loading = Semaphore.makeUnsafe(1);
105
105
  let snapshot = { config: undefined, connection: undefined };
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  catalog.provider.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID10.make("opencode");
128
+ provider.integrationID = ID14.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
188
188
  });
189
189
  }
190
190
  }
191
- const item = catalog.provider.get(ID16.opencode);
191
+ const item = catalog.provider.get(ID17.opencode);
192
192
  if (!item)
193
193
  return;
194
194
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
228
228
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
229
229
  const token = credential.type === "oauth" ? credential.access : credential.key;
230
230
  const server = yield* normalizeServer(serverUrl(credential));
231
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
231
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
232
232
  query: input.query,
233
233
  providerID: descriptor.providerID
234
234
  }));
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
249
249
  yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
250
250
  });
251
251
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
252
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
252
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
253
253
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
254
254
  })
255
255
  });
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./file-vsctkjm2.js";
2
+ Service79,
3
+ node84
4
+ } from "./state-w6pwrz03.js";
5
5
  import {
6
6
  Service72,
7
- node76
8
- } from "./file-1r0yq1wn.js";
7
+ node77
8
+ } from "./state-f76jjjy7.js";
9
9
  import {
10
10
  Service69,
11
- node72
12
- } from "./file-jtq2znwy.js";
11
+ node73
12
+ } from "./state-5p8mw0dr.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./file-gd4qta3r.js";
15
+ } from "./state-gd4qta3r.js";
16
16
  import {
17
- Service68,
17
+ Service71,
18
18
  args2,
19
- node71
20
- } from "./file-3yknbgq7.js";
19
+ node76
20
+ } from "./state-mdzsfjay.js";
21
21
  import {
22
- Service71,
23
- node75
24
- } from "./file-5trk58xb.js";
22
+ Service68,
23
+ node72
24
+ } from "./state-ddx3tg71.js";
25
25
  import {
26
- Service64,
27
- node67
28
- } from "./file-91p1v22t.js";
26
+ Service62,
27
+ node66
28
+ } from "./state-qtkzm0vp.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./file-3yjg5mh2.js";
31
+ } from "./state-7w99qc9d.js";
32
32
  import {
33
33
  latest2,
34
- Service65,
34
+ Service64,
35
35
  node68
36
- } from "./file-pfjv880m.js";
36
+ } from "./state-8dx2amnv.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./file-n3ehebhz.js";
40
+ } from "./state-fkd2ewj5.js";
41
41
  import {
42
42
  __export
43
- } from "./file-9rqn6x4v.js";
43
+ } from "./state-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
@@ -48,10 +48,10 @@ __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
49
  NotFoundError: () => NotFoundError8,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service63,
51
+ Service: () => Service61,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node66
54
+ node: () => node65
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service63 extends Context.Service()("@opencode/Shell") {
73
+ class Service61 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service63, Effect.gen(function* () {
90
- const bus = yield* Service78;
89
+ var layer = () => Layer.effect(Service61, Effect.gen(function* () {
90
+ const bus = yield* Service79;
91
91
  const location = yield* Service72;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service68;
93
+ const shell = yield* Service71;
94
94
  const environment = yield* Service69;
95
- const hooks = yield* Service71;
96
- const environments = yield* Service64;
97
- const config = yield* Service65;
95
+ const hooks = yield* Service68;
96
+ const environments = yield* Service62;
97
+ const config = yield* Service64;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service63, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service63.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service61.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node66 = makeLocationNode({
320
- service: Service63,
319
+ var node65 = makeLocationNode({
320
+ service: Service61,
321
321
  layer: layer(),
322
322
  deps: [
323
- node82,
324
- node76,
323
+ node84,
324
+ node77,
325
325
  Global.node,
326
- node71,
326
+ node76,
327
+ node73,
327
328
  node72,
328
- node75,
329
- node67,
329
+ node66,
330
330
  node68,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError8, RETENTION2, DIRECTORY2, Service63, cleanup2, node66, exports_shell4 };
335
+ export { NotFoundError8, RETENTION2, DIRECTORY2, Service61, cleanup2, node65, exports_shell4 };