@opencode/core 0.0.0-dev-20215 → 0.0.0-dev-20217

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{worktree-gnhsmmqn.js → generate-01x1ys4d.js} +6 -6
  8. package/dist/chunks/{worktree-1chzq234.js → generate-05g83p89.js} +5 -5
  9. package/dist/chunks/{worktree-vx8g7p8m.js → generate-07770t2t.js} +8 -8
  10. package/dist/chunks/{worktree-5xv65hkg.js → generate-07xv2kp7.js} +30 -30
  11. package/dist/chunks/{worktree-bng40jb9.js → generate-0ddzsve8.js} +9 -9
  12. package/dist/chunks/generate-0mesazry.js +4 -0
  13. package/dist/chunks/{worktree-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{worktree-yskbjwxr.js → generate-0srm5d79.js} +25 -25
  15. package/dist/chunks/{worktree-0j68vngr.js → generate-12d20hvf.js} +10 -10
  16. package/dist/chunks/{worktree-0bdrcw2s.js → generate-13dh974y.js} +2 -2
  17. package/dist/chunks/{worktree-3t7mm76h.js → generate-18r2kxzz.js} +20 -20
  18. package/dist/chunks/{worktree-r8xr0va3.js → generate-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{worktree-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{worktree-fferps3m.js → generate-1e2chcff.js} +20 -20
  21. package/dist/chunks/{worktree-d216944b.js → generate-1g7epwpd.js} +4 -4
  22. package/dist/chunks/{worktree-21r38tys.js → generate-21r38tys.js} +1 -1
  23. package/dist/chunks/{worktree-2402vzrj.js → generate-2402vzrj.js} +1 -1
  24. package/dist/chunks/{worktree-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{worktree-6f5meky0.js → generate-2ba3d3jd.js} +42 -42
  26. package/dist/chunks/{worktree-4nhngmcq.js → generate-2fdjjf2d.js} +29 -29
  27. package/dist/chunks/{worktree-3e18wkss.js → generate-2twqppr1.js} +27 -27
  28. package/dist/chunks/{worktree-7t5fpg5d.js → generate-2ya16xyf.js} +10 -10
  29. package/dist/chunks/{worktree-0r0ksm42.js → generate-311tnbd3.js} +16 -16
  30. package/dist/chunks/{worktree-eyz64kwr.js → generate-32ymn5e1.js} +6 -6
  31. package/dist/chunks/{worktree-caszb10r.js → generate-33tnhc2v.js} +24 -24
  32. package/dist/chunks/{worktree-psf552px.js → generate-3ezsjsrq.js} +22 -22
  33. package/dist/chunks/{worktree-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{worktree-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{worktree-fex7j0m5.js → generate-3k1dm8q8.js} +11 -11
  36. package/dist/chunks/{worktree-72mty36f.js → generate-3rcsyed8.js} +11 -11
  37. package/dist/chunks/{worktree-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{worktree-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{worktree-92zh7pxv.js → generate-3znwyx7d.js} +11 -11
  40. package/dist/chunks/{worktree-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{worktree-0bfcnrg1.js → generate-427t97hr.js} +1 -1
  42. package/dist/chunks/{worktree-vc7dggtw.js → generate-43m90sy1.js} +20 -20
  43. package/dist/chunks/{worktree-5xhdg7n0.js → generate-43vx0ncx.js} +20 -20
  44. package/dist/chunks/{worktree-01nwxe82.js → generate-450mh6qg.js} +11 -11
  45. package/dist/chunks/{worktree-jz5sxy2v.js → generate-4541pte3.js} +6 -6
  46. package/dist/chunks/{worktree-7sxxv0k9.js → generate-4b4retmw.js} +11 -11
  47. package/dist/chunks/{worktree-n8zk10z2.js → generate-4k8ah3ry.js} +16 -16
  48. package/dist/chunks/{worktree-gx48bf3k.js → generate-4mfjhpc7.js} +8 -8
  49. package/dist/chunks/{worktree-51kfgev1.js → generate-4p1vpwjc.js} +13 -13
  50. package/dist/chunks/{worktree-a4p2e6yr.js → generate-4pkwzc2k.js} +6 -6
  51. package/dist/chunks/{worktree-hxghybcg.js → generate-4pm1yn44.js} +6 -6
  52. package/dist/chunks/generate-4z3x0xya.js +252 -0
  53. package/dist/chunks/{worktree-0v5qhdm7.js → generate-50ydhzxp.js} +40 -40
  54. package/dist/chunks/{worktree-d4gc91s6.js → generate-51s6j6q9.js} +19 -19
  55. package/dist/chunks/{worktree-s8h5ed1j.js → generate-5492h712.js} +17 -17
  56. package/dist/chunks/{worktree-ya6t0hrg.js → generate-56teqqsg.js} +20 -20
  57. package/dist/chunks/{worktree-d9s573fh.js → generate-57ez7d0k.js} +2 -2
  58. package/dist/chunks/{worktree-kmnyjx2j.js → generate-5cvwhdy7.js} +18 -18
  59. package/dist/chunks/{worktree-5daktx2q.js → generate-5daktx2q.js} +1 -1
  60. package/dist/chunks/{worktree-gq56w217.js → generate-5gtszx91.js} +5 -5
  61. package/dist/chunks/{worktree-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{worktree-r775761k.js → generate-5zjd4ppb.js} +23 -23
  63. package/dist/chunks/{worktree-669tq793.js → generate-669tq793.js} +1 -1
  64. package/dist/chunks/{worktree-v75ben0y.js → generate-6bse4mnq.js} +14 -14
  65. package/dist/chunks/{worktree-njhqdk9p.js → generate-6hjx5zpb.js} +9 -9
  66. package/dist/chunks/{worktree-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{worktree-3t40p5r2.js → generate-6rxe94kc.js} +18 -18
  68. package/dist/chunks/{worktree-rkdvqggb.js → generate-6xw3seg4.js} +5 -5
  69. package/dist/chunks/{worktree-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{worktree-rkprpv83.js → generate-7fkffz83.js} +4 -4
  71. package/dist/chunks/{worktree-wagw3cnt.js → generate-7mnmsw4a.js} +26 -26
  72. package/dist/chunks/{worktree-s6qgj9yb.js → generate-7pfvvhkc.js} +11 -11
  73. package/dist/chunks/{worktree-5kwfr1e0.js → generate-7qr8wanm.js} +12 -12
  74. package/dist/chunks/{worktree-q3t37ft6.js → generate-7w99qc9d.js} +3 -3
  75. package/dist/chunks/{worktree-rf68yed4.js → generate-81pvwmvt.js} +4 -4
  76. package/dist/chunks/{worktree-1zj7c1b9.js → generate-842jftfa.js} +36 -36
  77. package/dist/chunks/{worktree-t2yvaxt4.js → generate-84f8pt8n.js} +4 -4
  78. package/dist/chunks/{worktree-tcezcvh9.js → generate-89znhe33.js} +4 -4
  79. package/dist/chunks/{worktree-3cvzpexn.js → generate-8ahxe1yx.js} +16 -16
  80. package/dist/chunks/{worktree-k7s9b0vb.js → generate-8bpqntr2.js} +3 -3
  81. package/dist/chunks/{worktree-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{worktree-rp0b7fvm.js → generate-8esc5efs.js} +39 -39
  83. package/dist/chunks/{worktree-ex8c9819.js → generate-8fp4c2z7.js} +9 -9
  84. package/dist/chunks/{worktree-6893nb2p.js → generate-8hw9841t.js} +29 -29
  85. package/dist/chunks/{worktree-hdkzdw1f.js → generate-8q07pp0g.js} +20 -20
  86. package/dist/chunks/{worktree-c39c3jzn.js → generate-8vkxkxfw.js} +12 -12
  87. package/dist/chunks/{worktree-6krmax6q.js → generate-8xm938at.js} +5 -5
  88. package/dist/chunks/{worktree-qany4v32.js → generate-9051msma.js} +35 -35
  89. package/dist/chunks/{worktree-y2zgx20r.js → generate-91hm5t32.js} +3 -3
  90. package/dist/chunks/{worktree-e32cc78a.js → generate-92c2ry4b.js} +82 -82
  91. package/dist/chunks/{worktree-gfvb90ym.js → generate-94ek1h2f.js} +2 -2
  92. package/dist/chunks/{worktree-pvecmqrq.js → generate-9cfetbmm.js} +48 -48
  93. package/dist/chunks/{worktree-k4xjzc9h.js → generate-9eqcqd4c.js} +7 -7
  94. package/dist/chunks/{worktree-3c8jswt4.js → generate-9py21ez6.js} +19 -19
  95. package/dist/chunks/{worktree-ekhm0sea.js → generate-9ype0whe.js} +7 -7
  96. package/dist/chunks/{worktree-8qbj2xnf.js → generate-a63atnq5.js} +18 -18
  97. package/dist/chunks/{worktree-9t5s1r97.js → generate-a8x64na4.js} +9 -9
  98. package/dist/chunks/{worktree-3he9s93f.js → generate-a913ty5s.js} +2 -2
  99. package/dist/chunks/{worktree-aaet6srn.js → generate-aaet6srn.js} +2 -2
  100. package/dist/chunks/{worktree-rxmj2525.js → generate-ac05d0px.js} +5 -5
  101. package/dist/chunks/{worktree-b5pxe27k.js → generate-acpncztj.js} +29 -29
  102. package/dist/chunks/{worktree-3vhzm9vc.js → generate-acy463b0.js} +13 -13
  103. package/dist/chunks/{worktree-95v9dhdk.js → generate-ahs2gfn5.js} +14 -14
  104. package/dist/chunks/{worktree-vz7d5c1g.js → generate-ap4hnkh0.js} +8 -8
  105. package/dist/chunks/{worktree-0fzv9h34.js → generate-apvj6j8r.js} +28 -28
  106. package/dist/chunks/{worktree-ewbjc8wa.js → generate-as9020bb.js} +21 -21
  107. package/dist/chunks/{worktree-bqrh5ykt.js → generate-asb11nsr.js} +7 -7
  108. package/dist/chunks/{worktree-d9vsz0nw.js → generate-ascb784g.js} +16 -16
  109. package/dist/chunks/{worktree-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{worktree-1hgzjtp2.js → generate-b7vfyjp8.js} +8 -8
  111. package/dist/chunks/{worktree-n9hm6cyq.js → generate-bd8gmehc.js} +13 -13
  112. package/dist/chunks/{worktree-gx5nrd37.js → generate-bqjmqm67.js} +13 -13
  113. package/dist/chunks/{worktree-96ak3467.js → generate-bvbhr0nb.js} +17 -17
  114. package/dist/chunks/{worktree-yvpmtcpk.js → generate-by1j3ey7.js} +10 -10
  115. package/dist/chunks/{worktree-j3b38fkc.js → generate-c7xb4h4h.js} +8 -8
  116. package/dist/chunks/{worktree-magykp64.js → generate-cavr175a.js} +4 -4
  117. package/dist/chunks/{worktree-27zhgsem.js → generate-cb53fham.js} +4 -4
  118. package/dist/chunks/{worktree-s1xp2azn.js → generate-ck1n40bc.js} +32 -32
  119. package/dist/chunks/{worktree-54tcyq79.js → generate-ckecvw8r.js} +2 -2
  120. package/dist/chunks/{worktree-2gcp25fc.js → generate-cqh59s6n.js} +24 -24
  121. package/dist/chunks/{worktree-wedrxhxr.js → generate-ctdb5eh8.js} +3 -3
  122. package/dist/chunks/{worktree-2384dzxb.js → generate-cya50jfb.js} +26 -26
  123. package/dist/chunks/{worktree-gdv4qzn0.js → generate-d9ncfxft.js} +37 -37
  124. package/dist/chunks/{worktree-hnr8f6ws.js → generate-d9sgy5v4.js} +4 -4
  125. package/dist/chunks/{worktree-n4r3xatb.js → generate-dhmh7aw6.js} +4 -4
  126. package/dist/chunks/{worktree-cpneeje0.js → generate-djszqvmq.js} +9 -9
  127. package/dist/chunks/{worktree-axtbgcsn.js → generate-dkhp2rv1.js} +5 -5
  128. package/dist/chunks/{worktree-sqgjnw45.js → generate-dz42haa5.js} +1 -1
  129. package/dist/chunks/{worktree-jwtb7ds2.js → generate-e34fvbdd.js} +50 -50
  130. package/dist/chunks/{worktree-ytnjtmra.js → generate-e7v8jp1m.js} +3 -3
  131. package/dist/chunks/{worktree-qysgwets.js → generate-e9kfhk2a.js} +11 -11
  132. package/dist/chunks/{worktree-ecfe7b91.js → generate-ecfe7b91.js} +2 -2
  133. package/dist/chunks/{worktree-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{worktree-1arnrgt5.js → generate-ejradr83.js} +11 -11
  135. package/dist/chunks/{worktree-80n4v3ph.js → generate-er2bz0cg.js} +11 -11
  136. package/dist/chunks/{worktree-xycfn4ya.js → generate-ert96eax.js} +15 -15
  137. package/dist/chunks/{worktree-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{worktree-gafemadt.js → generate-exm6h1mn.js} +84 -84
  139. package/dist/chunks/{worktree-2ggx711d.js → generate-f2yegfjx.js} +23 -23
  140. package/dist/chunks/{worktree-0d4mnv31.js → generate-fcn9dpeq.js} +17 -17
  141. package/dist/chunks/{worktree-kvkgejfx.js → generate-fhqwpy9z.js} +17 -17
  142. package/dist/chunks/{worktree-3j8dagdk.js → generate-fjmvr8bc.js} +31 -31
  143. package/dist/chunks/{worktree-p37cw4rj.js → generate-g0445xdp.js} +8 -8
  144. package/dist/chunks/{worktree-8m4g0388.js → generate-g07qyce6.js} +26 -26
  145. package/dist/chunks/{worktree-r23pbb8t.js → generate-g4amcqm5.js} +26 -26
  146. package/dist/chunks/{worktree-vtgtp4yy.js → generate-g8jasmdt.js} +8 -8
  147. package/dist/chunks/{worktree-q3d9qgrv.js → generate-ga8r5h9c.js} +5 -5
  148. package/dist/chunks/{worktree-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{worktree-7gt3e72m.js → generate-gfg0xv4g.js} +20 -20
  150. package/dist/chunks/{worktree-aybmmbc8.js → generate-gkdtqfkd.js} +23 -23
  151. package/dist/chunks/{worktree-a2qe2ev9.js → generate-gs3s1a1g.js} +8 -8
  152. package/dist/chunks/{worktree-q86ksqw5.js → generate-gs9kevq0.js} +29 -29
  153. package/dist/chunks/{worktree-yyb7tjpc.js → generate-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{worktree-f77nxt0h.js → generate-gyanhw85.js} +22 -22
  155. package/dist/chunks/generate-gyce5qg1.js +18 -0
  156. package/dist/chunks/{worktree-2sscpfbp.js → generate-h26v9h8p.js} +8 -8
  157. package/dist/chunks/{worktree-44h5tttr.js → generate-h6r3nrb9.js} +4 -4
  158. package/dist/chunks/{worktree-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{worktree-jypr9n4v.js → generate-hkap8016.js} +24 -24
  160. package/dist/chunks/{worktree-ggceqynt.js → generate-hvf24zfz.js} +11 -11
  161. package/dist/chunks/{worktree-f7j90zp2.js → generate-j3s2z371.js} +9 -9
  162. package/dist/chunks/{worktree-j56e64zr.js → generate-j56e64zr.js} +1 -1
  163. package/dist/chunks/{worktree-bw9zjykr.js → generate-jkp0d30b.js} +6 -6
  164. package/dist/chunks/{worktree-674nz3pn.js → generate-jp253xqa.js} +24 -24
  165. package/dist/chunks/{worktree-kh5y7dsa.js → generate-k2jz26yg.js} +30 -30
  166. package/dist/chunks/{worktree-k3c624dm.js → generate-k3c624dm.js} +3 -3
  167. package/dist/chunks/{worktree-xznnvfjn.js → generate-k3w3vasa.js} +16 -16
  168. package/dist/chunks/{worktree-7eezvbx7.js → generate-k49da67q.js} +21 -21
  169. package/dist/chunks/{worktree-0rbtyk3w.js → generate-k4sxmhnt.js} +10 -10
  170. package/dist/chunks/{worktree-gken7ajx.js → generate-k685mvzk.js} +20 -20
  171. package/dist/chunks/{worktree-65tps2j5.js → generate-kcxpvb8p.js} +3 -3
  172. package/dist/chunks/{worktree-3k8b8397.js → generate-kgh91f7z.js} +17 -17
  173. package/dist/chunks/{worktree-vdcyv8vc.js → generate-knzkxb6b.js} +8 -8
  174. package/dist/chunks/{worktree-sssfkgzr.js → generate-m06qwvac.js} +11 -11
  175. package/dist/chunks/{worktree-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{worktree-gs4tkc79.js → generate-m6f3t844.js} +8 -8
  177. package/dist/chunks/{worktree-fe8ssjsg.js → generate-m9g2aspd.js} +165 -165
  178. package/dist/chunks/{worktree-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{worktree-659sfxq9.js → generate-magsh8sv.js} +20 -20
  180. package/dist/chunks/{worktree-33w4ejhs.js → generate-mfqp6xfm.js} +9 -9
  181. package/dist/chunks/{worktree-1bbkgx8g.js → generate-mhkvc446.js} +3 -3
  182. package/dist/chunks/{worktree-vkxhpebf.js → generate-mjs36gnf.js} +9 -9
  183. package/dist/chunks/{worktree-zfps0aje.js → generate-mvksx64m.js} +4 -4
  184. package/dist/chunks/{worktree-qgqfqnbd.js → generate-mwaxn094.js} +12 -12
  185. package/dist/chunks/{worktree-jwjamgbd.js → generate-nacwttbk.js} +22 -22
  186. package/dist/chunks/{worktree-jca4demv.js → generate-nng2ktcm.js} +2 -2
  187. package/dist/chunks/{worktree-fv23f2g8.js → generate-ntpdddm1.js} +3 -3
  188. package/dist/chunks/{worktree-xg31f8ct.js → generate-nv0fppfx.js} +12 -12
  189. package/dist/chunks/{worktree-ejmtyfyw.js → generate-nzxz9wjq.js} +24 -24
  190. package/dist/chunks/{worktree-ezg02vs1.js → generate-p0waxsk2.js} +13 -13
  191. package/dist/chunks/{worktree-gpb9r3qt.js → generate-p5wrwqkj.js} +10 -10
  192. package/dist/chunks/{worktree-60z3krt2.js → generate-p7mnw8s9.js} +13 -13
  193. package/dist/chunks/{worktree-t4mbtemh.js → generate-pecb0brz.js} +5 -5
  194. package/dist/chunks/{worktree-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{worktree-pknna89w.js → generate-pknna89w.js} +1 -1
  196. package/dist/chunks/{worktree-waa26gy5.js → generate-pnd8syx4.js} +16 -16
  197. package/dist/chunks/{worktree-q10fqe6z.js → generate-ptzcsgsd.js} +11 -11
  198. package/dist/chunks/{worktree-shcgk7se.js → generate-q427x2gx.js} +6 -6
  199. package/dist/chunks/{worktree-qkk2rr8y.js → generate-q715b6mx.js} +35 -35
  200. package/dist/chunks/generate-q809hsec.js +26 -0
  201. package/dist/chunks/{worktree-3zkmgewa.js → generate-qfraas54.js} +16 -16
  202. package/dist/chunks/{worktree-2k8khapm.js → generate-qgn6gcr1.js} +5 -5
  203. package/dist/chunks/{worktree-8cmvxv2n.js → generate-qjnxxf51.js} +5 -5
  204. package/dist/chunks/{worktree-drwq78ky.js → generate-qqeeq2t9.js} +7 -7
  205. package/dist/chunks/{worktree-qsdy395h.js → generate-qsdy395h.js} +1 -1
  206. package/dist/chunks/{worktree-pd6w8b01.js → generate-qvejx1kn.js} +25 -25
  207. package/dist/chunks/{worktree-h22tcczk.js → generate-qy806v9e.js} +8 -8
  208. package/dist/chunks/{worktree-dx8w7vfp.js → generate-qytgzfxz.js} +8 -8
  209. package/dist/chunks/{worktree-qrevjn02.js → generate-r24g8med.js} +25 -25
  210. package/dist/chunks/{worktree-k33k5sgz.js → generate-r75q3gpe.js} +1 -1
  211. package/dist/chunks/{worktree-1ft64m98.js → generate-r88x53ge.js} +9 -9
  212. package/dist/chunks/{worktree-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{worktree-3qaj82j9.js → generate-reg6q42h.js} +5 -5
  214. package/dist/chunks/{worktree-k6qbet7y.js → generate-rentz0qj.js} +37 -37
  215. package/dist/chunks/{worktree-eaj1djv9.js → generate-rhjbct0v.js} +8 -8
  216. package/dist/chunks/{worktree-n3h0vr51.js → generate-rnn46403.js} +8 -8
  217. package/dist/chunks/{worktree-e81dr17b.js → generate-rp7q1zw1.js} +4 -4
  218. package/dist/chunks/{worktree-w4arg62q.js → generate-rph3zd4r.js} +4 -4
  219. package/dist/chunks/{worktree-4da46de2.js → generate-rx7m66c2.js} +22 -22
  220. package/dist/chunks/{worktree-961mqe0b.js → generate-rzm02ymc.js} +10 -10
  221. package/dist/chunks/{worktree-pttk24fx.js → generate-s5aemwk0.js} +52 -52
  222. package/dist/chunks/{worktree-vrxvw0ry.js → generate-s78g7wkk.js} +45 -45
  223. package/dist/chunks/{worktree-n45vtd7p.js → generate-s9nqcr01.js} +8 -8
  224. package/dist/chunks/{worktree-eeaf82dq.js → generate-sp5zyyma.js} +7 -7
  225. package/dist/chunks/{worktree-b047h9s9.js → generate-sv2872v9.js} +17 -17
  226. package/dist/chunks/{worktree-jjk7p82s.js → generate-sxsh3am5.js} +26 -26
  227. package/dist/chunks/{worktree-s30fyz93.js → generate-syf57q56.js} +4 -4
  228. package/dist/chunks/{worktree-kj6zq9q4.js → generate-t1pd95j1.js} +11 -11
  229. package/dist/chunks/{worktree-e14rzxnr.js → generate-t6csv5s6.js} +27 -27
  230. package/dist/chunks/{worktree-bct739vz.js → generate-t9zs3egg.js} +4 -4
  231. package/dist/chunks/{worktree-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{worktree-shhg5kc4.js → generate-td32dgmv.js} +27 -27
  233. package/dist/chunks/{worktree-tpp8915p.js → generate-tdjs8jyr.js} +27 -27
  234. package/dist/chunks/{worktree-swsbd73k.js → generate-tdrse6tx.js} +15 -15
  235. package/dist/chunks/{worktree-tdstcens.js → generate-tdstcens.js} +1 -1
  236. package/dist/chunks/{worktree-dj68pnee.js → generate-tfzngn12.js} +4 -4
  237. package/dist/chunks/{worktree-t2vpa3bp.js → generate-tn0aqsam.js} +5 -5
  238. package/dist/chunks/{worktree-em8v7a32.js → generate-tn8xebgv.js} +27 -27
  239. package/dist/chunks/{worktree-dx2x7qh9.js → generate-ttxxjw3g.js} +35 -35
  240. package/dist/chunks/{worktree-tvtrv512.js → generate-tvtrv512.js} +1 -1
  241. package/dist/chunks/{worktree-nn6yf1qt.js → generate-tw2a575y.js} +313 -313
  242. package/dist/chunks/{worktree-qecp8fbz.js → generate-twzr1p2j.js} +11 -11
  243. package/dist/chunks/{worktree-veqvce7d.js → generate-veqvce7d.js} +1 -1
  244. package/dist/chunks/{worktree-a8nvjzqv.js → generate-vq6291rg.js} +14 -14
  245. package/dist/chunks/{worktree-7b6f2pz4.js → generate-vr21nvq1.js} +3 -3
  246. package/dist/chunks/{worktree-s2ynmxvy.js → generate-vy4zg7qh.js} +5 -5
  247. package/dist/chunks/{worktree-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{worktree-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{worktree-f1kzstbv.js → generate-w398z9p4.js} +26 -26
  250. package/dist/chunks/{worktree-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{worktree-fgewnttk.js → generate-w6dttbvj.js} +6 -6
  252. package/dist/chunks/{worktree-x3x9tpbc.js → generate-w7rfck3m.js} +20 -20
  253. package/dist/chunks/{worktree-cn3880dm.js → generate-wa6z1zpc.js} +3 -3
  254. package/dist/chunks/{worktree-pgp1nwjn.js → generate-wa9g86nq.js} +4 -4
  255. package/dist/chunks/{worktree-zj4nggsa.js → generate-wcgwreqh.js} +35 -35
  256. package/dist/chunks/{worktree-psazpmmj.js → generate-wd3x2cqz.js} +2 -2
  257. package/dist/chunks/{worktree-wd87259q.js → generate-wd87259q.js} +1 -1
  258. package/dist/chunks/{worktree-1jvcwpzv.js → generate-wq9jd0w3.js} +4 -4
  259. package/dist/chunks/{worktree-f9ag4zkz.js → generate-wre1nsef.js} +23 -23
  260. package/dist/chunks/{worktree-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{worktree-9zraknnh.js → generate-x3v8xk0a.js} +30 -30
  262. package/dist/chunks/{worktree-9e5ez0z2.js → generate-x4w2k346.js} +15 -15
  263. package/dist/chunks/{worktree-dt5mtb60.js → generate-x8y3gv38.js} +11 -11
  264. package/dist/chunks/{worktree-r5v4xwkj.js → generate-xa838nr5.js} +46 -46
  265. package/dist/chunks/{worktree-m75a1scj.js → generate-xd34mfmm.js} +11 -11
  266. package/dist/chunks/{worktree-t4km5p4j.js → generate-xfvyxkvp.js} +17 -17
  267. package/dist/chunks/{worktree-fj30x8t9.js → generate-xge24dse.js} +16 -16
  268. package/dist/chunks/{worktree-dmqcgk4z.js → generate-xkntkrq7.js} +5 -5
  269. package/dist/chunks/{worktree-ktvcadya.js → generate-xpxvvxwe.js} +15 -15
  270. package/dist/chunks/{worktree-kbrhjmmj.js → generate-xvp1j2dc.js} +6 -35
  271. package/dist/chunks/{worktree-1xpaaevk.js → generate-xztnf58b.js} +19 -19
  272. package/dist/chunks/{worktree-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{worktree-e9r79r8d.js → generate-y3cbw9ke.js} +9 -9
  274. package/dist/chunks/{worktree-y71avatq.js → generate-y71avatq.js} +1 -1
  275. package/dist/chunks/{worktree-cxn44tg0.js → generate-ya37k36g.js} +3 -3
  276. package/dist/chunks/{worktree-pc7a78kv.js → generate-ybra3gbx.js} +69 -69
  277. package/dist/chunks/{worktree-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{worktree-yrznvahk.js → generate-yrznvahk.js} +2 -2
  279. package/dist/chunks/{worktree-bjtzbw4r.js → generate-z07pqspn.js} +3 -3
  280. package/dist/chunks/{worktree-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{worktree-c8jj867k.js → generate-z3nay82g.js} +8 -8
  282. package/dist/chunks/{worktree-gyqt3txq.js → generate-z3pwkdgp.js} +20 -20
  283. package/dist/chunks/{worktree-z63w68vq.js → generate-z63w68vq.js} +2 -2
  284. package/dist/chunks/{worktree-dqt0xvez.js → generate-zbv76mee.js} +4 -4
  285. package/dist/chunks/{worktree-w7ams0n7.js → generate-zcrnxhy5.js} +43 -43
  286. package/dist/chunks/{worktree-rq775frq.js → generate-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{worktree-mjk1w6qm.js → generate-zprz1ztb.js} +5 -5
  288. package/dist/chunks/{worktree-0k3fqexr.js → generate-zqs4559c.js} +10 -10
  289. package/dist/chunks/{worktree-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{worktree-pcn71y31.js → generate-zrh9pnak.js} +8 -8
  291. package/dist/chunks/{worktree-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +11 -11
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +81 -81
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +124 -124
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +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 +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +227 -227
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +11 -11
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +83 -83
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +4 -4
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +102 -102
  477. package/dist/mcp/instructions.js +126 -126
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +96 -96
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +84 -84
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +101 -101
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +218 -218
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +333 -333
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +94 -94
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +77 -77
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +92 -92
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +78 -78
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +161 -161
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +139 -139
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +350 -350
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +229 -229
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +80 -80
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +3 -3
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +96 -96
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +89 -89
  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 +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +132 -132
  579. package/dist/session/context.js +152 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +3 -3
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +221 -221
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +153 -153
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +88 -88
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +119 -119
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +170 -170
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +210 -210
  620. package/dist/session/system-prompt.js +5 -5
  621. package/dist/session/title.js +154 -154
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +214 -214
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +220 -220
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +9 -9
  630. package/dist/shell.js +138 -138
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +108 -108
  634. package/dist/snapshot.js +89 -89
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +119 -119
  639. package/dist/tool/plugin/edit.js +118 -118
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +120 -120
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +118 -118
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +123 -123
  648. package/dist/tool/plugin/shell.js +217 -217
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +16 -16
  658. package/dist/types/session/runner/retry.d.ts +2 -2
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/worktree-4chajvys.js +0 -252
  701. package/dist/chunks/worktree-6kdq0pjd.js +0 -4
  702. package/dist/chunks/worktree-qc068m1q.js +0 -18
  703. package/dist/chunks/worktree-qj6bq7hm.js +0 -26
  704. /package/dist/chunks/{worktree-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{worktree-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{worktree-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{worktree-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{worktree-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{worktree-24dcb14g.js → generate-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{worktree-2710q6r3.js → generate-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{worktree-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{worktree-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{worktree-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{worktree-359p4xyc.js → generate-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{worktree-3asan66x.js → generate-3asan66x.js} +0 -0
  716. /package/dist/chunks/{worktree-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{worktree-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{worktree-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{worktree-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{worktree-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{worktree-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{worktree-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{worktree-53557ph1.js → generate-53557ph1.js} +0 -0
  724. /package/dist/chunks/{worktree-550bvhaj.js → generate-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{worktree-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{worktree-6prwharc.js → generate-6prwharc.js} +0 -0
  727. /package/dist/chunks/{worktree-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{worktree-7m9af43g.js → generate-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{worktree-822emrt2.js → generate-822emrt2.js} +0 -0
  730. /package/dist/chunks/{worktree-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{worktree-8n3pysct.js → generate-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{worktree-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{worktree-922hggd3.js → generate-922hggd3.js} +0 -0
  734. /package/dist/chunks/{worktree-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{worktree-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{worktree-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{worktree-af5trqkr.js → generate-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{worktree-afrmfg78.js → generate-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{worktree-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{worktree-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{worktree-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{worktree-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{worktree-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{worktree-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{worktree-d9fn303g.js → generate-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{worktree-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{worktree-dajrwvna.js → generate-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{worktree-dap0rakb.js → generate-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{worktree-df08tz66.js → generate-df08tz66.js} +0 -0
  750. /package/dist/chunks/{worktree-dy18nga0.js → generate-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{worktree-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{worktree-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{worktree-ec1grn59.js → generate-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{worktree-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{worktree-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{worktree-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{worktree-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{worktree-faypxj3z.js → generate-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{worktree-fd410y7t.js → generate-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{worktree-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{worktree-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{worktree-g86h250q.js → generate-g86h250q.js} +0 -0
  763. /package/dist/chunks/{worktree-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{worktree-gftt206x.js → generate-gftt206x.js} +0 -0
  765. /package/dist/chunks/{worktree-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{worktree-hk9envan.js → generate-hk9envan.js} +0 -0
  767. /package/dist/chunks/{worktree-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{worktree-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{worktree-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{worktree-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{worktree-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{worktree-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{worktree-mp448xyj.js → generate-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{worktree-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{worktree-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{worktree-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{worktree-njntx4h6.js → generate-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{worktree-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{worktree-q74kybfr.js → generate-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{worktree-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{worktree-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{worktree-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{worktree-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{worktree-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{worktree-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{worktree-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{worktree-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{worktree-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{worktree-w803qqfp.js → generate-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{worktree-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{worktree-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{worktree-wtztk69x.js → generate-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{worktree-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{worktree-x61499pn.js → generate-x61499pn.js} +0 -0
  795. /package/dist/chunks/{worktree-y44na4kk.js → generate-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{worktree-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{worktree-y8f7s663.js → generate-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{worktree-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{worktree-ym463w8f.js → generate-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{worktree-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./worktree-t2yvaxt4.js";
4
+ } from "./generate-84f8pt8n.js";
5
5
  import {
6
6
  __export
7
- } from "./worktree-9rqn6x4v.js";
7
+ } from "./generate-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event18,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID12,
20
- Info: () => Info27,
19
+ ID: () => ID16,
20
+ Info: () => Info31,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError8,
24
- Reply: () => Reply2,
25
- Service: () => Service73,
23
+ NotFoundError: () => NotFoundError10,
24
+ Reply: () => Reply3,
25
+ Service: () => Service79,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node77,
29
+ node: () => node83,
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 Event18 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID12 = Form.ID;
39
- var Info27 = Form.Info;
38
+ var ID16 = Form.ID;
39
+ var Info31 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply2 = Form.Reply;
45
+ var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID12
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 NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID12
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: ID12
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: ID12,
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 Service73 extends Context.Service()("@opencode/Form") {
82
+ class Service79 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service73, Effect.gen(function* () {
84
+ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
85
85
  const bus = yield* Service83;
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 NotFoundError8({ 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 ?? ID12.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 });
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service73, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).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 })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service73.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service79.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node77 = makeLocationNode({ service: Service73, layer: layer25, deps: [node87] });
164
+ var node83 = makeLocationNode({ service: Service79, layer: layer25, deps: [node87] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID12, Info27, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service73, layer25, node77, validateAnswer2, validateFields2, exports_form, Event18 };
316
+ export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer25, node83, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service47
3
- } from "./worktree-d4gc91s6.js";
2
+ Service51
3
+ } from "./generate-51s6j6q9.js";
4
4
  import {
5
- Service62
6
- } from "./worktree-bw9zjykr.js";
5
+ Service48
6
+ } from "./generate-jkp0d30b.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./worktree-qc068m1q.js";
9
+ } from "./generate-gyce5qg1.js";
10
10
  import {
11
11
  __export
12
- } from "./worktree-9rqn6x4v.js";
12
+ } from "./generate-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service62;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
22
+ const instances = yield* Service48;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -4,31 +4,31 @@ import {
4
4
  MAX_TOTAL_PATCH_BYTES2,
5
5
  emptyPatch2,
6
6
  chunksByFile2
7
- } from "./worktree-tazgh4e4.js";
7
+ } from "./generate-tazgh4e4.js";
8
8
  import {
9
9
  gitExecutable2
10
- } from "./worktree-ef5x83kb.js";
10
+ } from "./generate-ef5x83kb.js";
11
11
  import {
12
12
  Service80
13
- } from "./worktree-3he9s93f.js";
13
+ } from "./generate-a913ty5s.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./worktree-xznnvfjn.js";
16
+ } from "./generate-k3w3vasa.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./generate-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/git.ts
22
22
  var exports_git = {};
23
23
  __export(exports_git, {
24
- Plugin: () => Plugin17,
24
+ Plugin: () => Plugin20,
25
25
  VcsGitPlugin: () => exports_git
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Effect } from "effect";
29
29
  import { ChildProcess } from "effect/unstable/process";
30
30
  import { AppProcess } from "@opencode/util/process";
31
- var Plugin17 = define({
31
+ var Plugin20 = define({
32
32
  id: "opencode.vcs.git",
33
33
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
34
34
  const location = yield* Service80;
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
470
470
  return yield* diffAgainstRef(ctx, ref, options);
471
471
  });
472
472
 
473
- export { Plugin17, exports_git };
473
+ export { Plugin20, exports_git };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service80
3
- } from "./worktree-3he9s93f.js";
3
+ } from "./generate-a913ty5s.js";
4
4
  import {
5
- Service48
6
- } from "./worktree-7eezvbx7.js";
5
+ Service59
6
+ } from "./generate-k49da67q.js";
7
7
  import {
8
- Service20,
8
+ Service17,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./worktree-60z3krt2.js";
11
+ } from "./generate-p7mnw8s9.js";
12
12
  import {
13
13
  Service13
14
- } from "./worktree-65tps2j5.js";
14
+ } from "./generate-kcxpvb8p.js";
15
15
  import {
16
- Service75
17
- } from "./worktree-pttk24fx.js";
16
+ Service65
17
+ } from "./generate-s5aemwk0.js";
18
18
  import {
19
- Service51,
19
+ Service16,
20
20
  resolvePath2
21
- } from "./worktree-9e5ez0z2.js";
21
+ } from "./generate-x4w2k346.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./worktree-6prwharc.js";
24
+ } from "./generate-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./worktree-9rqn6x4v.js";
27
+ } from "./generate-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input4,
33
+ Input: () => Input2,
34
34
  Output: () => Output2,
35
- Plugin: () => Plugin6,
36
- name: () => name4
35
+ Plugin: () => Plugin37,
36
+ name: () => name2
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name4 = "edit";
43
- var Input4 = Schema.Struct({
42
+ var name2 = "edit";
43
+ var Input2 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -103,20 +103,20 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin6 = {
106
+ var Plugin37 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service51;
110
- const fileMutation = yield* Service20;
111
- const environment = yield* Service48;
109
+ const access = yield* Service16;
110
+ const fileMutation = yield* Service17;
111
+ const environment = yield* Service59;
112
112
  const formatter = yield* Service13;
113
113
  const location = yield* Service80;
114
- const permission = yield* Service75;
114
+ const permission = yield* Service65;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name4,
116
+ name: name2,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input4,
119
+ input: Input2,
120
120
  output: Output2,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
@@ -194,4 +194,4 @@ var Plugin6 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name4, Input4, Output2, Plugin6, exports_edit };
197
+ export { name2, Input2, Output2, Plugin37, exports_edit };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./worktree-0bdrcw2s.js";
5
+ } from "./generate-13dh974y.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./worktree-3he9s93f.js";
3
+ } from "./generate-a913ty5s.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service74,
12
+ Service: () => Service70,
13
13
  canonical: () => canonical3,
14
- node: () => node78,
14
+ node: () => node73,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service74 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service70 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service74, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service70, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node78 = LayerNode.unbound(Service74, Node.tags.values.global);
27
+ var node73 = LayerNode.unbound(Service70, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service74;
29
+ const locations = yield* Service70;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service74, node78, reload2, canonical3, exports_location_service_map };
48
+ export { Service70, node73, reload2, canonical3, exports_location_service_map };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./worktree-3w5fmr99.js";
3
+ } from "./generate-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin28,
11
+ Plugin: () => Plugin31,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin28 = define({
18
+ var Plugin31 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin28, exports_tool_input_repair };
123
+ export { Plugin31, exports_tool_input_repair };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./worktree-t2yvaxt4.js";
4
+ } from "./generate-84f8pt8n.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./worktree-3he9s93f.js";
8
+ } from "./generate-a913ty5s.js";
9
9
  import {
10
- Service48,
11
- node51
12
- } from "./worktree-7eezvbx7.js";
10
+ Service59,
11
+ node62
12
+ } from "./generate-k49da67q.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./worktree-gd4qta3r.js";
15
+ } from "./generate-gd4qta3r.js";
16
16
  import {
17
- Service44,
17
+ Service43,
18
18
  args2,
19
19
  node47
20
- } from "./worktree-d9vsz0nw.js";
20
+ } from "./generate-ascb784g.js";
21
21
  import {
22
- Service79,
23
- node83
24
- } from "./worktree-a2qe2ev9.js";
22
+ Service69,
23
+ node72
24
+ } from "./generate-gs3s1a1g.js";
25
25
  import {
26
- Service40,
26
+ Service39,
27
27
  node43
28
- } from "./worktree-eeaf82dq.js";
28
+ } from "./generate-sp5zyyma.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./worktree-q3t37ft6.js";
31
+ } from "./generate-7w99qc9d.js";
32
32
  import {
33
33
  latest2,
34
- Service42,
35
- node45
36
- } from "./worktree-gdv4qzn0.js";
34
+ Service40,
35
+ node44
36
+ } from "./generate-d9ncfxft.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./worktree-qgqfqnbd.js";
40
+ } from "./generate-mwaxn094.js";
41
41
  import {
42
42
  __export
43
- } from "./worktree-9rqn6x4v.js";
43
+ } from "./generate-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: () => NotFoundError6,
49
+ NotFoundError: () => NotFoundError5,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service39,
51
+ Service: () => Service38,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
54
  node: () => node42
@@ -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 NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError5 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 Service39 extends Context.Service()("@opencode/Shell") {
74
+ class Service38 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(Service39, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
91
91
  const bus = yield* Service83;
92
92
  const location = yield* Service80;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service44;
95
- const environment = yield* Service48;
96
- const hooks = yield* Service79;
97
- const environments = yield* Service40;
98
- const config = yield* Service42;
94
+ const shell = yield* Service43;
95
+ const environment = yield* Service59;
96
+ const hooks = yield* Service69;
97
+ const environments = yield* Service39;
98
+ const config = yield* Service40;
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(Service39, 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 NotFoundError6({ id });
119
+ return yield* new NotFoundError5({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service39, 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 NotFoundError6({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError5({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service39.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service38.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
328
  var node42 = makeLocationNode({
329
- service: Service39,
329
+ service: Service38,
330
330
  layer: layer(),
331
331
  deps: [
332
332
  node87,
333
333
  node84,
334
334
  Global.node,
335
335
  node47,
336
- node51,
337
- node83,
336
+ node62,
337
+ node72,
338
338
  node43,
339
- node45,
339
+ node44,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError6, RETENTION2, DIRECTORY2, Service39, cleanup2, node42, exports_shell4 };
344
+ export { NotFoundError5, RETENTION2, DIRECTORY2, Service38, cleanup2, node42, exports_shell4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
10
10
  Hash: () => Hash2,
11
11
  InitializationBlocked: () => InitializationBlocked2,
12
12
  Instructions: () => exports_instructions6,
13
- Key: () => Key4,
13
+ Key: () => Key3,
14
14
  Values: () => Values2,
15
15
  applyHashDelta: () => applyHashDelta2,
16
16
  combine: () => combine2,
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make21,
21
+ make: () => make20,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
28
28
  import { createHash } from "crypto";
29
29
  import { Instruction } from "@opencode/schema/instruction";
30
30
  import { Data, Effect, Option, Schema } from "effect";
31
- var Key4 = Instruction.Key;
31
+ var Key3 = Instruction.Key;
32
32
  var Hash2 = Instruction.Hash;
33
33
  var Values2 = Instruction.Values;
34
34
  var Delta2 = Instruction.Delta;
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
36
36
  var unavailable3 = NonValue.Unavailable();
37
37
  var removed2 = NonValue.Removed();
38
38
 
39
- class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
39
+ class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
40
40
  get message() {
41
41
  return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
42
42
  }
43
43
  }
44
44
 
45
45
  class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
46
- key: Key4
46
+ key: Key3
47
47
  }) {
48
48
  get message() {
49
49
  return `Duplicate instruction key: ${this.key}`;
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make21(source) {
53
+ function make20(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };