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

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{reference-034tev2y.js → project-034tev2y.js} +2 -2
  8. package/dist/chunks/{reference-0m83bapc.js → project-0d7fk1v9.js} +5 -5
  9. package/dist/chunks/{reference-yx5z65v3.js → project-0ge19jyf.js} +13 -13
  10. package/dist/chunks/{reference-nazbq7w0.js → project-0qaw3rsr.js} +14 -14
  11. package/dist/chunks/{reference-tarnqw0m.js → project-0yqx85sf.js} +20 -20
  12. package/dist/chunks/{reference-dy4pv8et.js → project-0yrbxed6.js} +14 -14
  13. package/dist/chunks/{reference-ngd7ekm8.js → project-0zmsqe55.js} +7 -7
  14. package/dist/chunks/{reference-vq537ftf.js → project-12t1dx64.js} +25 -25
  15. package/dist/chunks/{reference-cmj7s95h.js → project-1awzgpvc.js} +74 -74
  16. package/dist/chunks/{reference-1ep2p91f.js → project-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{reference-jq4rj68g.js → project-1fqeg8az.js} +16 -16
  18. package/dist/chunks/{reference-xmpvkfqb.js → project-1q3jvbda.js} +3 -3
  19. package/dist/chunks/{reference-f8vd2a9b.js → project-1qc61ek6.js} +11 -11
  20. package/dist/chunks/{reference-1x2knyw4.js → project-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{reference-zvk4dyfv.js → project-1z530119.js} +17 -17
  22. package/dist/chunks/{reference-vbf812b9.js → project-1zw7gc13.js} +32 -32
  23. package/dist/chunks/{reference-ghb7106v.js → project-237j14t0.js} +18 -18
  24. package/dist/chunks/{reference-a6p3qmva.js → project-24ex7jtb.js} +86 -86
  25. package/dist/chunks/{reference-xffzfxwd.js → project-27bs79w9.js} +2 -2
  26. package/dist/chunks/project-2dkjcnxp.js +18 -0
  27. package/dist/chunks/{reference-2z1j29yd.js → project-2z1j29yd.js} +1 -1
  28. package/dist/chunks/{reference-v8e5qm2c.js → project-35a94sfp.js} +9 -9
  29. package/dist/chunks/{reference-p330xe03.js → project-3asb4mz5.js} +14 -14
  30. package/dist/chunks/{reference-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{reference-2rd3d0hp.js → project-3j2bx2e1.js} +11 -11
  32. package/dist/chunks/{reference-tmc7xdjs.js → project-3nnrz6f6.js} +4 -4
  33. package/dist/chunks/{reference-8taff695.js → project-3rs19bb4.js} +14 -14
  34. package/dist/chunks/{reference-2jq4ff38.js → project-3ryz99p0.js} +4 -4
  35. package/dist/chunks/{reference-avb4hb8j.js → project-3w089d6d.js} +27 -27
  36. package/dist/chunks/{reference-27va4m0r.js → project-40v8dpjy.js} +30 -30
  37. package/dist/chunks/{reference-5enarcya.js → project-40za9wsf.js} +6 -6
  38. package/dist/chunks/{reference-k3562rys.js → project-4d5zmrjg.js} +13 -13
  39. package/dist/chunks/{reference-4v008n1t.js → project-4v008n1t.js} +1 -1
  40. package/dist/chunks/{reference-n8d8y6qz.js → project-4wfnas2w.js} +12 -12
  41. package/dist/chunks/{reference-954vrfjz.js → project-4xr8w5a9.js} +11 -11
  42. package/dist/chunks/{reference-4xvmh7wp.js → project-4xvmh7wp.js} +3 -3
  43. package/dist/chunks/{reference-3kfn2j5q.js → project-5499276f.js} +6 -6
  44. package/dist/chunks/{reference-61g7nd3s.js → project-5hvygcnt.js} +10 -10
  45. package/dist/chunks/{reference-g9chkspz.js → project-5kvmfnk6.js} +7 -7
  46. package/dist/chunks/{reference-5m9w47nd.js → project-5m9w47nd.js} +1 -1
  47. package/dist/chunks/{reference-4arsphjq.js → project-5n01dcds.js} +59 -59
  48. package/dist/chunks/{reference-4shcznxh.js → project-5n9pkk4a.js} +11 -11
  49. package/dist/chunks/{reference-b6vsg801.js → project-5nnwax6m.js} +5 -5
  50. package/dist/chunks/{reference-acdmrrd1.js → project-5r72z9dp.js} +8 -8
  51. package/dist/chunks/{reference-zm25mbzg.js → project-5wfhjcjp.js} +10 -10
  52. package/dist/chunks/{reference-ce5fknq2.js → project-66r9f6z1.js} +5 -5
  53. package/dist/chunks/{reference-fgak986r.js → project-6dbzns9q.js} +18 -18
  54. package/dist/chunks/{reference-hjzm8qgk.js → project-6eanynha.js} +34 -34
  55. package/dist/chunks/{reference-6esdw8yj.js → project-6esdw8yj.js} +1 -1
  56. package/dist/chunks/{reference-q0wzr35k.js → project-6fcww07n.js} +30 -30
  57. package/dist/chunks/{reference-8k73trgp.js → project-6m3233am.js} +25 -25
  58. package/dist/chunks/{reference-6pjqjmy2.js → project-6pjqjmy2.js} +1 -1
  59. package/dist/chunks/{reference-ym0fp58v.js → project-6q8sqnyr.js} +14 -14
  60. package/dist/chunks/{reference-x3mp4vcj.js → project-6y263vp8.js} +5 -5
  61. package/dist/chunks/{reference-mpzxhqjk.js → project-7045vmc6.js} +20 -20
  62. package/dist/chunks/{reference-d8qd4w10.js → project-704d1ccs.js} +11 -11
  63. package/dist/chunks/{reference-0j8er3xh.js → project-739vedpf.js} +18 -18
  64. package/dist/chunks/{reference-bceb57s2.js → project-756mjj2v.js} +16 -16
  65. package/dist/chunks/{reference-76cb1hcw.js → project-76cb1hcw.js} +1 -1
  66. package/dist/chunks/{reference-j1kmhe03.js → project-76zwaa62.js} +35 -35
  67. package/dist/chunks/{reference-nah043kf.js → project-770pw0s1.js} +4 -4
  68. package/dist/chunks/{reference-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{reference-y5zyg2mm.js → project-7p97jbeh.js} +150 -150
  70. package/dist/chunks/{reference-7w2ypzdf.js → project-7w2ypzdf.js} +1 -1
  71. package/dist/chunks/{reference-9yyv8yy4.js → project-7x0wbv1r.js} +22 -22
  72. package/dist/chunks/{reference-c3yk3agv.js → project-83hm2hev.js} +48 -48
  73. package/dist/chunks/{reference-9fq5cvaf.js → project-84em95zf.js} +35 -35
  74. package/dist/chunks/{reference-2hpggya2.js → project-89jcpgd4.js} +1 -1
  75. package/dist/chunks/{reference-gxjyhf1s.js → project-8daav2af.js} +50 -50
  76. package/dist/chunks/{reference-4kfy9c2m.js → project-8e1dptnb.js} +32 -32
  77. package/dist/chunks/{reference-0jz5fbss.js → project-8s5m2r2h.js} +24 -24
  78. package/dist/chunks/{reference-54gv86a9.js → project-8tb7jz03.js} +8 -8
  79. package/dist/chunks/{reference-8wtp7s3z.js → project-8wtp7s3z.js} +1 -1
  80. package/dist/chunks/{reference-91rj84md.js → project-91rj84md.js} +1 -1
  81. package/dist/chunks/{reference-pvz0z9yn.js → project-97kra8sc.js} +27 -27
  82. package/dist/chunks/{reference-998yhzzq.js → project-998yhzzq.js} +3 -3
  83. package/dist/chunks/{reference-8p8nexw9.js → project-9gmhk2dr.js} +15 -15
  84. package/dist/chunks/{reference-jneg3k74.js → project-9p9xqj3m.js} +6 -6
  85. package/dist/chunks/{reference-5djjexeq.js → project-9q84888z.js} +1 -1
  86. package/dist/chunks/{reference-n61v90z4.js → project-9w7p9nvj.js} +39 -39
  87. package/dist/chunks/{reference-f9sbv1za.js → project-9zn1tp8t.js} +53 -53
  88. package/dist/chunks/{reference-2ww2ff7e.js → project-a7p6ajz7.js} +22 -22
  89. package/dist/chunks/{reference-d8t680bk.js → project-aay9q4a1.js} +4 -4
  90. package/dist/chunks/{reference-g04rf8w6.js → project-abz5va8s.js} +5 -5
  91. package/dist/chunks/{reference-yhkv4e77.js → project-amz5fvp1.js} +13 -13
  92. package/dist/chunks/{reference-8cj6s5zj.js → project-aqxp75b5.js} +26 -26
  93. package/dist/chunks/{reference-ztd79bjn.js → project-arr0esyr.js} +26 -26
  94. package/dist/chunks/{reference-39r9rzhd.js → project-avcx7cx1.js} +4 -4
  95. package/dist/chunks/{reference-zzh4dnpm.js → project-avrygwsy.js} +36 -36
  96. package/dist/chunks/{reference-n9e2wk5v.js → project-avt17yc9.js} +11 -11
  97. package/dist/chunks/{reference-snm2qmq7.js → project-aws0phmy.js} +20 -20
  98. package/dist/chunks/{reference-ayjs7tqn.js → project-ayjs7tqn.js} +2 -2
  99. package/dist/chunks/{reference-b0mv4wxm.js → project-b0mv4wxm.js} +2 -2
  100. package/dist/chunks/{reference-z9y71txf.js → project-b2naxwvt.js} +13 -13
  101. package/dist/chunks/{reference-dt1dewz5.js → project-bg8ynzhc.js} +14 -14
  102. package/dist/chunks/{reference-m8vnyr1s.js → project-bgn46r2r.js} +9 -9
  103. package/dist/chunks/{reference-bjhzkqyk.js → project-bjhzkqyk.js} +1 -1
  104. package/dist/chunks/{reference-6ayjbyaf.js → project-brgvyzq9.js} +3 -3
  105. package/dist/chunks/{reference-xd9cc171.js → project-bstexjd6.js} +5 -5
  106. package/dist/chunks/{reference-2nzqa2tq.js → project-bt69sbx0.js} +33 -33
  107. package/dist/chunks/{reference-ymb3jxsn.js → project-c618cpra.js} +27 -27
  108. package/dist/chunks/{reference-tasvem1v.js → project-c8666r4c.js} +6 -6
  109. package/dist/chunks/{reference-wjd1k730.js → project-ce3vjht6.js} +9 -9
  110. package/dist/chunks/{reference-w0jjrdy3.js → project-cky18ayb.js} +11 -11
  111. package/dist/chunks/{reference-3wn85t44.js → project-cqkh3ysm.js} +51 -51
  112. package/dist/chunks/{reference-1hyje1p9.js → project-csp9wjvb.js} +28 -28
  113. package/dist/chunks/{reference-7yj30c8s.js → project-cxk0zn9v.js} +15 -15
  114. package/dist/chunks/{reference-c9t2ty9q.js → project-d2887f8n.js} +4 -4
  115. package/dist/chunks/{reference-1yzxt8mn.js → project-d4d7sshf.js} +11 -11
  116. package/dist/chunks/{reference-d4v9tmah.js → project-d4v9tmah.js} +2 -2
  117. package/dist/chunks/{reference-kg4y9gc0.js → project-dkhtsk1k.js} +41 -41
  118. package/dist/chunks/{reference-dcqpnb0y.js → project-dkm5gnst.js} +7 -7
  119. package/dist/chunks/{reference-tnqzh63d.js → project-dkq45v8d.js} +8 -8
  120. package/dist/chunks/{reference-xhjrc3ew.js → project-dns528vs.js} +11 -11
  121. package/dist/chunks/{reference-armekrg6.js → project-dvbbs10e.js} +13 -13
  122. package/dist/chunks/{reference-v75htaq3.js → project-dwrjgvf7.js} +6 -6
  123. package/dist/chunks/{reference-qcypp6s5.js → project-e17k0hsv.js} +9 -9
  124. package/dist/chunks/{reference-dqgvvwe0.js → project-e2x7gzav.js} +7 -7
  125. package/dist/chunks/{reference-5qd3pb7m.js → project-e3qxr5gk.js} +2 -2
  126. package/dist/chunks/{reference-jh20twgm.js → project-e3t0s7gt.js} +7 -7
  127. package/dist/chunks/{reference-aygxzdnw.js → project-e4hjbd03.js} +37 -37
  128. package/dist/chunks/{reference-2f1cs0mb.js → project-e614209m.js} +2 -2
  129. package/dist/chunks/{reference-e834z07m.js → project-e834z07m.js} +1 -1
  130. package/dist/chunks/{reference-p6q4m3qk.js → project-eapz8twa.js} +43 -43
  131. package/dist/chunks/{reference-s04fhkcw.js → project-edejzvfw.js} +3 -3
  132. package/dist/chunks/{reference-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{reference-xapnwa6c.js → project-efv89yt1.js} +18 -18
  134. package/dist/chunks/{reference-p8x9nhrm.js → project-ennfa1r2.js} +9 -9
  135. package/dist/chunks/{reference-sv2aw4yq.js → project-ex2ghmgq.js} +5 -5
  136. package/dist/chunks/{reference-7bnde8q6.js → project-f00hk273.js} +21 -21
  137. package/dist/chunks/{reference-t7w9mbga.js → project-f14tnanx.js} +3 -3
  138. package/dist/chunks/{reference-f67dkjq4.js → project-f29nb3rh.js} +24 -24
  139. package/dist/chunks/{reference-9y617mgq.js → project-f607rzmc.js} +9 -9
  140. package/dist/chunks/{reference-fffv3p7h.js → project-fffv3p7h.js} +1 -1
  141. package/dist/chunks/{reference-whkc4da7.js → project-ftmc5s4e.js} +4 -4
  142. package/dist/chunks/{reference-q91r7fzh.js → project-fwte2t7r.js} +12 -12
  143. package/dist/chunks/{reference-gf5n06h2.js → project-fy0rchc1.js} +18 -18
  144. package/dist/chunks/{reference-wr3re1en.js → project-fznmdakp.js} +4 -4
  145. package/dist/chunks/{reference-ma8ws105.js → project-g2r9we7k.js} +15 -15
  146. package/dist/chunks/{reference-g5h9c0rr.js → project-g5h9c0rr.js} +2 -2
  147. package/dist/chunks/{reference-jcqm84fr.js → project-gcjdgkn2.js} +9 -9
  148. package/dist/chunks/{reference-mg6b5d3z.js → project-gn0ser4y.js} +13 -13
  149. package/dist/chunks/{reference-sfgqhxwc.js → project-grtakk98.js} +2 -2
  150. package/dist/chunks/{reference-ygvq11bn.js → project-h4a90mfm.js} +30 -30
  151. package/dist/chunks/{reference-t1s8rtrn.js → project-h98gx716.js} +17 -17
  152. package/dist/chunks/{reference-4ezxaq78.js → project-haqddkbz.js} +18 -18
  153. package/dist/chunks/{reference-3k8j9mz0.js → project-hg0cvh6j.js} +35 -35
  154. package/dist/chunks/{reference-3x8kzqev.js → project-hgaqcch1.js} +19 -19
  155. package/dist/chunks/{reference-v3htpbcn.js → project-hv9wbna8.js} +18 -18
  156. package/dist/chunks/{reference-zkeee37c.js → project-hwtw9fqj.js} +24 -24
  157. package/dist/chunks/{reference-ydsespw1.js → project-hy8c1z76.js} +8 -8
  158. package/dist/chunks/{reference-j113cymg.js → project-j113cymg.js} +1 -1
  159. package/dist/chunks/{reference-ry7kp2db.js → project-j43y3xqp.js} +8 -8
  160. package/dist/chunks/{reference-2fg4fkaj.js → project-j8b1q04x.js} +21 -21
  161. package/dist/chunks/{reference-xpve62cf.js → project-jns4gqy7.js} +4 -4
  162. package/dist/chunks/{reference-cmb5kt6z.js → project-jpf3p7ma.js} +38 -38
  163. package/dist/chunks/{reference-xmgbg1w1.js → project-jvrybeq8.js} +33 -33
  164. package/dist/chunks/{reference-n49wygsy.js → project-k4dxaq26.js} +11 -11
  165. package/dist/chunks/{reference-k814nvkf.js → project-k814nvkf.js} +1 -1
  166. package/dist/chunks/{reference-y45mmnaw.js → project-kn0rqzkh.js} +12 -12
  167. package/dist/chunks/{reference-297fdtb1.js → project-krhbb1d7.js} +11 -11
  168. package/dist/chunks/{reference-yrj74tq8.js → project-ktvnvra2.js} +14 -14
  169. package/dist/chunks/project-kw5jcj1m.js +26 -0
  170. package/dist/chunks/{reference-0dnn63dc.js → project-kx3xq9yx.js} +25 -25
  171. package/dist/chunks/{reference-m1714858.js → project-m1714858.js} +1 -1
  172. package/dist/chunks/{reference-eqmd2tfz.js → project-m37sd98t.js} +7 -7
  173. package/dist/chunks/{reference-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{reference-maspj1v3.js → project-maspj1v3.js} +1 -1
  175. package/dist/chunks/{reference-y5mjzf8n.js → project-me2jyc9e.js} +20 -20
  176. package/dist/chunks/{reference-jx68n2v7.js → project-mpq7vr27.js} +4 -4
  177. package/dist/chunks/{reference-4svb63hy.js → project-mrfk2h0w.js} +35 -35
  178. package/dist/chunks/{reference-b2sv8bpc.js → project-mtxm79q0.js} +5 -5
  179. package/dist/chunks/{reference-n0p0277s.js → project-n0p0277s.js} +1 -1
  180. package/dist/chunks/{reference-2t8maz45.js → project-n2n972dz.js} +31 -31
  181. package/dist/chunks/{reference-hxs3jcbh.js → project-n32atgs2.js} +3 -3
  182. package/dist/chunks/{reference-w7zjqt6n.js → project-n39q19g8.js} +4 -4
  183. package/dist/chunks/{reference-69w1p6yk.js → project-n810t9ja.js} +21 -21
  184. package/dist/chunks/{reference-31wms35x.js → project-nad4mkqt.js} +8 -8
  185. package/dist/chunks/{reference-6perv44c.js → project-nfmgtk0z.js} +14 -14
  186. package/dist/chunks/{reference-9v02bs0k.js → project-nnpg8337.js} +5 -5
  187. package/dist/chunks/{reference-xm8ddap8.js → project-nrf42yrn.js} +8 -8
  188. package/dist/chunks/{reference-n4fp6f8d.js → project-nrtw1kat.js} +6 -6
  189. package/dist/chunks/{reference-p015t6z3.js → project-p015t6z3.js} +2 -2
  190. package/dist/chunks/{reference-867cczcy.js → project-p9aq54br.js} +43 -43
  191. package/dist/chunks/{reference-sbegqkxp.js → project-p9jvgf3w.js} +6 -6
  192. package/dist/chunks/{reference-953xbrr3.js → project-pacbbjc0.js} +5 -5
  193. package/dist/chunks/{reference-scpsh37c.js → project-pbck7hjv.js} +15 -15
  194. package/dist/chunks/{reference-dh62xe4r.js → project-pc1v25hk.js} +3 -3
  195. package/dist/chunks/{reference-w05t22bp.js → project-pdn1jn4w.js} +23 -23
  196. package/dist/chunks/{reference-pknna89w.js → project-pknna89w.js} +1 -1
  197. package/dist/chunks/{reference-vjtgj0yq.js → project-pmebwkpn.js} +4 -4
  198. package/dist/chunks/{reference-r5majfkb.js → project-pr80rsms.js} +13 -13
  199. package/dist/chunks/{reference-qg6w8app.js → project-prwsxbm1.js} +13 -13
  200. package/dist/chunks/{reference-0ndnbbn0.js → project-psxnrejk.js} +11 -11
  201. package/dist/chunks/{reference-nsgvs482.js → project-pwk354ja.js} +14 -14
  202. package/dist/chunks/{reference-dgc6zgst.js → project-q5zq6djh.js} +5 -5
  203. package/dist/chunks/{reference-eq9cyptm.js → project-q6byt1vy.js} +49 -49
  204. package/dist/chunks/{reference-7vw4nys1.js → project-qaxt5sce.js} +4 -4
  205. package/dist/chunks/{reference-qjgzc4b4.js → project-qjgzc4b4.js} +1 -1
  206. package/dist/chunks/{reference-g5j8m9ve.js → project-qn7gt9tf.js} +16 -16
  207. package/dist/chunks/{reference-rw71ew34.js → project-qq1647kk.js} +4 -4
  208. package/dist/chunks/{reference-gbmf93tw.js → project-qq16f8az.js} +11 -11
  209. package/dist/chunks/{reference-ncg31dbj.js → project-qre60qsh.js} +22 -22
  210. package/dist/chunks/{reference-r0yr0wbs.js → project-r0yr0wbs.js} +1 -1
  211. package/dist/chunks/{reference-sy87a8wb.js → project-r3sapc0f.js} +29 -29
  212. package/dist/chunks/{reference-pscgdtph.js → project-r44hbkey.js} +8 -8
  213. package/dist/chunks/{reference-9szkry8c.js → project-r77dtqge.js} +7 -7
  214. package/dist/chunks/{reference-st4p3zbh.js → project-r7gv03kz.js} +35 -35
  215. package/dist/chunks/{reference-d8p3t516.js → project-r96ere88.js} +4 -4
  216. package/dist/chunks/{reference-vrjhymqn.js → project-rabtnz7e.js} +335 -335
  217. package/dist/chunks/{reference-rb9dy4dg.js → project-rb9dy4dg.js} +1 -1
  218. package/dist/chunks/{reference-y3wdcfp2.js → project-rdyeje7b.js} +4 -4
  219. package/dist/chunks/{reference-6sw2gn8c.js → project-rhzb5sgv.js} +43 -43
  220. package/dist/chunks/{reference-307hjk8t.js → project-rnvbgrrs.js} +13 -13
  221. package/dist/chunks/{reference-n3axp0yc.js → project-rr10qkmh.js} +14 -14
  222. package/dist/chunks/{reference-rt5dr6hb.js → project-rt5dr6hb.js} +1 -1
  223. package/dist/chunks/{reference-bhkt8v4f.js → project-rva2q560.js} +22 -22
  224. package/dist/chunks/{reference-5r9a3vh3.js → project-ryyfth3r.js} +31 -31
  225. package/dist/chunks/{reference-2n0ty02m.js → project-s0kjfseb.js} +56 -56
  226. package/dist/chunks/{reference-jvdzp9ms.js → project-s1hccf1w.js} +16 -16
  227. package/dist/chunks/{reference-vry4t0gh.js → project-s5kv2cn0.js} +4 -4
  228. package/dist/chunks/{reference-d2dx6a7h.js → project-s7kyse9r.js} +9 -9
  229. package/dist/chunks/project-sgz1ehav.js +257 -0
  230. package/dist/chunks/{reference-pfg6nwxg.js → project-sjbapc6a.js} +29 -29
  231. package/dist/chunks/{reference-sqjzf8x2.js → project-sqjzf8x2.js} +1 -1
  232. package/dist/chunks/{reference-kcty1ace.js → project-srg5xmqx.js} +18 -18
  233. package/dist/chunks/{reference-azarmemk.js → project-svf80yc0.js} +44 -44
  234. package/dist/chunks/{reference-v0aazhy0.js → project-sy1zgpba.js} +11 -11
  235. package/dist/chunks/{reference-2fem2qqn.js → project-t95shdbt.js} +5 -5
  236. package/dist/chunks/{reference-tczq8hjw.js → project-tczq8hjw.js} +1 -1
  237. package/dist/chunks/{reference-s6whas8k.js → project-tqwv9q63.js} +12 -12
  238. package/dist/chunks/{reference-tw8zr1ps.js → project-tw8zr1ps.js} +1 -1
  239. package/dist/chunks/{reference-twv2r8f4.js → project-twv2r8f4.js} +2 -2
  240. package/dist/chunks/{reference-xmry5mjf.js → project-tx1skdes.js} +22 -22
  241. package/dist/chunks/{reference-v2r1d0zg.js → project-v2r1d0zg.js} +1 -1
  242. package/dist/chunks/{reference-c8819f4b.js → project-v3bag9qh.js} +23 -23
  243. package/dist/chunks/{reference-svjkc6ey.js → project-v8axt5a9.js} +22 -22
  244. package/dist/chunks/{reference-wmwmhrgq.js → project-v8d3mx5z.js} +10 -10
  245. package/dist/chunks/{reference-5zrxpy3q.js → project-v9ez2kgh.js} +5 -5
  246. package/dist/chunks/{reference-vd3b3yk9.js → project-vd3b3yk9.js} +1 -1
  247. package/dist/chunks/{reference-8hky2e3x.js → project-vdpnyne0.js} +22 -22
  248. package/dist/chunks/{reference-x7sq7g0m.js → project-ve21yh3e.js} +27 -27
  249. package/dist/chunks/{reference-6nnfvszr.js → project-vecebjw1.js} +14 -14
  250. package/dist/chunks/{reference-veqvce7d.js → project-veqvce7d.js} +1 -1
  251. package/dist/chunks/{reference-q46y00v4.js → project-vgk61ywp.js} +9 -9
  252. package/dist/chunks/{reference-ztj6qd7j.js → project-vgw2z44b.js} +44 -44
  253. package/dist/chunks/{reference-q0tfq5t2.js → project-vpgvrtdm.js} +6 -6
  254. package/dist/chunks/{reference-1njtx4es.js → project-vx3jgdek.js} +3 -3
  255. package/dist/chunks/{reference-bqwdyg2t.js → project-vzmjdaw1.js} +9 -9
  256. package/dist/chunks/{reference-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{reference-wskggc81.js → project-w9zvebzj.js} +4 -4
  258. package/dist/chunks/{reference-wakvkjy4.js → project-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{reference-s9hxxgb8.js → project-war36t1a.js} +94 -94
  260. package/dist/chunks/{reference-wd87259q.js → project-wd87259q.js} +1 -1
  261. package/dist/chunks/{reference-zv31yxkj.js → project-wheq58gc.js} +3 -3
  262. package/dist/chunks/{reference-dewmw27y.js → project-ws4j3s0e.js} +4 -4
  263. package/dist/chunks/{reference-v919ewzn.js → project-wtzytv8z.js} +34 -34
  264. package/dist/chunks/{reference-6gym6y7m.js → project-ww91z9j1.js} +28 -28
  265. package/dist/chunks/{reference-kkntnx2q.js → project-wzr5z9r3.js} +3 -3
  266. package/dist/chunks/{reference-gfpxj5hf.js → project-x2djvzav.js} +8 -8
  267. package/dist/chunks/{reference-233jjx4c.js → project-xybskrbg.js} +17 -17
  268. package/dist/chunks/{reference-cqcd4edx.js → project-y5s18w2x.js} +13 -13
  269. package/dist/chunks/{reference-6pe7vn7p.js → project-y7y0w8zn.js} +18 -18
  270. package/dist/chunks/{reference-yb20nhc3.js → project-yb20nhc3.js} +1 -1
  271. package/dist/chunks/{reference-0r8en8zz.js → project-ycnyt74c.js} +10 -10
  272. package/dist/chunks/{reference-xvcq0a37.js → project-yd39ydqg.js} +12 -12
  273. package/dist/chunks/{reference-108gkaby.js → project-ymtfe6ys.js} +13 -13
  274. package/dist/chunks/{reference-wdn14rh7.js → project-ytb85x07.js} +34 -34
  275. package/dist/chunks/{reference-1711wf45.js → project-yv12yyqt.js} +12 -12
  276. package/dist/chunks/{reference-kndrgbcf.js → project-yvjpmm8d.js} +8 -8
  277. package/dist/chunks/{reference-c7s7jw20.js → project-ywn1tvqn.js} +27 -27
  278. package/dist/chunks/{reference-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{reference-yd0qn0bb.js → project-z0pkw490.js} +23 -23
  280. package/dist/chunks/{reference-0aabztd5.js → project-z111sdr0.js} +34 -34
  281. package/dist/chunks/{reference-z38nccrw.js → project-z38nccrw.js} +1 -1
  282. package/dist/chunks/{reference-0f0dnca3.js → project-z7r3dw85.js} +18 -18
  283. package/dist/chunks/{reference-9vyw5bnv.js → project-z7tg6gqn.js} +19 -19
  284. package/dist/chunks/{reference-14vqzes2.js → project-z928tvaj.js} +15 -15
  285. package/dist/chunks/{reference-snm52sr2.js → project-zgqyyky3.js} +18 -18
  286. package/dist/chunks/{reference-zkg84ctx.js → project-zkg84ctx.js} +1 -1
  287. package/dist/chunks/{reference-h5z6qxf3.js → project-zpc2hwcg.js} +22 -22
  288. package/dist/chunks/{reference-kw46yrg2.js → project-zq38syqk.js} +27 -27
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +11 -11
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +83 -83
  294. package/dist/config/discovery.js +84 -84
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +101 -101
  297. package/dist/config/plugin/agent.js +118 -118
  298. package/dist/config/plugin/command.js +214 -214
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +117 -117
  303. package/dist/config/plugin/image.js +116 -116
  304. package/dist/config/plugin/instruction.js +116 -116
  305. package/dist/config/plugin/location-watcher.js +118 -118
  306. package/dist/config/plugin/mcp.js +125 -125
  307. package/dist/config/plugin/policy.js +117 -117
  308. package/dist/config/plugin/provider.js +116 -116
  309. package/dist/config/plugin/reference.js +118 -118
  310. package/dist/config/plugin/shell.js +118 -118
  311. package/dist/config/plugin/skill-file.js +104 -104
  312. package/dist/config/plugin/skill-scan.js +3 -3
  313. package/dist/config/plugin/skill.js +138 -138
  314. package/dist/config/plugin/snapshot.js +116 -116
  315. package/dist/config/plugin/source.js +119 -119
  316. package/dist/config/plugin/tool-output.js +117 -117
  317. package/dist/config/plugin/websearch.js +117 -117
  318. package/dist/config/plugin/worktree.js +118 -118
  319. package/dist/config/variable.js +1 -1
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +119 -119
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +83 -83
  324. package/dist/database/database.js +74 -74
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  390. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  391. package/dist/database/migration.gen.js +51 -51
  392. package/dist/database/migration.js +53 -53
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +97 -97
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +95 -95
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +97 -97
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +3 -3
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +76 -76
  416. package/dist/file-access.js +106 -106
  417. package/dist/file-mutation.js +96 -96
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +97 -97
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +9 -9
  429. package/dist/filesystem.js +98 -98
  430. package/dist/form.js +86 -86
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +85 -85
  433. package/dist/generate.js +107 -107
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +93 -93
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +361 -361
  458. package/dist/instruction-discovery.js +86 -86
  459. package/dist/instructions/builtins.js +89 -89
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +75 -75
  466. package/dist/location-activity.js +159 -159
  467. package/dist/location-lifecycle.js +109 -109
  468. package/dist/location-service-map.js +88 -88
  469. package/dist/location-services.js +358 -358
  470. package/dist/location.js +87 -87
  471. package/dist/managed-policy.js +8 -8
  472. package/dist/mcp/client.js +93 -93
  473. package/dist/mcp/index.js +111 -111
  474. package/dist/mcp/instructions.js +140 -140
  475. package/dist/mcp/oauth.js +80 -80
  476. package/dist/mcp/socket-client.js +1 -1
  477. package/dist/mcp/stdio.js +92 -92
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +93 -93
  480. package/dist/model-resolver.js +101 -101
  481. package/dist/model-retry.js +1 -1
  482. package/dist/model.js +104 -104
  483. package/dist/models-dev.js +105 -105
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +84 -84
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +119 -119
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +92 -92
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +77 -77
  493. package/dist/plugin/agent.js +78 -78
  494. package/dist/plugin/command.js +104 -104
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +333 -333
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +98 -98
  502. package/dist/plugin/module.js +117 -117
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +104 -104
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  507. package/dist/plugin/provider/azure.js +116 -116
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +116 -116
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +112 -112
  514. package/dist/plugin/provider/databricks.js +1 -1
  515. package/dist/plugin/provider/digitalocean.js +95 -95
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/github-copilot.js +97 -97
  519. package/dist/plugin/provider/gitlab.js +95 -95
  520. package/dist/plugin/provider/google-vertex.js +113 -113
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +80 -80
  523. package/dist/plugin/provider/lmstudio.js +125 -125
  524. package/dist/plugin/provider/local.js +122 -122
  525. package/dist/plugin/provider/modal.js +94 -94
  526. package/dist/plugin/provider/neon.js +1 -1
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +125 -125
  529. package/dist/plugin/provider/openai-context-caps.js +92 -92
  530. package/dist/plugin/provider/openai.js +118 -118
  531. package/dist/plugin/provider/opencode.js +103 -103
  532. package/dist/plugin/provider/openrouter.js +93 -93
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +81 -81
  535. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  536. package/dist/plugin/provider/sap-ai-core.js +93 -93
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  539. package/dist/plugin/provider/vercel.js +92 -92
  540. package/dist/plugin/provider/vllm.js +125 -125
  541. package/dist/plugin/provider/xai.js +93 -93
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +171 -171
  544. package/dist/plugin/sdk.js +78 -78
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +134 -134
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +350 -350
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +88 -88
  552. package/dist/plugin/vcs/hg.js +88 -88
  553. package/dist/plugin/verbosity.js +95 -95
  554. package/dist/plugin/warming.js +114 -114
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +229 -229
  563. package/dist/project/schema.js +6 -6
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +90 -90
  566. package/dist/provider.js +103 -103
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +97 -97
  570. package/dist/reference/instructions.js +91 -91
  571. package/dist/reference.js +93 -93
  572. package/dist/repository-cache.js +83 -83
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +99 -99
  576. package/dist/rpc.js +88 -88
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +3 -3
  579. package/dist/session/command.js +76 -76
  580. package/dist/session/compaction.js +138 -138
  581. package/dist/session/context.js +162 -162
  582. package/dist/session/diff.js +90 -90
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +224 -224
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +164 -164
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +95 -95
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +81 -81
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +99 -99
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +122 -122
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +132 -132
  600. package/dist/session/projector.js +91 -91
  601. package/dist/session/prompt.js +107 -107
  602. package/dist/session/recent-text.js +1 -1
  603. package/dist/session/revert.js +96 -96
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +101 -101
  609. package/dist/session/runner/publish-llm-event.js +116 -116
  610. package/dist/session/runner/retry.js +5 -5
  611. package/dist/session/runner/step.js +128 -128
  612. package/dist/session/runner/to-llm-message.js +14 -14
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +163 -163
  615. package/dist/session/shell.js +130 -130
  616. package/dist/session/skill.js +107 -107
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +77 -77
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +212 -212
  622. package/dist/session/system-prompt.js +5 -5
  623. package/dist/session/title.js +166 -166
  624. package/dist/session/to-session-error.js +114 -114
  625. package/dist/session/transfer.js +223 -223
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +216 -216
  628. package/dist/shell/parse.js +8 -8
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +9 -9
  632. package/dist/shell.js +132 -132
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +109 -109
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +139 -139
  641. package/dist/tool/plugin/edit.js +122 -122
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +126 -126
  644. package/dist/tool/plugin/grep.js +126 -126
  645. package/dist/tool/plugin/mcp-resource.js +126 -126
  646. package/dist/tool/plugin/opencode.js +111 -111
  647. package/dist/tool/plugin/patch.js +124 -124
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +127 -127
  650. package/dist/tool/plugin/shell.js +213 -213
  651. package/dist/tool/plugin/skill.js +115 -115
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/todo.js +134 -134
  654. package/dist/tool/plugin/webfetch.js +113 -113
  655. package/dist/tool/plugin/websearch.js +116 -116
  656. package/dist/tool/plugin/write.js +124 -124
  657. package/dist/tool/read-filesystem.js +102 -102
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +7 -7
  660. package/dist/tool.js +12 -12
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +93 -93
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +90 -90
  680. package/dist/websearch.js +76 -76
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +81 -81
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +8 -8
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +94 -94
  691. package/package.json +8 -8
  692. package/dist/chunks/reference-07cvc9wn.js +0 -257
  693. package/dist/chunks/reference-a610t88q.js +0 -18
  694. package/dist/chunks/reference-ffm6r77t.js +0 -26
  695. /package/dist/chunks/{reference-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{reference-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{reference-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{reference-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{reference-24dcb14g.js → project-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{reference-2710q6r3.js → project-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{reference-2bv980vf.js → project-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{reference-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{reference-359p4xyc.js → project-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{reference-3asan66x.js → project-3asan66x.js} +0 -0
  705. /package/dist/chunks/{reference-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{reference-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{reference-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{reference-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{reference-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{reference-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{reference-53557ph1.js → project-53557ph1.js} +0 -0
  712. /package/dist/chunks/{reference-550bvhaj.js → project-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{reference-5fjb7ams.js → project-5fjb7ams.js} +0 -0
  714. /package/dist/chunks/{reference-6prwharc.js → project-6prwharc.js} +0 -0
  715. /package/dist/chunks/{reference-6q2bdcd1.js → project-6q2bdcd1.js} +0 -0
  716. /package/dist/chunks/{reference-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{reference-7m9af43g.js → project-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{reference-822emrt2.js → project-822emrt2.js} +0 -0
  719. /package/dist/chunks/{reference-84wd9syh.js → project-84wd9syh.js} +0 -0
  720. /package/dist/chunks/{reference-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{reference-8n3pysct.js → project-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{reference-8wj87zfr.js → project-8wj87zfr.js} +0 -0
  723. /package/dist/chunks/{reference-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{reference-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{reference-a058387c.js → project-a058387c.js} +0 -0
  726. /package/dist/chunks/{reference-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{reference-af5trqkr.js → project-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{reference-afrmfg78.js → project-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{reference-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{reference-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{reference-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{reference-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{reference-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{reference-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{reference-d9fn303g.js → project-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{reference-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{reference-dajrwvna.js → project-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{reference-dap0rakb.js → project-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{reference-df08tz66.js → project-df08tz66.js} +0 -0
  740. /package/dist/chunks/{reference-dy18nga0.js → project-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{reference-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{reference-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{reference-ec1grn59.js → project-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{reference-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{reference-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{reference-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{reference-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{reference-faypxj3z.js → project-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{reference-fd410y7t.js → project-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{reference-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{reference-g86h250q.js → project-g86h250q.js} +0 -0
  752. /package/dist/chunks/{reference-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{reference-gftt206x.js → project-gftt206x.js} +0 -0
  754. /package/dist/chunks/{reference-hcxmzztb.js → project-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{reference-hk9envan.js → project-hk9envan.js} +0 -0
  756. /package/dist/chunks/{reference-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{reference-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{reference-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{reference-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{reference-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{reference-jze0r7bz.js → project-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{reference-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{reference-m18g726c.js → project-m18g726c.js} +0 -0
  764. /package/dist/chunks/{reference-mp448xyj.js → project-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{reference-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{reference-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{reference-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{reference-njntx4h6.js → project-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{reference-pkyv6v7h.js → project-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{reference-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{reference-q74kybfr.js → project-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{reference-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{reference-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{reference-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{reference-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{reference-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{reference-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{reference-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{reference-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{reference-ve7vex1e.js → project-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{reference-w803qqfp.js → project-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{reference-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{reference-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{reference-wjj7prxr.js → project-wjj7prxr.js} +0 -0
  785. /package/dist/chunks/{reference-wtztk69x.js → project-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{reference-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{reference-x61499pn.js → project-x61499pn.js} +0 -0
  788. /package/dist/chunks/{reference-y44na4kk.js → project-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{reference-y8f7s663.js → project-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{reference-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{reference-ym463w8f.js → project-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{reference-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
  793. /package/dist/chunks/{reference-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./reference-jvdzp9ms.js";
2
+ Service84,
3
+ node88
4
+ } from "./project-s1hccf1w.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./reference-vd3b3yk9.js";
8
+ } from "./project-vd3b3yk9.js";
9
9
  import {
10
10
  key2
11
- } from "./reference-bjhzkqyk.js";
11
+ } from "./project-bjhzkqyk.js";
12
12
  import {
13
13
  ID14,
14
- Service78,
15
- node82,
16
- Event17
17
- } from "./reference-c7s7jw20.js";
14
+ Service75,
15
+ node79,
16
+ Event16
17
+ } from "./project-ywn1tvqn.js";
18
18
  import {
19
- Service81,
20
- node85
21
- } from "./reference-8taff695.js";
19
+ Service77,
20
+ node81
21
+ } from "./project-3rs19bb4.js";
22
22
  import {
23
23
  __export
24
- } from "./reference-9rqn6x4v.js";
24
+ } from "./project-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
27
  var exports_provider3 = {};
@@ -30,13 +30,13 @@ __export(exports_provider3, {
30
30
  Compaction: () => Compaction3,
31
31
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
32
32
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
33
- Event: () => Event13,
34
- ID: () => ID9,
35
- Info: () => Info17,
33
+ Event: () => Event15,
34
+ ID: () => ID13,
35
+ Info: () => Info22,
36
36
  LoadError: () => LoadError3,
37
37
  Provider: () => exports_provider3,
38
- Request: () => Request2,
39
- Service: () => Service65,
38
+ Request: () => Request3,
39
+ Service: () => Service74,
40
40
  Settings: () => Settings2,
41
41
  Transport: () => Transport2,
42
42
  aisdk: () => aisdk2,
@@ -48,7 +48,7 @@ __export(exports_provider3, {
48
48
  mergeOverlay: () => mergeOverlay2,
49
49
  modelSettings: () => modelSettings2,
50
50
  nativeSettings: () => nativeSettings2,
51
- node: () => node69,
51
+ node: () => node78,
52
52
  packageName: () => packageName2,
53
53
  timeout: () => timeout2,
54
54
  timeouts: () => timeouts2
@@ -323,8 +323,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
323
323
  var decode = Schema.decodeUnknownSync(Legacy);
324
324
 
325
325
  // src/provider.ts
326
- import { Event as Event13 } from "@opencode/schema/provider";
327
- var ID9 = Provider.ID;
326
+ import { Event as Event15 } from "@opencode/schema/provider";
327
+ var ID13 = Provider.ID;
328
328
  var AISDK_PREFIX2 = "aisdk:";
329
329
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
330
330
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -534,13 +534,13 @@ function mergeHeaders2(base, overlay) {
534
534
  return result;
535
535
  }, new Map).values());
536
536
  }
537
- var Request2 = Provider.Request;
537
+ var Request3 = Provider.Request;
538
538
  var Compaction3 = Provider.Compaction;
539
539
  var Transport2 = Provider.Transport;
540
540
  var Settings2 = Provider.Settings;
541
- var Info17 = Provider.Info;
541
+ var Info22 = Provider.Info;
542
542
 
543
- class Service65 extends Context.Service()("@opencode/Provider") {
543
+ class Service74 extends Context.Service()("@opencode/Provider") {
544
544
  }
545
545
  var definitions = new WeakMap;
546
546
  function index(providerID, models) {
@@ -553,10 +553,10 @@ function index(providerID, models) {
553
553
  definitions.set(models, indexes);
554
554
  return result;
555
555
  }
556
- var layer = Layer.effect(Service65, Effect2.gen(function* () {
557
- const bus = yield* Service85;
558
- const integrations = yield* Service78;
559
- const location = yield* Service81;
556
+ var layer = Layer.effect(Service74, Effect2.gen(function* () {
557
+ const bus = yield* Service84;
558
+ const integrations = yield* Service75;
559
+ const location = yield* Service77;
560
560
  const state = create3({
561
561
  name: "provider",
562
562
  initial: () => new Map,
@@ -567,7 +567,7 @@ var layer = Layer.effect(Service65, Effect2.gen(function* () {
567
567
  const current = records.get(id);
568
568
  if (current)
569
569
  return current;
570
- const added = { provider: Info17.empty(id), models: new Map };
570
+ const added = { provider: Info22.empty(id), models: new Map };
571
571
  records.set(id, added);
572
572
  maps.add(added.models);
573
573
  return added;
@@ -674,8 +674,8 @@ var layer = Layer.effect(Service65, Effect2.gen(function* () {
674
674
  location: { directory: location.directory, workspaceID: location.workspaceID }
675
675
  });
676
676
  });
677
- yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
- return Service65.of({
677
+ yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
+ return Service74.of({
679
679
  transform: state.transform,
680
680
  reload: state.reload,
681
681
  get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -684,7 +684,7 @@ var layer = Layer.effect(Service65, Effect2.gen(function* () {
684
684
  snapshot
685
685
  });
686
686
  }));
687
- var node69 = makeLocationNode({ service: Service65, layer, deps: [node89, node82, node85] });
687
+ var node78 = makeLocationNode({ service: Service74, layer, deps: [node88, node79, node81] });
688
688
  var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
689
689
  const module = yield* Effect2.tryPromise({
690
690
  try: () => {
@@ -706,4 +706,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
706
706
  return module;
707
707
  });
708
708
 
709
- export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info17, Service65, node69, exports_provider3, Event13 };
709
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service74, node78, exports_provider3, Event15 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./reference-jvdzp9ms.js";
2
+ Service84,
3
+ node88
4
+ } from "./project-s1hccf1w.js";
5
5
  import {
6
6
  __export
7
- } from "./reference-9rqn6x4v.js";
7
+ } from "./project-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event18,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID18,
20
- Info: () => Info29,
19
+ ID: () => ID16,
20
+ Info: () => Info27,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError12,
23
+ NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service84,
25
+ Service: () => Service78,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer27,
29
- node: () => node88,
28
+ layer: () => layer24,
29
+ node: () => node82,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event20 } from "@opencode/schema/form";
36
+ import { Event as Event18 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID18 = Form.ID;
39
- var Info29 = Form.Info;
38
+ var ID16 = Form.ID;
39
+ var Info27 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID18
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID16
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID18
56
+ id: ID16
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID18
64
+ id: ID16
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID18,
72
+ id: ID16,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service84 extends Context.Service()("@opencode/Form") {
82
+ class Service78 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service84, Effect.gen(function* () {
85
- const bus = yield* Service85;
84
+ var layer24 = Layer.effect(Service78, Effect.gen(function* () {
85
+ const bus = yield* Service84;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID18.create();
93
+ const id = input.id ?? ID16.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service84, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service84.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service78.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node88 = makeLocationNode({ service: Service84, layer: layer27, deps: [node89] });
167
+ var node82 = makeLocationNode({ service: Service78, layer: layer24, deps: [node88] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID18, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service84, layer27, node88, validateAnswer2, validateFields2, exports_form, Event20 };
319
+ export { ID16, Info27, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer24, node82, validateAnswer2, validateFields2, exports_form, Event18 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  policy3
3
- } from "./reference-n0p0277s.js";
3
+ } from "./project-n0p0277s.js";
4
4
  import {
5
5
  SessionEvent2
6
- } from "./reference-ec1grn59.js";
6
+ } from "./project-ec1grn59.js";
7
7
  import {
8
8
  __export
9
- } from "./reference-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make10,
16
+ make: () => make9,
17
17
  policy: () => policy2
18
18
  });
19
19
  import { isRetryable as isRetryable2 } from "@opencode/ai";
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
39
39
  return { retry: true, attempt: next.attempt, delay: normalized };
40
40
  });
41
41
  });
42
- var make10 = (bus, sessionID) => Effect.gen(function* () {
42
+ var make9 = (bus, sessionID) => Effect.gen(function* () {
43
43
  const decide = yield* policy2(sessionID);
44
44
  const wait = (input) => Effect.gen(function* () {
45
45
  const scheduled = yield* Clock.currentTimeMillis;
@@ -56,4 +56,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
56
56
  return { decide, wait };
57
57
  });
58
58
 
59
- export { isRetryable2, policy2, make10, exports_retry };
59
+ export { isRetryable2, policy2, make9, exports_retry };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./reference-rb9dy4dg.js";
10
+ } from "./project-rb9dy4dg.js";
11
11
  import {
12
- Service81
13
- } from "./reference-8taff695.js";
12
+ Service77
13
+ } from "./project-3rs19bb4.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./reference-f67dkjq4.js";
16
+ } from "./project-f29nb3rh.js";
17
17
  import {
18
18
  __export
19
- } from "./reference-9rqn6x4v.js";
19
+ } from "./project-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin29,
24
+ Plugin: () => Plugin2,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin29 = define({
33
+ var Plugin2 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service81;
36
+ const location = yield* Service77;
37
37
  if (location.vcs && location.vcs.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin29, exports_hg };
201
+ export { Plugin2, exports_hg };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./reference-tczq8hjw.js";
3
+ } from "./project-tczq8hjw.js";
4
4
  import {
5
5
  create3
6
- } from "./reference-vd3b3yk9.js";
6
+ } from "./project-vd3b3yk9.js";
7
7
  import {
8
8
  __export
9
- } from "./reference-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service61,
18
+ Service: () => Service70,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node65
21
+ node: () => node74
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service61 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service70 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service61, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
121
121
  yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
122
122
  return file;
123
123
  });
124
- return Service61.of({
124
+ return Service70.of({
125
125
  transform: state.transform,
126
126
  reload: state.reload,
127
127
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node65 = makeLocationNode({
143
- service: Service61,
142
+ var node74 = makeLocationNode({
143
+ service: Service70,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service61, node65, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service70, node74, exports_tool_output2 };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./reference-jvdzp9ms.js";
2
+ Service84,
3
+ node88
4
+ } from "./project-s1hccf1w.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./reference-8taff695.js";
6
+ Service77,
7
+ node81
8
+ } from "./project-3rs19bb4.js";
9
9
  import {
10
- Service58,
11
- node60
12
- } from "./reference-zkeee37c.js";
10
+ Service67,
11
+ node70
12
+ } from "./project-hwtw9fqj.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./reference-tczq8hjw.js";
15
+ } from "./project-tczq8hjw.js";
16
16
  import {
17
- Service60,
17
+ Service83,
18
18
  args2,
19
- node63
20
- } from "./reference-armekrg6.js";
19
+ node87
20
+ } from "./project-dvbbs10e.js";
21
21
  import {
22
- Service73,
23
- node77
24
- } from "./reference-31wms35x.js";
22
+ Service71,
23
+ node75
24
+ } from "./project-nad4mkqt.js";
25
25
  import {
26
- Service51,
27
- node53
28
- } from "./reference-ry7kp2db.js";
26
+ Service64,
27
+ node67
28
+ } from "./project-j43y3xqp.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./reference-1njtx4es.js";
31
+ } from "./project-vx3jgdek.js";
32
32
  import {
33
33
  latest2,
34
- Service52,
35
- node54
36
- } from "./reference-c3yk3agv.js";
34
+ Service65,
35
+ node68
36
+ } from "./project-83hm2hev.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./reference-w0jjrdy3.js";
40
+ } from "./project-cky18ayb.js";
41
41
  import {
42
42
  __export
43
- } from "./reference-9rqn6x4v.js";
43
+ } from "./project-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError7,
49
+ NotFoundError: () => NotFoundError9,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service50,
51
+ Service: () => Service63,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node52
54
+ node: () => node66
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service50 extends Context.Service()("@opencode/Shell") {
74
+ class Service63 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service50, Effect.gen(function* () {
91
- const bus = yield* Service85;
92
- const location = yield* Service81;
90
+ var layer = () => Layer.effect(Service63, Effect.gen(function* () {
91
+ const bus = yield* Service84;
92
+ const location = yield* Service77;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service60;
95
- const environment = yield* Service58;
96
- const hooks = yield* Service73;
97
- const environments = yield* Service51;
98
- const config = yield* Service52;
94
+ const shell = yield* Service83;
95
+ const environment = yield* Service67;
96
+ const hooks = yield* Service71;
97
+ const environments = yield* Service64;
98
+ const config = yield* Service65;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError7({ id });
119
+ return yield* new NotFoundError9({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError7({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError9({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  if (command.info.status === "running")
135
135
  yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
336
336
  const command = yield* Deferred.await(ready);
337
337
  return command.info;
338
338
  });
339
- return Service50.of({ create, list, get, wait, result, timeout, output, remove });
339
+ return Service63.of({ create, list, get, wait, result, timeout, output, remove });
340
340
  }));
341
- var node52 = makeLocationNode({
342
- service: Service50,
341
+ var node66 = makeLocationNode({
342
+ service: Service63,
343
343
  layer: layer(),
344
344
  deps: [
345
- node89,
346
- node85,
345
+ node88,
346
+ node81,
347
347
  Global.node,
348
- node63,
349
- node60,
350
- node77,
351
- node53,
352
- node54,
348
+ node87,
349
+ node70,
350
+ node75,
351
+ node67,
352
+ node68,
353
353
  cleanupNode
354
354
  ]
355
355
  });
356
356
 
357
- export { NotFoundError7, RETENTION2, DIRECTORY2, Service50, cleanup2, node52, exports_shell4 };
357
+ export { NotFoundError9, RETENTION2, DIRECTORY2, Service63, cleanup2, node66, exports_shell4 };