@opencode/core 0.0.0-dev-21673 → 0.0.0-dev-21677

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{project-vgk61ywp.js → state-0421tmwc.js} +9 -9
  8. package/dist/chunks/{project-z928tvaj.js → state-044qwh7v.js} +15 -15
  9. package/dist/chunks/{project-z7tg6gqn.js → state-073kka4g.js} +19 -19
  10. package/dist/chunks/{project-sy1zgpba.js → state-07sd7cjb.js} +11 -11
  11. package/dist/chunks/{project-q6byt1vy.js → state-0gwh7h4t.js} +39 -39
  12. package/dist/chunks/{project-abz5va8s.js → state-0z6vy9th.js} +5 -5
  13. package/dist/chunks/{project-1z530119.js → state-12qba4r3.js} +12 -12
  14. package/dist/chunks/{project-5499276f.js → state-14k2p94z.js} +4 -4
  15. package/dist/chunks/{project-ywn1tvqn.js → state-14kme7tc.js} +24 -24
  16. package/dist/chunks/{project-5n01dcds.js → state-16cjxvjr.js} +50 -50
  17. package/dist/chunks/{project-avrygwsy.js → state-16tzwtzk.js} +33 -33
  18. package/dist/chunks/{project-xybskrbg.js → state-172kwg3m.js} +17 -17
  19. package/dist/chunks/{project-srg5xmqx.js → state-1915y0wf.js} +15 -15
  20. package/dist/chunks/{project-rnvbgrrs.js → state-1bvftq1p.js} +13 -13
  21. package/dist/chunks/{project-dvbbs10e.js → state-1j60aste.js} +19 -19
  22. package/dist/chunks/{project-mtxm79q0.js → state-1myz4yam.js} +5 -5
  23. package/dist/chunks/{project-0ge19jyf.js → state-1rfxem6r.js} +9 -9
  24. package/dist/chunks/{project-1x2knyw4.js → state-1x2knyw4.js} +1 -1
  25. package/dist/chunks/{project-v9ez2kgh.js → state-1yq9hg58.js} +5 -5
  26. package/dist/chunks/{project-3asb4mz5.js → state-1zryh94y.js} +12 -12
  27. package/dist/chunks/{project-9zn1tp8t.js → state-2128mz7a.js} +39 -39
  28. package/dist/chunks/{project-edejzvfw.js → state-26rstsyj.js} +6 -6
  29. package/dist/chunks/{project-1ep2p91f.js → state-27w5k9zf.js} +2 -2
  30. package/dist/chunks/{project-2dkjcnxp.js → state-2dkjcnxp.js} +1 -1
  31. package/dist/chunks/{project-6fcww07n.js → state-2jta7gtx.js} +30 -30
  32. package/dist/chunks/{project-2z1j29yd.js → state-2z1j29yd.js} +1 -1
  33. package/dist/chunks/{project-rabtnz7e.js → state-330ptwd3.js} +340 -340
  34. package/dist/chunks/{project-f14tnanx.js → state-35gjm3y2.js} +1 -1
  35. package/dist/chunks/{project-nad4mkqt.js → state-35y8wyjz.js} +8 -8
  36. package/dist/chunks/{project-ayjs7tqn.js → state-3cbjf1nt.js} +2 -2
  37. package/dist/chunks/{project-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{project-q5zq6djh.js → state-3jbgv2q6.js} +5 -5
  39. package/dist/chunks/{project-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
  40. package/dist/chunks/{project-1qc61ek6.js → state-3vfjjjh8.js} +3 -3
  41. package/dist/chunks/{project-svf80yc0.js → state-3y5c7d8s.js} +15 -15
  42. package/dist/chunks/{project-0qaw3rsr.js → state-3zwfmt1r.js} +14 -14
  43. package/dist/chunks/{project-40za9wsf.js → state-40za9wsf.js} +2 -2
  44. package/dist/chunks/{project-6dbzns9q.js → state-43znyb7f.js} +26 -26
  45. package/dist/chunks/{project-bt69sbx0.js → state-44m02g6g.js} +23 -23
  46. package/dist/chunks/{project-aay9q4a1.js → state-49cvc3c9.js} +2 -2
  47. package/dist/chunks/{project-ennfa1r2.js → state-49rs4jgp.js} +9 -9
  48. package/dist/chunks/state-4dbr8w8g.js +257 -0
  49. package/dist/chunks/{project-j8b1q04x.js → state-4jkzeynr.js} +20 -20
  50. package/dist/chunks/{project-5r72z9dp.js → state-4skqtp9p.js} +8 -8
  51. package/dist/chunks/{project-4v008n1t.js → state-4v008n1t.js} +1 -1
  52. package/dist/chunks/{project-97kra8sc.js → state-4vswmwyp.js} +22 -22
  53. package/dist/chunks/{project-4xvmh7wp.js → state-4xvmh7wp.js} +3 -3
  54. package/dist/chunks/{project-efv89yt1.js → state-4xy1pe9v.js} +18 -18
  55. package/dist/chunks/{project-y5s18w2x.js → state-5292rdv0.js} +13 -13
  56. package/dist/chunks/{project-r77dtqge.js → state-52y2wpbm.js} +7 -7
  57. package/dist/chunks/{project-9gmhk2dr.js → state-56n8k00e.js} +9 -9
  58. package/dist/chunks/{project-y7y0w8zn.js → state-5dy8ae48.js} +16 -16
  59. package/dist/chunks/{project-5m9w47nd.js → state-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{project-ycnyt74c.js → state-5prd5q9g.js} +7 -7
  61. package/dist/chunks/{project-zq38syqk.js → state-5rya34s6.js} +27 -27
  62. package/dist/chunks/{project-vgw2z44b.js → state-617k3a07.js} +39 -39
  63. package/dist/chunks/{project-ww91z9j1.js → state-67vajddp.js} +22 -22
  64. package/dist/chunks/{project-4d5zmrjg.js → state-697v9084.js} +10 -10
  65. package/dist/chunks/{project-pbck7hjv.js → state-6bt41jr7.js} +15 -15
  66. package/dist/chunks/{project-6esdw8yj.js → state-6esdw8yj.js} +1 -1
  67. package/dist/chunks/{project-35a94sfp.js → state-6g7wb8pj.js} +9 -9
  68. package/dist/chunks/{project-6pjqjmy2.js → state-6pjqjmy2.js} +1 -1
  69. package/dist/chunks/{project-fy0rchc1.js → state-6q7w75th.js} +18 -18
  70. package/dist/chunks/{project-dkhtsk1k.js → state-6r7v16zt.js} +34 -34
  71. package/dist/chunks/{project-76cb1hcw.js → state-76cb1hcw.js} +1 -1
  72. package/dist/chunks/{project-3j2bx2e1.js → state-77vk6v4z.js} +11 -11
  73. package/dist/chunks/{project-jpf3p7ma.js → state-7b2q1d31.js} +35 -35
  74. package/dist/chunks/{project-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{project-5wfhjcjp.js → state-7k31ezqp.js} +6 -6
  76. package/dist/chunks/{project-e614209m.js → state-7pbzmqpv.js} +2 -2
  77. package/dist/chunks/{project-dkm5gnst.js → state-7q9q1gy8.js} +7 -7
  78. package/dist/chunks/{project-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
  79. package/dist/chunks/{project-qq1647kk.js → state-85e2d6ej.js} +4 -4
  80. package/dist/chunks/{project-n32atgs2.js → state-8cbvmr14.js} +5 -5
  81. package/dist/chunks/{project-cqkh3ysm.js → state-8g0yjqch.js} +46 -46
  82. package/dist/chunks/{project-qjgzc4b4.js → state-8jztxfpf.js} +4 -4
  83. package/dist/chunks/{project-dwrjgvf7.js → state-8k817ta6.js} +3 -3
  84. package/dist/chunks/{project-ex2ghmgq.js → state-8k8s1td8.js} +5 -5
  85. package/dist/chunks/{project-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
  86. package/dist/chunks/{project-amz5fvp1.js → state-8x5fa4pj.js} +10 -10
  87. package/dist/chunks/{project-704d1ccs.js → state-8ykqf5wm.js} +6 -6
  88. package/dist/chunks/{project-1q3jvbda.js → state-914jfpmk.js} +3 -3
  89. package/dist/chunks/{project-91rj84md.js → state-91rj84md.js} +1 -1
  90. package/dist/chunks/{project-0zmsqe55.js → state-93xm1b5s.js} +7 -7
  91. package/dist/chunks/{project-mrfk2h0w.js → state-9d31p0t1.js} +33 -33
  92. package/dist/chunks/{project-sjbapc6a.js → state-9f8ska64.js} +15 -15
  93. package/dist/chunks/{project-p9jvgf3w.js → state-9nkjg9qd.js} +6 -6
  94. package/dist/chunks/{project-vzmjdaw1.js → state-9r0x1bva.js} +9 -9
  95. package/dist/chunks/{project-war36t1a.js → state-a4bn6z71.js} +85 -85
  96. package/dist/chunks/{project-034tev2y.js → state-aj7mw0zk.js} +2 -2
  97. package/dist/chunks/{project-0yqx85sf.js → state-ajd7a4ft.js} +17 -17
  98. package/dist/chunks/{project-qre60qsh.js → state-ancq0kt2.js} +19 -19
  99. package/dist/chunks/{project-r3sapc0f.js → state-aq0ejh1v.js} +32 -32
  100. package/dist/chunks/{project-7p97jbeh.js → state-aw3jaa69.js} +138 -138
  101. package/dist/chunks/{project-ftmc5s4e.js → state-axjjc5wn.js} +4 -4
  102. package/dist/chunks/{project-rr10qkmh.js → state-ayw644re.js} +14 -14
  103. package/dist/chunks/{project-b0mv4wxm.js → state-b0mv4wxm.js} +2 -2
  104. package/dist/chunks/{project-w9zvebzj.js → state-b5120fys.js} +6 -6
  105. package/dist/chunks/{project-5nnwax6m.js → state-b6vsg801.js} +5 -5
  106. package/dist/chunks/{project-bjhzkqyk.js → state-bjhzkqyk.js} +1 -1
  107. package/dist/chunks/{project-bstexjd6.js → state-bstexjd6.js} +1 -1
  108. package/dist/chunks/{project-8s5m2r2h.js → state-c22sd85a.js} +17 -17
  109. package/dist/chunks/{project-e2x7gzav.js → state-c3cfh5w6.js} +5 -5
  110. package/dist/chunks/{project-d2887f8n.js → state-c9t2ty9q.js} +4 -4
  111. package/dist/chunks/{project-bgn46r2r.js → state-cc3fa17z.js} +7 -7
  112. package/dist/chunks/{project-n39q19g8.js → state-cfkc8wvf.js} +4 -4
  113. package/dist/chunks/{project-a7p6ajz7.js → state-ct0qct1p.js} +23 -23
  114. package/dist/chunks/{project-jvrybeq8.js → state-d1d7qngs.js} +27 -27
  115. package/dist/chunks/{project-66r9f6z1.js → state-d1r5081s.js} +5 -5
  116. package/dist/chunks/{project-ktvnvra2.js → state-d47qntqb.js} +11 -11
  117. package/dist/chunks/{project-d4v9tmah.js → state-d4v9tmah.js} +2 -2
  118. package/dist/chunks/{project-d4d7sshf.js → state-dbdfhpvc.js} +11 -11
  119. package/dist/chunks/{project-6y263vp8.js → state-dbmp929s.js} +5 -5
  120. package/dist/chunks/{project-739vedpf.js → state-dc38nx3a.js} +17 -17
  121. package/dist/chunks/{project-v3bag9qh.js → state-dek4cct4.js} +24 -24
  122. package/dist/chunks/{project-rdyeje7b.js → state-dgmfjgtz.js} +4 -4
  123. package/dist/chunks/{project-cky18ayb.js → state-dj5majz4.js} +11 -11
  124. package/dist/chunks/{project-9w7p9nvj.js → state-dkm83r25.js} +48 -48
  125. package/dist/chunks/{project-dkq45v8d.js → state-dkq45v8d.js} +2 -2
  126. package/dist/chunks/{project-3rs19bb4.js → state-dmq3ym5w.js} +16 -16
  127. package/dist/chunks/{project-998yhzzq.js → state-dvj9ct8m.js} +3 -3
  128. package/dist/chunks/{project-tx1skdes.js → state-dwh0pt33.js} +10 -10
  129. package/dist/chunks/{project-9p9xqj3m.js → state-e5dqjz6v.js} +8 -8
  130. package/dist/chunks/{project-j43y3xqp.js → state-e71bb87j.js} +8 -8
  131. package/dist/chunks/{project-e834z07m.js → state-e834z07m.js} +1 -1
  132. package/dist/chunks/{project-pwk354ja.js → state-e8w4nwgj.js} +14 -14
  133. package/dist/chunks/{project-mpq7vr27.js → state-ec2dc8dw.js} +4 -4
  134. package/dist/chunks/{project-fwte2t7r.js → state-ee9c368m.js} +10 -10
  135. package/dist/chunks/{project-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{project-h4a90mfm.js → state-eh870njm.js} +32 -32
  137. package/dist/chunks/{project-8daav2af.js → state-en0q6wa2.js} +50 -50
  138. package/dist/chunks/{project-hwtw9fqj.js → state-eqmkrg1f.js} +21 -21
  139. package/dist/chunks/{project-z111sdr0.js → state-eqr22vcz.js} +22 -22
  140. package/dist/chunks/{project-83hm2hev.js → state-err1h8pn.js} +46 -46
  141. package/dist/chunks/{project-pacbbjc0.js → state-es3s6s73.js} +5 -5
  142. package/dist/chunks/{project-c618cpra.js → state-esj00h2k.js} +17 -17
  143. package/dist/chunks/{project-nnpg8337.js → state-ezbq2hxf.js} +5 -5
  144. package/dist/chunks/{project-1awzgpvc.js → state-f4ng6gb6.js} +55 -55
  145. package/dist/chunks/{project-7x0wbv1r.js → state-f4q3f8d1.js} +19 -19
  146. package/dist/chunks/{project-fffv3p7h.js → state-fffv3p7h.js} +1 -1
  147. package/dist/chunks/{project-hgaqcch1.js → state-fv3nkzgx.js} +19 -19
  148. package/dist/chunks/{project-5kvmfnk6.js → state-fwm6gfkk.js} +15 -15
  149. package/dist/chunks/{project-jns4gqy7.js → state-fwp9mfc9.js} +4 -4
  150. package/dist/chunks/{project-vpgvrtdm.js → state-fy6jsj22.js} +6 -6
  151. package/dist/chunks/{project-g5h9c0rr.js → state-g5h9c0rr.js} +2 -2
  152. package/dist/chunks/{project-prwsxbm1.js → state-gcn4eed3.js} +10 -10
  153. package/dist/chunks/{project-5hvygcnt.js → state-gczz9yj9.js} +10 -10
  154. package/dist/chunks/{project-z7r3dw85.js → state-gn44pbev.js} +18 -18
  155. package/dist/chunks/{project-gn0ser4y.js → state-h24qrdq3.js} +12 -12
  156. package/dist/chunks/{project-e17k0hsv.js → state-h5mfmrme.js} +9 -9
  157. package/dist/chunks/{project-me2jyc9e.js → state-haf5xzvt.js} +22 -22
  158. package/dist/chunks/{project-qq16f8az.js → state-hcgm01z1.js} +11 -11
  159. package/dist/chunks/{project-kn0rqzkh.js → state-hgk34cm5.js} +12 -12
  160. package/dist/chunks/{project-ce3vjht6.js → state-hvcnescj.js} +9 -9
  161. package/dist/chunks/{project-j113cymg.js → state-j113cymg.js} +1 -1
  162. package/dist/chunks/{project-hv9wbna8.js → state-jcn8ehqj.js} +8 -8
  163. package/dist/chunks/{project-s0kjfseb.js → state-jgdcf8mk.js} +42 -42
  164. package/dist/chunks/{project-csp9wjvb.js → state-k1na0zkx.js} +25 -25
  165. package/dist/chunks/{project-wtzytv8z.js → state-k5yr72j3.js} +36 -36
  166. package/dist/chunks/{project-k814nvkf.js → state-k814nvkf.js} +1 -1
  167. package/dist/chunks/{project-pr80rsms.js → state-k9b99h6a.js} +7 -7
  168. package/dist/chunks/{project-h98gx716.js → state-kgtnj03x.js} +13 -13
  169. package/dist/chunks/{project-x2djvzav.js → state-kk6mskxb.js} +8 -8
  170. package/dist/chunks/{project-bg8ynzhc.js → state-kkfb8c0y.js} +16 -16
  171. package/dist/chunks/{project-krhbb1d7.js → state-kr19zgz3.js} +11 -11
  172. package/dist/chunks/{project-hg0cvh6j.js → state-ksn4rs0j.js} +31 -31
  173. package/dist/chunks/{project-8tb7jz03.js → state-m0rn1g2h.js} +8 -8
  174. package/dist/chunks/{project-m1714858.js → state-m1714858.js} +1 -1
  175. package/dist/chunks/{project-m37sd98t.js → state-m37sd98t.js} +1 -1
  176. package/dist/chunks/{project-zgqyyky3.js → state-m3ssbqdv.js} +20 -20
  177. package/dist/chunks/{project-zpc2hwcg.js → state-m5bvs3x7.js} +15 -15
  178. package/dist/chunks/{project-8e1dptnb.js → state-m9168hv5.js} +27 -27
  179. package/dist/chunks/{project-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{project-maspj1v3.js → state-maspj1v3.js} +1 -1
  181. package/dist/chunks/{project-haqddkbz.js → state-mkh464f3.js} +18 -18
  182. package/dist/chunks/{project-e4hjbd03.js → state-mpcws20e.js} +22 -22
  183. package/dist/chunks/{project-aqxp75b5.js → state-msrrdpv7.js} +28 -28
  184. package/dist/chunks/{project-c8666r4c.js → state-mt3ysty9.js} +3 -3
  185. package/dist/chunks/{project-n0p0277s.js → state-n0p0277s.js} +1 -1
  186. package/dist/chunks/{project-770pw0s1.js → state-nah043kf.js} +4 -4
  187. package/dist/chunks/{project-brgvyzq9.js → state-nbyn5sh0.js} +3 -3
  188. package/dist/chunks/{project-dns528vs.js → state-ncagyvky.js} +11 -11
  189. package/dist/chunks/{project-756mjj2v.js → state-njsbtr8g.js} +16 -16
  190. package/dist/chunks/{project-4wfnas2w.js → state-nkh6rh9e.js} +10 -10
  191. package/dist/chunks/{project-vx3jgdek.js → state-nvxqht09.js} +3 -3
  192. package/dist/chunks/{project-wzr5z9r3.js → state-nz16ptw2.js} +3 -3
  193. package/dist/chunks/{project-p015t6z3.js → state-p015t6z3.js} +2 -2
  194. package/dist/chunks/{project-pc1v25hk.js → state-pc1v25hk.js} +1 -1
  195. package/dist/chunks/{project-84em95zf.js → state-pgz5fff2.js} +28 -28
  196. package/dist/chunks/{project-rva2q560.js → state-phfzhb8b.js} +22 -22
  197. package/dist/chunks/{project-pknna89w.js → state-pknna89w.js} +1 -1
  198. package/dist/chunks/{project-40v8dpjy.js → state-prtgnnd9.js} +32 -32
  199. package/dist/chunks/{project-r7gv03kz.js → state-psdm5k4e.js} +35 -35
  200. package/dist/chunks/{project-b2naxwvt.js → state-q036w687.js} +7 -7
  201. package/dist/chunks/{project-7045vmc6.js → state-q0m6jj65.js} +12 -12
  202. package/dist/chunks/{project-9q84888z.js → state-q18facvz.js} +1 -1
  203. package/dist/chunks/{project-e3t0s7gt.js → state-q9dgbjd9.js} +7 -7
  204. package/dist/chunks/{project-ve21yh3e.js → state-q9gvrhhm.js} +25 -25
  205. package/dist/chunks/{project-n810t9ja.js → state-qcdew78b.js} +13 -13
  206. package/dist/chunks/{project-avt17yc9.js → state-qdz8jb55.js} +11 -11
  207. package/dist/chunks/{project-1zw7gc13.js → state-qek2023v.js} +28 -28
  208. package/dist/chunks/{project-3ryz99p0.js → state-qqg9c0kv.js} +4 -4
  209. package/dist/chunks/{project-k4dxaq26.js → state-qzjk3zq0.js} +6 -6
  210. package/dist/chunks/{project-r0yr0wbs.js → state-r0yr0wbs.js} +1 -1
  211. package/dist/chunks/{project-n2n972dz.js → state-r8dac9hr.js} +24 -24
  212. package/dist/chunks/{project-v8d3mx5z.js → state-r9x1a239.js} +10 -10
  213. package/dist/chunks/{project-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
  214. package/dist/chunks/{project-4xr8w5a9.js → state-rerepda3.js} +11 -11
  215. package/dist/chunks/{project-s5kv2cn0.js → state-rt3cvzdv.js} +4 -4
  216. package/dist/chunks/{project-rt5dr6hb.js → state-rt5dr6hb.js} +1 -1
  217. package/dist/chunks/{project-f607rzmc.js → state-s27kve8r.js} +9 -9
  218. package/dist/chunks/{project-nrf42yrn.js → state-s2x7krsf.js} +6 -6
  219. package/dist/chunks/{project-grtakk98.js → state-s5kcmw61.js} +2 -2
  220. package/dist/chunks/{project-0d7fk1v9.js → state-s7ea1dqv.js} +2 -2
  221. package/dist/chunks/{project-24ex7jtb.js → state-s7hry362.js} +80 -80
  222. package/dist/chunks/{project-s7kyse9r.js → state-s7kyse9r.js} +1 -1
  223. package/dist/chunks/{project-6q8sqnyr.js → state-sa0dwrka.js} +14 -14
  224. package/dist/chunks/{project-z0pkw490.js → state-sg11w837.js} +18 -18
  225. package/dist/chunks/{project-yvjpmm8d.js → state-sj5xbg4q.js} +8 -8
  226. package/dist/chunks/{project-aws0phmy.js → state-smz3qfre.js} +15 -15
  227. package/dist/chunks/{project-sqjzf8x2.js → state-sqjzf8x2.js} +1 -1
  228. package/dist/chunks/{project-vdpnyne0.js → state-srpk9j1a.js} +13 -13
  229. package/dist/chunks/{project-27bs79w9.js → state-st7p3hwb.js} +2 -2
  230. package/dist/chunks/{project-ryyfth3r.js → state-syh9frb4.js} +20 -20
  231. package/dist/chunks/{project-arr0esyr.js → state-sz2ee4nr.js} +16 -16
  232. package/dist/chunks/{project-ymtfe6ys.js → state-tc25ehwb.js} +13 -13
  233. package/dist/chunks/{project-kx3xq9yx.js → state-tc831k31.js} +19 -19
  234. package/dist/chunks/{project-tczq8hjw.js → state-tczq8hjw.js} +1 -1
  235. package/dist/chunks/{project-hy8c1z76.js → state-tg1vr1qt.js} +8 -8
  236. package/dist/chunks/{project-ytb85x07.js → state-thtr5m16.js} +16 -16
  237. package/dist/chunks/{project-tw8zr1ps.js → state-tw8zr1ps.js} +1 -1
  238. package/dist/chunks/{project-rhzb5sgv.js → state-twe99j6z.js} +43 -43
  239. package/dist/chunks/{project-twv2r8f4.js → state-twv2r8f4.js} +2 -2
  240. package/dist/chunks/{project-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
  241. package/dist/chunks/{project-pmebwkpn.js → state-v32krhk0.js} +2 -2
  242. package/dist/chunks/{project-g2r9we7k.js → state-v38w2q2a.js} +15 -15
  243. package/dist/chunks/{project-f29nb3rh.js → state-v3ntmnn8.js} +21 -21
  244. package/dist/chunks/{project-wheq58gc.js → state-v82fj2wn.js} +3 -3
  245. package/dist/chunks/{project-vd3b3yk9.js → state-vd3b3yk9.js} +1 -1
  246. package/dist/chunks/{project-veqvce7d.js → state-veqvce7d.js} +1 -1
  247. package/dist/chunks/{project-cxk0zn9v.js → state-vm2jz6zq.js} +15 -15
  248. package/dist/chunks/{project-r44hbkey.js → state-vqd344gs.js} +11 -11
  249. package/dist/chunks/{project-gcjdgkn2.js → state-vrcsa8qx.js} +9 -9
  250. package/dist/chunks/{project-12t1dx64.js → state-vrd3ahjy.js} +19 -19
  251. package/dist/chunks/{project-avcx7cx1.js → state-vtxf8xbz.js} +4 -4
  252. package/dist/chunks/{project-76zwaa62.js → state-vw0xqtsc.js} +33 -33
  253. package/dist/chunks/{project-pdn1jn4w.js → state-vywg2bcd.js} +26 -26
  254. package/dist/chunks/{project-kw5jcj1m.js → state-w0dmea0f.js} +11 -11
  255. package/dist/chunks/{project-yd39ydqg.js → state-w3vrex7x.js} +3 -3
  256. package/dist/chunks/{project-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{project-yv12yyqt.js → state-w60hkx9t.js} +12 -12
  258. package/dist/chunks/{project-wakvkjy4.js → state-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{project-wd87259q.js → state-wd87259q.js} +1 -1
  260. package/dist/chunks/{project-5n9pkk4a.js → state-wr1xkt7e.js} +18 -18
  261. package/dist/chunks/{project-fznmdakp.js → state-wr3re1en.js} +4 -4
  262. package/dist/chunks/{project-qn7gt9tf.js → state-xaknme5b.js} +19 -19
  263. package/dist/chunks/{project-1fqeg8az.js → state-xavhsc1g.js} +11 -11
  264. package/dist/chunks/{project-s1hccf1w.js → state-xcq2y651.js} +4 -4
  265. package/dist/chunks/{project-6m3233am.js → state-xed0bk1y.js} +27 -27
  266. package/dist/chunks/{project-v8axt5a9.js → state-xfgh3jy3.js} +22 -22
  267. package/dist/chunks/{project-nfmgtk0z.js → state-xhqrarz2.js} +14 -14
  268. package/dist/chunks/{project-6eanynha.js → state-xrdxc1gc.js} +32 -32
  269. package/dist/chunks/{project-237j14t0.js → state-xrsvkqaj.js} +30 -30
  270. package/dist/chunks/{project-ws4j3s0e.js → state-xyygv393.js} +4 -4
  271. package/dist/chunks/{project-t95shdbt.js → state-y0zshknz.js} +1 -1
  272. package/dist/chunks/{project-3w089d6d.js → state-y5bgxahe.js} +27 -27
  273. package/dist/chunks/{project-yb20nhc3.js → state-yb20nhc3.js} +1 -1
  274. package/dist/chunks/{project-f00hk273.js → state-yfwy0123.js} +16 -16
  275. package/dist/chunks/{project-89jcpgd4.js → state-yh1v4sg4.js} +1 -1
  276. package/dist/chunks/{project-p9aq54br.js → state-yhgkr2m9.js} +28 -28
  277. package/dist/chunks/{project-qaxt5sce.js → state-yr9cnj92.js} +4 -4
  278. package/dist/chunks/{project-vecebjw1.js → state-yws5p2hn.js} +21 -21
  279. package/dist/chunks/{project-eapz8twa.js → state-yzq7xqav.js} +30 -30
  280. package/dist/chunks/{project-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{project-z38nccrw.js → state-z38nccrw.js} +1 -1
  282. package/dist/chunks/{project-0yrbxed6.js → state-z3zsr4pa.js} +10 -10
  283. package/dist/chunks/{project-tqwv9q63.js → state-z6vkvca5.js} +9 -9
  284. package/dist/chunks/{project-r96ere88.js → state-zfyb5tr4.js} +4 -4
  285. package/dist/chunks/{project-zkg84ctx.js → state-zkg84ctx.js} +1 -1
  286. package/dist/chunks/{project-psxnrejk.js → state-zsyhkwp4.js} +11 -11
  287. package/dist/chunks/{project-nrtw1kat.js → state-zztrcv6s.js} +6 -6
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +116 -116
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +83 -83
  323. package/dist/database/database.js +70 -70
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +89 -89
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +103 -103
  473. package/dist/mcp/instructions.js +138 -138
  474. package/dist/mcp/oauth.js +89 -83
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +93 -93
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +98 -98
  482. package/dist/models-dev.js +103 -103
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +82 -82
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +111 -111
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +90 -90
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +76 -76
  493. package/dist/plugin/command.js +102 -102
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +114 -114
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +92 -92
  529. package/dist/plugin/provider/openai.js +116 -116
  530. package/dist/plugin/provider/opencode.js +103 -103
  531. package/dist/plugin/provider/openrouter.js +93 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +93 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +92 -92
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +93 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +171 -171
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +1 -1
  545. package/dist/plugin/skill.js +132 -132
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -95
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +227 -227
  562. package/dist/project/schema.js +4 -4
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +97 -97
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +95 -95
  569. package/dist/reference/instructions.js +91 -91
  570. package/dist/reference.js +93 -93
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +99 -99
  575. package/dist/rpc.js +88 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +138 -138
  580. package/dist/session/context.js +162 -162
  581. package/dist/session/diff.js +90 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +166 -166
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +91 -91
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +99 -99
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +122 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -96
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +229 -229
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +97 -97
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +3 -3
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +165 -165
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +162 -162
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +8 -8
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +132 -132
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +109 -109
  634. package/dist/skill.js +114 -114
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +139 -139
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +122 -122
  643. package/dist/tool/plugin/grep.js +126 -126
  644. package/dist/tool/plugin/mcp-resource.js +126 -126
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +124 -124
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +127 -127
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +115 -115
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +109 -109
  654. package/dist/tool/plugin/websearch.js +116 -116
  655. package/dist/tool/plugin/write.js +124 -124
  656. package/dist/tool/read-filesystem.js +102 -102
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +12 -12
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +1 -1
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +82 -82
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +3 -3
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +80 -80
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +96 -96
  690. package/package.json +8 -8
  691. package/dist/chunks/project-sgz1ehav.js +0 -257
  692. /package/dist/chunks/{project-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{project-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{project-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{project-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{project-24dcb14g.js → state-24dcb14g.js} +0 -0
  697. /package/dist/chunks/{project-2710q6r3.js → state-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{project-2bv980vf.js → state-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{project-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{project-359p4xyc.js → state-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{project-3asan66x.js → state-3asan66x.js} +0 -0
  702. /package/dist/chunks/{project-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{project-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{project-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{project-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{project-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{project-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{project-53557ph1.js → state-53557ph1.js} +0 -0
  709. /package/dist/chunks/{project-550bvhaj.js → state-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{project-5fjb7ams.js → state-5fjb7ams.js} +0 -0
  711. /package/dist/chunks/{project-6prwharc.js → state-6prwharc.js} +0 -0
  712. /package/dist/chunks/{project-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{project-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{project-7m9af43g.js → state-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{project-822emrt2.js → state-822emrt2.js} +0 -0
  716. /package/dist/chunks/{project-84wd9syh.js → state-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{project-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{project-8n3pysct.js → state-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{project-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{project-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{project-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{project-a058387c.js → state-a058387c.js} +0 -0
  723. /package/dist/chunks/{project-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{project-af5trqkr.js → state-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{project-afrmfg78.js → state-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{project-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{project-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{project-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{project-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{project-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{project-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{project-d9fn303g.js → state-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{project-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{project-dajrwvna.js → state-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{project-dap0rakb.js → state-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{project-df08tz66.js → state-df08tz66.js} +0 -0
  737. /package/dist/chunks/{project-dy18nga0.js → state-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{project-e3qxr5gk.js → state-e3qxr5gk.js} +0 -0
  739. /package/dist/chunks/{project-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{project-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{project-ec1grn59.js → state-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{project-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{project-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{project-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{project-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{project-faypxj3z.js → state-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{project-fd410y7t.js → state-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{project-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{project-g86h250q.js → state-g86h250q.js} +0 -0
  750. /package/dist/chunks/{project-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{project-gftt206x.js → state-gftt206x.js} +0 -0
  752. /package/dist/chunks/{project-hcxmzztb.js → state-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{project-hk9envan.js → state-hk9envan.js} +0 -0
  754. /package/dist/chunks/{project-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{project-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{project-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{project-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{project-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{project-jze0r7bz.js → state-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{project-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{project-m18g726c.js → state-m18g726c.js} +0 -0
  762. /package/dist/chunks/{project-mp448xyj.js → state-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{project-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{project-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{project-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{project-njntx4h6.js → state-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{project-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{project-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{project-q74kybfr.js → state-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{project-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{project-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{project-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{project-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{project-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{project-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{project-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{project-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{project-ve7vex1e.js → state-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{project-w803qqfp.js → state-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{project-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{project-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{project-wjj7prxr.js → state-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{project-wtztk69x.js → state-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{project-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{project-x61499pn.js → state-x61499pn.js} +0 -0
  786. /package/dist/chunks/{project-y44na4kk.js → state-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{project-y8f7s663.js → state-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{project-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{project-ym463w8f.js → state-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{project-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{project-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service65
4
- } from "./project-83hm2hev.js";
3
+ Service70
4
+ } from "./state-err1h8pn.js";
5
5
  import {
6
6
  __export
7
- } from "./project-9rqn6x4v.js";
7
+ } from "./state-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin11,
12
+ Plugin: () => Plugin14,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin11 = define({
22
+ var Plugin14 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service65;
25
+ const config = yield* Service70;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin11 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin11, exports_warming };
99
+ export { Plugin14, exports_warming };
@@ -2,32 +2,32 @@ import {
2
2
  ephemeral2,
3
3
  Service84,
4
4
  node88
5
- } from "./project-s1hccf1w.js";
5
+ } from "./state-xcq2y651.js";
6
6
  import {
7
- Key4,
7
+ Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make21,
10
+ make20,
11
11
  diffByKey2
12
- } from "./project-9p9xqj3m.js";
12
+ } from "./state-e5dqjz6v.js";
13
13
  import {
14
14
  create3
15
- } from "./project-vd3b3yk9.js";
15
+ } from "./state-vd3b3yk9.js";
16
16
  import {
17
17
  __export
18
- } from "./project-9rqn6x4v.js";
18
+ } from "./state-9rqn6x4v.js";
19
19
 
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
22
22
  __export(exports_instruction_discovery, {
23
- Event: () => Event20,
23
+ Event: () => Event12,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
- Options: () => Options6,
27
- Service: () => Service81,
28
- configured: () => configured9,
29
- layer: () => layer25,
30
- node: () => node85
26
+ Options: () => Options4,
27
+ Service: () => Service62,
28
+ configured: () => configured5,
29
+ layer: () => layer21,
30
+ node: () => node65
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -38,18 +38,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
38
38
  }) {
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
- var key = Key4.make("core/instructions");
42
- var Event20 = {
41
+ var key = Key3.make("core/instructions");
42
+ var Event12 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
- var Options6 = Schema.Struct({
45
+ var Options4 = Schema.Struct({
46
46
  project: Schema.optional(Schema.Boolean),
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service81 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service62 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer25 = (options) => Layer.effect(Service81, Effect.gen(function* () {
52
+ var layer21 = (options) => Layer.effect(Service62, Effect.gen(function* () {
53
53
  const bus = yield* Service84;
54
54
  const state = create3({
55
55
  name: "instruction-discovery",
@@ -69,9 +69,9 @@ var layer25 = (options) => Layer.effect(Service81, Effect.gen(function* () {
69
69
  editor.available = false;
70
70
  }
71
71
  }),
72
- notify: () => bus.publish(Event20.Updated, {}).pipe(Effect.asVoid)
72
+ notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
- const source = (value) => make21({
74
+ const source = (value) => make20({
75
75
  key,
76
76
  codec: Schema.toCodecJson(Files),
77
77
  read: Effect.succeed(value),
@@ -87,7 +87,7 @@ var layer25 = (options) => Layer.effect(Service81, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service81.of({
90
+ return Service62.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -101,14 +101,14 @@ var layer25 = (options) => Layer.effect(Service81, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- function configured9(options) {
104
+ function configured5(options) {
105
105
  return makeLocationNode({
106
- service: Service81,
107
- layer: layer25(options),
106
+ service: Service62,
107
+ layer: layer21(options),
108
108
  deps: [node88]
109
109
  });
110
110
  }
111
- var node85 = configured9();
111
+ var node65 = configured5();
112
112
  function render(files) {
113
113
  return files.map((file) => `Instructions from: ${file.path}
114
114
  ${file.content}`).join(`
@@ -139,4 +139,4 @@ ${render([after])}`;
139
139
  `);
140
140
  }
141
141
 
142
- export { File2, Event20, Options6, Service81, layer25, configured9, node85, exports_instruction_discovery };
142
+ export { File2, Event12, Options4, Service62, layer21, configured5, node65, exports_instruction_discovery };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./project-2z1j29yd.js";
3
+ } from "./state-2z1j29yd.js";
4
4
  import {
5
- Service56
6
- } from "./project-s0kjfseb.js";
5
+ Service53
6
+ } from "./state-jgdcf8mk.js";
7
7
  import {
8
8
  MAX_MARKDOWN_BYTES2,
9
9
  convertHTMLToMarkdown2
10
- } from "./project-4vcrnpx2.js";
10
+ } from "./state-4vcrnpx2.js";
11
11
  import {
12
12
  collectBoundedResponseBody2
13
- } from "./project-3v8g72cx.js";
13
+ } from "./state-3v8g72cx.js";
14
14
  import {
15
15
  __export
16
- } from "./project-9rqn6x4v.js";
16
+ } from "./state-9rqn6x4v.js";
17
17
 
18
18
  // src/tool/plugin/webfetch.ts
19
19
  var exports_webfetch = {};
@@ -22,10 +22,10 @@ __export(exports_webfetch, {
22
22
  Input: () => Input6,
23
23
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
24
24
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
25
- Plugin: () => Plugin23,
25
+ Plugin: () => Plugin40,
26
26
  WebFetchTool: () => exports_webfetch,
27
27
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
28
- description: () => description4,
28
+ description: () => description3,
29
29
  extractTextFromHTML: () => extractTextFromHTML2,
30
30
  name: () => name6
31
31
  });
@@ -37,7 +37,7 @@ var name6 = "webfetch";
37
37
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
38
38
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
39
39
  var MAX_TIMEOUT_SECONDS2 = 120;
40
- var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
40
+ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
41
41
 
42
42
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
43
43
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
@@ -94,15 +94,15 @@ var convert = (content, contentType, format) => {
94
94
  return extractTextFromHTML2(content);
95
95
  return content;
96
96
  };
97
- var Plugin23 = {
97
+ var Plugin40 = {
98
98
  id: "opencode.tool.webfetch",
99
99
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
100
100
  const http = yield* HttpClient.HttpClient;
101
- const permission = yield* Service56;
101
+ const permission = yield* Service53;
102
102
  yield* ctx.tool.transform((editor) => editor.add({
103
103
  name: name6,
104
104
  options: { codemode: false },
105
- description: description4,
105
+ description: description3,
106
106
  input: Input6,
107
107
  output: Output,
108
108
  execute: (input, context) => Effect.gen(function* () {
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
169
169
  parser.end();
170
170
  return text.trim();
171
171
  }
172
- export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input6, Plugin23, extractTextFromHTML2, exports_webfetch };
172
+ export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input6, Plugin40, extractTextFromHTML2, exports_webfetch };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./project-p015t6z3.js";
3
+ } from "./state-p015t6z3.js";
4
4
  import {
5
5
  __export
6
- } from "./project-9rqn6x4v.js";
6
+ } from "./state-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: () => Service37,
11
+ Service: () => Service32,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer15,
13
+ layer: () => layer14,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node40
15
+ node: () => node35
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service32 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service37.of({ bind, close, closeAll });
370
+ return Service32.of({ bind, close, closeAll });
371
371
  }));
372
- var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node40 = makeGlobalNode({ service: Service37, layer: layer15, deps: [webSocketConstructor2] });
375
+ var node35 = makeGlobalNode({ service: Service32, layer: layer14, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service37, makeLayer2, layer15, node40, exports_model_transport };
377
+ export { Service32, makeLayer2, layer14, node35, exports_model_transport };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node57
5
- } from "./project-k4dxaq26.js";
4
+ node64
5
+ } from "./state-qzjk3zq0.js";
6
6
  import {
7
- Service71,
8
- node75
9
- } from "./project-nad4mkqt.js";
7
+ Service57,
8
+ node59
9
+ } from "./state-35y8wyjz.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./project-s0kjfseb.js";
12
+ } from "./state-jgdcf8mk.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./project-psxnrejk.js";
15
+ } from "./state-zsyhkwp4.js";
16
16
  import {
17
17
  Error2
18
- } from "./project-rva2q560.js";
18
+ } from "./state-phfzhb8b.js";
19
19
  import {
20
20
  get5
21
- } from "./project-3nnrz6f6.js";
21
+ } from "./state-3nnrz6f6.js";
22
22
  import {
23
- Service37,
24
- node40
25
- } from "./project-avt17yc9.js";
23
+ Service32,
24
+ node35
25
+ } from "./state-qdz8jb55.js";
26
26
  import {
27
27
  make15
28
- } from "./project-m37sd98t.js";
28
+ } from "./state-m37sd98t.js";
29
29
  import {
30
30
  toLLMMessages2
31
- } from "./project-grtakk98.js";
31
+ } from "./state-s5kcmw61.js";
32
32
  import {
33
33
  __export
34
- } from "./project-9rqn6x4v.js";
34
+ } from "./state-9rqn6x4v.js";
35
35
 
36
36
  // src/session/model-request.ts
37
37
  var exports_model_request = {};
38
38
  __export(exports_model_request, {
39
- Service: () => Service36,
39
+ Service: () => Service29,
40
40
  SessionModelRequest: () => exports_model_request,
41
41
  baseTranscript: () => baseTranscript2,
42
42
  boundImages: () => boundImages2,
43
- layer: () => layer14,
44
- node: () => node39,
43
+ layer: () => layer13,
44
+ node: () => node33,
45
45
  outputLimit: () => outputLimit2,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
@@ -158,11 +158,11 @@ var boundImages2 = (messages) => {
158
158
  });
159
159
  };
160
160
 
161
- class Service36 extends Context.Service()("@opencode/SessionModelRequest") {
161
+ class Service29 extends Context.Service()("@opencode/SessionModelRequest") {
162
162
  }
163
- var layer14 = Layer.effect(Service36, Effect.gen(function* () {
164
- const hooks = yield* Service71;
165
- const transport = yield* Service37;
163
+ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
164
+ const hooks = yield* Service57;
165
+ const transport = yield* Service32;
166
166
  const app = yield* Metadata2;
167
167
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
168
168
  const session = input.session;
@@ -264,17 +264,17 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
264
264
  };
265
265
  });
266
266
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
267
- return Service36.of({
267
+ return Service29.of({
268
268
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
269
269
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
270
270
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
271
271
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
272
272
  });
273
273
  }));
274
- var node39 = makeLocationNode({
275
- service: Service36,
276
- layer: layer14,
277
- deps: [node75, node40, node57]
274
+ var node33 = makeLocationNode({
275
+ service: Service29,
276
+ layer: layer13,
277
+ deps: [node59, node35, node64]
278
278
  });
279
279
 
280
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service36, layer14, node39, exports_model_request };
280
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service29, layer13, node33, exports_model_request };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info17
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info17 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info17 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info17, exports_command5 };
21
+ export { Info16, exports_command5 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured5,
10
+ configured: () => configured4,
11
11
  layer: () => layer20,
12
12
  make: () => make19,
13
- node: () => node57,
13
+ node: () => node64,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
@@ -29,7 +29,7 @@ function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
31
  var layer20 = (input) => Layer.succeed(Metadata2, make19(input));
32
- var configured5 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
33
- var node57 = configured5();
32
+ var configured4 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
33
+ var node64 = configured4();
34
34
 
35
- export { Metadata2, make19, useragent2, layer20, configured5, node57, exports_app };
35
+ export { Metadata2, make19, useragent2, layer20, configured4, node64, exports_app };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./project-s1hccf1w.js";
4
+ } from "./state-xcq2y651.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./project-bstexjd6.js";
11
+ } from "./state-bstexjd6.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./project-z5v4ffb3.js";
14
+ } from "./state-z5v4ffb3.js";
15
15
  import {
16
- Service59,
16
+ Service60,
17
17
  node62
18
- } from "./project-z0pkw490.js";
18
+ } from "./state-sg11w837.js";
19
19
  import {
20
20
  create3
21
- } from "./project-vd3b3yk9.js";
21
+ } from "./state-vd3b3yk9.js";
22
22
  import {
23
23
  __export
24
- } from "./project-9rqn6x4v.js";
24
+ } from "./state-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event7,
29
+ Event: () => Event11,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info9,
31
+ Info: () => Info14,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service45,
35
- Source: () => Source3,
36
- node: () => node47
34
+ Service: () => Service59,
35
+ Source: () => Source5,
36
+ node: () => node61
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event7 } from "@opencode/schema/reference";
42
+ import { Event as Event11 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info9 = Reference.Info;
45
+ var Source5 = Reference.Source;
46
+ var Info14 = Reference.Info;
47
47
 
48
- class Service45 extends Context.Service()("@opencode/Reference") {
48
+ class Service59 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service45, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service84;
53
- const cache = yield* Service59;
53
+ const cache = yield* Service60;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info9.make({ ...info, path: source.path })];
63
+ return [Info14.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info9.make({
75
+ Info14.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service45.of({
107
+ return Service59.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node47 = makeLocationNode({
116
- service: Service45,
115
+ var node61 = makeLocationNode({
116
+ service: Service59,
117
117
  layer,
118
118
  deps: [Global.node, node88, node62]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info9, Service45, node47, exports_reference2, Event7 };
121
+ export { LocalSource2, GitSource2, Source5, Info14, Service59, node61, exports_reference2, Event11 };
@@ -5,24 +5,24 @@ import {
5
5
  emptyPatch2,
6
6
  splitGitPatch2,
7
7
  chunksByFile2
8
- } from "./project-rb9dy4dg.js";
8
+ } from "./state-rb9dy4dg.js";
9
9
  import {
10
10
  gitExecutable2
11
- } from "./project-ef5x83kb.js";
11
+ } from "./state-ef5x83kb.js";
12
12
  import {
13
- Service77
14
- } from "./project-3rs19bb4.js";
13
+ Service82
14
+ } from "./state-dmq3ym5w.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./project-f29nb3rh.js";
17
+ } from "./state-v3ntmnn8.js";
18
18
  import {
19
19
  __export
20
- } from "./project-9rqn6x4v.js";
20
+ } from "./state-9rqn6x4v.js";
21
21
 
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
24
24
  __export(exports_git, {
25
- Plugin: () => Plugin3,
25
+ Plugin: () => Plugin2,
26
26
  VcsGitPlugin: () => exports_git
27
27
  });
28
28
  import { randomUUID } from "crypto";
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
33
33
  import { Effect } from "effect";
34
34
  import { ChildProcess } from "effect/process";
35
35
  import { AppProcess } from "@opencode/util/process";
36
- var Plugin3 = define({
36
+ var Plugin2 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
- const location = yield* Service77;
39
+ const location = yield* Service82;
40
40
  if (location.vcs && location.vcs.type !== "git")
41
41
  return;
42
42
  const processes = yield* AppProcess.Service;
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
553
553
  return yield* diffAgainstRef(ctx, ref, options);
554
554
  });
555
555
 
556
- export { Plugin3, exports_git };
556
+ export { Plugin2, exports_git };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};